From 8d0f111363cd5455234d602e763da185d29e004d Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Wed, 1 Sep 2021 21:48:47 +0000 Subject: [PATCH 1/2] docs: Align session length with public documentation feat: Align ReadRows timeout with other versions of the API. Committer: @emkornfield PiperOrigin-RevId: 394308710 Source-Link: https://github.com/googleapis/googleapis/commit/1549a69af196ca062870211083f2856b0870d45c Source-Link: https://github.com/googleapis/googleapis-gen/commit/40b5e7dd36d0b4a67f4cb41ad2e2f670700404ca --- .../storage/v1beta2/BigQueryWriteGrpc.java | 1048 -- .../storage/v1/BaseBigQueryReadClient.java | 6 +- .../storage/v1/BaseBigQueryReadSettings.java | 7 +- .../bigquery/storage/v1/gapic_metadata.json | 0 .../bigquery/storage/v1/package-info.java | 0 .../storage/v1/stub/BigQueryReadStub.java | 0 .../v1/stub/BigQueryReadStubSettings.java | 366 + .../stub/GrpcBigQueryReadCallableFactory.java | 0 .../storage/v1/stub/GrpcBigQueryReadStub.java | 1 + .../v1/BaseBigQueryReadClientTest.java | 0 .../bigquery/storage/v1/MockBigQueryRead.java | 0 .../storage/v1/MockBigQueryReadImpl.java | 0 .../bigquery/storage/v1/BigQueryReadGrpc.java | 419 +- .../cloud/bigquery/storage/v1/ArrowProto.java | 83 + .../bigquery/storage/v1/ArrowRecordBatch.java | 311 +- .../storage/v1/ArrowRecordBatchOrBuilder.java | 24 +- .../bigquery/storage/v1/ArrowSchema.java | 265 +- .../storage/v1/ArrowSchemaOrBuilder.java | 19 + .../storage/v1/ArrowSerializationOptions.java | 435 +- .../ArrowSerializationOptionsOrBuilder.java | 30 + .../cloud/bigquery/storage/v1/AvroProto.java | 66 + .../cloud/bigquery/storage/v1/AvroRows.java | 298 +- .../storage/v1/AvroRowsOrBuilder.java | 24 +- .../cloud/bigquery/storage/v1/AvroSchema.java | 304 +- .../storage/v1/AvroSchemaOrBuilder.java | 27 +- .../storage/v1/CreateReadSessionRequest.java | 530 +- .../v1/CreateReadSessionRequestOrBuilder.java | 58 +- .../cloud/bigquery/storage/v1/DataFormat.java | 86 +- .../bigquery/storage/v1/ProjectName.java | 0 .../bigquery/storage/v1/ReadRowsRequest.java | 376 +- .../storage/v1/ReadRowsRequestOrBuilder.java | 41 + .../bigquery/storage/v1/ReadRowsResponse.java | 1096 +- .../storage/v1/ReadRowsResponseOrBuilder.java | 93 +- .../bigquery/storage/v1/ReadSession.java | 2668 ++--- .../storage/v1/ReadSessionOrBuilder.java | 199 +- .../cloud/bigquery/storage/v1/ReadStream.java | 304 +- .../bigquery/storage/v1/ReadStreamName.java | 0 .../storage/v1/ReadStreamOrBuilder.java | 27 +- .../storage/v1/SplitReadStreamRequest.java | 382 +- .../v1/SplitReadStreamRequestOrBuilder.java | 38 +- .../storage/v1/SplitReadStreamResponse.java | 443 +- .../v1/SplitReadStreamResponseOrBuilder.java | 34 +- .../bigquery/storage/v1/StorageProto.java | 216 + .../bigquery/storage/v1/StreamProto.java | 138 + .../bigquery/storage/v1/StreamStats.java | 646 +- .../storage/v1/StreamStatsOrBuilder.java | 26 +- .../bigquery/storage/v1/ThrottleState.java | 269 +- .../storage/v1/ThrottleStateOrBuilder.java | 20 + .../cloud/bigquery/storage/v1/arrow.proto | 0 .../cloud/bigquery/storage/v1/avro.proto | 0 .../cloud/bigquery/storage/v1/storage.proto | 0 .../cloud/bigquery/storage/v1/stream.proto | 0 .../v1beta1/BaseBigQueryStorageClient.java | 6 +- .../v1beta1/BaseBigQueryStorageSettings.java | 7 +- .../storage/v1beta1/gapic_metadata.json | 0 .../storage/v1beta1/package-info.java | 0 .../v1beta1/stub/BigQueryStorageStub.java | 0 .../stub/BigQueryStorageStubSettings.java | 6 +- .../GrpcBigQueryStorageCallableFactory.java | 0 .../v1beta1/stub/GrpcBigQueryStorageStub.java | 1 + .../BaseBigQueryStorageClientTest.java | 0 .../storage/v1beta1/MockBigQueryStorage.java | 0 .../v1beta1/MockBigQueryStorageImpl.java | 0 .../storage/v1beta1/BigQueryStorageGrpc.java | 672 +- .../bigquery/storage/v1beta1/ArrowProto.java | 728 +- .../bigquery/storage/v1beta1/AvroProto.java | 737 +- .../bigquery/storage/v1beta1/ProjectName.java | 0 .../bigquery/storage/v1beta1/ReadOptions.java | 555 +- .../bigquery/storage/v1beta1/Storage.java | 9035 ++++++----------- .../storage/v1beta1/TableReferenceProto.java | 1115 +- .../bigquery/storage/v1beta1/arrow.proto | 0 .../cloud/bigquery/storage/v1beta1/avro.proto | 0 .../storage/v1beta1/read_options.proto | 0 .../bigquery/storage/v1beta1/storage.proto | 0 .../storage/v1beta1/table_reference.proto | 0 .../v1beta2/BaseBigQueryReadClient.java | 14 +- .../v1beta2/BaseBigQueryReadSettings.java | 7 +- .../storage/v1beta2/BigQueryWriteClient.java | 6 +- .../v1beta2/BigQueryWriteSettings.java | 7 +- .../storage/v1beta2/gapic_metadata.json | 0 .../storage/v1beta2/package-info.java | 0 .../v1beta2/stub/BigQueryReadStub.java | 0 .../stub/BigQueryReadStubSettings.java | 367 + .../v1beta2/stub/BigQueryWriteStub.java | 0 .../stub/BigQueryWriteStubSettings.java | 12 +- .../stub/GrpcBigQueryReadCallableFactory.java | 0 .../v1beta2/stub/GrpcBigQueryReadStub.java | 1 + .../GrpcBigQueryWriteCallableFactory.java | 0 .../v1beta2/stub/GrpcBigQueryWriteStub.java | 1 + .../v1beta2/BaseBigQueryReadClientTest.java | 0 .../v1beta2/BigQueryWriteClientTest.java | 0 .../storage/v1beta2/MockBigQueryRead.java | 0 .../storage/v1beta2/MockBigQueryReadImpl.java | 0 .../storage/v1beta2/MockBigQueryWrite.java | 0 .../v1beta2/MockBigQueryWriteImpl.java | 0 .../storage/v1beta2/BigQueryReadGrpc.java | 431 +- .../storage/v1beta2/BigQueryWriteGrpc.java | 805 ++ .../storage/v1beta2/AppendRowsRequest.java | 1219 +-- .../v1beta2/AppendRowsRequestOrBuilder.java | 63 +- .../storage/v1beta2/AppendRowsResponse.java | 1132 +-- .../v1beta2/AppendRowsResponseOrBuilder.java | 57 +- .../bigquery/storage/v1beta2/ArrowProto.java | 80 + .../storage/v1beta2/ArrowRecordBatch.java | 274 +- .../v1beta2/ArrowRecordBatchOrBuilder.java | 19 + .../bigquery/storage/v1beta2/ArrowSchema.java | 271 +- .../storage/v1beta2/ArrowSchemaOrBuilder.java | 19 + .../v1beta2/ArrowSerializationOptions.java | 435 +- .../ArrowSerializationOptionsOrBuilder.java | 30 +- .../bigquery/storage/v1beta2/AvroProto.java | 64 + .../bigquery/storage/v1beta2/AvroRows.java | 271 +- .../storage/v1beta2/AvroRowsOrBuilder.java | 19 + .../bigquery/storage/v1beta2/AvroSchema.java | 311 +- .../storage/v1beta2/AvroSchemaOrBuilder.java | 27 +- .../BatchCommitWriteStreamsRequest.java | 474 +- ...tchCommitWriteStreamsRequestOrBuilder.java | 45 +- .../BatchCommitWriteStreamsResponse.java | 532 +- ...chCommitWriteStreamsResponseOrBuilder.java | 41 +- .../v1beta2/CreateReadSessionRequest.java | 559 +- .../CreateReadSessionRequestOrBuilder.java | 58 +- .../v1beta2/CreateWriteStreamRequest.java | 525 +- .../CreateWriteStreamRequestOrBuilder.java | 58 + .../bigquery/storage/v1beta2/DataFormat.java | 90 +- .../v1beta2/FinalizeWriteStreamRequest.java | 375 +- .../FinalizeWriteStreamRequestOrBuilder.java | 31 + .../v1beta2/FinalizeWriteStreamResponse.java | 308 +- .../FinalizeWriteStreamResponseOrBuilder.java | 19 + .../storage/v1beta2/FlushRowsRequest.java | 430 +- .../v1beta2/FlushRowsRequestOrBuilder.java | 43 +- .../storage/v1beta2/FlushRowsResponse.java | 275 +- .../v1beta2/FlushRowsResponseOrBuilder.java | 19 + .../v1beta2/GetWriteStreamRequest.java | 363 +- .../GetWriteStreamRequestOrBuilder.java | 31 + .../bigquery/storage/v1beta2/ProjectName.java | 0 .../storage/v1beta2/ProtoBufProto.java | 68 + .../bigquery/storage/v1beta2/ProtoRows.java | 324 +- .../storage/v1beta2/ProtoRowsOrBuilder.java | 27 +- .../bigquery/storage/v1beta2/ProtoSchema.java | 351 +- .../storage/v1beta2/ProtoSchemaOrBuilder.java | 26 +- .../storage/v1beta2/ReadRowsRequest.java | 379 +- .../v1beta2/ReadRowsRequestOrBuilder.java | 41 + .../storage/v1beta2/ReadRowsResponse.java | 1123 +- .../v1beta2/ReadRowsResponseOrBuilder.java | 96 +- .../bigquery/storage/v1beta2/ReadSession.java | 2643 ++--- .../storage/v1beta2/ReadSessionOrBuilder.java | 199 +- .../bigquery/storage/v1beta2/ReadStream.java | 311 +- .../storage/v1beta2/ReadStreamName.java | 0 .../storage/v1beta2/ReadStreamOrBuilder.java | 27 +- .../v1beta2/SplitReadStreamRequest.java | 403 +- .../SplitReadStreamRequestOrBuilder.java | 38 +- .../v1beta2/SplitReadStreamResponse.java | 486 +- .../SplitReadStreamResponseOrBuilder.java | 34 +- .../storage/v1beta2/StorageError.java | 564 +- .../v1beta2/StorageErrorOrBuilder.java | 42 +- .../storage/v1beta2/StorageProto.java | 458 + .../bigquery/storage/v1beta2/StreamProto.java | 167 + .../bigquery/storage/v1beta2/StreamStats.java | 686 +- .../storage/v1beta2/StreamStatsOrBuilder.java | 26 +- .../storage/v1beta2/TableFieldSchema.java | 1090 +- .../v1beta2/TableFieldSchemaOrBuilder.java | 102 +- .../bigquery/storage/v1beta2/TableName.java | 0 .../bigquery/storage/v1beta2/TableProto.java | 87 + .../bigquery/storage/v1beta2/TableSchema.java | 390 +- .../storage/v1beta2/TableSchemaOrBuilder.java | 36 +- .../storage/v1beta2/ThrottleState.java | 272 +- .../v1beta2/ThrottleStateOrBuilder.java | 20 + .../bigquery/storage/v1beta2/WriteStream.java | 919 +- .../storage/v1beta2/WriteStreamName.java | 0 .../storage/v1beta2/WriteStreamOrBuilder.java | 95 +- .../bigquery/storage/v1beta2/arrow.proto | 0 .../cloud/bigquery/storage/v1beta2/avro.proto | 0 .../bigquery/storage/v1beta2/protobuf.proto | 0 .../bigquery/storage/v1beta2/storage.proto | 2 +- .../bigquery/storage/v1beta2/stream.proto | 0 .../bigquery/storage/v1beta2/table.proto | 0 .../cloud/bigquery/storage/v1/ArrowProto.java | 98 - .../storage/v1/ArrowSchemaOrBuilder.java | 38 - .../ArrowSerializationOptionsOrBuilder.java | 57 - .../cloud/bigquery/storage/v1/AvroProto.java | 80 - .../storage/v1/ReadRowsRequestOrBuilder.java | 69 - .../bigquery/storage/v1/StorageProto.java | 248 - .../bigquery/storage/v1/StreamProto.java | 172 - .../storage/v1/ThrottleStateOrBuilder.java | 39 - .../bigquery/storage/v1beta2/ArrowProto.java | 95 - .../v1beta2/ArrowRecordBatchOrBuilder.java | 38 - .../storage/v1beta2/ArrowSchemaOrBuilder.java | 38 - .../bigquery/storage/v1beta2/AvroProto.java | 78 - .../storage/v1beta2/AvroRowsOrBuilder.java | 38 - .../CreateWriteStreamRequestOrBuilder.java | 97 - .../FinalizeWriteStreamRequestOrBuilder.java | 56 - .../FinalizeWriteStreamResponseOrBuilder.java | 38 - .../v1beta2/FlushRowsResponseOrBuilder.java | 38 - .../GetWriteStreamRequestOrBuilder.java | 56 - .../storage/v1beta2/ProtoBufProto.java | 84 - .../v1beta2/ReadRowsRequestOrBuilder.java | 69 - .../storage/v1beta2/StorageProto.java | 507 - .../bigquery/storage/v1beta2/StreamProto.java | 199 - .../bigquery/storage/v1beta2/TableProto.java | 103 - .../v1beta2/ThrottleStateOrBuilder.java | 39 - 198 files changed, 18451 insertions(+), 29958 deletions(-) delete mode 100644 grpc-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteGrpc.java rename {google-cloud-bigquerystorage => owl-bot-staging/v1/google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1/BaseBigQueryReadClient.java (98%) rename {google-cloud-bigquerystorage => owl-bot-staging/v1/google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1/BaseBigQueryReadSettings.java (96%) rename {google-cloud-bigquerystorage => owl-bot-staging/v1/google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1/gapic_metadata.json (100%) rename {google-cloud-bigquerystorage => owl-bot-staging/v1/google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1/package-info.java (100%) rename {google-cloud-bigquerystorage => owl-bot-staging/v1/google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1/stub/BigQueryReadStub.java (100%) create mode 100644 owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/BigQueryReadStubSettings.java rename {google-cloud-bigquerystorage => owl-bot-staging/v1/google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1/stub/GrpcBigQueryReadCallableFactory.java (100%) rename {google-cloud-bigquerystorage => owl-bot-staging/v1/google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1/stub/GrpcBigQueryReadStub.java (99%) rename {google-cloud-bigquerystorage => owl-bot-staging/v1/google-cloud-bigquerystorage}/src/test/java/com/google/cloud/bigquery/storage/v1/BaseBigQueryReadClientTest.java (100%) rename {google-cloud-bigquerystorage => owl-bot-staging/v1/google-cloud-bigquerystorage}/src/test/java/com/google/cloud/bigquery/storage/v1/MockBigQueryRead.java (100%) rename {google-cloud-bigquerystorage => owl-bot-staging/v1/google-cloud-bigquerystorage}/src/test/java/com/google/cloud/bigquery/storage/v1/MockBigQueryReadImpl.java (100%) rename {grpc-google-cloud-bigquerystorage-v1 => owl-bot-staging/v1/grpc-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryReadGrpc.java (58%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowProto.java rename {proto-google-cloud-bigquerystorage-v1 => owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowRecordBatch.java (68%) rename {proto-google-cloud-bigquerystorage-v1 => owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowRecordBatchOrBuilder.java (51%) rename {proto-google-cloud-bigquerystorage-v1 => owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSchema.java (69%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSchemaOrBuilder.java rename {proto-google-cloud-bigquerystorage-v1 => owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSerializationOptions.java (62%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSerializationOptionsOrBuilder.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroProto.java rename {proto-google-cloud-bigquerystorage-v1 => owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/AvroRows.java (69%) rename {proto-google-cloud-bigquerystorage-v1 => owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/AvroRowsOrBuilder.java (51%) rename {proto-google-cloud-bigquerystorage-v1 => owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/AvroSchema.java (68%) rename {proto-google-cloud-bigquerystorage-v1 => owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/AvroSchemaOrBuilder.java (50%) rename {proto-google-cloud-bigquerystorage-v1 => owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/CreateReadSessionRequest.java (64%) rename {proto-google-cloud-bigquerystorage-v1 => owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/CreateReadSessionRequestOrBuilder.java (55%) rename {proto-google-cloud-bigquerystorage-v1 => owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/DataFormat.java (66%) rename {proto-google-cloud-bigquerystorage-v1 => owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/ProjectName.java (100%) rename {proto-google-cloud-bigquerystorage-v1 => owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsRequest.java (66%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsRequestOrBuilder.java rename {proto-google-cloud-bigquerystorage-v1 => owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsResponse.java (67%) rename {proto-google-cloud-bigquerystorage-v1 => owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsResponseOrBuilder.java (73%) rename {proto-google-cloud-bigquerystorage-v1 => owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/ReadSession.java (67%) rename {proto-google-cloud-bigquerystorage-v1 => owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/ReadSessionOrBuilder.java (63%) rename {proto-google-cloud-bigquerystorage-v1 => owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/ReadStream.java (70%) rename {proto-google-cloud-bigquerystorage-v1 => owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/ReadStreamName.java (100%) rename {proto-google-cloud-bigquerystorage-v1 => owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/ReadStreamOrBuilder.java (55%) rename {proto-google-cloud-bigquerystorage-v1 => owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamRequest.java (67%) rename {proto-google-cloud-bigquerystorage-v1 => owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamRequestOrBuilder.java (54%) rename {proto-google-cloud-bigquerystorage-v1 => owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamResponse.java (71%) rename {proto-google-cloud-bigquerystorage-v1 => owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamResponseOrBuilder.java (77%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StorageProto.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StreamProto.java rename {proto-google-cloud-bigquerystorage-v1 => owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/StreamStats.java (72%) rename {proto-google-cloud-bigquerystorage-v1 => owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/StreamStatsOrBuilder.java (61%) rename {proto-google-cloud-bigquerystorage-v1 => owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/ThrottleState.java (68%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ThrottleStateOrBuilder.java rename {proto-google-cloud-bigquerystorage-v1 => owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1}/src/main/proto/google/cloud/bigquery/storage/v1/arrow.proto (100%) rename {proto-google-cloud-bigquerystorage-v1 => owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1}/src/main/proto/google/cloud/bigquery/storage/v1/avro.proto (100%) rename {proto-google-cloud-bigquerystorage-v1 => owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1}/src/main/proto/google/cloud/bigquery/storage/v1/storage.proto (100%) rename {proto-google-cloud-bigquerystorage-v1 => owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1}/src/main/proto/google/cloud/bigquery/storage/v1/stream.proto (100%) rename {google-cloud-bigquerystorage => owl-bot-staging/v1beta1/google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BaseBigQueryStorageClient.java (99%) rename {google-cloud-bigquerystorage => owl-bot-staging/v1beta1/google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BaseBigQueryStorageSettings.java (96%) rename {google-cloud-bigquerystorage => owl-bot-staging/v1beta1/google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1beta1/gapic_metadata.json (100%) rename {google-cloud-bigquerystorage => owl-bot-staging/v1beta1/google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1beta1/package-info.java (100%) rename {google-cloud-bigquerystorage => owl-bot-staging/v1beta1/google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/BigQueryStorageStub.java (100%) rename {google-cloud-bigquerystorage => owl-bot-staging/v1beta1/google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/BigQueryStorageStubSettings.java (98%) rename {google-cloud-bigquerystorage => owl-bot-staging/v1beta1/google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/GrpcBigQueryStorageCallableFactory.java (100%) rename {google-cloud-bigquerystorage => owl-bot-staging/v1beta1/google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/GrpcBigQueryStorageStub.java (99%) rename {google-cloud-bigquerystorage => owl-bot-staging/v1beta1/google-cloud-bigquerystorage}/src/test/java/com/google/cloud/bigquery/storage/v1beta1/BaseBigQueryStorageClientTest.java (100%) rename {google-cloud-bigquerystorage => owl-bot-staging/v1beta1/google-cloud-bigquerystorage}/src/test/java/com/google/cloud/bigquery/storage/v1beta1/MockBigQueryStorage.java (100%) rename {google-cloud-bigquerystorage => owl-bot-staging/v1beta1/google-cloud-bigquerystorage}/src/test/java/com/google/cloud/bigquery/storage/v1beta1/MockBigQueryStorageImpl.java (100%) rename {grpc-google-cloud-bigquerystorage-v1beta1 => owl-bot-staging/v1beta1/grpc-google-cloud-bigquerystorage-v1beta1}/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BigQueryStorageGrpc.java (51%) rename {proto-google-cloud-bigquerystorage-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1}/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ArrowProto.java (66%) rename {proto-google-cloud-bigquerystorage-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1}/src/main/java/com/google/cloud/bigquery/storage/v1beta1/AvroProto.java (68%) rename {proto-google-cloud-bigquerystorage-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1}/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ProjectName.java (100%) rename {proto-google-cloud-bigquerystorage-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1}/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ReadOptions.java (72%) rename {proto-google-cloud-bigquerystorage-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1}/src/main/java/com/google/cloud/bigquery/storage/v1beta1/Storage.java (66%) rename {proto-google-cloud-bigquerystorage-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1}/src/main/java/com/google/cloud/bigquery/storage/v1beta1/TableReferenceProto.java (63%) rename {proto-google-cloud-bigquerystorage-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1}/src/main/proto/google/cloud/bigquery/storage/v1beta1/arrow.proto (100%) rename {proto-google-cloud-bigquerystorage-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1}/src/main/proto/google/cloud/bigquery/storage/v1beta1/avro.proto (100%) rename {proto-google-cloud-bigquerystorage-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1}/src/main/proto/google/cloud/bigquery/storage/v1beta1/read_options.proto (100%) rename {proto-google-cloud-bigquerystorage-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1}/src/main/proto/google/cloud/bigquery/storage/v1beta1/storage.proto (100%) rename {proto-google-cloud-bigquerystorage-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1}/src/main/proto/google/cloud/bigquery/storage/v1beta1/table_reference.proto (100%) rename {google-cloud-bigquerystorage => owl-bot-staging/v1beta2/google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BaseBigQueryReadClient.java (96%) rename {google-cloud-bigquerystorage => owl-bot-staging/v1beta2/google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BaseBigQueryReadSettings.java (96%) rename {google-cloud-bigquerystorage => owl-bot-staging/v1beta2/google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteClient.java (98%) rename {google-cloud-bigquerystorage => owl-bot-staging/v1beta2/google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteSettings.java (96%) rename {google-cloud-bigquerystorage => owl-bot-staging/v1beta2/google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/gapic_metadata.json (100%) rename {google-cloud-bigquerystorage => owl-bot-staging/v1beta2/google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/package-info.java (100%) rename {google-cloud-bigquerystorage => owl-bot-staging/v1beta2/google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/BigQueryReadStub.java (100%) create mode 100644 owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/BigQueryReadStubSettings.java rename {google-cloud-bigquerystorage => owl-bot-staging/v1beta2/google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/BigQueryWriteStub.java (100%) rename {google-cloud-bigquerystorage => owl-bot-staging/v1beta2/google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/BigQueryWriteStubSettings.java (97%) rename {google-cloud-bigquerystorage => owl-bot-staging/v1beta2/google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/GrpcBigQueryReadCallableFactory.java (100%) rename {google-cloud-bigquerystorage => owl-bot-staging/v1beta2/google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/GrpcBigQueryReadStub.java (99%) rename {google-cloud-bigquerystorage => owl-bot-staging/v1beta2/google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/GrpcBigQueryWriteCallableFactory.java (100%) rename {google-cloud-bigquerystorage => owl-bot-staging/v1beta2/google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/GrpcBigQueryWriteStub.java (99%) rename {google-cloud-bigquerystorage => owl-bot-staging/v1beta2/google-cloud-bigquerystorage}/src/test/java/com/google/cloud/bigquery/storage/v1beta2/BaseBigQueryReadClientTest.java (100%) rename {google-cloud-bigquerystorage => owl-bot-staging/v1beta2/google-cloud-bigquerystorage}/src/test/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteClientTest.java (100%) rename {google-cloud-bigquerystorage => owl-bot-staging/v1beta2/google-cloud-bigquerystorage}/src/test/java/com/google/cloud/bigquery/storage/v1beta2/MockBigQueryRead.java (100%) rename {google-cloud-bigquerystorage => owl-bot-staging/v1beta2/google-cloud-bigquerystorage}/src/test/java/com/google/cloud/bigquery/storage/v1beta2/MockBigQueryReadImpl.java (100%) rename {google-cloud-bigquerystorage => owl-bot-staging/v1beta2/google-cloud-bigquerystorage}/src/test/java/com/google/cloud/bigquery/storage/v1beta2/MockBigQueryWrite.java (100%) rename {google-cloud-bigquerystorage => owl-bot-staging/v1beta2/google-cloud-bigquerystorage}/src/test/java/com/google/cloud/bigquery/storage/v1beta2/MockBigQueryWriteImpl.java (100%) rename {grpc-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/grpc-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryReadGrpc.java (57%) create mode 100644 owl-bot-staging/v1beta2/grpc-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteGrpc.java rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsRequest.java (71%) rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsRequestOrBuilder.java (76%) rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsResponse.java (70%) rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsResponseOrBuilder.java (83%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowProto.java rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowRecordBatch.java (69%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowRecordBatchOrBuilder.java rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSchema.java (69%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSchemaOrBuilder.java rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSerializationOptions.java (63%) rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSerializationOptionsOrBuilder.java (51%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroProto.java rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroRows.java (68%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroRowsOrBuilder.java rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroSchema.java (68%) rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroSchemaOrBuilder.java (51%) rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsRequest.java (68%) rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsRequestOrBuilder.java (70%) rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsResponse.java (74%) rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsResponseOrBuilder.java (83%) rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateReadSessionRequest.java (63%) rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateReadSessionRequestOrBuilder.java (55%) rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateWriteStreamRequest.java (61%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateWriteStreamRequestOrBuilder.java rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/DataFormat.java (65%) rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamRequest.java (62%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamRequestOrBuilder.java rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamResponse.java (63%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamResponseOrBuilder.java rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsRequest.java (68%) rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsRequestOrBuilder.java (58%) rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsResponse.java (68%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsResponseOrBuilder.java rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/GetWriteStreamRequest.java (64%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/GetWriteStreamRequestOrBuilder.java rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProjectName.java (100%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoBufProto.java rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoRows.java (71%) rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoRowsOrBuilder.java (68%) rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoSchema.java (71%) rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoSchemaOrBuilder.java (71%) rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsRequest.java (66%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsRequestOrBuilder.java rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsResponse.java (68%) rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsResponseOrBuilder.java (73%) rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadSession.java (67%) rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadSessionOrBuilder.java (62%) rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadStream.java (70%) rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadStreamName.java (100%) rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadStreamOrBuilder.java (56%) rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamRequest.java (66%) rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamRequestOrBuilder.java (55%) rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamResponse.java (69%) rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamResponseOrBuilder.java (78%) rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StorageError.java (71%) rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StorageErrorOrBuilder.java (64%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StorageProto.java create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StreamProto.java rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StreamStats.java (71%) rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StreamStatsOrBuilder.java (62%) rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableFieldSchema.java (66%) rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableFieldSchemaOrBuilder.java (58%) rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableName.java (100%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableProto.java rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableSchema.java (72%) rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableSchemaOrBuilder.java (65%) rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ThrottleState.java (69%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ThrottleStateOrBuilder.java rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/WriteStream.java (67%) rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/WriteStreamName.java (100%) rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/WriteStreamOrBuilder.java (71%) rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/proto/google/cloud/bigquery/storage/v1beta2/arrow.proto (100%) rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/proto/google/cloud/bigquery/storage/v1beta2/avro.proto (100%) rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/proto/google/cloud/bigquery/storage/v1beta2/protobuf.proto (100%) rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/proto/google/cloud/bigquery/storage/v1beta2/storage.proto (99%) rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/proto/google/cloud/bigquery/storage/v1beta2/stream.proto (100%) rename {proto-google-cloud-bigquerystorage-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2}/src/main/proto/google/cloud/bigquery/storage/v1beta2/table.proto (100%) delete mode 100644 proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowProto.java delete mode 100644 proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSchemaOrBuilder.java delete mode 100644 proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSerializationOptionsOrBuilder.java delete mode 100644 proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroProto.java delete mode 100644 proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsRequestOrBuilder.java delete mode 100644 proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StorageProto.java delete mode 100644 proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StreamProto.java delete mode 100644 proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ThrottleStateOrBuilder.java delete mode 100644 proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowProto.java delete mode 100644 proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowRecordBatchOrBuilder.java delete mode 100644 proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSchemaOrBuilder.java delete mode 100644 proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroProto.java delete mode 100644 proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroRowsOrBuilder.java delete mode 100644 proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateWriteStreamRequestOrBuilder.java delete mode 100644 proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamRequestOrBuilder.java delete mode 100644 proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamResponseOrBuilder.java delete mode 100644 proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsResponseOrBuilder.java delete mode 100644 proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/GetWriteStreamRequestOrBuilder.java delete mode 100644 proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoBufProto.java delete mode 100644 proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsRequestOrBuilder.java delete mode 100644 proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StorageProto.java delete mode 100644 proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StreamProto.java delete mode 100644 proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableProto.java delete mode 100644 proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ThrottleStateOrBuilder.java 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 deleted file mode 100644 index cb32dd1f8e..0000000000 --- a/grpc-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteGrpc.java +++ /dev/null @@ -1,1048 +0,0 @@ -/* - * Copyright 2020 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") -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 abstract static class BigQueryWriteImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * 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.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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - 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.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.
-     * 
- */ - 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.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.
-     * 
- */ - public void flushRows( - com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFlushRowsMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - 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>( - this, 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>( - this, 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>( - this, 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>( - this, 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>( - this, 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>( - this, METHODID_FLUSH_ROWS))) - .build(); - } - } - - /** - * - * - *
-   * 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); - } - } - - /** - * - * - *
-   * 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); - } - } - - /** - * - * - *
-   * 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 BigQueryWriteImplBase serviceImpl; - private final int methodId; - - MethodHandlers(BigQueryWriteImplBase 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(); - } - } - } - - 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/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/BaseBigQueryReadClient.java b/owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/BaseBigQueryReadClient.java similarity index 98% rename from google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/BaseBigQueryReadClient.java rename to owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/BaseBigQueryReadClient.java index 6ce4fac0f5..e092d8c989 100644 --- a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/BaseBigQueryReadClient.java +++ b/owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/BaseBigQueryReadClient.java @@ -53,13 +53,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* diff --git a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/BaseBigQueryReadSettings.java b/owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/BaseBigQueryReadSettings.java similarity index 96% rename from google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/BaseBigQueryReadSettings.java rename to owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/BaseBigQueryReadSettings.java index 33210bca04..d8f7d4b719 100644 --- a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/BaseBigQueryReadSettings.java +++ b/owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/BaseBigQueryReadSettings.java @@ -25,6 +25,7 @@ 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; @@ -39,10 +40,10 @@ *

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

    - *
  • The default service address (bigquerystorage.googleapis.com) and default port (443) are + *
  • 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. + *
  • 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 diff --git a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/gapic_metadata.json b/owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/gapic_metadata.json similarity index 100% rename from google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/gapic_metadata.json rename to owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/gapic_metadata.json diff --git a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/package-info.java b/owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/package-info.java similarity index 100% rename from google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/package-info.java rename to owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/package-info.java diff --git a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/BigQueryReadStub.java b/owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/BigQueryReadStub.java similarity index 100% rename from google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/BigQueryReadStub.java rename to owl-bot-staging/v1/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/BigQueryReadStubSettings.java b/owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/BigQueryReadStubSettings.java new file mode 100644 index 0000000000..be4ae2e80b --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/BigQueryReadStubSettings.java @@ -0,0 +1,366 @@ +/* + * Copyright 2021 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
+ * 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/bigquery.readonly") + .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; + } + + @BetaApi("A restructuring of stub classes is planned, so this may break in the future") + 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/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/GrpcBigQueryReadCallableFactory.java b/owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/GrpcBigQueryReadCallableFactory.java similarity index 100% rename from google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/GrpcBigQueryReadCallableFactory.java rename to owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/GrpcBigQueryReadCallableFactory.java diff --git a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/GrpcBigQueryReadStub.java b/owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/GrpcBigQueryReadStub.java similarity index 99% rename from google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/GrpcBigQueryReadStub.java rename to owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/GrpcBigQueryReadStub.java index 660466cec7..b8addb30a6 100644 --- a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/GrpcBigQueryReadStub.java +++ b/owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/GrpcBigQueryReadStub.java @@ -34,6 +34,7 @@ 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/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/BaseBigQueryReadClientTest.java b/owl-bot-staging/v1/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/BaseBigQueryReadClientTest.java similarity index 100% rename from google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/BaseBigQueryReadClientTest.java rename to owl-bot-staging/v1/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/BaseBigQueryReadClientTest.java diff --git a/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/MockBigQueryRead.java b/owl-bot-staging/v1/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/MockBigQueryRead.java similarity index 100% rename from google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/MockBigQueryRead.java rename to owl-bot-staging/v1/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/MockBigQueryRead.java diff --git a/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/MockBigQueryReadImpl.java b/owl-bot-staging/v1/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/MockBigQueryReadImpl.java similarity index 100% rename from google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/MockBigQueryReadImpl.java rename to owl-bot-staging/v1/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/MockBigQueryReadImpl.java diff --git a/grpc-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryReadGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryReadGrpc.java similarity index 58% rename from grpc-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryReadGrpc.java rename to owl-bot-staging/v1/grpc-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryReadGrpc.java index fe7778f2e3..97a000d3d7 100644 --- a/grpc-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryReadGrpc.java +++ b/owl-bot-staging/v1/grpc-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryReadGrpc.java @@ -1,25 +1,8 @@ -/* - * Copyright 2020 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.
@@ -35,200 +18,152 @@ 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<
-          com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest,
-          com.google.cloud.bigquery.storage.v1.ReadSession>
-      getCreateReadSessionMethod;
+  private static volatile io.grpc.MethodDescriptor 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<
-          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;
+  public static io.grpc.MethodDescriptor getCreateReadSessionMethod() {
+    io.grpc.MethodDescriptor 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<
-          com.google.cloud.bigquery.storage.v1.ReadRowsRequest,
-          com.google.cloud.bigquery.storage.v1.ReadRowsResponse>
-      getReadRowsMethod;
+  private static volatile io.grpc.MethodDescriptor 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<
-          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;
+  public static io.grpc.MethodDescriptor getReadRowsMethod() {
+    io.grpc.MethodDescriptor 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<
-          com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest,
-          com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse>
-      getSplitReadStreamMethod;
+  private static volatile io.grpc.MethodDescriptor 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<
-          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;
+  public static io.grpc.MethodDescriptor getSplitReadStreamMethod() {
+    io.grpc.MethodDescriptor 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.
    * 
*/ - public abstract static class BigQueryReadImplBase implements io.grpc.BindableService { + public static abstract class BigQueryReadImplBase implements io.grpc.BindableService { /** - * - * *
      * 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,17 +183,12 @@ public abstract static class BigQueryReadImplBase implements io.grpc.BindableSer
      * not require manual clean-up by the caller.
      * 
*/ - public void createReadSession( - com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateReadSessionMethod(), responseObserver); + public 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
@@ -268,16 +198,12 @@ public void createReadSession(
      * 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.ServerCalls.asyncUnimplementedUnaryCall(getReadRowsMethod(), responseObserver); } /** - * - * *
      * Splits a given `ReadStream` into two `ReadStream` objects. These
      * `ReadStream` objects are referred to as the primary and the residual
@@ -292,64 +218,57 @@ public void readRows(
      * completion.
      * 
*/ - public void splitReadStream( - com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSplitReadStreamMethod(), responseObserver); + public void splitReadStream(com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSplitReadStreamMethod(), responseObserver); } - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { 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>( - this, 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>( + this, 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>( - this, 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>( + this, 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>( - this, 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>( + this, METHODID_SPLIT_READ_STREAM))) .build(); } } /** - * - * *
    * BigQuery Read API.
    * The Read API can be used to read data from BigQuery.
    * 
*/ - public static final class BigQueryReadStub - extends io.grpc.stub.AbstractAsyncStub { - private BigQueryReadStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class BigQueryReadStub extends io.grpc.stub.AbstractAsyncStub { + 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
@@ -369,19 +288,13 @@ protected BigQueryReadStub build(io.grpc.Channel channel, io.grpc.CallOptions ca
      * 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
@@ -391,17 +304,13 @@ public void createReadSession(
      * 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
@@ -416,28 +325,22 @@ public void readRows(
      * 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); } } /** - * - * *
    * BigQuery Read API.
    * The Read API can be used to read data from BigQuery.
    * 
*/ - public static final class BigQueryReadBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private BigQueryReadBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class BigQueryReadBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private BigQueryReadBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -448,8 +351,6 @@ 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
@@ -469,15 +370,12 @@ 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
@@ -494,8 +392,6 @@ public java.util.Iterator
     }
 
     /**
-     *
-     *
      * 
      * Splits a given `ReadStream` into two `ReadStream` objects. These
      * `ReadStream` objects are referred to as the primary and the residual
@@ -510,24 +406,21 @@ 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); } } /** - * - * *
    * BigQuery Read API.
    * The Read API can be used to read data from BigQuery.
    * 
*/ - public static final class BigQueryReadFutureStub - extends io.grpc.stub.AbstractFutureStub { - private BigQueryReadFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class BigQueryReadFutureStub extends io.grpc.stub.AbstractFutureStub { + private BigQueryReadFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -538,8 +431,6 @@ 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
@@ -559,16 +450,13 @@ protected BigQueryReadFutureStub build(
      * not require manual clean-up by the caller.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.bigquery.storage.v1.ReadSession> - createReadSession(com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest request) { + public com.google.common.util.concurrent.ListenableFuture 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
@@ -583,9 +471,8 @@ protected BigQueryReadFutureStub build(
      * completion.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse> - splitReadStream(com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest request) { + public com.google.common.util.concurrent.ListenableFuture splitReadStream( + com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getSplitReadStreamMethod(), getCallOptions()), request); } @@ -595,11 +482,11 @@ protected BigQueryReadFutureStub build( private static final int METHODID_READ_ROWS = 1; private static final int METHODID_SPLIT_READ_STREAM = 2; - 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 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 BigQueryReadImplBase serviceImpl; private final int methodId; @@ -613,23 +500,16 @@ private static final class MethodHandlers 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< - com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse>) - responseObserver); + serviceImpl.splitReadStream((com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; default: throw new AssertionError(); @@ -647,9 +527,8 @@ public io.grpc.stub.StreamObserver invoke( } } - private abstract static class BigQueryReadBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private static abstract class BigQueryReadBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { BigQueryReadBaseDescriptorSupplier() {} @java.lang.Override @@ -691,14 +570,12 @@ 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/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 new file mode 100644 index 0000000000..6d7a79e930 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowProto.java @@ -0,0 +1,83 @@ +// 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\"F\n\020ArrowRecordBatch\022\037\n\027serialized_rec" + + "ord_batch\030\001 \001(\014\022\021\n\trow_count\030\002 \001(\003\"\317\001\n\031A" + + "rrowSerializationOptions\022h\n\022buffer_compr" + + "ession\030\002 \001(\0162L.google.cloud.bigquery.sto" + + "rage.v1.ArrowSerializationOptions.Compre" + + "ssionCodec\"H\n\020CompressionCodec\022\033\n\027COMPRE" + + "SSION_UNSPECIFIED\020\000\022\r\n\tLZ4_FRAME\020\001\022\010\n\004ZS" + + "TD\020\002B\303\001\n$com.google.cloud.bigquery.stora" + + "ge.v1B\nArrowProtoP\001ZGgoogle.golang.org/g" + + "enproto/googleapis/cloud/bigquery/storag" + + "e/v1;storage\252\002 Google.Cloud.BigQuery.Sto" + + "rage.V1\312\002 Google\\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_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/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowRecordBatch.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowRecordBatch.java similarity index 68% rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowRecordBatch.java rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowRecordBatch.java index 3a27b22f02..98ecdd5ded 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowRecordBatch.java +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowRecordBatch.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ArrowRecordBatch( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,61 +53,56 @@ private ArrowRecordBatch( case 0: done = true; break; - case 10: - { - serializedRecordBatch_ = input.readBytes(); - break; - } - case 16: - { - rowCount_ = input.readInt64(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 10: { + + serializedRecordBatch_ = input.readBytes(); + break; + } + case 16: { + + rowCount_ = input.readInt64(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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_; /** - * - * *
    * IPC-serialized Arrow RecordBatch.
    * 
* * bytes serialized_record_batch = 1; - * * @return The serializedRecordBatch. */ @java.lang.Override @@ -135,14 +113,11 @@ public com.google.protobuf.ByteString getSerializedRecordBatch() { public static final int ROW_COUNT_FIELD_NUMBER = 2; private long rowCount_; /** - * - * *
    * The count of rows in `serialized_record_batch`.
    * 
* * int64 row_count = 2; - * * @return The rowCount. */ @java.lang.Override @@ -151,7 +126,6 @@ public long getRowCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -163,7 +137,8 @@ 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_); } @@ -180,10 +155,12 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -193,16 +170,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -217,134 +195,125 @@ 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) + unknownFields.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() @@ -352,15 +321,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -372,9 +342,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 @@ -393,8 +363,7 @@ 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); + com.google.cloud.bigquery.storage.v1.ArrowRecordBatch result = new com.google.cloud.bigquery.storage.v1.ArrowRecordBatch(this); result.serializedRecordBatch_ = serializedRecordBatch_; result.rowCount_ = rowCount_; onBuilt(); @@ -405,39 +374,38 @@ public com.google.cloud.bigquery.storage.v1.ArrowRecordBatch buildPartial() { 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; @@ -445,8 +413,7 @@ 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()); } @@ -472,8 +439,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1.ArrowRecordBatch) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1.ArrowRecordBatch) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -483,17 +449,13 @@ public Builder mergeFrom( return this; } - 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 @@ -501,54 +463,45 @@ 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(); - } - + throw new NullPointerException(); + } + serializedRecordBatch_ = value; onChanged(); return this; } /** - * - * *
      * IPC-serialized Arrow RecordBatch.
      * 
* * bytes serialized_record_batch = 1; - * * @return This builder for chaining. */ public Builder clearSerializedRecordBatch() { - + serializedRecordBatch_ = getDefaultInstance().getSerializedRecordBatch(); onChanged(); return this; } - private long rowCount_; + private long rowCount_ ; /** - * - * *
      * The count of rows in `serialized_record_batch`.
      * 
* * int64 row_count = 2; - * * @return The rowCount. */ @java.lang.Override @@ -556,43 +509,37 @@ public long getRowCount() { return rowCount_; } /** - * - * *
      * The count of rows in `serialized_record_batch`.
      * 
* * int64 row_count = 2; - * * @param value The rowCount to set. * @return This builder for chaining. */ public Builder setRowCount(long value) { - + rowCount_ = value; onChanged(); return this; } /** - * - * *
      * The count of rows in `serialized_record_batch`.
      * 
* * int64 row_count = 2; - * * @return This builder for chaining. */ public Builder clearRowCount() { - + 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); } @@ -602,12 +549,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(); } @@ -616,16 +563,16 @@ 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 { - return new ArrowRecordBatch(input, extensionRegistry); - } - }; + 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 { + return new ArrowRecordBatch(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -640,4 +587,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1.ArrowRecordBatch getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowRecordBatchOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowRecordBatchOrBuilder.java similarity index 51% rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowRecordBatchOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowRecordBatchOrBuilder.java index b6a38ab736..adca4b068a 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowRecordBatchOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowRecordBatchOrBuilder.java @@ -1,50 +1,28 @@ -/* - * Copyright 2020 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(); /** - * - * *
    * The count of rows in `serialized_record_batch`.
    * 
* * int64 row_count = 2; - * * @return The rowCount. */ long getRowCount(); diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSchema.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSchema.java similarity index 69% rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSchema.java rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSchema.java index cb0f25bb1c..d1b6cb30ea 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSchema.java +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSchema.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 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
@@ -31,31 +14,31 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ArrowSchema(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,56 +57,51 @@ private ArrowSchema(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              serializedSchema_ = input.readBytes();
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+          case 10: {
+
+            serializedSchema_ = input.readBytes();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  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_;
   /**
-   *
-   *
    * 
    * IPC serialized Arrow schema.
    * 
* * bytes serialized_schema = 1; - * * @return The serializedSchema. */ @java.lang.Override @@ -132,7 +110,6 @@ public com.google.protobuf.ByteString getSerializedSchema() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -144,7 +121,8 @@ 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_); } @@ -158,7 +136,8 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -168,15 +147,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -195,104 +174,97 @@ 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
@@ -303,23 +275,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * 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()
@@ -327,15 +297,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -345,9 +316,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
@@ -366,8 +337,7 @@ 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);
+      com.google.cloud.bigquery.storage.v1.ArrowSchema result = new com.google.cloud.bigquery.storage.v1.ArrowSchema(this);
       result.serializedSchema_ = serializedSchema_;
       onBuilt();
       return result;
@@ -377,39 +347,38 @@ public com.google.cloud.bigquery.storage.v1.ArrowSchema buildPartial() {
     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;
@@ -417,8 +386,7 @@ 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());
       }
@@ -453,14 +421,11 @@ public Builder mergeFrom(
 
     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 @@ -468,46 +433,40 @@ 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(); - } - + throw new NullPointerException(); + } + serializedSchema_ = value; onChanged(); return this; } /** - * - * *
      * IPC serialized Arrow schema.
      * 
* * bytes serialized_schema = 1; - * * @return This builder for chaining. */ public Builder clearSerializedSchema() { - + serializedSchema_ = getDefaultInstance().getSerializedSchema(); 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); } @@ -517,12 +476,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(); } @@ -531,16 +490,16 @@ 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 { - return new ArrowSchema(input, extensionRegistry); - } - }; + 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 { + return new ArrowSchema(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -555,4 +514,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1.ArrowSchema 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/ArrowSchemaOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSchemaOrBuilder.java new file mode 100644 index 0000000000..5a10e618b2 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSchemaOrBuilder.java @@ -0,0 +1,19 @@ +// 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/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSerializationOptions.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSerializationOptions.java similarity index 62% rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSerializationOptions.java rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSerializationOptions.java index 114be6109e..06b81b2c6f 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSerializationOptions.java +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSerializationOptions.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ArrowSerializationOptions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,61 +53,54 @@ private ArrowSerializationOptions( case 0: done = true; break; - case 16: - { - int rawValue = input.readEnum(); + case 16: { + int rawValue = input.readEnum(); - bufferCompression_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + bufferCompression_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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.
      * 
@@ -133,8 +109,6 @@ public enum CompressionCodec implements com.google.protobuf.ProtocolMessageEnum */ COMPRESSION_UNSPECIFIED(0), /** - * - * *
      * LZ4 Frame (https://github.com/lz4/lz4/blob/dev/doc/lz4_Frame_format.md)
      * 
@@ -143,8 +117,6 @@ public enum CompressionCodec implements com.google.protobuf.ProtocolMessageEnum */ LZ4_FRAME(1), /** - * - * *
      * Zstandard compression.
      * 
@@ -156,8 +128,6 @@ public enum CompressionCodec implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
      * If unspecified no compression will be used.
      * 
@@ -166,8 +136,6 @@ public enum CompressionCodec implements com.google.protobuf.ProtocolMessageEnum */ public static final int COMPRESSION_UNSPECIFIED_VALUE = 0; /** - * - * *
      * LZ4 Frame (https://github.com/lz4/lz4/blob/dev/doc/lz4_Frame_format.md)
      * 
@@ -176,8 +144,6 @@ public enum CompressionCodec implements com.google.protobuf.ProtocolMessageEnum */ public static final int LZ4_FRAME_VALUE = 1; /** - * - * *
      * Zstandard compression.
      * 
@@ -186,6 +152,7 @@ public enum CompressionCodec implements com.google.protobuf.ProtocolMessageEnum */ public static final int ZSTD_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -210,45 +177,40 @@ 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); + } + }; - 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() { + 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(); @@ -256,7 +218,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor 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; @@ -276,52 +239,33 @@ private CompressionCodec(int value) { public static final int BUFFER_COMPRESSION_FIELD_NUMBER = 2; private int 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 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() { + @java.lang.Override public com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec getBufferCompression() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec result = - com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec.valueOf( - bufferCompression_); - return result == null - ? com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec - .UNRECOGNIZED - : result; + com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec result = com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec.valueOf(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; @@ -333,11 +277,9 @@ 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_); } unknownFields.writeTo(output); @@ -349,11 +291,9 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -363,13 +303,12 @@ 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 (!unknownFields.equals(other.unknownFields)) return false; @@ -391,127 +330,117 @@ 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() @@ -519,15 +448,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -537,14 +467,13 @@ 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(); } @@ -559,8 +488,7 @@ 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); + com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions result = new com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions(this); result.bufferCompression_ = bufferCompression_; onBuilt(); return result; @@ -570,39 +498,38 @@ public com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions buildParti 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; @@ -610,9 +537,7 @@ 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()); } @@ -635,9 +560,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -649,118 +572,85 @@ public Builder mergeFrom( 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. */ public Builder setBufferCompressionValue(int value) { - + bufferCompression_ = value; onChanged(); 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() { + public com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec getBufferCompression() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec result = - com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec.valueOf( - bufferCompression_); - return result == null - ? com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec - .UNRECOGNIZED - : result; + com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec result = com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec.valueOf(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(); } - + bufferCompression_ = value.getNumber(); onChanged(); 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() { - + bufferCompression_ = 0; 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); } @@ -770,32 +660,30 @@ 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 { - return new ArrowSerializationOptions(input, extensionRegistry); - } - }; + 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 { + return new ArrowSerializationOptions(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -807,8 +695,9 @@ 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/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 new file mode 100644 index 0000000000..902c0cf3a1 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSerializationOptionsOrBuilder.java @@ -0,0 +1,30 @@ +// 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 new file mode 100644 index 0000000000..5b075e65ec --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroProto.java @@ -0,0 +1,66 @@ +// 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; + + 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\"=\n\010AvroRow" + + "s\022\036\n\026serialized_binary_rows\030\001 \001(\014\022\021\n\trow" + + "_count\030\002 \001(\003B\302\001\n$com.google.cloud.bigque" + + "ry.storage.v1B\tAvroProtoP\001ZGgoogle.golan" + + "g.org/genproto/googleapis/cloud/bigquery" + + "/storage/v1;storage\252\002 Google.Cloud.BigQu" + + "ery.Storage.V1\312\002 Google\\Cloud\\BigQuery\\S" + + "torage\\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", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroRows.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroRows.java similarity index 69% rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroRows.java rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroRows.java index 6d31557539..1dd66c2b02 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroRows.java +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroRows.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AvroRows( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,61 +53,56 @@ private AvroRows( case 0: done = true; break; - case 10: - { - serializedBinaryRows_ = input.readBytes(); - break; - } - case 16: - { - rowCount_ = input.readInt64(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 10: { + + serializedBinaryRows_ = input.readBytes(); + break; + } + case 16: { + + rowCount_ = input.readInt64(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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_; /** - * - * *
    * Binary serialized rows in a block.
    * 
* * bytes serialized_binary_rows = 1; - * * @return The serializedBinaryRows. */ @java.lang.Override @@ -135,14 +113,11 @@ public com.google.protobuf.ByteString getSerializedBinaryRows() { public static final int ROW_COUNT_FIELD_NUMBER = 2; private long rowCount_; /** - * - * *
    * The count of rows in the returning block.
    * 
* * int64 row_count = 2; - * * @return The rowCount. */ @java.lang.Override @@ -151,7 +126,6 @@ public long getRowCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -163,7 +137,8 @@ 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_); } @@ -180,10 +155,12 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -193,16 +170,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -217,133 +195,125 @@ 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) + unknownFields.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() @@ -351,15 +321,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -371,9 +342,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 @@ -392,8 +363,7 @@ 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); + com.google.cloud.bigquery.storage.v1.AvroRows result = new com.google.cloud.bigquery.storage.v1.AvroRows(this); result.serializedBinaryRows_ = serializedBinaryRows_; result.rowCount_ = rowCount_; onBuilt(); @@ -404,39 +374,38 @@ public com.google.cloud.bigquery.storage.v1.AvroRows buildPartial() { 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; @@ -480,17 +449,13 @@ public Builder mergeFrom( return this; } - 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 @@ -498,54 +463,45 @@ 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(); - } - + throw new NullPointerException(); + } + serializedBinaryRows_ = value; onChanged(); return this; } /** - * - * *
      * Binary serialized rows in a block.
      * 
* * bytes serialized_binary_rows = 1; - * * @return This builder for chaining. */ public Builder clearSerializedBinaryRows() { - + serializedBinaryRows_ = getDefaultInstance().getSerializedBinaryRows(); onChanged(); 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 @@ -553,43 +509,37 @@ 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. */ public Builder setRowCount(long value) { - + rowCount_ = value; onChanged(); return this; } /** - * - * *
      * The count of rows in the returning block.
      * 
* * int64 row_count = 2; - * * @return This builder for chaining. */ public Builder clearRowCount() { - + 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); } @@ -599,12 +549,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(); } @@ -613,16 +563,16 @@ 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 { - return new AvroRows(input, extensionRegistry); - } - }; + 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 { + return new AvroRows(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -637,4 +587,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1.AvroRows getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroRowsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroRowsOrBuilder.java similarity index 51% rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroRowsOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroRowsOrBuilder.java index 27cd68e6fc..ecf32f9105 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroRowsOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroRowsOrBuilder.java @@ -1,50 +1,28 @@ -/* - * Copyright 2020 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(); /** - * - * *
    * The count of rows in the returning block.
    * 
* * int64 row_count = 2; - * * @return The rowCount. */ long getRowCount(); diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroSchema.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroSchema.java similarity index 68% rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroSchema.java rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroSchema.java index 0bb1a64fdc..e3f0717013 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroSchema.java +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroSchema.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AvroSchema( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,59 +53,53 @@ private AvroSchema( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - schema_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + schema_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -131,30 +108,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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getSchemaBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ 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 (!getSchemaBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, schema_); } @@ -199,15 +176,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -226,127 +203,118 @@ 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() @@ -354,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -372,9 +341,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 @@ -393,8 +362,7 @@ 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); + com.google.cloud.bigquery.storage.v1.AvroSchema result = new com.google.cloud.bigquery.storage.v1.AvroSchema(this); result.schema_ = schema_; onBuilt(); return result; @@ -404,39 +372,38 @@ public com.google.cloud.bigquery.storage.v1.AvroSchema buildPartial() { 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; @@ -444,8 +411,7 @@ 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_; onChanged(); @@ -481,21 +447,19 @@ public Builder mergeFrom( 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; @@ -504,22 +468,21 @@ 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 { @@ -527,71 +490,64 @@ public com.google.protobuf.ByteString getSchemaBytes() { } } /** - * - * *
      * 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) { + public Builder setSchema( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + schema_ = value; 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() { - + schema_ = getDefaultInstance().getSchema(); onChanged(); 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) { + public Builder setSchemaBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + schema_ = value; 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); } @@ -601,12 +557,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(); } @@ -615,16 +571,16 @@ 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 { - return new AvroSchema(input, extensionRegistry); - } - }; + 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 { + return new AvroSchema(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -639,4 +595,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1.AvroSchema getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroSchemaOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroSchemaOrBuilder.java similarity index 50% rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroSchemaOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroSchemaOrBuilder.java index 2612720e29..b8b182d60c 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroSchemaOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroSchemaOrBuilder.java @@ -1,52 +1,31 @@ -/* - * Copyright 2020 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/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/CreateReadSessionRequest.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/CreateReadSessionRequest.java similarity index 64% rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/CreateReadSessionRequest.java rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/CreateReadSessionRequest.java index 17d536045d..3da6750d8e 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/CreateReadSessionRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/CreateReadSessionRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateReadSessionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,82 +53,71 @@ private CreateReadSessionRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: - { - com.google.cloud.bigquery.storage.v1.ReadSession.Builder subBuilder = null; - if (readSession_ != null) { - subBuilder = readSession_.toBuilder(); - } - readSession_ = - input.readMessage( - com.google.cloud.bigquery.storage.v1.ReadSession.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readSession_); - readSession_ = subBuilder.buildPartial(); - } + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.bigquery.storage.v1.ReadSession.Builder subBuilder = null; + if (readSession_ != null) { + subBuilder = readSession_.toBuilder(); } - case 24: - { - maxStreamCount_ = input.readInt32(); - break; + readSession_ = input.readMessage(com.google.cloud.bigquery.storage.v1.ReadSession.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readSession_); + readSession_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 24: { + + maxStreamCount_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -154,32 +126,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. 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 { @@ -190,16 +160,11 @@ public com.google.protobuf.ByteString getParentBytes() { 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 @@ -207,34 +172,23 @@ 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() { @@ -244,8 +198,6 @@ public com.google.cloud.bigquery.storage.v1.ReadSessionOrBuilder getReadSessionO public static final int MAX_STREAM_COUNT_FIELD_NUMBER = 3; 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
@@ -257,7 +209,6 @@ public com.google.cloud.bigquery.storage.v1.ReadSessionOrBuilder getReadSessionO
    * 
* * int32 max_stream_count = 3; - * * @return The maxStreamCount. */ @java.lang.Override @@ -266,7 +217,6 @@ public int getMaxStreamCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -278,7 +228,8 @@ 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 (!getParentBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -301,10 +252,12 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -314,20 +267,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.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 (getMaxStreamCount() + != other.getMaxStreamCount()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -353,127 +308,117 @@ 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() @@ -481,15 +426,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -507,14 +453,13 @@ 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(); } @@ -529,8 +474,7 @@ 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); + com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest result = new com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest(this); result.parent_ = parent_; if (readSessionBuilder_ == null) { result.readSession_ = readSession_; @@ -546,39 +490,38 @@ public com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest buildPartia 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; @@ -586,9 +529,7 @@ 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_; onChanged(); @@ -618,9 +559,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -632,23 +571,19 @@ public Builder mergeFrom( 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; @@ -657,24 +592,21 @@ 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 { @@ -682,70 +614,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -753,58 +672,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { 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 readSessionBuilder_ != null || 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. */ 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) { @@ -820,15 +720,11 @@ 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) { @@ -842,23 +738,17 @@ 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 (readSession_ != null) { readSession_ = - com.google.cloud.bigquery.storage.v1.ReadSession.newBuilder(readSession_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.bigquery.storage.v1.ReadSession.newBuilder(readSession_).mergeFrom(value).buildPartial(); } else { readSession_ = value; } @@ -870,15 +760,11 @@ 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() { if (readSessionBuilder_ == null) { @@ -892,73 +778,55 @@ 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() { - + onChanged(); 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
@@ -970,7 +838,6 @@ public com.google.cloud.bigquery.storage.v1.ReadSessionOrBuilder getReadSessionO
      * 
* * int32 max_stream_count = 3; - * * @return The maxStreamCount. */ @java.lang.Override @@ -978,8 +845,6 @@ 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
@@ -991,19 +856,16 @@ public int getMaxStreamCount() {
      * 
* * int32 max_stream_count = 3; - * * @param value The maxStreamCount to set. * @return This builder for chaining. */ public Builder setMaxStreamCount(int value) { - + maxStreamCount_ = value; onChanged(); 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
@@ -1015,18 +877,17 @@ public Builder setMaxStreamCount(int value) {
      * 
* * int32 max_stream_count = 3; - * * @return This builder for chaining. */ public Builder clearMaxStreamCount() { - + maxStreamCount_ = 0; 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); } @@ -1036,13 +897,12 @@ 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(); } @@ -1051,16 +911,16 @@ 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 { - return new CreateReadSessionRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateReadSessionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1075,4 +935,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/CreateReadSessionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/CreateReadSessionRequestOrBuilder.java similarity index 55% rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/CreateReadSessionRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/CreateReadSessionRequestOrBuilder.java index d522222bc1..ed831fb1f2 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/CreateReadSessionRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/CreateReadSessionRequestOrBuilder.java @@ -1,103 +1,62 @@ -/* - * Copyright 2020 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
@@ -109,7 +68,6 @@ public interface CreateReadSessionRequestOrBuilder
    * 
* * int32 max_stream_count = 3; - * * @return The maxStreamCount. */ int getMaxStreamCount(); diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/DataFormat.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/DataFormat.java similarity index 66% rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/DataFormat.java rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/DataFormat.java index 7829837394..f48fe91b5f 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/DataFormat.java +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/DataFormat.java @@ -1,38 +1,22 @@ -/* - * Copyright 2020 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 { - /** 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.
@@ -42,8 +26,6 @@ public enum DataFormat implements com.google.protobuf.ProtocolMessageEnum {
    */
   AVRO(1),
   /**
-   *
-   *
    * 
    * Arrow is a standard open source column-based message format.
    * See https://arrow.apache.org/ for more details.
@@ -55,11 +37,11 @@ public enum DataFormat implements com.google.protobuf.ProtocolMessageEnum {
   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.
@@ -69,8 +51,6 @@ public enum DataFormat implements com.google.protobuf.ProtocolMessageEnum {
    */
   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.
@@ -80,6 +60,7 @@ public enum DataFormat implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int ARROW_VALUE = 2;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -104,49 +85,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 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<
+      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() {
     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;
@@ -162,3 +143,4 @@ private DataFormat(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.bigquery.storage.v1.DataFormat)
 }
+
diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProjectName.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProjectName.java
similarity index 100%
rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProjectName.java
rename to owl-bot-staging/v1/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/ReadRowsRequest.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsRequest.java
similarity index 66%
rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsRequest.java
index 2888d7251e..3a0d94ac7f 100644
--- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsRequest.java
@@ -1,57 +1,40 @@
-/*
- * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ReadRowsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,65 +53,57 @@ private ReadRowsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - readStream_ = s; - break; - } - case 16: - { - offset_ = input.readInt64(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + readStream_ = s; + break; + } + case 16: { + + offset_ = input.readInt64(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -137,31 +112,29 @@ 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 { @@ -172,8 +145,6 @@ public com.google.protobuf.ByteString getReadStreamBytes() { public static final int OFFSET_FIELD_NUMBER = 2; 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
@@ -181,7 +152,6 @@ public com.google.protobuf.ByteString getReadStreamBytes() {
    * 
* * int64 offset = 2; - * * @return The offset. */ @java.lang.Override @@ -190,7 +160,6 @@ public long getOffset() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,7 +171,8 @@ 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 (!getReadStreamBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, readStream_); } @@ -222,7 +192,8 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -232,16 +203,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -256,133 +228,125 @@ 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) + unknownFields.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() @@ -390,15 +354,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -410,9 +375,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 @@ -431,8 +396,7 @@ 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); + com.google.cloud.bigquery.storage.v1.ReadRowsRequest result = new com.google.cloud.bigquery.storage.v1.ReadRowsRequest(this); result.readStream_ = readStream_; result.offset_ = offset_; onBuilt(); @@ -443,39 +407,38 @@ public com.google.cloud.bigquery.storage.v1.ReadRowsRequest buildPartial() { 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; @@ -483,8 +446,7 @@ 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_; onChanged(); @@ -511,8 +473,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1.ReadRowsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1.ReadRowsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -524,22 +485,18 @@ public Builder mergeFrom( 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; @@ -548,23 +505,20 @@ 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 { @@ -572,76 +526,61 @@ public com.google.protobuf.ByteString getReadStreamBytes() { } } /** - * - * *
      * 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) { + public Builder setReadStream( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + readStream_ = value; 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() { - + readStream_ = getDefaultInstance().getReadStream(); 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) = { ... } * @param value The bytes for readStream to set. * @return This builder for chaining. */ - public Builder setReadStreamBytes(com.google.protobuf.ByteString value) { + public Builder setReadStreamBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + readStream_ = value; onChanged(); 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
@@ -649,7 +588,6 @@ public Builder setReadStreamBytes(com.google.protobuf.ByteString value) {
      * 
* * int64 offset = 2; - * * @return The offset. */ @java.lang.Override @@ -657,8 +595,6 @@ 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
@@ -666,19 +602,16 @@ public long getOffset() {
      * 
* * int64 offset = 2; - * * @param value The offset to set. * @return This builder for chaining. */ public Builder setOffset(long value) { - + offset_ = value; onChanged(); 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
@@ -686,18 +619,17 @@ public Builder setOffset(long value) {
      * 
* * int64 offset = 2; - * * @return This builder for chaining. */ public Builder clearOffset() { - + offset_ = 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); } @@ -707,12 +639,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(); } @@ -721,16 +653,16 @@ 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 { - return new ReadRowsRequest(input, extensionRegistry); - } - }; + 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 { + return new ReadRowsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -745,4 +677,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1.ReadRowsRequest 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/ReadRowsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsRequestOrBuilder.java new file mode 100644 index 0000000000..a695b011a8 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsRequestOrBuilder.java @@ -0,0 +1,41 @@ +// 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/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsResponse.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsResponse.java similarity index 67% rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsResponse.java index 5c4fbc3594..385aab6604 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 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.
@@ -28,29 +11,30 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ReadRowsResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -69,158 +53,134 @@ private ReadRowsResponse(
           case 0:
             done = true;
             break;
-          case 18:
-            {
-              com.google.cloud.bigquery.storage.v1.StreamStats.Builder subBuilder = null;
-              if (stats_ != null) {
-                subBuilder = stats_.toBuilder();
-              }
-              stats_ =
-                  input.readMessage(
-                      com.google.cloud.bigquery.storage.v1.StreamStats.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(stats_);
-                stats_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 18: {
+            com.google.cloud.bigquery.storage.v1.StreamStats.Builder subBuilder = null;
+            if (stats_ != null) {
+              subBuilder = stats_.toBuilder();
             }
-          case 26:
-            {
-              com.google.cloud.bigquery.storage.v1.AvroRows.Builder subBuilder = null;
-              if (rowsCase_ == 3) {
-                subBuilder = ((com.google.cloud.bigquery.storage.v1.AvroRows) rows_).toBuilder();
-              }
-              rows_ =
-                  input.readMessage(
-                      com.google.cloud.bigquery.storage.v1.AvroRows.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.cloud.bigquery.storage.v1.AvroRows) rows_);
-                rows_ = subBuilder.buildPartial();
-              }
-              rowsCase_ = 3;
-              break;
+            stats_ = input.readMessage(com.google.cloud.bigquery.storage.v1.StreamStats.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(stats_);
+              stats_ = subBuilder.buildPartial();
             }
-          case 34:
-            {
-              com.google.cloud.bigquery.storage.v1.ArrowRecordBatch.Builder subBuilder = null;
-              if (rowsCase_ == 4) {
-                subBuilder =
-                    ((com.google.cloud.bigquery.storage.v1.ArrowRecordBatch) rows_).toBuilder();
-              }
-              rows_ =
-                  input.readMessage(
-                      com.google.cloud.bigquery.storage.v1.ArrowRecordBatch.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.cloud.bigquery.storage.v1.ArrowRecordBatch) rows_);
-                rows_ = subBuilder.buildPartial();
-              }
-              rowsCase_ = 4;
-              break;
+
+            break;
+          }
+          case 26: {
+            com.google.cloud.bigquery.storage.v1.AvroRows.Builder subBuilder = null;
+            if (rowsCase_ == 3) {
+              subBuilder = ((com.google.cloud.bigquery.storage.v1.AvroRows) rows_).toBuilder();
             }
-          case 42:
-            {
-              com.google.cloud.bigquery.storage.v1.ThrottleState.Builder subBuilder = null;
-              if (throttleState_ != null) {
-                subBuilder = throttleState_.toBuilder();
-              }
-              throttleState_ =
-                  input.readMessage(
-                      com.google.cloud.bigquery.storage.v1.ThrottleState.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(throttleState_);
-                throttleState_ = subBuilder.buildPartial();
-              }
-
-              break;
+            rows_ =
+                input.readMessage(com.google.cloud.bigquery.storage.v1.AvroRows.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.bigquery.storage.v1.AvroRows) rows_);
+              rows_ = subBuilder.buildPartial();
             }
-          case 48:
-            {
-              rowCount_ = input.readInt64();
-              break;
+            rowsCase_ = 3;
+            break;
+          }
+          case 34: {
+            com.google.cloud.bigquery.storage.v1.ArrowRecordBatch.Builder subBuilder = null;
+            if (rowsCase_ == 4) {
+              subBuilder = ((com.google.cloud.bigquery.storage.v1.ArrowRecordBatch) rows_).toBuilder();
             }
-          case 58:
-            {
-              com.google.cloud.bigquery.storage.v1.AvroSchema.Builder subBuilder = null;
-              if (schemaCase_ == 7) {
-                subBuilder =
-                    ((com.google.cloud.bigquery.storage.v1.AvroSchema) schema_).toBuilder();
-              }
-              schema_ =
-                  input.readMessage(
-                      com.google.cloud.bigquery.storage.v1.AvroSchema.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.cloud.bigquery.storage.v1.AvroSchema) schema_);
-                schema_ = subBuilder.buildPartial();
-              }
-              schemaCase_ = 7;
-              break;
+            rows_ =
+                input.readMessage(com.google.cloud.bigquery.storage.v1.ArrowRecordBatch.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.bigquery.storage.v1.ArrowRecordBatch) rows_);
+              rows_ = subBuilder.buildPartial();
             }
-          case 66:
-            {
-              com.google.cloud.bigquery.storage.v1.ArrowSchema.Builder subBuilder = null;
-              if (schemaCase_ == 8) {
-                subBuilder =
-                    ((com.google.cloud.bigquery.storage.v1.ArrowSchema) schema_).toBuilder();
-              }
-              schema_ =
-                  input.readMessage(
-                      com.google.cloud.bigquery.storage.v1.ArrowSchema.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.cloud.bigquery.storage.v1.ArrowSchema) schema_);
-                schema_ = subBuilder.buildPartial();
-              }
-              schemaCase_ = 8;
-              break;
+            rowsCase_ = 4;
+            break;
+          }
+          case 42: {
+            com.google.cloud.bigquery.storage.v1.ThrottleState.Builder subBuilder = null;
+            if (throttleState_ != null) {
+              subBuilder = throttleState_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            throttleState_ = input.readMessage(com.google.cloud.bigquery.storage.v1.ThrottleState.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(throttleState_);
+              throttleState_ = subBuilder.buildPartial();
             }
+
+            break;
+          }
+          case 48: {
+
+            rowCount_ = input.readInt64();
+            break;
+          }
+          case 58: {
+            com.google.cloud.bigquery.storage.v1.AvroSchema.Builder subBuilder = null;
+            if (schemaCase_ == 7) {
+              subBuilder = ((com.google.cloud.bigquery.storage.v1.AvroSchema) schema_).toBuilder();
+            }
+            schema_ =
+                input.readMessage(com.google.cloud.bigquery.storage.v1.AvroSchema.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.bigquery.storage.v1.AvroSchema) schema_);
+              schema_ = subBuilder.buildPartial();
+            }
+            schemaCase_ = 7;
+            break;
+          }
+          case 66: {
+            com.google.cloud.bigquery.storage.v1.ArrowSchema.Builder subBuilder = null;
+            if (schemaCase_ == 8) {
+              subBuilder = ((com.google.cloud.bigquery.storage.v1.ArrowSchema) schema_).toBuilder();
+            }
+            schema_ =
+                input.readMessage(com.google.cloud.bigquery.storage.v1.ArrowSchema.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.bigquery.storage.v1.ArrowSchema) schema_);
+              schema_ = subBuilder.buildPartial();
+            }
+            schemaCase_ = 8;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  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;
   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;
     }
@@ -236,38 +196,32 @@ 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;
   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;
     }
@@ -283,36 +237,30 @@ 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 @@ -320,26 +268,21 @@ 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.
    * 
@@ -349,21 +292,18 @@ 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 @@ -371,26 +311,21 @@ 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.
    * 
@@ -398,10 +333,9 @@ 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(); } @@ -409,14 +343,11 @@ public com.google.cloud.bigquery.storage.v1.ArrowRecordBatch getArrowRecordBatch public static final int ROW_COUNT_FIELD_NUMBER = 6; private long rowCount_; /** - * - * *
    * Number of serialized rows in the rows block.
    * 
* * int64 row_count = 6; - * * @return The rowCount. */ @java.lang.Override @@ -427,14 +358,11 @@ 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 @@ -442,25 +370,18 @@ 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.
    * 
@@ -475,15 +396,12 @@ public com.google.cloud.bigquery.storage.v1.StreamStatsOrBuilder getStatsOrBuild 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 @@ -491,26 +409,19 @@ 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.
@@ -525,16 +436,11 @@ public com.google.cloud.bigquery.storage.v1.ThrottleStateOrBuilder getThrottleSt
 
   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 @@ -542,56 +448,42 @@ 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 @@ -599,46 +491,36 @@ 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; @@ -650,7 +532,8 @@ 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()); } @@ -682,33 +565,32 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -718,30 +600,34 @@ 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: @@ -749,10 +635,12 @@ 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: @@ -769,7 +657,8 @@ 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(); @@ -808,104 +697,96 @@ 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.
@@ -913,23 +794,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * 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()
@@ -937,15 +816,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -971,9 +851,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
@@ -992,8 +872,7 @@ 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);
+      com.google.cloud.bigquery.storage.v1.ReadRowsResponse result = new com.google.cloud.bigquery.storage.v1.ReadRowsResponse(this);
       if (rowsCase_ == 3) {
         if (avroRowsBuilder_ == null) {
           result.rows_ = rows_;
@@ -1043,39 +922,38 @@ public com.google.cloud.bigquery.storage.v1.ReadRowsResponse buildPartial() {
     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;
@@ -1083,8 +961,7 @@ 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());
       }
@@ -1095,36 +972,30 @@ 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.unknownFields);
       onChanged();
@@ -1145,8 +1016,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.bigquery.storage.v1.ReadRowsResponse) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.bigquery.storage.v1.ReadRowsResponse) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1155,12 +1025,12 @@ public Builder mergeFrom(
       }
       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() {
@@ -1172,9 +1042,10 @@ 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() {
@@ -1184,20 +1055,15 @@ public Builder clearSchema() {
       return this;
     }
 
+
     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 @@ -1205,14 +1071,11 @@ 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 @@ -1230,8 +1093,6 @@ public com.google.cloud.bigquery.storage.v1.AvroRows getAvroRows() { } } /** - * - * *
      * Serialized row data in AVRO format.
      * 
@@ -1252,8 +1113,6 @@ public Builder setAvroRows(com.google.cloud.bigquery.storage.v1.AvroRows value) return this; } /** - * - * *
      * Serialized row data in AVRO format.
      * 
@@ -1272,8 +1131,6 @@ public Builder setAvroRows( return this; } /** - * - * *
      * Serialized row data in AVRO format.
      * 
@@ -1282,13 +1139,10 @@ 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; } @@ -1303,8 +1157,6 @@ public Builder mergeAvroRows(com.google.cloud.bigquery.storage.v1.AvroRows value return this; } /** - * - * *
      * Serialized row data in AVRO format.
      * 
@@ -1328,8 +1180,6 @@ public Builder clearAvroRows() { return this; } /** - * - * *
      * Serialized row data in AVRO format.
      * 
@@ -1340,8 +1190,6 @@ public com.google.cloud.bigquery.storage.v1.AvroRows.Builder getAvroRowsBuilder( return getAvroRowsFieldBuilder().getBuilder(); } /** - * - * *
      * Serialized row data in AVRO format.
      * 
@@ -1360,8 +1208,6 @@ public com.google.cloud.bigquery.storage.v1.AvroRowsOrBuilder getAvroRowsOrBuild } } /** - * - * *
      * Serialized row data in AVRO format.
      * 
@@ -1369,44 +1215,32 @@ 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()); rows_ = null; } rowsCase_ = 3; - onChanged(); - ; + onChanged();; return avroRowsBuilder_; } 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 @@ -1414,14 +1248,11 @@ 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 @@ -1439,16 +1270,13 @@ 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(); @@ -1462,8 +1290,6 @@ public Builder setArrowRecordBatch( return this; } /** - * - * *
      * Serialized row data in Arrow RecordBatch format.
      * 
@@ -1482,25 +1308,18 @@ 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; } @@ -1515,8 +1334,6 @@ public Builder mergeArrowRecordBatch( return this; } /** - * - * *
      * Serialized row data in Arrow RecordBatch format.
      * 
@@ -1540,21 +1357,16 @@ 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.
      * 
@@ -1562,8 +1374,7 @@ public Builder clearArrowRecordBatch() { * .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 { @@ -1574,8 +1385,6 @@ public Builder clearArrowRecordBatch() { } } /** - * - * *
      * Serialized row data in Arrow RecordBatch format.
      * 
@@ -1583,40 +1392,31 @@ public Builder clearArrowRecordBatch() { * .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()); rows_ = null; } rowsCase_ = 4; - onChanged(); - ; + onChanged();; 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 @@ -1624,36 +1424,30 @@ 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. */ public Builder setRowCount(long value) { - + rowCount_ = value; onChanged(); return this; } /** - * - * *
      * Number of serialized rows in the rows block.
      * 
* * int64 row_count = 6; - * * @return This builder for chaining. */ public Builder clearRowCount() { - + rowCount_ = 0L; onChanged(); return this; @@ -1661,47 +1455,34 @@ 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 statsBuilder_ != null || stats_ != null; } /** - * - * *
      * 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.
      * 
@@ -1722,8 +1503,6 @@ public Builder setStats(com.google.cloud.bigquery.storage.v1.StreamStats value) return this; } /** - * - * *
      * Statistics for the stream.
      * 
@@ -1742,8 +1521,6 @@ public Builder setStats( return this; } /** - * - * *
      * Statistics for the stream.
      * 
@@ -1754,9 +1531,7 @@ public Builder mergeStats(com.google.cloud.bigquery.storage.v1.StreamStats value if (statsBuilder_ == null) { if (stats_ != null) { stats_ = - com.google.cloud.bigquery.storage.v1.StreamStats.newBuilder(stats_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.bigquery.storage.v1.StreamStats.newBuilder(stats_).mergeFrom(value).buildPartial(); } else { stats_ = value; } @@ -1768,8 +1543,6 @@ public Builder mergeStats(com.google.cloud.bigquery.storage.v1.StreamStats value return this; } /** - * - * *
      * Statistics for the stream.
      * 
@@ -1788,8 +1561,6 @@ public Builder clearStats() { return this; } /** - * - * *
      * Statistics for the stream.
      * 
@@ -1797,13 +1568,11 @@ public Builder clearStats() { * .google.cloud.bigquery.storage.v1.StreamStats stats = 2; */ public com.google.cloud.bigquery.storage.v1.StreamStats.Builder getStatsBuilder() { - + onChanged(); return getStatsFieldBuilder().getBuilder(); } /** - * - * *
      * Statistics for the stream.
      * 
@@ -1814,14 +1583,11 @@ 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.
      * 
@@ -1829,17 +1595,14 @@ 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_; @@ -1847,49 +1610,36 @@ 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 throttleStateBuilder_ != null || 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. */ 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.
@@ -1911,8 +1661,6 @@ 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.
@@ -1932,8 +1680,6 @@ public Builder setThrottleState(
       return this;
     }
     /**
-     *
-     *
      * 
      * Throttling state. If unset, the latest response still describes
      * the current throttling status.
@@ -1945,9 +1691,7 @@ public Builder mergeThrottleState(com.google.cloud.bigquery.storage.v1.ThrottleS
       if (throttleStateBuilder_ == null) {
         if (throttleState_ != null) {
           throttleState_ =
-              com.google.cloud.bigquery.storage.v1.ThrottleState.newBuilder(throttleState_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.bigquery.storage.v1.ThrottleState.newBuilder(throttleState_).mergeFrom(value).buildPartial();
         } else {
           throttleState_ = value;
         }
@@ -1959,8 +1703,6 @@ 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.
@@ -1980,8 +1722,6 @@ public Builder clearThrottleState() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Throttling state. If unset, the latest response still describes
      * the current throttling status.
@@ -1990,13 +1730,11 @@ public Builder clearThrottleState() {
      * .google.cloud.bigquery.storage.v1.ThrottleState throttle_state = 5;
      */
     public com.google.cloud.bigquery.storage.v1.ThrottleState.Builder getThrottleStateBuilder() {
-
+      
       onChanged();
       return getThrottleStateFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Throttling state. If unset, the latest response still describes
      * the current throttling status.
@@ -2008,14 +1746,11 @@ 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.
@@ -2024,38 +1759,27 @@ 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 @@ -2063,16 +1787,11 @@ 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 @@ -2090,15 +1809,11 @@ 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) { @@ -2114,15 +1829,11 @@ 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) { @@ -2136,25 +1847,18 @@ 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; } @@ -2169,15 +1873,11 @@ 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) { @@ -2196,29 +1896,21 @@ 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() { @@ -2232,57 +1924,39 @@ 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()); schema_ = null; } schemaCase_ = 7; - onChanged(); - ; + onChanged();; return avroSchemaBuilder_; } 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 @@ -2290,16 +1964,11 @@ 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 @@ -2317,15 +1986,11 @@ 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) { @@ -2341,15 +2006,11 @@ 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) { @@ -2363,25 +2024,18 @@ 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; } @@ -2396,15 +2050,11 @@ 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) { @@ -2423,29 +2073,21 @@ 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() { @@ -2459,43 +2101,33 @@ 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()); schema_ = null; } schemaCase_ = 8; - onChanged(); - ; + 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); } @@ -2505,12 +2137,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(); } @@ -2519,16 +2151,16 @@ 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 { - return new ReadRowsResponse(input, extensionRegistry); - } - }; + 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 { + return new ReadRowsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2543,4 +2175,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1.ReadRowsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsResponseOrBuilder.java similarity index 73% rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsResponseOrBuilder.java index 18a490ad63..547f7fccd0 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsResponseOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 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.
    * 
@@ -59,32 +35,24 @@ public interface ReadRowsResponseOrBuilder 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.
    * 
@@ -94,45 +62,34 @@ public interface ReadRowsResponseOrBuilder 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.
    * 
@@ -142,34 +99,26 @@ public interface ReadRowsResponseOrBuilder 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.
@@ -180,84 +129,56 @@ public interface ReadRowsResponseOrBuilder
   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/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadSession.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadSession.java similarity index 67% rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadSession.java rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadSession.java index 3ac0174b58..6931732b95 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadSession.java +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadSession.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 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; @@ -46,15 +28,16 @@ private ReadSession() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReadSession(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ReadSession( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,137 +57,114 @@ private ReadSession( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (expireTime_ != null) { + subBuilder = expireTime_.toBuilder(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (expireTime_ != null) { - subBuilder = expireTime_.toBuilder(); - } - expireTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(expireTime_); - expireTime_ = subBuilder.buildPartial(); - } - - break; + expireTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(expireTime_); + expireTime_ = subBuilder.buildPartial(); } - case 24: - { - int rawValue = input.readEnum(); - dataFormat_ = rawValue; - break; + break; + } + case 24: { + int rawValue = input.readEnum(); + + dataFormat_ = rawValue; + break; + } + case 34: { + com.google.cloud.bigquery.storage.v1.AvroSchema.Builder subBuilder = null; + if (schemaCase_ == 4) { + subBuilder = ((com.google.cloud.bigquery.storage.v1.AvroSchema) schema_).toBuilder(); } - case 34: - { - com.google.cloud.bigquery.storage.v1.AvroSchema.Builder subBuilder = null; - if (schemaCase_ == 4) { - subBuilder = - ((com.google.cloud.bigquery.storage.v1.AvroSchema) schema_).toBuilder(); - } - schema_ = - input.readMessage( - com.google.cloud.bigquery.storage.v1.AvroSchema.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.bigquery.storage.v1.AvroSchema) schema_); - schema_ = subBuilder.buildPartial(); - } - schemaCase_ = 4; - break; + schema_ = + input.readMessage(com.google.cloud.bigquery.storage.v1.AvroSchema.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.bigquery.storage.v1.AvroSchema) schema_); + schema_ = subBuilder.buildPartial(); } - case 42: - { - com.google.cloud.bigquery.storage.v1.ArrowSchema.Builder subBuilder = null; - if (schemaCase_ == 5) { - subBuilder = - ((com.google.cloud.bigquery.storage.v1.ArrowSchema) schema_).toBuilder(); - } - schema_ = - input.readMessage( - com.google.cloud.bigquery.storage.v1.ArrowSchema.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.bigquery.storage.v1.ArrowSchema) schema_); - schema_ = subBuilder.buildPartial(); - } - schemaCase_ = 5; - break; + schemaCase_ = 4; + break; + } + case 42: { + com.google.cloud.bigquery.storage.v1.ArrowSchema.Builder subBuilder = null; + if (schemaCase_ == 5) { + subBuilder = ((com.google.cloud.bigquery.storage.v1.ArrowSchema) schema_).toBuilder(); } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); - - table_ = s; - break; + schema_ = + input.readMessage(com.google.cloud.bigquery.storage.v1.ArrowSchema.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.bigquery.storage.v1.ArrowSchema) schema_); + schema_ = subBuilder.buildPartial(); } - case 58: - { - com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.Builder subBuilder = - null; - if (tableModifiers_ != null) { - subBuilder = tableModifiers_.toBuilder(); - } - tableModifiers_ = - input.readMessage( - com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tableModifiers_); - tableModifiers_ = subBuilder.buildPartial(); - } + schemaCase_ = 5; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); - break; + table_ = s; + break; + } + case 58: { + com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.Builder subBuilder = null; + if (tableModifiers_ != null) { + subBuilder = tableModifiers_.toBuilder(); + } + tableModifiers_ = input.readMessage(com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tableModifiers_); + tableModifiers_ = subBuilder.buildPartial(); } - case 66: - { - com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.Builder subBuilder = - null; - if (readOptions_ != null) { - subBuilder = readOptions_.toBuilder(); - } - readOptions_ = - input.readMessage( - com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readOptions_); - readOptions_ = subBuilder.buildPartial(); - } - break; + break; + } + case 66: { + com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.Builder subBuilder = null; + if (readOptions_ != null) { + subBuilder = readOptions_.toBuilder(); } - case 82: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - streams_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - streams_.add( - input.readMessage( - com.google.cloud.bigquery.storage.v1.ReadStream.parser(), extensionRegistry)); - break; + readOptions_ = input.readMessage(com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readOptions_); + readOptions_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 82: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + streams_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + streams_.add( + input.readMessage(com.google.cloud.bigquery.storage.v1.ReadStream.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { streams_ = java.util.Collections.unmodifiableList(streams_); @@ -213,54 +173,42 @@ private ReadSession( makeExtensionsImmutable(); } } - - 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.
      * 
@@ -270,37 +218,36 @@ public interface TableModifiersOrBuilder 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private TableModifiers( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -319,66 +266,59 @@ private TableModifiers( case 0: done = true; break; - case 10: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (snapshotTime_ != null) { - subBuilder = snapshotTime_.toBuilder(); - } - snapshotTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(snapshotTime_); - snapshotTime_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (snapshotTime_ != null) { + subBuilder = snapshotTime_.toBuilder(); + } + snapshotTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(snapshotTime_); + snapshotTime_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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 @@ -386,25 +326,18 @@ 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.
      * 
@@ -417,7 +350,6 @@ public com.google.protobuf.TimestampOrBuilder getSnapshotTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -429,7 +361,8 @@ 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()); } @@ -443,7 +376,8 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -453,17 +387,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -486,95 +420,87 @@ 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 @@ -584,49 +510,44 @@ 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() + // Construct using com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -640,14 +561,13 @@ 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(); } @@ -662,8 +582,7 @@ 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); + com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers result = new com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers(this); if (snapshotTimeBuilder_ == null) { result.snapshotTime_ = snapshotTime_; } else { @@ -677,52 +596,46 @@ public com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers buildPart 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()); } @@ -745,9 +658,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -759,47 +670,34 @@ public Builder mergeFrom( 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 snapshotTimeBuilder_ != null || snapshotTime_ != null; } /** - * - * *
        * 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.
        * 
@@ -820,15 +718,14 @@ 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(); onChanged(); @@ -839,8 +736,6 @@ public Builder setSnapshotTime(com.google.protobuf.Timestamp.Builder builderForV return this; } /** - * - * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -851,9 +746,7 @@ public Builder mergeSnapshotTime(com.google.protobuf.Timestamp value) { if (snapshotTimeBuilder_ == null) { if (snapshotTime_ != null) { snapshotTime_ = - com.google.protobuf.Timestamp.newBuilder(snapshotTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(snapshotTime_).mergeFrom(value).buildPartial(); } else { snapshotTime_ = value; } @@ -865,8 +758,6 @@ public Builder mergeSnapshotTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -885,8 +776,6 @@ public Builder clearSnapshotTime() { return this; } /** - * - * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -894,13 +783,11 @@ public Builder clearSnapshotTime() { * .google.protobuf.Timestamp snapshot_time = 1; */ public com.google.protobuf.Timestamp.Builder getSnapshotTimeBuilder() { - + onChanged(); return getSnapshotTimeFieldBuilder().getBuilder(); } /** - * - * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -911,14 +798,11 @@ 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.
        * 
@@ -926,22 +810,18 @@ 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) { @@ -954,32 +834,30 @@ 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 { - return new TableModifiers(input, extensionRegistry); - } - }; + 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 { + return new TableModifiers(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -991,20 +869,17 @@ 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 { /** - * - * *
      * 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
@@ -1013,13 +888,11 @@ public interface TableReadOptionsOrBuilder
      * 
* * 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
@@ -1028,13 +901,10 @@ public interface TableReadOptionsOrBuilder
      * 
* * 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
@@ -1043,14 +913,11 @@ public interface TableReadOptionsOrBuilder
      * 
* * 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
@@ -1059,15 +926,13 @@ public interface TableReadOptionsOrBuilder
      * 
* * 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.
@@ -1080,13 +945,10 @@ public interface TableReadOptionsOrBuilder
      * 
* * 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.
@@ -1099,76 +961,56 @@ public interface TableReadOptionsOrBuilder
      * 
* * 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(); - public com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions - .OutputFormatSerializationOptionsCase - getOutputFormatSerializationOptionsCase(); + public 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.EMPTY; rowRestriction_ = ""; @@ -1176,15 +1018,16 @@ private TableReadOptions() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TableReadOptions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private TableReadOptions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1204,59 +1047,49 @@ private TableReadOptions( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - selectedFields_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - selectedFields_.add(s); - break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + selectedFields_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + selectedFields_.add(s); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - rowRestriction_ = s; - break; + rowRestriction_ = s; + break; + } + case 26: { + com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.Builder subBuilder = null; + if (outputFormatSerializationOptionsCase_ == 3) { + subBuilder = ((com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions) outputFormatSerializationOptions_).toBuilder(); } - case 26: - { - com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.Builder subBuilder = - null; - if (outputFormatSerializationOptionsCase_ == 3) { - subBuilder = - ((com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions) - outputFormatSerializationOptions_) - .toBuilder(); - } - outputFormatSerializationOptions_ = - input.readMessage( - com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions) - outputFormatSerializationOptions_); - outputFormatSerializationOptions_ = subBuilder.buildPartial(); - } - outputFormatSerializationOptionsCase_ = 3; - break; + outputFormatSerializationOptions_ = + input.readMessage(com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions) outputFormatSerializationOptions_); + outputFormatSerializationOptions_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + outputFormatSerializationOptionsCase_ = 3; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { selectedFields_ = selectedFields_.getUnmodifiableView(); @@ -1265,33 +1098,27 @@ private TableReadOptions( makeExtensionsImmutable(); } } - - 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 outputFormatSerializationOptionsCase_ = 0; 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), OUTPUTFORMATSERIALIZATIONOPTIONS_NOT_SET(0); private final int value; - private OutputFormatSerializationOptionsCase(int value) { this.value = value; } @@ -1307,29 +1134,25 @@ public static OutputFormatSerializationOptionsCase valueOf(int value) { public static OutputFormatSerializationOptionsCase forNumber(int value) { switch (value) { - case 3: - return ARROW_SERIALIZATION_OPTIONS; - case 0: - return OUTPUTFORMATSERIALIZATIONOPTIONS_NOT_SET; - default: - return null; + case 3: return ARROW_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; private com.google.protobuf.LazyStringList 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
@@ -1338,15 +1161,13 @@ public OutputFormatSerializationOptionsCase getOutputFormatSerializationOptionsC
      * 
* * 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
@@ -1355,15 +1176,12 @@ public com.google.protobuf.ProtocolStringList getSelectedFieldsList() {
      * 
* * 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
@@ -1372,7 +1190,6 @@ public int getSelectedFieldsCount() {
      * 
* * repeated string selected_fields = 1; - * * @param index The index of the element to return. * @return The selectedFields at the given index. */ @@ -1380,8 +1197,6 @@ 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
@@ -1390,19 +1205,17 @@ 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; private volatile java.lang.Object rowRestriction_; /** - * - * *
      * SQL text filtering statement, similar to a WHERE clause in a query.
      * Aggregates are not supported.
@@ -1415,7 +1228,6 @@ public com.google.protobuf.ByteString getSelectedFieldsBytes(int index) {
      * 
* * string row_restriction = 2; - * * @return The rowRestriction. */ @java.lang.Override @@ -1424,15 +1236,14 @@ 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.
@@ -1445,15 +1256,16 @@ 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 { @@ -1463,16 +1275,11 @@ public com.google.protobuf.ByteString getRowRestrictionBytes() { 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 @@ -1480,50 +1287,36 @@ 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(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1535,7 +1328,8 @@ 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)); } @@ -1543,10 +1337,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io 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_); } unknownFields.writeTo(output); } @@ -1569,11 +1360,8 @@ 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_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1583,22 +1371,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.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 (!getOutputFormatSerializationOptionsCase() - .equals(other.getOutputFormatSerializationOptionsCase())) return false; + if (!getSelectedFieldsList() + .equals(other.getSelectedFieldsList())) return false; + if (!getRowRestriction() + .equals(other.getRowRestriction())) 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 0: default: @@ -1634,95 +1422,87 @@ 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 @@ -1732,49 +1512,44 @@ 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() + // Construct using com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1788,16 +1563,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_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 @@ -1811,8 +1584,7 @@ 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); + com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions result = new com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { selectedFields_ = selectedFields_.getUnmodifiableView(); @@ -1836,53 +1608,46 @@ public com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions buildPa 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_; @@ -1898,15 +1663,13 @@ public Builder mergeFrom( onChanged(); } switch (other.getOutputFormatSerializationOptionsCase()) { - case ARROW_SERIALIZATION_OPTIONS: - { - mergeArrowSerializationOptions(other.getArrowSerializationOptions()); - break; - } - case OUTPUTFORMATSERIALIZATIONOPTIONS_NOT_SET: - { - break; - } + case ARROW_SERIALIZATION_OPTIONS: { + mergeArrowSerializationOptions(other.getArrowSerializationOptions()); + break; + } + case OUTPUTFORMATSERIALIZATIONOPTIONS_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -1927,9 +1690,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1938,11 +1699,10 @@ public Builder mergeFrom( } return this; } - private int outputFormatSerializationOptionsCase_ = 0; private java.lang.Object outputFormatSerializationOptions_; - - public OutputFormatSerializationOptionsCase getOutputFormatSerializationOptionsCase() { + public OutputFormatSerializationOptionsCase + getOutputFormatSerializationOptionsCase() { return OutputFormatSerializationOptionsCase.forNumber( outputFormatSerializationOptionsCase_); } @@ -1956,18 +1716,14 @@ public Builder clearOutputFormatSerializationOptions() { private int bitField0_; - private com.google.protobuf.LazyStringList selectedFields_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList selectedFields_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureSelectedFieldsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { selectedFields_ = new com.google.protobuf.LazyStringArrayList(selectedFields_); 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
@@ -1976,15 +1732,13 @@ 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() { return selectedFields_.getUnmodifiableView(); } /** - * - * *
        * 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
@@ -1993,15 +1747,12 @@ public com.google.protobuf.ProtocolStringList getSelectedFieldsList() {
        * 
* * 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
@@ -2010,7 +1761,6 @@ public int getSelectedFieldsCount() {
        * 
* * repeated string selected_fields = 1; - * * @param index The index of the element to return. * @return The selectedFields at the given index. */ @@ -2018,8 +1768,6 @@ 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
@@ -2028,16 +1776,14 @@ 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
@@ -2046,23 +1792,21 @@ public com.google.protobuf.ByteString getSelectedFieldsBytes(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) { + public Builder setSelectedFields( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSelectedFieldsIsMutable(); + throw new NullPointerException(); + } + ensureSelectedFieldsIsMutable(); selectedFields_.set(index, value); 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
@@ -2071,22 +1815,20 @@ public Builder setSelectedFields(int index, java.lang.String value) {
        * 
* * repeated string selected_fields = 1; - * * @param value The selectedFields to add. * @return This builder for chaining. */ - public Builder addSelectedFields(java.lang.String value) { + public Builder addSelectedFields( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSelectedFieldsIsMutable(); + throw new NullPointerException(); + } + ensureSelectedFieldsIsMutable(); selectedFields_.add(value); 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
@@ -2095,19 +1837,18 @@ public Builder addSelectedFields(java.lang.String value) {
        * 
* * 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_); 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
@@ -2116,7 +1857,6 @@ public Builder addAllSelectedFields(java.lang.Iterable values)
        * 
* * repeated string selected_fields = 1; - * * @return This builder for chaining. */ public Builder clearSelectedFields() { @@ -2126,8 +1866,6 @@ public Builder clearSelectedFields() { 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
@@ -2136,15 +1874,15 @@ 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) { + public Builder addSelectedFieldsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureSelectedFieldsIsMutable(); selectedFields_.add(value); onChanged(); @@ -2153,8 +1891,6 @@ public Builder addSelectedFieldsBytes(com.google.protobuf.ByteString value) { private java.lang.Object rowRestriction_ = ""; /** - * - * *
        * SQL text filtering statement, similar to a WHERE clause in a query.
        * Aggregates are not supported.
@@ -2167,13 +1903,13 @@ public Builder addSelectedFieldsBytes(com.google.protobuf.ByteString value) {
        * 
* * 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; @@ -2182,8 +1918,6 @@ public java.lang.String getRowRestriction() { } } /** - * - * *
        * SQL text filtering statement, similar to a WHERE clause in a query.
        * Aggregates are not supported.
@@ -2196,14 +1930,15 @@ 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 { @@ -2211,8 +1946,6 @@ public com.google.protobuf.ByteString getRowRestrictionBytes() { } } /** - * - * *
        * SQL text filtering statement, similar to a WHERE clause in a query.
        * Aggregates are not supported.
@@ -2225,22 +1958,20 @@ public com.google.protobuf.ByteString getRowRestrictionBytes() {
        * 
* * string row_restriction = 2; - * * @param value The rowRestriction to set. * @return This builder for chaining. */ - public Builder setRowRestriction(java.lang.String value) { + public Builder setRowRestriction( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + rowRestriction_ = value; onChanged(); return this; } /** - * - * *
        * SQL text filtering statement, similar to a WHERE clause in a query.
        * Aggregates are not supported.
@@ -2253,18 +1984,15 @@ public Builder setRowRestriction(java.lang.String value) {
        * 
* * string row_restriction = 2; - * * @return This builder for chaining. */ public Builder clearRowRestriction() { - + rowRestriction_ = getDefaultInstance().getRowRestriction(); onChanged(); return this; } /** - * - * *
        * SQL text filtering statement, similar to a WHERE clause in a query.
        * Aggregates are not supported.
@@ -2277,37 +2005,29 @@ 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) { + public Builder setRowRestrictionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + rowRestriction_ = value; onChanged(); return this; } 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 @@ -2315,49 +2035,35 @@ 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(); @@ -2371,15 +2077,11 @@ 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 setArrowSerializationOptions( com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.Builder builderForValue) { @@ -2393,29 +2095,18 @@ 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; } @@ -2430,15 +2121,11 @@ public Builder mergeArrowSerializationOptions( 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) { @@ -2457,84 +2144,58 @@ 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; } outputFormatSerializationOptionsCase_ = 3; - onChanged(); - ; + onChanged();; return arrowSerializationOptionsBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2547,32 +2208,30 @@ 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 { - return new TableReadOptions(input, extensionRegistry); - } - }; + 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 { + return new TableReadOptions(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2584,24 +2243,21 @@ 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; 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; } @@ -2617,38 +2273,32 @@ 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; 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 @@ -2657,30 +2307,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 { @@ -2691,17 +2341,13 @@ public com.google.protobuf.ByteString getNameBytes() { 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 @@ -2709,17 +2355,13 @@ 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 @@ -2727,16 +2369,13 @@ 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() { @@ -2746,55 +2385,37 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { public static final int DATA_FORMAT_FIELD_NUMBER = 3; private int dataFormat_; /** - * - * *
    * Immutable. Data format of the output data.
    * 
* - * - * .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.
    * 
* - * - * .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() { + @java.lang.Override public com.google.cloud.bigquery.storage.v1.DataFormat getDataFormat() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.storage.v1.DataFormat result = - com.google.cloud.bigquery.storage.v1.DataFormat.valueOf(dataFormat_); + com.google.cloud.bigquery.storage.v1.DataFormat result = com.google.cloud.bigquery.storage.v1.DataFormat.valueOf(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 @@ -2802,56 +2423,42 @@ 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 @@ -2859,40 +2466,31 @@ 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(); } @@ -2900,17 +2498,12 @@ public com.google.cloud.bigquery.storage.v1.ArrowSchemaOrBuilder getArrowSchemaO public static final int TABLE_FIELD_NUMBER = 6; 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 @@ -2919,32 +2512,30 @@ 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 { @@ -2955,16 +2546,11 @@ public com.google.protobuf.ByteString getTableBytes() { 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 @@ -2972,54 +2558,37 @@ 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() { + public com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiersOrBuilder getTableModifiersOrBuilder() { return getTableModifiers(); } 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 @@ -3027,46 +2596,32 @@ 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() { + public com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptionsOrBuilder getReadOptionsOrBuilder() { return getReadOptions(); } public static final int STREAMS_FIELD_NUMBER = 10; private java.util.List streams_; /** - * - * *
    * Output only. A list of streams created with the session.
    * At least one stream is created with the session. In the future, larger
@@ -3075,17 +2630,13 @@ public com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions getRead
    * 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.
    * At least one stream is created with the session. In the future, larger
@@ -3094,18 +2645,14 @@ 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.
    * At least one stream is created with the session. In the future, larger
@@ -3114,17 +2661,13 @@ 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.
    * At least one stream is created with the session. In the future, larger
@@ -3133,17 +2676,13 @@ 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.
    * At least one stream is created with the session. In the future, larger
@@ -3152,17 +2691,15 @@ 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); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3174,15 +2711,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 (!getNameBytes().isEmpty()) { 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) { @@ -3216,33 +2753,35 @@ 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 (!getTableBytes().isEmpty()) { 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3252,37 +2791,44 @@ 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 (!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: @@ -3337,127 +2883,118 @@ 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() @@ -3465,17 +3002,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getStreamsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -3515,9 +3052,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 @@ -3536,8 +3073,7 @@ 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); int from_bitField0_ = bitField0_; result.name_ = name_; if (expireTimeBuilder_ == null) { @@ -3589,39 +3125,38 @@ public com.google.cloud.bigquery.storage.v1.ReadSession buildPartial() { 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; @@ -3629,8 +3164,7 @@ 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_; onChanged(); @@ -3669,30 +3203,26 @@ public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.ReadSession other) 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_); } } } 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.unknownFields); onChanged(); @@ -3722,12 +3252,12 @@ public Builder mergeFrom( } 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() { @@ -3741,21 +3271,19 @@ 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; @@ -3764,22 +3292,21 @@ 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 { @@ -3787,64 +3314,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -3852,64 +3372,45 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { 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 expireTimeBuilder_ != null || 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. */ 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) { @@ -3925,19 +3426,16 @@ 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(); onChanged(); @@ -3948,23 +3446,19 @@ public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForVal 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 (expireTime_ != null) { expireTime_ = - com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial(); } else { expireTime_ = value; } @@ -3976,17 +3470,13 @@ 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() { if (expireTimeBuilder_ == null) { @@ -4000,70 +3490,54 @@ 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() { - + onChanged(); 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_; @@ -4071,73 +3545,51 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { private int dataFormat_ = 0; /** - * - * *
      * Immutable. Data format of the output data.
      * 
* - * - * .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.
      * 
* - * - * .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. */ public Builder setDataFormatValue(int value) { - + dataFormat_ = value; onChanged(); return this; } /** - * - * *
      * Immutable. Data format of the output data.
      * 
* - * - * .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() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.storage.v1.DataFormat result = - com.google.cloud.bigquery.storage.v1.DataFormat.valueOf(dataFormat_); + com.google.cloud.bigquery.storage.v1.DataFormat result = com.google.cloud.bigquery.storage.v1.DataFormat.valueOf(dataFormat_); return result == null ? com.google.cloud.bigquery.storage.v1.DataFormat.UNRECOGNIZED : result; } /** - * - * *
      * Immutable. Data format of the output data.
      * 
* - * - * .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. */ @@ -4145,47 +3597,34 @@ public Builder setDataFormat(com.google.cloud.bigquery.storage.v1.DataFormat val if (value == null) { throw new NullPointerException(); } - + dataFormat_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Immutable. Data format of the output data.
      * 
* - * - * .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() { - + dataFormat_ = 0; onChanged(); return this; } 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 @@ -4193,16 +3632,11 @@ 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 @@ -4220,15 +3654,11 @@ 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) { @@ -4244,15 +3674,11 @@ 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) { @@ -4266,25 +3692,18 @@ 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; } @@ -4299,15 +3718,11 @@ 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) { @@ -4326,29 +3741,21 @@ 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() { @@ -4362,57 +3769,39 @@ 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()); schema_ = null; } schemaCase_ = 4; - onChanged(); - ; + onChanged();; return avroSchemaBuilder_; } 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 @@ -4420,16 +3809,11 @@ 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 @@ -4447,15 +3831,11 @@ 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) { @@ -4471,15 +3851,11 @@ 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) { @@ -4493,25 +3869,18 @@ 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; } @@ -4526,15 +3895,11 @@ 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) { @@ -4553,29 +3918,21 @@ 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() { @@ -4589,60 +3946,46 @@ 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()); schema_ = null; } schemaCase_ = 5; - onChanged(); - ; + onChanged();; return arrowSchemaBuilder_; } 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; @@ -4651,24 +3994,21 @@ 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 { @@ -4676,70 +4016,57 @@ public com.google.protobuf.ByteString getTableBytes() { } } /** - * - * *
      * 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) { + public Builder setTable( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + table_ = value; 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() { - + table_ = getDefaultInstance().getTable(); 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) = { ... } * @param value The bytes for table to set. * @return This builder for chaining. */ - public Builder setTableBytes(com.google.protobuf.ByteString value) { + public Builder setTableBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + table_ = value; onChanged(); return this; @@ -4747,61 +4074,41 @@ public Builder setTableBytes(com.google.protobuf.ByteString value) { 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 tableModifiersBuilder_ != null || 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. */ 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(); @@ -4815,15 +4122,11 @@ 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 setTableModifiers( com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.Builder builderForValue) { @@ -4837,25 +4140,17 @@ 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 (tableModifiers_ != null) { tableModifiers_ = - com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.newBuilder( - tableModifiers_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.newBuilder(tableModifiers_).mergeFrom(value).buildPartial(); } else { tableModifiers_ = value; } @@ -4867,15 +4162,11 @@ public Builder mergeTableModifiers( 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() { if (tableModifiersBuilder_ == null) { @@ -4889,66 +4180,48 @@ 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() { + 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_; @@ -4956,61 +4229,41 @@ public Builder clearTableModifiers() { 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 readOptionsBuilder_ != null || 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. */ 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(); @@ -5024,15 +4277,11 @@ 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 setReadOptions( com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.Builder builderForValue) { @@ -5046,25 +4295,17 @@ 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 (readOptions_ != null) { readOptions_ = - com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.newBuilder( - readOptions_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.newBuilder(readOptions_).mergeFrom(value).buildPartial(); } else { readOptions_ = value; } @@ -5076,15 +4317,11 @@ public Builder mergeReadOptions( 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() { if (readOptionsBuilder_ == null) { @@ -5098,91 +4335,66 @@ 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() { + 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_ & 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.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.
      * At least one stream is created with the session. In the future, larger
@@ -5191,9 +4403,7 @@ 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) { @@ -5203,8 +4413,6 @@ public java.util.List getStream } } /** - * - * *
      * Output only. A list of streams created with the session.
      * At least one stream is created with the session. In the future, larger
@@ -5213,9 +4421,7 @@ 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) { @@ -5225,8 +4431,6 @@ public int getStreamsCount() { } } /** - * - * *
      * Output only. A list of streams created with the session.
      * At least one stream is created with the session. In the future, larger
@@ -5235,9 +4439,7 @@ 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) { @@ -5247,8 +4449,6 @@ public com.google.cloud.bigquery.storage.v1.ReadStream getStreams(int index) { } } /** - * - * *
      * Output only. A list of streams created with the session.
      * At least one stream is created with the session. In the future, larger
@@ -5257,11 +4457,10 @@ 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(); @@ -5275,8 +4474,6 @@ public Builder setStreams(int index, com.google.cloud.bigquery.storage.v1.ReadSt return this; } /** - * - * *
      * Output only. A list of streams created with the session.
      * At least one stream is created with the session. In the future, larger
@@ -5285,9 +4482,7 @@ public Builder setStreams(int index, com.google.cloud.bigquery.storage.v1.ReadSt
      * 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) { @@ -5301,8 +4496,6 @@ public Builder setStreams( return this; } /** - * - * *
      * Output only. A list of streams created with the session.
      * At least one stream is created with the session. In the future, larger
@@ -5311,9 +4504,7 @@ 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) { @@ -5329,8 +4520,6 @@ public Builder addStreams(com.google.cloud.bigquery.storage.v1.ReadStream value) return this; } /** - * - * *
      * Output only. A list of streams created with the session.
      * At least one stream is created with the session. In the future, larger
@@ -5339,11 +4528,10 @@ 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(); @@ -5357,8 +4545,6 @@ public Builder addStreams(int index, com.google.cloud.bigquery.storage.v1.ReadSt return this; } /** - * - * *
      * Output only. A list of streams created with the session.
      * At least one stream is created with the session. In the future, larger
@@ -5367,9 +4553,7 @@ public Builder addStreams(int index, com.google.cloud.bigquery.storage.v1.ReadSt
      * 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) { @@ -5383,8 +4567,6 @@ public Builder addStreams( return this; } /** - * - * *
      * Output only. A list of streams created with the session.
      * At least one stream is created with the session. In the future, larger
@@ -5393,9 +4575,7 @@ 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) { @@ -5409,8 +4589,6 @@ public Builder addStreams( return this; } /** - * - * *
      * Output only. A list of streams created with the session.
      * At least one stream is created with the session. In the future, larger
@@ -5419,15 +4597,14 @@ 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); @@ -5435,8 +4612,6 @@ public Builder addAllStreams( return this; } /** - * - * *
      * Output only. A list of streams created with the session.
      * At least one stream is created with the session. In the future, larger
@@ -5445,9 +4620,7 @@ 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) { @@ -5460,8 +4633,6 @@ public Builder clearStreams() { return this; } /** - * - * *
      * Output only. A list of streams created with the session.
      * At least one stream is created with the session. In the future, larger
@@ -5470,9 +4641,7 @@ 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) { @@ -5485,8 +4654,6 @@ public Builder removeStreams(int index) { return this; } /** - * - * *
      * Output only. A list of streams created with the session.
      * At least one stream is created with the session. In the future, larger
@@ -5495,16 +4662,13 @@ 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.
      * At least one stream is created with the session. In the future, larger
@@ -5513,20 +4677,16 @@ 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.
      * At least one stream is created with the session. In the future, larger
@@ -5535,12 +4695,10 @@ 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 { @@ -5548,8 +4706,6 @@ public com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder getStreamsOrBuil } } /** - * - * *
      * Output only. A list of streams created with the session.
      * At least one stream is created with the session. In the future, larger
@@ -5558,17 +4714,13 @@ 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.
      * At least one stream is created with the session. In the future, larger
@@ -5577,17 +4729,14 @@ 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.
      * At least one stream is created with the session. In the future, larger
@@ -5596,34 +4745,29 @@ 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_ & 0x00000001) != 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_ & 0x00000001) != 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); } @@ -5633,12 +4777,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(); } @@ -5647,16 +4791,16 @@ 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 { - return new ReadSession(input, extensionRegistry); - } - }; + 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 { + return new ReadSession(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5671,4 +4815,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1.ReadSession getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadSessionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadSessionOrBuilder.java similarity index 63% rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadSessionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadSessionOrBuilder.java index 2af6e67b90..f02584df46 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadSessionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadSessionOrBuilder.java @@ -1,328 +1,217 @@ -/* - * Copyright 2020 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 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.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.
    * 
* - * - * .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.
    * At least one stream is created with the session. In the future, larger
@@ -331,14 +220,11 @@ public interface ReadSessionOrBuilder
    * 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.
    * At least one stream is created with the session. In the future, larger
@@ -347,14 +233,10 @@ public interface ReadSessionOrBuilder
    * 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.
    * At least one stream is created with the session. In the future, larger
@@ -363,14 +245,10 @@ public interface ReadSessionOrBuilder
    * 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.
    * At least one stream is created with the session. In the future, larger
@@ -379,15 +257,11 @@ public interface ReadSessionOrBuilder
    * 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.
    * At least one stream is created with the session. In the future, larger
@@ -396,11 +270,10 @@ public interface ReadSessionOrBuilder
    * 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); public com.google.cloud.bigquery.storage.v1.ReadSession.SchemaCase getSchemaCase(); } diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadStream.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadStream.java similarity index 70% rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadStream.java rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadStream.java index b13a182765..9bc62effc3 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadStream.java +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadStream.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 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
@@ -29,31 +12,31 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ReadStream(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,59 +55,53 @@ private ReadStream(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            name_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  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;
   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 @@ -133,30 +110,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 { @@ -165,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -177,7 +153,8 @@ 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 (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -201,15 +178,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -228,104 +205,97 @@ 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
@@ -334,23 +304,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * 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()
@@ -358,15 +326,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -376,9 +345,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
@@ -397,8 +366,7 @@ 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);
+      com.google.cloud.bigquery.storage.v1.ReadStream result = new com.google.cloud.bigquery.storage.v1.ReadStream(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -408,39 +376,38 @@ public com.google.cloud.bigquery.storage.v1.ReadStream buildPartial() {
     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;
@@ -448,8 +415,7 @@ 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_;
         onChanged();
@@ -485,21 +451,19 @@ public Builder mergeFrom(
 
     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; @@ -508,22 +472,21 @@ 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 { @@ -531,71 +494,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; 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); } @@ -605,12 +561,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(); } @@ -619,16 +575,16 @@ 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 { - return new ReadStream(input, extensionRegistry); - } - }; + 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 { + return new ReadStream(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -643,4 +599,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1.ReadStream getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadStreamName.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadStreamName.java similarity index 100% rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadStreamName.java rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadStreamName.java diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadStreamOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadStreamOrBuilder.java similarity index 55% rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadStreamOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadStreamOrBuilder.java index ded71e14ee..7d23a8f1fe 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadStreamOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadStreamOrBuilder.java @@ -1,52 +1,31 @@ -/* - * Copyright 2020 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/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamRequest.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamRequest.java similarity index 67% rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamRequest.java rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamRequest.java index db31854706..ca385e2a7c 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SplitReadStreamRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,65 +53,57 @@ private SplitReadStreamRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 17: - { - fraction_ = input.readDouble(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + case 17: { + + fraction_ = input.readDouble(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -137,31 +112,29 @@ 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 { @@ -172,8 +145,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int FRACTION_FIELD_NUMBER = 2; 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
@@ -185,7 +156,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * double fraction = 2; - * * @return The fraction. */ @java.lang.Override @@ -194,7 +164,6 @@ public double getFraction() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,7 +175,8 @@ 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 (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -226,7 +196,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (fraction_ != 0D) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, fraction_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(2, fraction_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -236,17 +207,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -261,137 +233,125 @@ 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) + unknownFields.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() @@ -399,15 +359,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -419,9 +380,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 @@ -440,8 +401,7 @@ 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); + com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest result = new com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest(this); result.name_ = name_; result.fraction_ = fraction_; onBuilt(); @@ -452,39 +412,38 @@ public com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest buildPartial( 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; @@ -492,8 +451,7 @@ 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_; onChanged(); @@ -520,8 +478,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -533,22 +490,18 @@ public Builder mergeFrom( 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; @@ -557,23 +510,20 @@ 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 { @@ -581,76 +531,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); 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
@@ -662,7 +597,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * double fraction = 2; - * * @return The fraction. */ @java.lang.Override @@ -670,8 +604,6 @@ 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
@@ -683,19 +615,16 @@ public double getFraction() {
      * 
* * double fraction = 2; - * * @param value The fraction to set. * @return This builder for chaining. */ public Builder setFraction(double value) { - + fraction_ = value; onChanged(); 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
@@ -707,18 +636,17 @@ public Builder setFraction(double value) {
      * 
* * double fraction = 2; - * * @return This builder for chaining. */ public Builder clearFraction() { - + fraction_ = 0D; 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); } @@ -728,12 +656,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(); } @@ -742,16 +670,16 @@ 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 { - return new SplitReadStreamRequest(input, extensionRegistry); - } - }; + 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 { + return new SplitReadStreamRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -766,4 +694,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamRequestOrBuilder.java similarity index 54% rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamRequestOrBuilder.java index 9a7e2a7913..66c1eb1354 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 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
@@ -66,7 +39,6 @@ public interface SplitReadStreamRequestOrBuilder
    * 
* * double fraction = 2; - * * @return The fraction. */ double getFraction(); diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamResponse.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamResponse.java similarity index 71% rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamResponse.java rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamResponse.java index 66ac9a8907..dbdf1e77e8 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamResponse.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SplitReadStreamResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,77 +52,67 @@ private SplitReadStreamResponse( case 0: done = true; break; - case 10: - { - com.google.cloud.bigquery.storage.v1.ReadStream.Builder subBuilder = null; - if (primaryStream_ != null) { - subBuilder = primaryStream_.toBuilder(); - } - primaryStream_ = - input.readMessage( - com.google.cloud.bigquery.storage.v1.ReadStream.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(primaryStream_); - primaryStream_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.bigquery.storage.v1.ReadStream.Builder subBuilder = null; + if (primaryStream_ != null) { + subBuilder = primaryStream_.toBuilder(); + } + primaryStream_ = input.readMessage(com.google.cloud.bigquery.storage.v1.ReadStream.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(primaryStream_); + primaryStream_ = subBuilder.buildPartial(); } - case 18: - { - com.google.cloud.bigquery.storage.v1.ReadStream.Builder subBuilder = null; - if (remainderStream_ != null) { - subBuilder = remainderStream_.toBuilder(); - } - remainderStream_ = - input.readMessage( - com.google.cloud.bigquery.storage.v1.ReadStream.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(remainderStream_); - remainderStream_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.cloud.bigquery.storage.v1.ReadStream.Builder subBuilder = null; + if (remainderStream_ != null) { + subBuilder = remainderStream_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + remainderStream_ = input.readMessage(com.google.cloud.bigquery.storage.v1.ReadStream.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(remainderStream_); + remainderStream_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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
@@ -146,7 +120,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.cloud.bigquery.storage.v1.ReadStream primary_stream = 1; - * * @return Whether the primaryStream field is set. */ @java.lang.Override @@ -154,8 +127,6 @@ 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
@@ -163,18 +134,13 @@ 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
@@ -191,15 +157,12 @@ public com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder getPrimaryStream
   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 @@ -207,26 +170,19 @@ 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.
@@ -240,7 +196,6 @@ public com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder getRemainderStre
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -252,7 +207,8 @@ 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());
     }
@@ -269,10 +225,12 @@ 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 += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -282,21 +240,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.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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -323,127 +282,117 @@ 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() @@ -451,15 +400,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -479,14 +429,13 @@ 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(); } @@ -501,8 +450,7 @@ 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); + com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse result = new com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse(this); if (primaryStreamBuilder_ == null) { result.primaryStream_ = primaryStream_; } else { @@ -521,39 +469,38 @@ public com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse buildPartial 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; @@ -561,9 +508,7 @@ 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()); } @@ -589,8 +534,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -602,13 +546,8 @@ public Builder mergeFrom( 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
@@ -616,15 +555,12 @@ public Builder mergeFrom(
      * 
* * .google.cloud.bigquery.storage.v1.ReadStream primary_stream = 1; - * * @return Whether the primaryStream field is set. */ public boolean hasPrimaryStream() { return primaryStreamBuilder_ != null || primaryStream_ != null; } /** - * - * *
      * Primary stream, which contains the beginning portion of
      * |original_stream|. An empty value indicates that the original stream can no
@@ -632,21 +568,16 @@ 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
@@ -669,8 +600,6 @@ 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
@@ -691,8 +620,6 @@ 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
@@ -705,9 +632,7 @@ public Builder mergePrimaryStream(com.google.cloud.bigquery.storage.v1.ReadStrea
       if (primaryStreamBuilder_ == null) {
         if (primaryStream_ != null) {
           primaryStream_ =
-              com.google.cloud.bigquery.storage.v1.ReadStream.newBuilder(primaryStream_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.bigquery.storage.v1.ReadStream.newBuilder(primaryStream_).mergeFrom(value).buildPartial();
         } else {
           primaryStream_ = value;
         }
@@ -719,8 +644,6 @@ 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
@@ -741,8 +664,6 @@ 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
@@ -752,13 +673,11 @@ public Builder clearPrimaryStream() {
      * .google.cloud.bigquery.storage.v1.ReadStream primary_stream = 1;
      */
     public com.google.cloud.bigquery.storage.v1.ReadStream.Builder getPrimaryStreamBuilder() {
-
+      
       onChanged();
       return getPrimaryStreamFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Primary stream, which contains the beginning portion of
      * |original_stream|. An empty value indicates that the original stream can no
@@ -771,14 +690,11 @@ 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
@@ -788,17 +704,14 @@ 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_;
@@ -806,49 +719,36 @@ 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 remainderStreamBuilder_ != null || 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. */ 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.
@@ -870,8 +770,6 @@ 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.
@@ -891,8 +789,6 @@ 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.
@@ -904,9 +800,7 @@ public Builder mergeRemainderStream(com.google.cloud.bigquery.storage.v1.ReadStr
       if (remainderStreamBuilder_ == null) {
         if (remainderStream_ != null) {
           remainderStream_ =
-              com.google.cloud.bigquery.storage.v1.ReadStream.newBuilder(remainderStream_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.bigquery.storage.v1.ReadStream.newBuilder(remainderStream_).mergeFrom(value).buildPartial();
         } else {
           remainderStream_ = value;
         }
@@ -918,8 +812,6 @@ 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.
@@ -939,8 +831,6 @@ 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.
@@ -949,13 +839,11 @@ public Builder clearRemainderStream() {
      * .google.cloud.bigquery.storage.v1.ReadStream remainder_stream = 2;
      */
     public com.google.cloud.bigquery.storage.v1.ReadStream.Builder getRemainderStreamBuilder() {
-
+      
       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.
@@ -967,14 +855,11 @@ 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.
@@ -983,24 +868,21 @@ 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);
     }
 
@@ -1010,13 +892,12 @@ 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();
   }
@@ -1025,16 +906,16 @@ 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 {
-          return new SplitReadStreamResponse(input, extensionRegistry);
-        }
-      };
+  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 {
+      return new SplitReadStreamResponse(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1049,4 +930,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamResponseOrBuilder.java
similarity index 77%
rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamResponseOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamResponseOrBuilder.java
index 282ad5342c..4e152f4f5d 100644
--- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamResponseOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamResponseOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 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
@@ -33,13 +15,10 @@ public interface SplitReadStreamResponseOrBuilder
    * 
* * .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
@@ -47,13 +26,10 @@ public interface SplitReadStreamResponseOrBuilder
    * 
* * .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
@@ -65,34 +41,26 @@ public interface SplitReadStreamResponseOrBuilder
   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/StorageProto.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StorageProto.java
new file mode 100644
index 0000000000..f49d85b084
--- /dev/null
+++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StorageProto.java
@@ -0,0 +1,216 @@
+// 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;
+
+  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/stream.proto\"\303\001\n\030CreateReadSessionReq" +
+      "uest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudresou" +
+      "rcemanager.googleapis.com/Project\022H\n\014rea" +
+      "d_session\030\002 \001(\0132-.google.cloud.bigquery." +
+      "storage.v1.ReadSessionB\003\340A\002\022\030\n\020max_strea" +
+      "m_count\030\003 \001(\005\"i\n\017ReadRowsRequest\022F\n\013read" +
+      "_stream\030\001 \001(\tB1\340A\002\372A+\n)bigquerystorage.g" +
+      "oogleapis.com/ReadStream\022\016\n\006offset\030\002 \001(\003" +
+      "\")\n\rThrottleState\022\030\n\020throttle_percent\030\001 " +
+      "\001(\005\"\227\001\n\013StreamStats\022H\n\010progress\030\002 \001(\01326." +
+      "google.cloud.bigquery.storage.v1.StreamS" +
+      "tats.Progress\032>\n\010Progress\022\031\n\021at_response" +
+      "_start\030\001 \001(\001\022\027\n\017at_response_end\030\002 \001(\001\"\347\003" +
+      "\n\020ReadRowsResponse\022?\n\tavro_rows\030\003 \001(\0132*." +
+      "google.cloud.bigquery.storage.v1.AvroRow" +
+      "sH\000\022P\n\022arrow_record_batch\030\004 \001(\01322.google" +
+      ".cloud.bigquery.storage.v1.ArrowRecordBa" +
+      "tchH\000\022\021\n\trow_count\030\006 \001(\003\022<\n\005stats\030\002 \001(\0132" +
+      "-.google.cloud.bigquery.storage.v1.Strea" +
+      "mStats\022G\n\016throttle_state\030\005 \001(\0132/.google." +
+      "cloud.bigquery.storage.v1.ThrottleState\022" +
+      "H\n\013avro_schema\030\007 \001(\0132,.google.cloud.bigq" +
+      "uery.storage.v1.AvroSchemaB\003\340A\003H\001\022J\n\014arr" +
+      "ow_schema\030\010 \001(\0132-.google.cloud.bigquery." +
+      "storage.v1.ArrowSchemaB\003\340A\003H\001B\006\n\004rowsB\010\n" +
+      "\006schema\"k\n\026SplitReadStreamRequest\022?\n\004nam" +
+      "e\030\001 \001(\tB1\340A\002\372A+\n)bigquerystorage.googlea" +
+      "pis.com/ReadStream\022\020\n\010fraction\030\002 \001(\001\"\247\001\n" +
+      "\027SplitReadStreamResponse\022D\n\016primary_stre" +
+      "am\030\001 \001(\0132,.google.cloud.bigquery.storage" +
+      ".v1.ReadStream\022F\n\020remainder_stream\030\002 \001(\013" +
+      "2,.google.cloud.bigquery.storage.v1.Read" +
+      "Stream2\306\006\n\014BigQueryRead\022\351\001\n\021CreateReadSe" +
+      "ssion\022:.google.cloud.bigquery.storage.v1" +
+      ".CreateReadSessionRequest\032-.google.cloud" +
+      ".bigquery.storage.v1.ReadSession\"i\202\323\344\223\002<" +
+      "\"7/v1/{read_session.table=projects/*/dat" +
+      "asets/*/tables/*}:\001*\332A$parent,read_sessi" +
+      "on,max_stream_count\022\317\001\n\010ReadRows\0221.googl" +
+      "e.cloud.bigquery.storage.v1.ReadRowsRequ" +
+      "est\0322.google.cloud.bigquery.storage.v1.R" +
+      "eadRowsResponse\"Z\202\323\344\223\002?\022=/v1/{read_strea" +
+      "m=projects/*/locations/*/sessions/*/stre" +
+      "ams/*}\332A\022read_stream,offset0\001\022\306\001\n\017SplitR" +
+      "eadStream\0228.google.cloud.bigquery.storag" +
+      "e.v1.SplitReadStreamRequest\0329.google.clo" +
+      "ud.bigquery.storage.v1.SplitReadStreamRe" +
+      "sponse\">\202\323\344\223\0028\0226/v1/{name=projects/*/loc" +
+      "ations/*/sessions/*/streams/*}\032\256\001\312A\036bigq" +
+      "uerystorage.googleapis.com\322A\211\001https://ww" +
+      "w.googleapis.com/auth/bigquery,https://w" +
+      "ww.googleapis.com/auth/bigquery.readonly" +
+      ",https://www.googleapis.com/auth/cloud-p" +
+      "latformB\235\002\n$com.google.cloud.bigquery.st" +
+      "orage.v1B\014StorageProtoP\001ZGgoogle.golang." +
+      "org/genproto/googleapis/cloud/bigquery/s" +
+      "torage/v1;storage\252\002 Google.Cloud.BigQuer" +
+      "y.Storage.V1\312\002 Google\\Cloud\\BigQuery\\Sto" +
+      "rage\\V1\352AU\n\035bigquery.googleapis.com/Tabl" +
+      "e\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.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.StreamProto.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", });
+    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", });
+    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.StreamProto.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
new file mode 100644
index 0000000000..d4fec74f90
--- /dev/null
+++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StreamProto.java
@@ -0,0 +1,138 @@
+// 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;
+
+  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\037google" +
+      "/protobuf/timestamp.proto\"\370\007\n\013ReadSessio" +
+      "n\022\021\n\004name\030\001 \001(\tB\003\340A\003\0224\n\013expire_time\030\002 \001(" +
+      "\0132\032.google.protobuf.TimestampB\003\340A\003\022F\n\013da" +
+      "ta_format\030\003 \001(\0162,.google.cloud.bigquery." +
+      "storage.v1.DataFormatB\003\340A\005\022H\n\013avro_schem" +
+      "a\030\004 \001(\0132,.google.cloud.bigquery.storage." +
+      "v1.AvroSchemaB\003\340A\003H\000\022J\n\014arrow_schema\030\005 \001" +
+      "(\0132-.google.cloud.bigquery.storage.v1.Ar" +
+      "rowSchemaB\003\340A\003H\000\0224\n\005table\030\006 \001(\tB%\340A\005\372A\037\n" +
+      "\035bigquery.googleapis.com/Table\022Z\n\017table_" +
+      "modifiers\030\007 \001(\0132<.google.cloud.bigquery." +
+      "storage.v1.ReadSession.TableModifiersB\003\340" +
+      "A\001\022Y\n\014read_options\030\010 \001(\0132>.google.cloud." +
+      "bigquery.storage.v1.ReadSession.TableRea" +
+      "dOptionsB\003\340A\001\022B\n\007streams\030\n \003(\0132,.google." +
+      "cloud.bigquery.storage.v1.ReadStreamB\003\340A" +
+      "\003\032C\n\016TableModifiers\0221\n\rsnapshot_time\030\001 \001" +
+      "(\0132\032.google.protobuf.Timestamp\032\324\001\n\020Table" +
+      "ReadOptions\022\027\n\017selected_fields\030\001 \003(\t\022\027\n\017" +
+      "row_restriction\030\002 \001(\t\022g\n\033arrow_serializa" +
+      "tion_options\030\003 \001(\0132;.google.cloud.bigque" +
+      "ry.storage.v1.ArrowSerializationOptionsB" +
+      "\003\340A\001H\000B%\n#output_format_serialization_op" +
+      "tions:k\352Ah\n*bigquerystorage.googleapis.c" +
+      "om/ReadSession\022:projects/{project}/locat" +
+      "ions/{location}/sessions/{session}B\010\n\006sc" +
+      "hema\"\234\001\n\nReadStream\022\021\n\004name\030\001 \001(\tB\003\340A\003:{" +
+      "\352Ax\n)bigquerystorage.googleapis.com/Read" +
+      "Stream\022Kprojects/{project}/locations/{lo" +
+      "cation}/sessions/{session}/streams/{stre" +
+      "am}*>\n\nDataFormat\022\033\n\027DATA_FORMAT_UNSPECI" +
+      "FIED\020\000\022\010\n\004AVRO\020\001\022\t\n\005ARROW\020\002B\304\001\n$com.goog" +
+      "le.cloud.bigquery.storage.v1B\013StreamProt" +
+      "oP\001ZGgoogle.golang.org/genproto/googleap" +
+      "is/cloud/bigquery/storage/v1;storage\252\002 G" +
+      "oogle.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.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", "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", "OutputFormatSerializationOptions", });
+    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", });
+    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.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StreamStats.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StreamStats.java
similarity index 72%
rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StreamStats.java
rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StreamStats.java
index e784673caa..aa209a2ffe 100644
--- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StreamStats.java
+++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StreamStats.java
@@ -1,55 +1,39 @@
-/*
- * Copyright 2020 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 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private StreamStats( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,65 +52,56 @@ private StreamStats( case 0: done = true; break; - case 18: - { - com.google.cloud.bigquery.storage.v1.StreamStats.Progress.Builder subBuilder = null; - if (progress_ != null) { - subBuilder = progress_.toBuilder(); - } - progress_ = - input.readMessage( - com.google.cloud.bigquery.storage.v1.StreamStats.Progress.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(progress_); - progress_ = subBuilder.buildPartial(); - } - - break; + case 18: { + com.google.cloud.bigquery.storage.v1.StreamStats.Progress.Builder subBuilder = null; + if (progress_ != null) { + subBuilder = progress_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + progress_ = input.readMessage(com.google.cloud.bigquery.storage.v1.StreamStats.Progress.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(progress_); + progress_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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
@@ -141,49 +116,48 @@ public interface ProgressOrBuilder
      * 
* * 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Progress( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -202,55 +176,51 @@ private Progress( case 0: done = true; break; - case 9: - { - atResponseStart_ = input.readDouble(); - break; - } - case 17: - { - atResponseEnd_ = input.readDouble(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 9: { + + atResponseStart_ = input.readDouble(); + break; + } + case 17: { + + atResponseEnd_ = input.readDouble(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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_; /** - * - * *
      * 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
@@ -265,7 +235,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * double at_response_start = 1; - * * @return The atResponseStart. */ @java.lang.Override @@ -276,15 +245,12 @@ public double getAtResponseStart() { public static final int AT_RESPONSE_END_FIELD_NUMBER = 2; 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 @@ -293,7 +259,6 @@ public double getAtResponseEnd() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -305,7 +270,8 @@ 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 (atResponseStart_ != 0D) { output.writeDouble(1, atResponseStart_); } @@ -322,10 +288,12 @@ public int getSerializedSize() { size = 0; if (atResponseStart_ != 0D) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, atResponseStart_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(1, atResponseStart_); } if (atResponseEnd_ != 0D) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, atResponseEnd_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(2, atResponseEnd_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -335,18 +303,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -359,109 +328,98 @@ 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) + unknownFields.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 @@ -470,25 +428,24 @@ 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() @@ -496,15 +453,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -516,9 +474,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 @@ -537,8 +495,7 @@ 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); + com.google.cloud.bigquery.storage.v1.StreamStats.Progress result = new com.google.cloud.bigquery.storage.v1.StreamStats.Progress(this); result.atResponseStart_ = atResponseStart_; result.atResponseEnd_ = atResponseEnd_; onBuilt(); @@ -549,41 +506,38 @@ public com.google.cloud.bigquery.storage.v1.StreamStats.Progress buildPartial() 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; @@ -591,8 +545,7 @@ 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()); } @@ -618,8 +571,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1.StreamStats.Progress) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1.StreamStats.Progress) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -629,10 +581,8 @@ public Builder mergeFrom( return this; } - 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
@@ -647,7 +597,6 @@ public Builder mergeFrom(
        * 
* * double at_response_start = 1; - * * @return The atResponseStart. */ @java.lang.Override @@ -655,8 +604,6 @@ 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
@@ -671,19 +618,16 @@ public double getAtResponseStart() {
        * 
* * double at_response_start = 1; - * * @param value The atResponseStart to set. * @return This builder for chaining. */ public Builder setAtResponseStart(double value) { - + atResponseStart_ = value; onChanged(); 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
@@ -698,27 +642,23 @@ public Builder setAtResponseStart(double value) {
        * 
* * double at_response_start = 1; - * * @return This builder for chaining. */ public Builder clearAtResponseStart() { - + atResponseStart_ = 0D; onChanged(); 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 @@ -726,43 +666,36 @@ 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. */ public Builder setAtResponseEnd(double value) { - + atResponseEnd_ = value; onChanged(); 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() { - + atResponseEnd_ = 0D; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -775,12 +708,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(); } @@ -789,16 +722,16 @@ 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 { - return new Progress(input, extensionRegistry); - } - }; + 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 { + return new Progress(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -813,19 +746,17 @@ 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 @@ -833,25 +764,18 @@ 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.
    * 
@@ -864,7 +788,6 @@ public com.google.cloud.bigquery.storage.v1.StreamStats.ProgressOrBuilder getPro } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -876,7 +799,8 @@ 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()); } @@ -890,7 +814,8 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -900,17 +825,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -932,127 +857,118 @@ 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 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() @@ -1060,15 +976,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1082,9 +999,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 @@ -1103,8 +1020,7 @@ 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); + com.google.cloud.bigquery.storage.v1.StreamStats result = new com.google.cloud.bigquery.storage.v1.StreamStats(this); if (progressBuilder_ == null) { result.progress_ = progress_; } else { @@ -1118,39 +1034,38 @@ public com.google.cloud.bigquery.storage.v1.StreamStats buildPartial() { 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; @@ -1158,8 +1073,7 @@ 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()); } @@ -1194,47 +1108,34 @@ public Builder mergeFrom( 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 progressBuilder_ != null || progress_ != null; } /** - * - * *
      * 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.
      * 
@@ -1255,8 +1156,6 @@ public Builder setProgress(com.google.cloud.bigquery.storage.v1.StreamStats.Prog return this; } /** - * - * *
      * Represents the progress of the current stream.
      * 
@@ -1275,8 +1174,6 @@ public Builder setProgress( return this; } /** - * - * *
      * Represents the progress of the current stream.
      * 
@@ -1287,9 +1184,7 @@ public Builder mergeProgress(com.google.cloud.bigquery.storage.v1.StreamStats.Pr if (progressBuilder_ == null) { if (progress_ != null) { progress_ = - com.google.cloud.bigquery.storage.v1.StreamStats.Progress.newBuilder(progress_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.bigquery.storage.v1.StreamStats.Progress.newBuilder(progress_).mergeFrom(value).buildPartial(); } else { progress_ = value; } @@ -1301,8 +1196,6 @@ public Builder mergeProgress(com.google.cloud.bigquery.storage.v1.StreamStats.Pr return this; } /** - * - * *
      * Represents the progress of the current stream.
      * 
@@ -1321,8 +1214,6 @@ public Builder clearProgress() { return this; } /** - * - * *
      * Represents the progress of the current stream.
      * 
@@ -1330,32 +1221,26 @@ public Builder clearProgress() { * .google.cloud.bigquery.storage.v1.StreamStats.Progress progress = 2; */ public com.google.cloud.bigquery.storage.v1.StreamStats.Progress.Builder getProgressBuilder() { - + onChanged(); 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.
      * 
@@ -1363,24 +1248,21 @@ public com.google.cloud.bigquery.storage.v1.StreamStats.Progress.Builder getProg * .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); } @@ -1390,12 +1272,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(); } @@ -1404,16 +1286,16 @@ 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 { - return new StreamStats(input, extensionRegistry); - } - }; + 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 { + return new StreamStats(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1428,4 +1310,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1.StreamStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StreamStatsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StreamStatsOrBuilder.java similarity index 61% rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StreamStatsOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StreamStatsOrBuilder.java index aeaa0d4f33..04200f489f 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StreamStatsOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StreamStatsOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 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/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ThrottleState.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ThrottleState.java similarity index 68% rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ThrottleState.java rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ThrottleState.java index 87103fd69b..f187573664 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ThrottleState.java +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ThrottleState.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ThrottleState( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,57 +52,52 @@ private ThrottleState( case 0: done = true; break; - case 8: - { - throttlePercent_ = input.readInt32(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 8: { + + throttlePercent_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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_; /** - * - * *
    * 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 @@ -127,7 +106,6 @@ public int getThrottlePercent() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -139,7 +117,8 @@ 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_); } @@ -153,7 +132,8 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -163,15 +143,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -191,126 +171,117 @@ 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() @@ -318,15 +289,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -336,9 +308,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 @@ -357,8 +329,7 @@ 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); + com.google.cloud.bigquery.storage.v1.ThrottleState result = new com.google.cloud.bigquery.storage.v1.ThrottleState(this); result.throttlePercent_ = throttlePercent_; onBuilt(); return result; @@ -368,39 +339,38 @@ public com.google.cloud.bigquery.storage.v1.ThrottleState buildPartial() { 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; @@ -408,8 +378,7 @@ 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()); } @@ -432,8 +401,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1.ThrottleState) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1.ThrottleState) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -443,17 +411,14 @@ public Builder mergeFrom( return this; } - 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 @@ -461,45 +426,39 @@ 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. */ public Builder setThrottlePercent(int value) { - + throttlePercent_ = value; onChanged(); 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() { - + throttlePercent_ = 0; 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); } @@ -509,12 +468,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(); } @@ -523,16 +482,16 @@ 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 { - return new ThrottleState(input, extensionRegistry); - } - }; + 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 { + return new ThrottleState(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -547,4 +506,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1.ThrottleState 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/ThrottleStateOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ThrottleStateOrBuilder.java new file mode 100644 index 0000000000..ed4dfcf538 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ThrottleStateOrBuilder.java @@ -0,0 +1,20 @@ +// 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/proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/arrow.proto b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/arrow.proto similarity index 100% rename from proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/arrow.proto rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/arrow.proto diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/avro.proto b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/avro.proto similarity index 100% rename from proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/avro.proto rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/avro.proto diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/storage.proto b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/storage.proto similarity index 100% rename from proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/storage.proto rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/storage.proto diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/stream.proto b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/stream.proto similarity index 100% rename from proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/stream.proto rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/stream.proto diff --git a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BaseBigQueryStorageClient.java b/owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BaseBigQueryStorageClient.java similarity index 99% rename from google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BaseBigQueryStorageClient.java rename to owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BaseBigQueryStorageClient.java index 9635b98383..eef244690a 100644 --- a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BaseBigQueryStorageClient.java +++ b/owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BaseBigQueryStorageClient.java @@ -55,13 +55,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* diff --git a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BaseBigQueryStorageSettings.java b/owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BaseBigQueryStorageSettings.java similarity index 96% rename from google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BaseBigQueryStorageSettings.java rename to owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BaseBigQueryStorageSettings.java index 071d5b03cb..dabf24d9fc 100644 --- a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BaseBigQueryStorageSettings.java +++ b/owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BaseBigQueryStorageSettings.java @@ -25,6 +25,7 @@ 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; @@ -40,10 +41,10 @@ *

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

    - *
  • The default service address (bigquerystorage.googleapis.com) and default port (443) are + *
  • 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. + *
  • 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 diff --git a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/gapic_metadata.json b/owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/gapic_metadata.json similarity index 100% rename from google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/gapic_metadata.json rename to owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/gapic_metadata.json diff --git a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/package-info.java b/owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/package-info.java similarity index 100% rename from google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/package-info.java rename to owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/package-info.java diff --git a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/BigQueryStorageStub.java b/owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/BigQueryStorageStub.java similarity index 100% rename from google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/BigQueryStorageStub.java rename to owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/BigQueryStorageStub.java diff --git a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/BigQueryStorageStubSettings.java b/owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/BigQueryStorageStubSettings.java similarity index 98% rename from google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/BigQueryStorageStubSettings.java rename to owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/BigQueryStorageStubSettings.java index 9d0944cffe..be2c543e21 100644 --- a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/BigQueryStorageStubSettings.java +++ b/owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/BigQueryStorageStubSettings.java @@ -50,10 +50,10 @@ *

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

    - *
  • The default service address (bigquerystorage.googleapis.com) and default port (443) are + *
  • 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. + *
  • 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 diff --git a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/GrpcBigQueryStorageCallableFactory.java b/owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/GrpcBigQueryStorageCallableFactory.java similarity index 100% rename from google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/GrpcBigQueryStorageCallableFactory.java rename to owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/GrpcBigQueryStorageCallableFactory.java diff --git a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/GrpcBigQueryStorageStub.java b/owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/GrpcBigQueryStorageStub.java similarity index 99% rename from google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/GrpcBigQueryStorageStub.java rename to owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/GrpcBigQueryStorageStub.java index 02ddff2b0b..18433f1323 100644 --- a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/GrpcBigQueryStorageStub.java +++ b/owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/GrpcBigQueryStorageStub.java @@ -31,6 +31,7 @@ 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/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta1/BaseBigQueryStorageClientTest.java b/owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta1/BaseBigQueryStorageClientTest.java similarity index 100% rename from google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta1/BaseBigQueryStorageClientTest.java rename to owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta1/BaseBigQueryStorageClientTest.java diff --git a/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta1/MockBigQueryStorage.java b/owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta1/MockBigQueryStorage.java similarity index 100% rename from google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta1/MockBigQueryStorage.java rename to owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta1/MockBigQueryStorage.java diff --git a/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta1/MockBigQueryStorageImpl.java b/owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta1/MockBigQueryStorageImpl.java similarity index 100% rename from google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta1/MockBigQueryStorageImpl.java rename to owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta1/MockBigQueryStorageImpl.java diff --git a/grpc-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BigQueryStorageGrpc.java b/owl-bot-staging/v1beta1/grpc-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BigQueryStorageGrpc.java similarity index 51% rename from grpc-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BigQueryStorageGrpc.java rename to owl-bot-staging/v1beta1/grpc-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BigQueryStorageGrpc.java index 9fe4d0f741..edc709b6bb 100644 --- a/grpc-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BigQueryStorageGrpc.java +++ b/owl-bot-staging/v1beta1/grpc-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BigQueryStorageGrpc.java @@ -1,25 +1,8 @@ -/* - * Copyright 2020 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.
@@ -35,307 +18,214 @@ 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<
-          com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest,
-          com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession>
-      getCreateReadSessionMethod;
+  private static volatile io.grpc.MethodDescriptor 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<
-          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;
+  public static io.grpc.MethodDescriptor getCreateReadSessionMethod() {
+    io.grpc.MethodDescriptor 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<
-          com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest,
-          com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse>
-      getReadRowsMethod;
+  private static volatile io.grpc.MethodDescriptor 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<
-          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;
+  public static io.grpc.MethodDescriptor getReadRowsMethod() {
+    io.grpc.MethodDescriptor 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<
-          com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest,
-          com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse>
-      getBatchCreateReadSessionStreamsMethod;
+  private static volatile io.grpc.MethodDescriptor 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<
-          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) {
+  public static io.grpc.MethodDescriptor getBatchCreateReadSessionStreamsMethod() {
+    io.grpc.MethodDescriptor 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<
-          com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest,
-          com.google.protobuf.Empty>
-      getFinalizeStreamMethod;
+  private static volatile io.grpc.MethodDescriptor 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<
-          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;
+  public static io.grpc.MethodDescriptor getFinalizeStreamMethod() {
+    io.grpc.MethodDescriptor 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<
-          com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest,
-          com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse>
-      getSplitReadStreamMethod;
+  private static volatile io.grpc.MethodDescriptor 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<
-          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;
+  public static io.grpc.MethodDescriptor getSplitReadStreamMethod() {
+    io.grpc.MethodDescriptor 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.
    * 
*/ - public abstract static class BigQueryStorageImplBase implements io.grpc.BindableService { + public static abstract class BigQueryStorageImplBase implements io.grpc.BindableService { /** - * - * *
      * 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
@@ -349,17 +239,12 @@ public abstract static class BigQueryStorageImplBase implements io.grpc.Bindable
      * 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) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateReadSessionMethod(), responseObserver); + public 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
@@ -371,37 +256,24 @@ public void createReadSession(
      * 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< - com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse> - responseObserver) { + public void readRows(com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest request, + io.grpc.stub.StreamObserver 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.
      * 
*/ - 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.ServerCalls.asyncUnimplementedUnaryCall( - getBatchCreateReadSessionStreamsMethod(), responseObserver); + public void batchCreateReadSessionStreams(com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchCreateReadSessionStreamsMethod(), responseObserver); } /** - * - * *
      * Triggers the graceful termination of a single stream in a ReadSession. This
      * API can be used to dynamically adjust the parallelism of a batch processing
@@ -417,16 +289,12 @@ public void batchCreateReadSessionStreams(
      * 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.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
@@ -441,80 +309,71 @@ public void finalizeStream(
      * This method is guaranteed to be idempotent.
      * 
*/ - 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.ServerCalls.asyncUnimplementedUnaryCall( - getSplitReadStreamMethod(), responseObserver); + public void splitReadStream(com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSplitReadStreamMethod(), responseObserver); } - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { 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>( - this, 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>( + this, 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>( - this, 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>( + this, 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>( - this, 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>( + this, 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>(this, METHODID_FINALIZE_STREAM))) + getFinalizeStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest, + com.google.protobuf.Empty>( + this, 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>( - this, 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>( + this, METHODID_SPLIT_READ_STREAM))) .build(); } } /** - * - * *
    * BigQuery storage API.
    * The BigQuery storage API can be used to read data stored in BigQuery.
    * 
*/ - public static final class BigQueryStorageStub - extends io.grpc.stub.AbstractAsyncStub { - private BigQueryStorageStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class BigQueryStorageStub extends io.grpc.stub.AbstractAsyncStub { + 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
@@ -528,19 +387,13 @@ protected BigQueryStorageStub build(io.grpc.Channel channel, io.grpc.CallOptions
      * 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
@@ -552,40 +405,26 @@ public void createReadSession(
      * 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< - com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse> - responseObserver) { + public void readRows(com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest request, + io.grpc.stub.StreamObserver 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< - com.google.cloud.bigquery.storage.v1beta1.Storage - .BatchCreateReadSessionStreamsResponse> - responseObserver) { + public void batchCreateReadSessionStreams(com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchCreateReadSessionStreamsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getBatchCreateReadSessionStreamsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Triggers the graceful termination of a single stream in a ReadSession. This
      * API can be used to dynamically adjust the parallelism of a batch processing
@@ -601,18 +440,13 @@ public void batchCreateReadSessionStreams(
      * 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
@@ -627,29 +461,22 @@ public void finalizeStream(
      * This method is guaranteed to be idempotent.
      * 
*/ - 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) { + public void splitReadStream(com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSplitReadStreamMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getSplitReadStreamMethod(), getCallOptions()), request, responseObserver); } } /** - * - * *
    * BigQuery storage API.
    * The BigQuery storage API can be used to read data stored in BigQuery.
    * 
*/ - public static final class BigQueryStorageBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private BigQueryStorageBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class BigQueryStorageBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private BigQueryStorageBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -660,8 +487,6 @@ 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
@@ -675,15 +500,12 @@ 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
@@ -695,32 +517,25 @@ 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); } /** - * - * *
      * Triggers the graceful termination of a single stream in a ReadSession. This
      * API can be used to dynamically adjust the parallelism of a batch processing
@@ -736,15 +551,12 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession createReadS
      * 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
@@ -759,25 +571,21 @@ public com.google.protobuf.Empty finalizeStream(
      * 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); } } /** - * - * *
    * BigQuery storage API.
    * The BigQuery storage API can be used to read data stored in BigQuery.
    * 
*/ - public static final class BigQueryStorageFutureStub - extends io.grpc.stub.AbstractFutureStub { - private BigQueryStorageFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class BigQueryStorageFutureStub extends io.grpc.stub.AbstractFutureStub { + private BigQueryStorageFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -788,8 +596,6 @@ 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
@@ -803,36 +609,26 @@ protected BigQueryStorageFutureStub build(
      * not require manual clean-up by the caller.
      * 
*/ - 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) { + public com.google.common.util.concurrent.ListenableFuture 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< - com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse> - batchCreateReadSessionStreams( - com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest - request) { + public com.google.common.util.concurrent.ListenableFuture 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); } /** - * - * *
      * Triggers the graceful termination of a single stream in a ReadSession. This
      * API can be used to dynamically adjust the parallelism of a batch processing
@@ -848,16 +644,13 @@ protected BigQueryStorageFutureStub build(
      * Stream.
      * 
*/ - 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
@@ -872,10 +665,8 @@ protected BigQueryStorageFutureStub build(
      * This method is guaranteed to be idempotent.
      * 
*/ - 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) { + public com.google.common.util.concurrent.ListenableFuture splitReadStream( + com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getSplitReadStreamMethod(), getCallOptions()), request); } @@ -887,11 +678,11 @@ protected BigQueryStorageFutureStub build( private static final int METHODID_FINALIZE_STREAM = 3; private static final int METHODID_SPLIT_READ_STREAM = 4; - 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 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 BigQueryStorageImplBase serviceImpl; private final int methodId; @@ -905,40 +696,24 @@ private static final class MethodHandlers 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< - com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession>) - responseObserver); + serviceImpl.createReadSession((com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_READ_ROWS: - serviceImpl.readRows( - (com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse>) - responseObserver); + serviceImpl.readRows((com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_BATCH_CREATE_READ_SESSION_STREAMS: - serviceImpl.batchCreateReadSessionStreams( - (com.google.cloud.bigquery.storage.v1beta1.Storage - .BatchCreateReadSessionStreamsRequest) - request, - (io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.storage.v1beta1.Storage - .BatchCreateReadSessionStreamsResponse>) - responseObserver); + serviceImpl.batchCreateReadSessionStreams((com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest) request, + (io.grpc.stub.StreamObserver) 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< - com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse>) - responseObserver); + serviceImpl.splitReadStream((com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; default: throw new AssertionError(); @@ -956,9 +731,8 @@ public io.grpc.stub.StreamObserver invoke( } } - private abstract static class BigQueryStorageBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private static abstract class BigQueryStorageBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { BigQueryStorageBaseDescriptorSupplier() {} @java.lang.Override @@ -1000,16 +774,14 @@ 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/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ArrowProto.java b/owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ArrowProto.java similarity index 66% rename from proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ArrowProto.java rename to owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ArrowProto.java index 278b47a8f7..2d7b087183 100644 --- a/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ArrowProto.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ArrowProto.java @@ -1,18 +1,3 @@ -/* - * Copyright 2020 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 @@ -20,65 +5,61 @@ 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 interface ArrowSchemaOrBuilder - extends + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ArrowSchema( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -97,56 +78,51 @@ private ArrowSchema( case 0: done = true; break; - case 10: - { - serializedSchema_ = input.readBytes(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 10: { + + serializedSchema_ = input.readBytes(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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_; /** - * - * *
      * IPC serialized Arrow schema.
      * 
* * bytes serialized_schema = 1; - * * @return The serializedSchema. */ @java.lang.Override @@ -155,7 +131,6 @@ public com.google.protobuf.ByteString getSerializedSchema() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -167,7 +142,8 @@ 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_); } @@ -181,7 +157,8 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -191,15 +168,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -219,95 +196,87 @@ 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 @@ -317,49 +286,44 @@ 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() + // Construct using com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -369,16 +333,14 @@ 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 @@ -392,8 +354,7 @@ 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); + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema result = new com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema(this); result.serializedSchema_ = serializedSchema_; onBuilt(); return result; @@ -403,53 +364,46 @@ public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema buildPar 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()); } @@ -472,9 +426,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -484,17 +436,13 @@ public Builder mergeFrom( return this; } - 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 @@ -502,44 +450,37 @@ 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(); - } - + throw new NullPointerException(); + } + serializedSchema_ = value; onChanged(); return this; } /** - * - * *
        * IPC serialized Arrow schema.
        * 
* * bytes serialized_schema = 1; - * * @return This builder for chaining. */ public Builder clearSerializedSchema() { - + serializedSchema_ = getDefaultInstance().getSerializedSchema(); onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -552,32 +493,30 @@ 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 { - return new ArrowSchema(input, extensionRegistry); - } - }; + 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 { + return new ArrowSchema(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -589,77 +528,68 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ArrowRecordBatch( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -678,61 +608,56 @@ private ArrowRecordBatch( case 0: done = true; break; - case 10: - { - serializedRecordBatch_ = input.readBytes(); - break; - } - case 16: - { - rowCount_ = input.readInt64(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 10: { + + serializedRecordBatch_ = input.readBytes(); + break; + } + case 16: { + + rowCount_ = input.readInt64(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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_; /** - * - * *
      * IPC serialized Arrow RecordBatch.
      * 
* * bytes serialized_record_batch = 1; - * * @return The serializedRecordBatch. */ @java.lang.Override @@ -743,14 +668,11 @@ public com.google.protobuf.ByteString getSerializedRecordBatch() { public static final int ROW_COUNT_FIELD_NUMBER = 2; private long rowCount_; /** - * - * *
      * The count of rows in the returning block.
      * 
* * int64 row_count = 2; - * * @return The rowCount. */ @java.lang.Override @@ -759,7 +681,6 @@ public long getRowCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -771,7 +692,8 @@ 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_); } @@ -788,10 +710,12 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -801,16 +725,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -825,102 +750,95 @@ 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) + unknownFields.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 @@ -930,50 +848,44 @@ 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() + // Construct using com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -985,22 +897,19 @@ 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); } @@ -1009,8 +918,7 @@ 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); + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch result = new com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch(this); result.serializedRecordBatch_ = serializedRecordBatch_; result.rowCount_ = rowCount_; onBuilt(); @@ -1021,54 +929,46 @@ public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch bui 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()); } @@ -1094,9 +994,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1106,17 +1004,13 @@ public Builder mergeFrom( return this; } - 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 @@ -1124,54 +1018,45 @@ 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(); - } - + throw new NullPointerException(); + } + serializedRecordBatch_ = value; onChanged(); return this; } /** - * - * *
        * IPC serialized Arrow RecordBatch.
        * 
* * bytes serialized_record_batch = 1; - * * @return This builder for chaining. */ public Builder clearSerializedRecordBatch() { - + serializedRecordBatch_ = getDefaultInstance().getSerializedRecordBatch(); onChanged(); 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 @@ -1179,41 +1064,34 @@ 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. */ public Builder setRowCount(long value) { - + rowCount_ = value; onChanged(); return this; } /** - * - * *
        * The count of rows in the returning block.
        * 
* * int64 row_count = 2; - * * @return This builder for chaining. */ public Builder clearRowCount() { - + rowCount_ = 0L; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1226,33 +1104,30 @@ 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 { - return new ArrowRecordBatch(input, extensionRegistry); - } - }; + 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 { + return new ArrowRecordBatch(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1264,58 +1139,57 @@ 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\205\001\n)com.google.cloud.bigquery.stora" - + "ge.v1beta1B\nArrowProtoZLgoogle.golang.or" - + "g/genproto/googleapis/cloud/bigquery/sto" - + "rage/v1beta1;storageb\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\205\001\n)com.google.cloud.bigquery.stora" + + "ge.v1beta1B\nArrowProtoZLgoogle.golang.or" + + "g/genproto/googleapis/cloud/bigquery/sto" + + "rage/v1beta1;storageb\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/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/AvroProto.java b/owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/AvroProto.java similarity index 68% rename from proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/AvroProto.java rename to owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/AvroProto.java index 80c0618d68..39b85fdaf8 100644 --- a/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/AvroProto.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/AvroProto.java @@ -1,18 +1,3 @@ -/* - * Copyright 2020 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 @@ -20,79 +5,73 @@ 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 interface AvroSchemaOrBuilder - extends + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AvroSchema( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -111,59 +90,53 @@ private AvroSchema( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - schema_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + schema_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -172,30 +145,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 { @@ -204,7 +177,6 @@ public com.google.protobuf.ByteString getSchemaBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -216,7 +188,8 @@ 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 (!getSchemaBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, schema_); } @@ -240,15 +213,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -268,94 +241,87 @@ 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 @@ -365,32 +331,27 @@ 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() @@ -398,15 +359,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -416,14 +378,13 @@ 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(); } @@ -438,8 +399,7 @@ 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); + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema result = new com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema(this); result.schema_ = schema_; onBuilt(); return result; @@ -449,52 +409,46 @@ public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema buildParti 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_; onChanged(); @@ -518,9 +472,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -532,21 +484,19 @@ public Builder mergeFrom( 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; @@ -555,22 +505,21 @@ 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 { @@ -578,69 +527,61 @@ public com.google.protobuf.ByteString getSchemaBytes() { } } /** - * - * *
        * 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) { + public Builder setSchema( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + schema_ = value; 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() { - + schema_ = getDefaultInstance().getSchema(); onChanged(); 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) { + public Builder setSchemaBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + schema_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -653,32 +594,30 @@ 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 { - return new AvroSchema(input, extensionRegistry); - } - }; + 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 { + return new AvroSchema(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -690,77 +629,68 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AvroRows( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -779,61 +709,56 @@ private AvroRows( case 0: done = true; break; - case 10: - { - serializedBinaryRows_ = input.readBytes(); - break; - } - case 16: - { - rowCount_ = input.readInt64(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 10: { + + serializedBinaryRows_ = input.readBytes(); + break; + } + case 16: { + + rowCount_ = input.readInt64(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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_; /** - * - * *
      * Binary serialized rows in a block.
      * 
* * bytes serialized_binary_rows = 1; - * * @return The serializedBinaryRows. */ @java.lang.Override @@ -844,14 +769,11 @@ public com.google.protobuf.ByteString getSerializedBinaryRows() { public static final int ROW_COUNT_FIELD_NUMBER = 2; private long rowCount_; /** - * - * *
      * The count of rows in the returning block.
      * 
* * int64 row_count = 2; - * * @return The rowCount. */ @java.lang.Override @@ -860,7 +782,6 @@ public long getRowCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -872,7 +793,8 @@ 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_); } @@ -889,10 +811,12 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -902,16 +826,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -926,101 +851,95 @@ 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) + unknownFields.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 @@ -1030,32 +949,27 @@ 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() @@ -1063,15 +977,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1083,14 +998,13 @@ 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(); } @@ -1105,8 +1019,7 @@ 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); + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows result = new com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows(this); result.serializedBinaryRows_ = serializedBinaryRows_; result.rowCount_ = rowCount_; onBuilt(); @@ -1117,41 +1030,38 @@ public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows buildPartial 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; @@ -1159,9 +1069,7 @@ 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()); } @@ -1187,9 +1095,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1199,17 +1105,13 @@ public Builder mergeFrom( return this; } - 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 @@ -1217,54 +1119,45 @@ 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(); - } - + throw new NullPointerException(); + } + serializedBinaryRows_ = value; onChanged(); return this; } /** - * - * *
        * Binary serialized rows in a block.
        * 
* * bytes serialized_binary_rows = 1; - * * @return This builder for chaining. */ public Builder clearSerializedBinaryRows() { - + serializedBinaryRows_ = getDefaultInstance().getSerializedBinaryRows(); onChanged(); 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 @@ -1272,41 +1165,34 @@ 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. */ public Builder setRowCount(long value) { - + rowCount_ = value; onChanged(); return this; } /** - * - * *
        * The count of rows in the returning block.
        * 
* * int64 row_count = 2; - * * @return This builder for chaining. */ public Builder clearRowCount() { - + rowCount_ = 0L; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1319,32 +1205,30 @@ 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 { - return new AvroRows(input, extensionRegistry); - } - }; + 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 { + return new AvroRows(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1356,58 +1240,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\204\001\n)com.google.cl" - + "oud.bigquery.storage.v1beta1B\tAvroProtoZ" - + "Lgoogle.golang.org/genproto/googleapis/c" - + "loud/bigquery/storage/v1beta1;storageb\006p" - + "roto3" + "\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\204\001\n)com.google.cl" + + "oud.bigquery.storage.v1beta1B\tAvroProtoZ" + + "Lgoogle.golang.org/genproto/googleapis/c" + + "loud/bigquery/storage/v1beta1;storageb\006p" + + "roto3" }; - 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/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ProjectName.java b/owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ProjectName.java similarity index 100% rename from proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ProjectName.java rename to owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ProjectName.java diff --git a/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ReadOptions.java b/owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ReadOptions.java similarity index 72% rename from proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ReadOptions.java rename to owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ReadOptions.java index ef0d0e5184..6e5b51248a 100644 --- a/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ReadOptions.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ReadOptions.java @@ -1,18 +1,3 @@ -/* - * Copyright 2020 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 @@ -20,21 +5,20 @@ 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 interface TableReadOptionsOrBuilder - extends + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface TableReadOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta1.TableReadOptions) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Optional. 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 the
@@ -43,13 +27,11 @@ public interface TableReadOptionsOrBuilder
      * 
* * repeated string selected_fields = 1; - * * @return A list containing the selectedFields. */ - java.util.List getSelectedFieldsList(); + java.util.List + getSelectedFieldsList(); /** - * - * *
      * Optional. 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 the
@@ -58,13 +40,10 @@ public interface TableReadOptionsOrBuilder
      * 
* * repeated string selected_fields = 1; - * * @return The count of selectedFields. */ int getSelectedFieldsCount(); /** - * - * *
      * Optional. 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 the
@@ -73,14 +52,11 @@ public interface TableReadOptionsOrBuilder
      * 
* * 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. 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 the
@@ -89,15 +65,13 @@ public interface TableReadOptionsOrBuilder
      * 
* * 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 query. Aggregates are not supported.
@@ -109,13 +83,10 @@ public interface TableReadOptionsOrBuilder
      * 
* * string row_restriction = 2; - * * @return The rowRestriction. */ java.lang.String getRowRestriction(); /** - * - * *
      * Optional. SQL text filtering statement, similar to a WHERE clause in
      * a query. Aggregates are not supported.
@@ -127,30 +98,27 @@ public interface TableReadOptionsOrBuilder
      * 
* * 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.EMPTY; rowRestriction_ = ""; @@ -158,15 +126,16 @@ private TableReadOptions() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TableReadOptions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private TableReadOptions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -186,36 +155,35 @@ private TableReadOptions( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - selectedFields_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - selectedFields_.add(s); - break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + selectedFields_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + selectedFields_.add(s); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - rowRestriction_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + rowRestriction_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { selectedFields_ = selectedFields_.getUnmodifiableView(); @@ -224,27 +192,22 @@ private TableReadOptions( makeExtensionsImmutable(); } } - - 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; private com.google.protobuf.LazyStringList selectedFields_; /** - * - * *
      * Optional. 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 the
@@ -253,15 +216,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * 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. 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 the
@@ -270,15 +231,12 @@ public com.google.protobuf.ProtocolStringList getSelectedFieldsList() {
      * 
* * repeated string selected_fields = 1; - * * @return The count of selectedFields. */ public int getSelectedFieldsCount() { return selectedFields_.size(); } /** - * - * *
      * Optional. 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 the
@@ -287,7 +245,6 @@ public int getSelectedFieldsCount() {
      * 
* * repeated string selected_fields = 1; - * * @param index The index of the element to return. * @return The selectedFields at the given index. */ @@ -295,8 +252,6 @@ public java.lang.String getSelectedFields(int index) { return selectedFields_.get(index); } /** - * - * *
      * Optional. 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 the
@@ -305,19 +260,17 @@ 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; private volatile java.lang.Object rowRestriction_; /** - * - * *
      * Optional. SQL text filtering statement, similar to a WHERE clause in
      * a query. Aggregates are not supported.
@@ -329,7 +282,6 @@ public com.google.protobuf.ByteString getSelectedFieldsBytes(int index) {
      * 
* * string row_restriction = 2; - * * @return The rowRestriction. */ @java.lang.Override @@ -338,15 +290,14 @@ 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 query. Aggregates are not supported.
@@ -358,15 +309,16 @@ 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 { @@ -375,7 +327,6 @@ public com.google.protobuf.ByteString getRowRestrictionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -387,7 +338,8 @@ 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)); } @@ -422,17 +374,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -456,95 +408,87 @@ 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 @@ -554,50 +498,44 @@ 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() + // Construct using com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -609,22 +547,19 @@ public Builder clear() { } @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); } @@ -633,8 +568,7 @@ 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); + com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions result = new com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { selectedFields_ = selectedFields_.getUnmodifiableView(); @@ -650,54 +584,46 @@ public com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions bu 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_; @@ -731,9 +657,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -742,21 +666,16 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList selectedFields_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList selectedFields_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureSelectedFieldsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { selectedFields_ = new com.google.protobuf.LazyStringArrayList(selectedFields_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
        * Optional. 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 the
@@ -765,15 +684,13 @@ 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() { return selectedFields_.getUnmodifiableView(); } /** - * - * *
        * Optional. 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 the
@@ -782,15 +699,12 @@ public com.google.protobuf.ProtocolStringList getSelectedFieldsList() {
        * 
* * repeated string selected_fields = 1; - * * @return The count of selectedFields. */ public int getSelectedFieldsCount() { return selectedFields_.size(); } /** - * - * *
        * Optional. 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 the
@@ -799,7 +713,6 @@ public int getSelectedFieldsCount() {
        * 
* * repeated string selected_fields = 1; - * * @param index The index of the element to return. * @return The selectedFields at the given index. */ @@ -807,8 +720,6 @@ public java.lang.String getSelectedFields(int index) { return selectedFields_.get(index); } /** - * - * *
        * Optional. 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 the
@@ -817,16 +728,14 @@ 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. 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 the
@@ -835,23 +744,21 @@ public com.google.protobuf.ByteString getSelectedFieldsBytes(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) { + public Builder setSelectedFields( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSelectedFieldsIsMutable(); + throw new NullPointerException(); + } + ensureSelectedFieldsIsMutable(); selectedFields_.set(index, value); onChanged(); return this; } /** - * - * *
        * Optional. 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 the
@@ -860,22 +767,20 @@ public Builder setSelectedFields(int index, java.lang.String value) {
        * 
* * repeated string selected_fields = 1; - * * @param value The selectedFields to add. * @return This builder for chaining. */ - public Builder addSelectedFields(java.lang.String value) { + public Builder addSelectedFields( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSelectedFieldsIsMutable(); + throw new NullPointerException(); + } + ensureSelectedFieldsIsMutable(); selectedFields_.add(value); onChanged(); return this; } /** - * - * *
        * Optional. 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 the
@@ -884,19 +789,18 @@ public Builder addSelectedFields(java.lang.String value) {
        * 
* * 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_); onChanged(); return this; } /** - * - * *
        * Optional. 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 the
@@ -905,7 +809,6 @@ public Builder addAllSelectedFields(java.lang.Iterable values)
        * 
* * repeated string selected_fields = 1; - * * @return This builder for chaining. */ public Builder clearSelectedFields() { @@ -915,8 +818,6 @@ public Builder clearSelectedFields() { return this; } /** - * - * *
        * Optional. 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 the
@@ -925,15 +826,15 @@ 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) { + public Builder addSelectedFieldsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureSelectedFieldsIsMutable(); selectedFields_.add(value); onChanged(); @@ -942,8 +843,6 @@ public Builder addSelectedFieldsBytes(com.google.protobuf.ByteString value) { private java.lang.Object rowRestriction_ = ""; /** - * - * *
        * Optional. SQL text filtering statement, similar to a WHERE clause in
        * a query. Aggregates are not supported.
@@ -955,13 +854,13 @@ public Builder addSelectedFieldsBytes(com.google.protobuf.ByteString value) {
        * 
* * 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; @@ -970,8 +869,6 @@ public java.lang.String getRowRestriction() { } } /** - * - * *
        * Optional. SQL text filtering statement, similar to a WHERE clause in
        * a query. Aggregates are not supported.
@@ -983,14 +880,15 @@ 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 { @@ -998,8 +896,6 @@ public com.google.protobuf.ByteString getRowRestrictionBytes() { } } /** - * - * *
        * Optional. SQL text filtering statement, similar to a WHERE clause in
        * a query. Aggregates are not supported.
@@ -1011,22 +907,20 @@ public com.google.protobuf.ByteString getRowRestrictionBytes() {
        * 
* * string row_restriction = 2; - * * @param value The rowRestriction to set. * @return This builder for chaining. */ - public Builder setRowRestriction(java.lang.String value) { + public Builder setRowRestriction( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + rowRestriction_ = value; onChanged(); return this; } /** - * - * *
        * Optional. SQL text filtering statement, similar to a WHERE clause in
        * a query. Aggregates are not supported.
@@ -1038,18 +932,15 @@ public Builder setRowRestriction(java.lang.String value) {
        * 
* * string row_restriction = 2; - * * @return This builder for chaining. */ public Builder clearRowRestriction() { - + rowRestriction_ = getDefaultInstance().getRowRestriction(); onChanged(); return this; } /** - * - * *
        * Optional. SQL text filtering statement, similar to a WHERE clause in
        * a query. Aggregates are not supported.
@@ -1061,21 +952,20 @@ 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) { + public Builder setRowRestrictionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + rowRestriction_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1088,33 +978,30 @@ 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 { - return new TableReadOptions(input, extensionRegistry); - } - }; + 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 { + return new TableReadOptions(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1126,45 +1013,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(\tBy\n)com.google.cloud.bigquery.sto" - + "rage.v1beta1ZLgoogle.golang.org/genproto" - + "/googleapis/cloud/bigquery/storage/v1bet" - + "a1;storageb\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(\tBy\n)com.google.cloud.bigquery.sto" + + "rage.v1beta1ZLgoogle.golang.org/genproto" + + "/googleapis/cloud/bigquery/storage/v1bet" + + "a1;storageb\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/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/Storage.java b/owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/Storage.java similarity index 66% rename from proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/Storage.java rename to owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/Storage.java index b937780cad..58f15fce3c 100644 --- a/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/Storage.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/Storage.java @@ -1,18 +1,3 @@ -/* - * Copyright 2020 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 @@ -20,25 +5,25 @@ public final class Storage { private Storage() {} + public static void 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 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.
      * 
@@ -47,8 +32,6 @@ public enum DataFormat implements com.google.protobuf.ProtocolMessageEnum { */ DATA_FORMAT_UNSPECIFIED(0), /** - * - * *
      * Avro is a standard open source row based file format.
      * See https://avro.apache.org/ for more details.
@@ -57,14 +40,14 @@ public enum DataFormat implements com.google.protobuf.ProtocolMessageEnum {
      * AVRO = 1;
      */
     AVRO(1),
-    /** ARROW = 3; */
+    /**
+     * ARROW = 3;
+     */
     ARROW(3),
     UNRECOGNIZED(-1),
     ;
 
     /**
-     *
-     *
      * 
      * Data format is unspecified.
      * 
@@ -73,8 +56,6 @@ public enum DataFormat implements com.google.protobuf.ProtocolMessageEnum { */ 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.
@@ -83,9 +64,12 @@ public enum DataFormat implements com.google.protobuf.ProtocolMessageEnum {
      * AVRO = 1;
      */
     public static final int AVRO_VALUE = 1;
-    /** ARROW = 3; */
+    /**
+     * ARROW = 3;
+     */
     public static final int ARROW_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -110,51 +94,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 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);
+            }
+          };
 
-    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() {
+    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;
@@ -172,18 +154,15 @@ 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.
      * 
@@ -192,8 +171,6 @@ public enum ShardingStrategy implements com.google.protobuf.ProtocolMessageEnum */ 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
@@ -205,8 +182,6 @@ public enum ShardingStrategy implements com.google.protobuf.ProtocolMessageEnum
      */
     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
@@ -223,8 +198,6 @@ public enum ShardingStrategy implements com.google.protobuf.ProtocolMessageEnum
     ;
 
     /**
-     *
-     *
      * 
      * Same as LIQUID.
      * 
@@ -233,8 +206,6 @@ public enum ShardingStrategy implements com.google.protobuf.ProtocolMessageEnum */ 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
@@ -246,8 +217,6 @@ public enum ShardingStrategy implements com.google.protobuf.ProtocolMessageEnum
      */
     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
@@ -261,6 +230,7 @@ public enum ShardingStrategy implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int BALANCED_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -285,45 +255,40 @@ 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);
+            }
+          };
 
-    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() {
+    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();
@@ -331,7 +296,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
     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;
@@ -348,72 +314,64 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Stream( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -432,59 +390,53 @@ private Stream( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -493,30 +445,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 { @@ -525,7 +477,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -537,7 +488,8 @@ 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 (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -561,15 +513,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -589,94 +541,87 @@ 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 @@ -686,32 +631,27 @@ 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() @@ -719,15 +659,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -737,9 +678,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 @@ -758,8 +699,7 @@ 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); + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream result = new com.google.cloud.bigquery.storage.v1beta1.Storage.Stream(this); result.name_ = name_; onBuilt(); return result; @@ -769,41 +709,38 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream buildPartial() { 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; @@ -811,8 +748,7 @@ 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_; onChanged(); @@ -836,8 +772,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1beta1.Storage.Stream) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1beta1.Storage.Stream) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -849,21 +784,19 @@ public Builder mergeFrom( 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; @@ -872,22 +805,21 @@ 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 { @@ -895,69 +827,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); onChanged(); 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -970,12 +894,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(); } @@ -984,16 +908,16 @@ 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 { - return new Stream(input, extensionRegistry); - } - }; + 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 { + return new Stream(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1008,40 +932,32 @@ 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.
      * 
@@ -1051,50 +967,46 @@ public interface StreamPositionOrBuilder 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private StreamPosition( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1113,73 +1025,64 @@ private StreamPosition( case 0: done = true; break; - case 10: - { - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder subBuilder = null; - if (stream_ != null) { - subBuilder = stream_.toBuilder(); - } - stream_ = - input.readMessage( - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(stream_); - stream_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder subBuilder = null; + if (stream_ != null) { + subBuilder = stream_.toBuilder(); } - case 16: - { - offset_ = input.readInt64(); - break; + stream_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(stream_); + stream_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 16: { + + offset_ = input.readInt64(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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 @@ -1187,25 +1090,18 @@ 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.
      * 
@@ -1220,14 +1116,11 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getStre public static final int OFFSET_FIELD_NUMBER = 2; private long offset_; /** - * - * *
      * Position in the stream.
      * 
* * int64 offset = 2; - * * @return The offset. */ @java.lang.Override @@ -1236,7 +1129,6 @@ public long getOffset() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1248,7 +1140,8 @@ 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()); } @@ -1265,10 +1158,12 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1278,19 +1173,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1307,102 +1203,95 @@ 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) + unknownFields.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 @@ -1412,49 +1301,44 @@ 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() + // Construct using com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1470,16 +1354,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_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 @@ -1493,8 +1375,7 @@ 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); + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition result = new com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition(this); if (streamBuilder_ == null) { result.stream_ = stream_; } else { @@ -1509,53 +1390,46 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition buildPar 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()); } @@ -1581,9 +1455,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1595,47 +1467,34 @@ public Builder mergeFrom( 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 streamBuilder_ != null || stream_ != null; } /** - * - * *
        * 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.
        * 
@@ -1656,8 +1515,6 @@ public Builder setStream(com.google.cloud.bigquery.storage.v1beta1.Storage.Strea return this; } /** - * - * *
        * Identifier for a given Stream.
        * 
@@ -1676,8 +1533,6 @@ public Builder setStream( return this; } /** - * - * *
        * Identifier for a given Stream.
        * 
@@ -1688,9 +1543,7 @@ public Builder mergeStream(com.google.cloud.bigquery.storage.v1beta1.Storage.Str if (streamBuilder_ == null) { if (stream_ != null) { stream_ = - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.newBuilder(stream_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.newBuilder(stream_).mergeFrom(value).buildPartial(); } else { stream_ = value; } @@ -1702,8 +1555,6 @@ public Builder mergeStream(com.google.cloud.bigquery.storage.v1beta1.Storage.Str return this; } /** - * - * *
        * Identifier for a given Stream.
        * 
@@ -1722,8 +1573,6 @@ public Builder clearStream() { return this; } /** - * - * *
        * Identifier for a given Stream.
        * 
@@ -1731,32 +1580,26 @@ public Builder clearStream() { * .google.cloud.bigquery.storage.v1beta1.Stream stream = 1; */ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder getStreamBuilder() { - + onChanged(); 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.
        * 
@@ -1764,32 +1607,26 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder getStrea * .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 @@ -1797,41 +1634,34 @@ public long getOffset() { return offset_; } /** - * - * *
        * Position in the stream.
        * 
* * int64 offset = 2; - * * @param value The offset to set. * @return This builder for chaining. */ public Builder setOffset(long value) { - + offset_ = value; onChanged(); return this; } /** - * - * *
        * Position in the stream.
        * 
* * int64 offset = 2; - * * @return This builder for chaining. */ public Builder clearOffset() { - + offset_ = 0L; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1844,32 +1674,30 @@ 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 { - return new StreamPosition(input, extensionRegistry); - } - }; + 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 { + return new StreamPosition(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1881,73 +1709,59 @@ 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.
@@ -1958,90 +1772,69 @@ public interface ReadSessionOrBuilder
     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.
      * 
@@ -2050,8 +1843,6 @@ public interface ReadSessionOrBuilder */ com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getStreams(int index); /** - * - * *
      * Streams associated with this session.
      * 
@@ -2060,19 +1851,15 @@ public interface ReadSessionOrBuilder */ 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.
      * 
@@ -2083,100 +1870,74 @@ 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(); @@ -2184,24 +1945,21 @@ com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getStreamsOrBu public 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(); @@ -2210,15 +1968,16 @@ private ReadSession() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReadSession(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ReadSession( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2238,142 +1997,108 @@ private ReadSession( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (expireTime_ != null) { + subBuilder = expireTime_.toBuilder(); + } + expireTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(expireTime_); + expireTime_ = subBuilder.buildPartial(); + } - name_ = s; - break; + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + streams_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (expireTime_ != null) { - subBuilder = expireTime_.toBuilder(); - } - expireTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(expireTime_); - expireTime_ = subBuilder.buildPartial(); - } - - break; + streams_.add( + input.readMessage(com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.parser(), extensionRegistry)); + break; + } + case 42: { + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.Builder subBuilder = null; + if (schemaCase_ == 5) { + subBuilder = ((com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) schema_).toBuilder(); } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - streams_ = - new java.util.ArrayList< - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream>(); - mutable_bitField0_ |= 0x00000001; - } - streams_.add( - input.readMessage( - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.parser(), - extensionRegistry)); - break; + schema_ = + input.readMessage(com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) schema_); + schema_ = subBuilder.buildPartial(); } - case 42: - { - com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.Builder subBuilder = - null; - if (schemaCase_ == 5) { - subBuilder = - ((com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) schema_) - .toBuilder(); - } - schema_ = - input.readMessage( - com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) schema_); - schema_ = subBuilder.buildPartial(); - } - schemaCase_ = 5; - break; + schemaCase_ = 5; + break; + } + case 50: { + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.Builder subBuilder = null; + if (schemaCase_ == 6) { + subBuilder = ((com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) schema_).toBuilder(); } - case 50: - { - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.Builder - subBuilder = null; - if (schemaCase_ == 6) { - subBuilder = - ((com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) schema_) - .toBuilder(); - } - schema_ = - input.readMessage( - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) schema_); - schema_ = subBuilder.buildPartial(); - } - schemaCase_ = 6; - break; + schema_ = + input.readMessage(com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) schema_); + schema_ = subBuilder.buildPartial(); } - case 58: - { - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.Builder - subBuilder = null; - if (tableReference_ != null) { - subBuilder = tableReference_.toBuilder(); - } - tableReference_ = - input.readMessage( - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tableReference_); - tableReference_ = subBuilder.buildPartial(); - } - - break; + schemaCase_ = 6; + break; + } + case 58: { + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.Builder subBuilder = null; + if (tableReference_ != null) { + subBuilder = tableReference_.toBuilder(); } - case 66: - { - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.Builder - subBuilder = null; - if (tableModifiers_ != null) { - subBuilder = tableModifiers_.toBuilder(); - } - tableModifiers_ = - input.readMessage( - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tableModifiers_); - tableModifiers_ = subBuilder.buildPartial(); - } - - break; + tableReference_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tableReference_); + tableReference_ = subBuilder.buildPartial(); } - case 72: - { - int rawValue = input.readEnum(); - shardingStrategy_ = rawValue; - break; + break; + } + case 66: { + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.Builder subBuilder = null; + if (tableModifiers_ != null) { + subBuilder = tableModifiers_.toBuilder(); + } + tableModifiers_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tableModifiers_); + tableModifiers_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 72: { + int rawValue = input.readEnum(); + + shardingStrategy_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { streams_ = java.util.Collections.unmodifiableList(streams_); @@ -2382,34 +2107,28 @@ private ReadSession( makeExtensionsImmutable(); } } - - 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; 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; } @@ -2425,38 +2144,32 @@ 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; 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 @@ -2465,30 +2178,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 { @@ -2499,15 +2212,12 @@ public com.google.protobuf.ByteString getNameBytes() { 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 @@ -2515,15 +2225,12 @@ 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 @@ -2531,8 +2238,6 @@ 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.
@@ -2547,14 +2252,11 @@ 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 @@ -2562,26 +2264,21 @@ 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.
      * 
@@ -2589,24 +2286,20 @@ 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 @@ -2614,26 +2307,21 @@ 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.
      * 
@@ -2641,10 +2329,9 @@ 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(); } @@ -2652,8 +2339,6 @@ public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema getArrow public static final int STREAMS_FIELD_NUMBER = 4; private java.util.List streams_; /** - * - * *
      * Streams associated with this session.
      * 
@@ -2661,13 +2346,10 @@ public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema getArrow * 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.
      * 
@@ -2675,14 +2357,11 @@ public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema getArrow * repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 4; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder> + public java.util.List getStreamsOrBuilderList() { return streams_; } /** - * - * *
      * Streams associated with this session.
      * 
@@ -2694,8 +2373,6 @@ public int getStreamsCount() { return streams_.size(); } /** - * - * *
      * Streams associated with this session.
      * 
@@ -2707,8 +2384,6 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getStreams(int i return streams_.get(index); } /** - * - * *
      * Streams associated with this session.
      * 
@@ -2722,17 +2397,13 @@ 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 @@ -2740,27 +2411,18 @@ 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.
      * 
@@ -2768,23 +2430,18 @@ public boolean hasTableReference() { * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 7; */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReferenceOrBuilder - getTableReferenceOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReferenceOrBuilder getTableReferenceOrBuilder() { return getTableReference(); } 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 @@ -2792,27 +2449,18 @@ 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.
      * 
@@ -2820,53 +2468,38 @@ public boolean hasTableModifiers() { * .google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 8; */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiersOrBuilder - getTableModifiersOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiersOrBuilder getTableModifiersOrBuilder() { return getTableModifiers(); } public static final int SHARDING_STRATEGY_FIELD_NUMBER = 9; private int shardingStrategy_; /** - * - * *
      * 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() { + @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy getShardingStrategy() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy result = - com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.valueOf( - shardingStrategy_); - return result == null - ? com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.UNRECOGNIZED - : result; + com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy result = com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.valueOf(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; @@ -2878,7 +2511,8 @@ 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 (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -2889,12 +2523,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io 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()); @@ -2902,10 +2534,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io 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_); } unknownFields.writeTo(output); @@ -2921,32 +2550,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2956,36 +2585,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.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: @@ -3039,94 +2674,87 @@ 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 @@ -3136,32 +2764,27 @@ 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() @@ -3169,17 +2792,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getStreamsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -3217,14 +2840,13 @@ 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(); } @@ -3239,8 +2861,7 @@ 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); int from_bitField0_ = bitField0_; result.name_ = name_; if (expireTimeBuilder_ == null) { @@ -3291,52 +2912,46 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession buildPartia 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_; onChanged(); @@ -3362,10 +2977,9 @@ public Builder mergeFrom( 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_); } @@ -3381,20 +2995,17 @@ public Builder mergeFrom( 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.unknownFields); onChanged(); @@ -3415,9 +3026,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3426,12 +3035,12 @@ public Builder mergeFrom( } 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() { @@ -3445,21 +3054,19 @@ 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; @@ -3468,22 +3075,21 @@ 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 { @@ -3491,64 +3097,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); onChanged(); 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -3556,49 +3155,36 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { 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 expireTimeBuilder_ != null || 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. */ 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.
@@ -3620,8 +3206,6 @@ 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.
@@ -3629,7 +3213,8 @@ 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();
           onChanged();
@@ -3640,8 +3225,6 @@ public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForVal
         return this;
       }
       /**
-       *
-       *
        * 
        * Time at which the session becomes invalid. After this time, subsequent
        * requests to read this Session will return errors.
@@ -3653,9 +3236,7 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) {
         if (expireTimeBuilder_ == null) {
           if (expireTime_ != null) {
             expireTime_ =
-                com.google.protobuf.Timestamp.newBuilder(expireTime_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial();
           } else {
             expireTime_ = value;
           }
@@ -3667,8 +3248,6 @@ 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.
@@ -3688,8 +3267,6 @@ public Builder clearExpireTime() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Time at which the session becomes invalid. After this time, subsequent
        * requests to read this Session will return errors.
@@ -3698,13 +3275,11 @@ public Builder clearExpireTime() {
        * .google.protobuf.Timestamp expire_time = 2;
        */
       public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() {
-
+        
         onChanged();
         return getExpireTimeFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Time at which the session becomes invalid. After this time, subsequent
        * requests to read this Session will return errors.
@@ -3716,14 +3291,11 @@ 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.
@@ -3732,36 +3304,27 @@ 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 @@ -3769,14 +3332,11 @@ public boolean hasAvroSchema() { return schemaCase_ == 5; } /** - * - * *
        * Avro schema.
        * 
* * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 5; - * * @return The avroSchema. */ @java.lang.Override @@ -3785,27 +3345,22 @@ 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(); @@ -3819,8 +3374,6 @@ public Builder setAvroSchema( return this; } /** - * - * *
        * Avro schema.
        * 
@@ -3839,26 +3392,18 @@ 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; } @@ -3873,8 +3418,6 @@ public Builder mergeAvroSchema( return this; } /** - * - * *
        * Avro schema.
        * 
@@ -3898,21 +3441,16 @@ 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.
        * 
@@ -3920,21 +3458,17 @@ public Builder clearAvroSchema() { * .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.
        * 
@@ -3942,45 +3476,32 @@ public Builder clearAvroSchema() { * .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()); schema_ = null; } schemaCase_ = 5; - onChanged(); - ; + onChanged();; return avroSchemaBuilder_; } 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 @@ -3988,14 +3509,11 @@ public boolean hasArrowSchema() { return schemaCase_ == 6; } /** - * - * *
        * Arrow schema.
        * 
* * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 6; - * * @return The arrowSchema. */ @java.lang.Override @@ -4004,27 +3522,22 @@ 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(); @@ -4038,8 +3551,6 @@ public Builder setArrowSchema( return this; } /** - * - * *
        * Arrow schema.
        * 
@@ -4047,8 +3558,7 @@ public Builder setArrowSchema( * .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(); @@ -4059,26 +3569,18 @@ 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; } @@ -4093,8 +3595,6 @@ public Builder mergeArrowSchema( return this; } /** - * - * *
        * Arrow schema.
        * 
@@ -4118,21 +3618,16 @@ 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.
        * 
@@ -4140,21 +3635,17 @@ public Builder clearArrowSchema() { * .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.
        * 
@@ -4162,61 +3653,44 @@ public Builder clearArrowSchema() { * .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()); schema_ = null; } schemaCase_ = 6; - onChanged(); - ; + onChanged();; return arrowSchemaBuilder_; } 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_; /** - * - * *
        * 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 { @@ -4224,8 +3698,6 @@ private void ensureStreamsIsMutable() { } } /** - * - * *
        * Streams associated with this session.
        * 
@@ -4240,8 +3712,6 @@ public int getStreamsCount() { } } /** - * - * *
        * Streams associated with this session.
        * 
@@ -4256,8 +3726,6 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getStreams(int i } } /** - * - * *
        * Streams associated with this session.
        * 
@@ -4279,8 +3747,6 @@ public Builder setStreams( return this; } /** - * - * *
        * Streams associated with this session.
        * 
@@ -4288,8 +3754,7 @@ 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()); @@ -4300,8 +3765,6 @@ public Builder setStreams( return this; } /** - * - * *
        * Streams associated with this session.
        * 
@@ -4322,8 +3785,6 @@ public Builder addStreams(com.google.cloud.bigquery.storage.v1beta1.Storage.Stre return this; } /** - * - * *
        * Streams associated with this session.
        * 
@@ -4345,8 +3806,6 @@ public Builder addStreams( return this; } /** - * - * *
        * Streams associated with this session.
        * 
@@ -4365,8 +3824,6 @@ public Builder addStreams( return this; } /** - * - * *
        * Streams associated with this session.
        * 
@@ -4374,8 +3831,7 @@ 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()); @@ -4386,8 +3842,6 @@ public Builder addStreams( return this; } /** - * - * *
        * Streams associated with this session.
        * 
@@ -4395,11 +3849,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); @@ -4407,8 +3861,6 @@ public Builder addAllStreams( return this; } /** - * - * *
        * Streams associated with this session.
        * 
@@ -4426,8 +3878,6 @@ public Builder clearStreams() { return this; } /** - * - * *
        * Streams associated with this session.
        * 
@@ -4445,8 +3895,6 @@ public Builder removeStreams(int index) { return this; } /** - * - * *
        * Streams associated with this session.
        * 
@@ -4458,8 +3906,6 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder getStrea return getStreamsFieldBuilder().getBuilder(index); } /** - * - * *
        * Streams associated with this session.
        * 
@@ -4469,23 +3915,19 @@ 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< - ? extends com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder> - getStreamsOrBuilderList() { + public java.util.List + getStreamsOrBuilderList() { if (streamsBuilder_ != null) { return streamsBuilder_.getMessageOrBuilderList(); } else { @@ -4493,8 +3935,6 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getStre } } /** - * - * *
        * Streams associated with this session.
        * 
@@ -4502,13 +3942,10 @@ 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.
        * 
@@ -4517,96 +3954,72 @@ 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_ & 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_; } - 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 tableReferenceBuilder_ != null || tableReference_ != null; } /** - * - * *
        * 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(); @@ -4620,8 +4033,6 @@ public Builder setTableReference( return this; } /** - * - * *
        * Table that this ReadSession is reading from.
        * 
@@ -4629,8 +4040,7 @@ public Builder setTableReference( * .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(); onChanged(); @@ -4641,23 +4051,17 @@ 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 (tableReference_ != null) { tableReference_ = - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference - .newBuilder(tableReference_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.newBuilder(tableReference_).mergeFrom(value).buildPartial(); } else { tableReference_ = value; } @@ -4669,8 +4073,6 @@ public Builder mergeTableReference( return this; } /** - * - * *
        * Table that this ReadSession is reading from.
        * 
@@ -4689,43 +4091,33 @@ 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() { + 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.
        * 
@@ -4733,78 +4125,56 @@ public Builder clearTableReference() { * .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 tableModifiersBuilder_ != null || 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. */ - 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(); @@ -4818,8 +4188,6 @@ public Builder setTableModifiers( return this; } /** - * - * *
        * Any modifiers which are applied when reading from the specified table.
        * 
@@ -4827,8 +4195,7 @@ public Builder setTableModifiers( * .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(); onChanged(); @@ -4839,23 +4206,17 @@ 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 (tableModifiers_ != null) { tableModifiers_ = - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers - .newBuilder(tableModifiers_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.newBuilder(tableModifiers_).mergeFrom(value).buildPartial(); } else { tableModifiers_ = value; } @@ -4867,8 +4228,6 @@ public Builder mergeTableModifiers( return this; } /** - * - * *
        * Any modifiers which are applied when reading from the specified table.
        * 
@@ -4887,43 +4246,33 @@ 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() { + 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.
        * 
@@ -4931,19 +4280,14 @@ public Builder clearTableModifiers() { * .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_; @@ -4951,100 +4295,77 @@ public Builder clearTableModifiers() { 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. */ public Builder setShardingStrategyValue(int value) { - + shardingStrategy_ = value; onChanged(); 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() { + public com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy getShardingStrategy() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy result = - com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.valueOf( - shardingStrategy_); - return result == null - ? com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.UNRECOGNIZED - : result; + com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy result = com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.valueOf(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(); } - + shardingStrategy_ = value.getNumber(); onChanged(); 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() { - + shardingStrategy_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5057,32 +4378,30 @@ 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 { - return new ReadSession(input, extensionRegistry); - } - }; + 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 { + return new ReadSession(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5094,133 +4413,95 @@ 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
@@ -5231,102 +4512,78 @@ public interface CreateReadSessionRequestOrBuilder
      * 
* * 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.
      * 
* * .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.
      * 
* * .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.
@@ -5334,16 +4591,15 @@ public interface CreateReadSessionRequestOrBuilder
    *
    * 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;
@@ -5352,15 +4608,16 @@ private CreateReadSessionRequest() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new CreateReadSessionRequest();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private CreateReadSessionRequest(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -5379,138 +4636,108 @@ private CreateReadSessionRequest(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.Builder
-                    subBuilder = null;
-                if (tableReference_ != null) {
-                  subBuilder = tableReference_.toBuilder();
-                }
-                tableReference_ =
-                    input.readMessage(
-                        com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference
-                            .parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(tableReference_);
-                  tableReference_ = subBuilder.buildPartial();
-                }
-
-                break;
-              }
-            case 18:
-              {
-                com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.Builder
-                    subBuilder = null;
-                if (tableModifiers_ != null) {
-                  subBuilder = tableModifiers_.toBuilder();
-                }
-                tableModifiers_ =
-                    input.readMessage(
-                        com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers
-                            .parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(tableModifiers_);
-                  tableModifiers_ = subBuilder.buildPartial();
-                }
-
-                break;
+            case 10: {
+              com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.Builder subBuilder = null;
+              if (tableReference_ != null) {
+                subBuilder = tableReference_.toBuilder();
               }
-            case 24:
-              {
-                requestedStreams_ = input.readInt32();
-                break;
+              tableReference_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(tableReference_);
+                tableReference_ = subBuilder.buildPartial();
               }
-            case 34:
-              {
-                com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.Builder
-                    subBuilder = null;
-                if (readOptions_ != null) {
-                  subBuilder = readOptions_.toBuilder();
-                }
-                readOptions_ =
-                    input.readMessage(
-                        com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions
-                            .parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(readOptions_);
-                  readOptions_ = subBuilder.buildPartial();
-                }
-
-                break;
-              }
-            case 40:
-              {
-                int rawValue = input.readEnum();
 
-                format_ = rawValue;
-                break;
+              break;
+            }
+            case 18: {
+              com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.Builder subBuilder = null;
+              if (tableModifiers_ != null) {
+                subBuilder = tableModifiers_.toBuilder();
               }
-            case 50:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-
-                parent_ = s;
-                break;
+              tableModifiers_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(tableModifiers_);
+                tableModifiers_ = subBuilder.buildPartial();
               }
-            case 56:
-              {
-                int rawValue = input.readEnum();
 
-                shardingStrategy_ = rawValue;
-                break;
+              break;
+            }
+            case 24: {
+
+              requestedStreams_ = input.readInt32();
+              break;
+            }
+            case 34: {
+              com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.Builder subBuilder = null;
+              if (readOptions_ != null) {
+                subBuilder = readOptions_.toBuilder();
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              readOptions_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(readOptions_);
+                readOptions_ = subBuilder.buildPartial();
               }
-          }
-        }
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(this);
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+
+              break;
+            }
+            case 40: {
+              int rawValue = input.readEnum();
+
+              format_ = rawValue;
+              break;
+            }
+            case 50: {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              parent_ = s;
+              break;
+            }
+            case 56: {
+              int rawValue = input.readEnum();
+
+              shardingStrategy_ = rawValue;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
+            }
+          }
+        }
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(this);
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    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 @@ -5518,58 +4745,39 @@ 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() { + public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReferenceOrBuilder getTableReferenceOrBuilder() { return getTableReference(); } public static final int PARENT_FIELD_NUMBER = 6; 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 @@ -5578,33 +4786,31 @@ 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 { @@ -5613,17 +4819,13 @@ public com.google.protobuf.ByteString getParentBytes() { } 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 @@ -5631,27 +4833,18 @@ 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).
      * 
@@ -5659,16 +4852,13 @@ public boolean hasTableModifiers() { * .google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 2; */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiersOrBuilder - getTableModifiersOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiersOrBuilder getTableModifiersOrBuilder() { return getTableModifiers(); } public static final int REQUESTED_STREAMS_FIELD_NUMBER = 3; 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
@@ -5679,7 +4869,6 @@ public boolean hasTableModifiers() {
      * 
* * int32 requested_streams = 3; - * * @return The requestedStreams. */ @java.lang.Override @@ -5690,14 +4879,11 @@ 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 @@ -5705,26 +4891,18 @@ 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).
      * 
@@ -5732,93 +4910,67 @@ 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() { + public com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptionsOrBuilder getReadOptionsOrBuilder() { return getReadOptions(); } public static final int FORMAT_FIELD_NUMBER = 5; private int format_; /** - * - * *
      * Data output format. Currently default to Avro.
      * 
* * .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.
      * 
* * .google.cloud.bigquery.storage.v1beta1.DataFormat format = 5; - * * @return The format. */ - @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat getFormat() { + @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat getFormat() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat result = - com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat.valueOf(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.valueOf(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_; /** - * - * *
      * 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() { + @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy getShardingStrategy() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy result = - com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.valueOf( - shardingStrategy_); - return result == null - ? com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.UNRECOGNIZED - : result; + com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy result = com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.valueOf(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; @@ -5830,7 +4982,8 @@ 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()); } @@ -5843,18 +4996,13 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io 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 (!getParentBytes().isEmpty()) { 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_); } unknownFields.writeTo(output); @@ -5867,30 +5015,31 @@ 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 (!getParentBytes().isEmpty()) { 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -5900,28 +5049,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.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; @@ -5961,101 +5113,88 @@ 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 @@ -6065,8 +5204,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Creates a new read session, which may include additional options such as
      * requested parallelism, projection filters and constraints.
@@ -6074,42 +5211,38 @@ 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()
+      // Construct using com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -6143,22 +5276,19 @@ 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);
         }
@@ -6166,10 +5296,8 @@ 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);
+      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 (tableReferenceBuilder_ == null) {
           result.tableReference_ = tableReference_;
         } else {
@@ -6197,54 +5325,46 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionReques
       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());
         }
@@ -6282,14 +5402,11 @@ public Builder mergeFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest parsedMessage =
-            null;
+        com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest parsedMessage = null;
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -6299,66 +5416,43 @@ public Builder mergeFrom(
         return this;
       }
 
-      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 tableReferenceBuilder_ != null || 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. */ - 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(); @@ -6372,19 +5466,14 @@ 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 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(); onChanged(); @@ -6395,25 +5484,17 @@ 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 (tableReference_ != null) { tableReference_ = - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference - .newBuilder(tableReference_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.newBuilder(tableReference_).mergeFrom(value).buildPartial(); } else { tableReference_ = value; } @@ -6425,15 +5506,11 @@ public Builder mergeTableReference( 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() { if (tableReferenceBuilder_ == null) { @@ -6447,69 +5524,48 @@ 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() { + 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_; @@ -6517,24 +5573,20 @@ public Builder clearTableReference() { 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; @@ -6543,25 +5595,22 @@ 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 { @@ -6569,132 +5618,102 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
        * 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); 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 tableModifiersBuilder_ != null || tableModifiers_ != null; } /** - * - * *
        * 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(); @@ -6708,8 +5727,6 @@ public Builder setTableModifiers( return this; } /** - * - * *
        * Any modifiers to the Table (e.g. snapshot timestamp).
        * 
@@ -6717,8 +5734,7 @@ public Builder setTableModifiers( * .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(); onChanged(); @@ -6729,23 +5745,17 @@ 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 (tableModifiers_ != null) { tableModifiers_ = - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers - .newBuilder(tableModifiers_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.newBuilder(tableModifiers_).mergeFrom(value).buildPartial(); } else { tableModifiers_ = value; } @@ -6757,8 +5767,6 @@ public Builder mergeTableModifiers( return this; } /** - * - * *
        * Any modifiers to the Table (e.g. snapshot timestamp).
        * 
@@ -6777,43 +5785,33 @@ 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() { + 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).
        * 
@@ -6821,28 +5819,21 @@ public Builder clearTableModifiers() { * .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
@@ -6853,7 +5844,6 @@ public Builder clearTableModifiers() {
        * 
* * int32 requested_streams = 3; - * * @return The requestedStreams. */ @java.lang.Override @@ -6861,8 +5851,6 @@ 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
@@ -6873,19 +5861,16 @@ public int getRequestedStreams() {
        * 
* * int32 requested_streams = 3; - * * @param value The requestedStreams to set. * @return This builder for chaining. */ public Builder setRequestedStreams(int value) { - + requestedStreams_ = value; onChanged(); 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
@@ -6896,11 +5881,10 @@ public Builder setRequestedStreams(int value) {
        * 
* * int32 requested_streams = 3; - * * @return This builder for chaining. */ public Builder clearRequestedStreams() { - + requestedStreams_ = 0; onChanged(); return this; @@ -6908,57 +5892,41 @@ 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 readOptionsBuilder_ != null || readOptions_ != null; } /** - * - * *
        * 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(); @@ -6972,8 +5940,6 @@ public Builder setReadOptions( return this; } /** - * - * *
        * Read options for this session (e.g. column selection, filters).
        * 
@@ -6981,8 +5947,7 @@ public Builder setReadOptions( * .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(); onChanged(); @@ -6993,23 +5958,17 @@ 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 (readOptions_ != null) { readOptions_ = - com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.newBuilder( - readOptions_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.newBuilder(readOptions_).mergeFrom(value).buildPartial(); } else { readOptions_ = value; } @@ -7021,8 +5980,6 @@ public Builder mergeReadOptions( return this; } /** - * - * *
        * Read options for this session (e.g. column selection, filters).
        * 
@@ -7041,43 +5998,33 @@ 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() { + 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).
        * 
@@ -7085,17 +6032,14 @@ public Builder clearReadOptions() { * .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_; @@ -7103,67 +6047,51 @@ public Builder clearReadOptions() { private int format_ = 0; /** - * - * *
        * Data output format. Currently default to Avro.
        * 
* * .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.
        * 
* * .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. */ public Builder setFormatValue(int value) { - + format_ = value; onChanged(); return this; } /** - * - * *
        * Data output format. Currently default to Avro.
        * 
* * .google.cloud.bigquery.storage.v1beta1.DataFormat format = 5; - * * @return The format. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat getFormat() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat result = - com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat.valueOf(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.valueOf(format_); + return result == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat.UNRECOGNIZED : result; } /** - * - * *
        * Data output format. Currently default to Avro.
        * 
* * .google.cloud.bigquery.storage.v1beta1.DataFormat format = 5; - * * @param value The format to set. * @return This builder for chaining. */ @@ -7171,24 +6099,21 @@ public Builder setFormat(com.google.cloud.bigquery.storage.v1beta1.Storage.DataF if (value == null) { throw new NullPointerException(); } - + format_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Data output format. Currently default to Avro.
        * 
* * .google.cloud.bigquery.storage.v1beta1.DataFormat format = 5; - * * @return This builder for chaining. */ public Builder clearFormat() { - + format_ = 0; onChanged(); return this; @@ -7196,105 +6121,82 @@ 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. */ public Builder setShardingStrategyValue(int value) { - + shardingStrategy_ = value; onChanged(); 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() { + public com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy getShardingStrategy() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy result = - com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.valueOf( - shardingStrategy_); - return result == null - ? com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.UNRECOGNIZED - : result; + com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy result = com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.valueOf(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(); } - + shardingStrategy_ = value.getNumber(); onChanged(); 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() { - + shardingStrategy_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7307,33 +6209,30 @@ 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 { - return new CreateReadSessionRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateReadSessionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7345,97 +6244,80 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ReadRowsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -7454,73 +6336,61 @@ private ReadRowsRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.Builder - subBuilder = null; - if (readPosition_ != null) { - subBuilder = readPosition_.toBuilder(); - } - readPosition_ = - input.readMessage( - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readPosition_); - readPosition_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.Builder subBuilder = null; + if (readPosition_ != null) { + subBuilder = readPosition_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + readPosition_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readPosition_); + readPosition_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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 @@ -7528,47 +6398,34 @@ 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() { + public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPositionOrBuilder getReadPositionOrBuilder() { return getReadPosition(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7580,7 +6437,8 @@ 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()); } @@ -7594,7 +6452,8 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -7604,17 +6463,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -7637,95 +6496,87 @@ 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 @@ -7735,49 +6586,44 @@ 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() + // Construct using com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -7791,16 +6637,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_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 @@ -7814,8 +6658,7 @@ 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); + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest result = new com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest(this); if (readPositionBuilder_ == null) { result.readPosition_ = readPosition_; } else { @@ -7829,53 +6672,46 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest buildPa 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()); } @@ -7898,9 +6734,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -7912,68 +6746,47 @@ public Builder mergeFrom( 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 readPositionBuilder_ != null || 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. */ 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(); @@ -7987,21 +6800,16 @@ 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 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(); onChanged(); @@ -8012,27 +6820,19 @@ 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 (readPosition_ != null) { readPosition_ = - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.newBuilder( - readPosition_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.newBuilder(readPosition_).mergeFrom(value).buildPartial(); } else { readPosition_ = value; } @@ -8044,17 +6844,13 @@ public Builder mergeReadPosition( 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() { if (readPositionBuilder_ == null) { @@ -8068,78 +6864,58 @@ 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() { + 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) { @@ -8152,32 +6928,30 @@ 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 { - return new ReadRowsRequest(input, extensionRegistry); - } - }; + 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 { + return new ReadRowsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8189,20 +6963,17 @@ 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
@@ -8210,14 +6981,11 @@ public interface StreamStatusOrBuilder
      * 
* * 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
@@ -8228,38 +6996,29 @@ public interface StreamStatusOrBuilder
      * 
* * 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.
      * 
@@ -8269,8 +7028,6 @@ public interface StreamStatusOrBuilder 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
@@ -8280,43 +7037,41 @@ public interface StreamStatusOrBuilder
      * 
* * 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private StreamStatus( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -8335,78 +7090,69 @@ private StreamStatus( case 0: done = true; break; - case 8: - { - estimatedRowCount_ = input.readInt64(); - break; - } - case 21: - { - fractionConsumed_ = input.readFloat(); - break; - } - case 24: - { - isSplittable_ = input.readBool(); - break; + case 8: { + + estimatedRowCount_ = input.readInt64(); + break; + } + case 21: { + + fractionConsumed_ = input.readFloat(); + break; + } + case 24: { + + isSplittable_ = input.readBool(); + break; + } + case 34: { + com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.Builder subBuilder = null; + if (progress_ != null) { + subBuilder = progress_.toBuilder(); } - case 34: - { - com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.Builder subBuilder = - null; - if (progress_ != null) { - subBuilder = progress_.toBuilder(); - } - progress_ = - input.readMessage( - com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(progress_); - progress_ = subBuilder.buildPartial(); - } - - break; + progress_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(progress_); + progress_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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_; /** - * - * *
      * 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
@@ -8414,7 +7160,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * int64 estimated_row_count = 1; - * * @return The estimatedRowCount. */ @java.lang.Override @@ -8425,8 +7170,6 @@ public long getEstimatedRowCount() { public static final int FRACTION_CONSUMED_FIELD_NUMBER = 2; 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
@@ -8437,7 +7180,6 @@ public long getEstimatedRowCount() {
      * 
* * float fraction_consumed = 2; - * * @return The fractionConsumed. */ @java.lang.Override @@ -8448,14 +7190,11 @@ 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 @@ -8463,25 +7202,18 @@ 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.
      * 
@@ -8489,16 +7221,13 @@ 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() { + public com.google.cloud.bigquery.storage.v1beta1.Storage.ProgressOrBuilder getProgressOrBuilder() { return getProgress(); } public static final int IS_SPLITTABLE_FIELD_NUMBER = 3; 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
@@ -8508,7 +7237,6 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Progress getProgress()
      * 
* * bool is_splittable = 3; - * * @return The isSplittable. */ @java.lang.Override @@ -8517,7 +7245,6 @@ public boolean getIsSplittable() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -8529,7 +7256,8 @@ 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_); } @@ -8552,16 +7280,20 @@ 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 (fractionConsumed_ != 0F) { - 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -8571,22 +7303,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -8599,109 +7334,105 @@ 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) + unknownFields.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 @@ -8711,32 +7442,27 @@ 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() @@ -8744,15 +7470,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -8772,14 +7499,13 @@ 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(); } @@ -8794,8 +7520,7 @@ 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); + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus result = new com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus(this); result.estimatedRowCount_ = estimatedRowCount_; result.fractionConsumed_ = fractionConsumed_; if (progressBuilder_ == null) { @@ -8812,52 +7537,46 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus buildParti 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()); } @@ -8889,9 +7608,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -8901,10 +7618,8 @@ public Builder mergeFrom( return this; } - 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
@@ -8912,7 +7627,6 @@ public Builder mergeFrom(
        * 
* * int64 estimated_row_count = 1; - * * @return The estimatedRowCount. */ @java.lang.Override @@ -8920,8 +7634,6 @@ 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
@@ -8929,19 +7641,16 @@ public long getEstimatedRowCount() {
        * 
* * int64 estimated_row_count = 1; - * * @param value The estimatedRowCount to set. * @return This builder for chaining. */ public Builder setEstimatedRowCount(long value) { - + estimatedRowCount_ = value; onChanged(); 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
@@ -8949,20 +7658,17 @@ public Builder setEstimatedRowCount(long value) {
        * 
* * int64 estimated_row_count = 1; - * * @return This builder for chaining. */ public Builder clearEstimatedRowCount() { - + estimatedRowCount_ = 0L; onChanged(); 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
@@ -8973,7 +7679,6 @@ public Builder clearEstimatedRowCount() {
        * 
* * float fraction_consumed = 2; - * * @return The fractionConsumed. */ @java.lang.Override @@ -8981,8 +7686,6 @@ 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
@@ -8993,19 +7696,16 @@ public float getFractionConsumed() {
        * 
* * float fraction_consumed = 2; - * * @param value The fractionConsumed to set. * @return This builder for chaining. */ public Builder setFractionConsumed(float value) { - + fractionConsumed_ = value; onChanged(); 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
@@ -9016,11 +7716,10 @@ public Builder setFractionConsumed(float value) {
        * 
* * float fraction_consumed = 2; - * * @return This builder for chaining. */ public Builder clearFractionConsumed() { - + fractionConsumed_ = 0F; onChanged(); return this; @@ -9028,47 +7727,34 @@ 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 progressBuilder_ != null || progress_ != null; } /** - * - * *
        * 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.
        * 
@@ -9089,8 +7775,6 @@ public Builder setProgress(com.google.cloud.bigquery.storage.v1beta1.Storage.Pro return this; } /** - * - * *
        * Represents the progress of the current stream.
        * 
@@ -9109,22 +7793,17 @@ 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 (progress_ != null) { progress_ = - com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.newBuilder(progress_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.newBuilder(progress_).mergeFrom(value).buildPartial(); } else { progress_ = value; } @@ -9136,8 +7815,6 @@ public Builder mergeProgress( return this; } /** - * - * *
        * Represents the progress of the current stream.
        * 
@@ -9156,42 +7833,33 @@ 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() { + 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.
        * 
@@ -9199,26 +7867,21 @@ public Builder clearProgress() { * .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
@@ -9228,7 +7891,6 @@ public Builder clearProgress() {
        * 
* * bool is_splittable = 3; - * * @return The isSplittable. */ @java.lang.Override @@ -9236,8 +7898,6 @@ 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
@@ -9247,19 +7907,16 @@ public boolean getIsSplittable() {
        * 
* * bool is_splittable = 3; - * * @param value The isSplittable to set. * @return This builder for chaining. */ public Builder setIsSplittable(boolean value) { - + isSplittable_ = value; onChanged(); 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
@@ -9269,16 +7926,14 @@ public Builder setIsSplittable(boolean value) {
        * 
* * bool is_splittable = 3; - * * @return This builder for chaining. */ public Builder clearIsSplittable() { - + isSplittable_ = false; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -9291,32 +7946,30 @@ 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 { - return new StreamStatus(input, extensionRegistry); - } - }; + 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 { + return new StreamStatus(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9328,20 +7981,17 @@ 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.
@@ -9355,49 +8005,48 @@ public interface ProgressOrBuilder
      * 
* * 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Progress( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -9416,55 +8065,51 @@ private Progress( case 0: done = true; break; - case 13: - { - atResponseStart_ = input.readFloat(); - break; - } - case 21: - { - atResponseEnd_ = input.readFloat(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 13: { + + atResponseStart_ = input.readFloat(); + break; + } + case 21: { + + atResponseEnd_ = input.readFloat(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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_; /** - * - * *
      * 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.
@@ -9478,7 +8123,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * float at_response_start = 1; - * * @return The atResponseStart. */ @java.lang.Override @@ -9489,15 +8133,12 @@ public float getAtResponseStart() { public static final int AT_RESPONSE_END_FIELD_NUMBER = 2; 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 @@ -9506,7 +8147,6 @@ public float getAtResponseEnd() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -9518,7 +8158,8 @@ 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 (atResponseStart_ != 0F) { output.writeFloat(1, atResponseStart_); } @@ -9535,10 +8176,12 @@ public int getSerializedSize() { size = 0; if (atResponseStart_ != 0F) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, atResponseStart_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(1, atResponseStart_); } if (atResponseEnd_ != 0F) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, atResponseEnd_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, atResponseEnd_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -9548,18 +8191,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -9572,103 +8216,98 @@ 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) + unknownFields.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 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 @@ -9677,25 +8316,24 @@ 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() @@ -9703,15 +8341,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -9723,14 +8362,13 @@ 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(); } @@ -9745,8 +8383,7 @@ 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); + com.google.cloud.bigquery.storage.v1beta1.Storage.Progress result = new com.google.cloud.bigquery.storage.v1beta1.Storage.Progress(this); result.atResponseStart_ = atResponseStart_; result.atResponseEnd_ = atResponseEnd_; onBuilt(); @@ -9757,41 +8394,38 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Progress buildPartial() 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; @@ -9799,9 +8433,7 @@ 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()); } @@ -9827,8 +8459,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1beta1.Storage.Progress) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1beta1.Storage.Progress) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -9838,10 +8469,8 @@ public Builder mergeFrom( return this; } - 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.
@@ -9855,7 +8484,6 @@ public Builder mergeFrom(
        * 
* * float at_response_start = 1; - * * @return The atResponseStart. */ @java.lang.Override @@ -9863,8 +8491,6 @@ 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.
@@ -9878,19 +8504,16 @@ public float getAtResponseStart() {
        * 
* * float at_response_start = 1; - * * @param value The atResponseStart to set. * @return This builder for chaining. */ public Builder setAtResponseStart(float value) { - + atResponseStart_ = value; onChanged(); 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.
@@ -9904,27 +8527,23 @@ public Builder setAtResponseStart(float value) {
        * 
* * float at_response_start = 1; - * * @return This builder for chaining. */ public Builder clearAtResponseStart() { - + atResponseStart_ = 0F; onChanged(); 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 @@ -9932,43 +8551,36 @@ 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. */ public Builder setAtResponseEnd(float value) { - + atResponseEnd_ = value; onChanged(); 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() { - + atResponseEnd_ = 0F; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -9981,13 +8593,12 @@ 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(); } @@ -9996,16 +8607,16 @@ 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 { - return new Progress(input, extensionRegistry); - } - }; + 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 { + return new Progress(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -10020,59 +8631,55 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ThrottleStatus( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -10091,57 +8698,52 @@ private ThrottleStatus( case 0: done = true; break; - case 8: - { - throttlePercent_ = input.readInt32(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 8: { + + throttlePercent_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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_; /** - * - * *
      * 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 @@ -10150,7 +8752,6 @@ public int getThrottlePercent() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -10162,7 +8763,8 @@ 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_); } @@ -10176,7 +8778,8 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -10186,15 +8789,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -10214,95 +8817,87 @@ 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 @@ -10312,49 +8907,44 @@ 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() + // Construct using com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -10364,16 +8954,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_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 @@ -10387,8 +8975,7 @@ 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); + com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus result = new com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus(this); result.throttlePercent_ = throttlePercent_; onBuilt(); return result; @@ -10398,53 +8985,46 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus buildPar 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()); } @@ -10467,9 +9047,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -10479,17 +9057,14 @@ public Builder mergeFrom( return this; } - 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 @@ -10497,43 +9072,36 @@ 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. */ public Builder setThrottlePercent(int value) { - + throttlePercent_ = value; onChanged(); 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() { - + throttlePercent_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -10546,32 +9114,30 @@ 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 { - return new ThrottleStatus(input, extensionRegistry); - } - }; + 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 { + return new ThrottleStatus(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -10583,44 +9149,35 @@ 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.
      * 
@@ -10630,44 +9187,33 @@ public interface ReadRowsResponseOrBuilder 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
@@ -10676,38 +9222,29 @@ public interface ReadRowsResponseOrBuilder
      * 
* * 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.
      * 
@@ -10717,34 +9254,26 @@ public interface ReadRowsResponseOrBuilder 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.
@@ -10752,15 +9281,11 @@ public interface ReadRowsResponseOrBuilder
      *
      * .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();
 
-    public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse.RowsCase
-        getRowsCase();
+    public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse.RowsCase getRowsCase();
   }
   /**
-   *
-   *
    * 
    * Response from calling `ReadRows` may include row data, progress and
    * throttling information.
@@ -10768,29 +9293,30 @@ public interface ReadRowsResponseOrBuilder
    *
    * 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();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private ReadRowsResponse(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -10809,138 +9335,106 @@ private ReadRowsResponse(
             case 0:
               done = true;
               break;
-            case 18:
-              {
-                com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus.Builder subBuilder =
-                    null;
-                if (status_ != null) {
-                  subBuilder = status_.toBuilder();
-                }
-                status_ =
-                    input.readMessage(
-                        com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(status_);
-                  status_ = subBuilder.buildPartial();
-                }
-
-                break;
+            case 18: {
+              com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus.Builder subBuilder = null;
+              if (status_ != null) {
+                subBuilder = status_.toBuilder();
+              }
+              status_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(status_);
+                status_ = subBuilder.buildPartial();
+              }
+
+              break;
+            }
+            case 26: {
+              com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows.Builder subBuilder = null;
+              if (rowsCase_ == 3) {
+                subBuilder = ((com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows) rows_).toBuilder();
               }
-            case 26:
-              {
-                com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows.Builder subBuilder =
-                    null;
-                if (rowsCase_ == 3) {
-                  subBuilder =
-                      ((com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows) rows_)
-                          .toBuilder();
-                }
-                rows_ =
-                    input.readMessage(
-                        com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(
-                      (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows) rows_);
-                  rows_ = subBuilder.buildPartial();
-                }
-                rowsCase_ = 3;
-                break;
+              rows_ =
+                  input.readMessage(com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows) rows_);
+                rows_ = subBuilder.buildPartial();
+              }
+              rowsCase_ = 3;
+              break;
+            }
+            case 34: {
+              com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch.Builder subBuilder = null;
+              if (rowsCase_ == 4) {
+                subBuilder = ((com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch) rows_).toBuilder();
               }
-            case 34:
-              {
-                com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch.Builder
-                    subBuilder = null;
-                if (rowsCase_ == 4) {
-                  subBuilder =
-                      ((com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch)
-                              rows_)
-                          .toBuilder();
-                }
-                rows_ =
-                    input.readMessage(
-                        com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch
-                            .parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(
-                      (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch)
-                          rows_);
-                  rows_ = subBuilder.buildPartial();
-                }
-                rowsCase_ = 4;
-                break;
+              rows_ =
+                  input.readMessage(com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch) rows_);
+                rows_ = subBuilder.buildPartial();
               }
-            case 42:
-              {
-                com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.Builder
-                    subBuilder = null;
-                if (throttleStatus_ != null) {
-                  subBuilder = throttleStatus_.toBuilder();
-                }
-                throttleStatus_ =
-                    input.readMessage(
-                        com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(throttleStatus_);
-                  throttleStatus_ = subBuilder.buildPartial();
-                }
-
-                break;
+              rowsCase_ = 4;
+              break;
+            }
+            case 42: {
+              com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.Builder subBuilder = null;
+              if (throttleStatus_ != null) {
+                subBuilder = throttleStatus_.toBuilder();
               }
-            case 48:
-              {
-                rowCount_ = input.readInt64();
-                break;
+              throttleStatus_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(throttleStatus_);
+                throttleStatus_ = subBuilder.buildPartial();
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+
+              break;
+            }
+            case 48: {
+
+              rowCount_ = input.readInt64();
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    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;
     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;
       }
@@ -10956,36 +9450,30 @@ 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_);
     }
 
     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 @@ -10993,26 +9481,21 @@ 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.
      * 
@@ -11020,24 +9503,20 @@ 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 @@ -11045,28 +9524,21 @@ 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.
      * 
@@ -11074,20 +9546,16 @@ public boolean hasArrowRecordBatch() { * .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_; /** - * - * *
      * 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
@@ -11096,7 +9564,6 @@ public boolean hasArrowRecordBatch() {
      * 
* * int64 row_count = 6; - * * @return The rowCount. */ @java.lang.Override @@ -11107,14 +9574,11 @@ 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 @@ -11122,25 +9586,18 @@ 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.
      * 
@@ -11148,23 +9605,19 @@ 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() { + public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatusOrBuilder getStatusOrBuilder() { return getStatus(); } 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 @@ -11172,26 +9625,19 @@ 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.
@@ -11200,13 +9646,11 @@ 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() {
+    public com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatusOrBuilder getThrottleStatusOrBuilder() {
       return getThrottleStatus();
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -11218,17 +9662,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 (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());
@@ -11246,23 +9689,24 @@ 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_);
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -11272,30 +9716,34 @@ 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:
@@ -11312,7 +9760,8 @@ 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();
@@ -11339,95 +9788,87 @@ 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
@@ -11437,8 +9878,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Response from calling `ReadRows` may include row data, progress and
      * throttling information.
@@ -11446,41 +9885,38 @@ 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()
+      // Construct using com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -11504,16 +9940,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_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
@@ -11527,8 +9961,7 @@ 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);
+        com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse result = new com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse(this);
         if (rowsCase_ == 3) {
           if (avroRowsBuilder_ == null) {
             result.rows_ = rows_;
@@ -11563,53 +9996,46 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse buildP
       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());
         }
@@ -11620,20 +10046,17 @@ public Builder mergeFrom(
           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;
+          }
         }
         this.mergeUnknownFields(other.unknownFields);
         onChanged();
@@ -11654,9 +10077,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -11665,12 +10086,12 @@ public Builder mergeFrom(
         }
         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() {
@@ -11680,20 +10101,15 @@ public Builder clearRows() {
         return this;
       }
 
+
       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 @@ -11701,14 +10117,11 @@ 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 @@ -11726,16 +10139,13 @@ 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(); @@ -11749,8 +10159,6 @@ public Builder setAvroRows( return this; } /** - * - * *
        * Serialized row data in AVRO format.
        * 
@@ -11769,26 +10177,18 @@ 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; } @@ -11803,8 +10203,6 @@ public Builder mergeAvroRows( return this; } /** - * - * *
        * Serialized row data in AVRO format.
        * 
@@ -11828,21 +10226,16 @@ 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.
        * 
@@ -11850,8 +10243,7 @@ public Builder clearAvroRows() { * .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 { @@ -11862,8 +10254,6 @@ public Builder clearAvroRows() { } } /** - * - * *
        * Serialized row data in AVRO format.
        * 
@@ -11871,46 +10261,32 @@ public Builder clearAvroRows() { * .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()); rows_ = null; } rowsCase_ = 3; - onChanged(); - ; + onChanged();; return avroRowsBuilder_; } 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 @@ -11918,46 +10294,35 @@ 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(); @@ -11971,18 +10336,14 @@ 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 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(); @@ -11993,28 +10354,18 @@ 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; } @@ -12029,14 +10380,11 @@ public Builder mergeArrowRecordBatch( 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) { @@ -12055,83 +10403,61 @@ 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()); rows_ = null; } rowsCase_ = 4; - onChanged(); - ; + onChanged();; 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
@@ -12140,7 +10466,6 @@ public Builder clearArrowRecordBatch() {
        * 
* * int64 row_count = 6; - * * @return The rowCount. */ @java.lang.Override @@ -12148,8 +10473,6 @@ 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
@@ -12158,19 +10481,16 @@ public long getRowCount() {
        * 
* * int64 row_count = 6; - * * @param value The rowCount to set. * @return This builder for chaining. */ public Builder setRowCount(long value) { - + rowCount_ = value; onChanged(); 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
@@ -12179,11 +10499,10 @@ public Builder setRowCount(long value) {
        * 
* * int64 row_count = 6; - * * @return This builder for chaining. */ public Builder clearRowCount() { - + rowCount_ = 0L; onChanged(); return this; @@ -12191,55 +10510,41 @@ 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 statusBuilder_ != null || status_ != null; } /** - * - * *
        * 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(); @@ -12253,8 +10558,6 @@ public Builder setStatus( return this; } /** - * - * *
        * Estimated stream statistics.
        * 
@@ -12273,22 +10576,17 @@ 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 (status_ != null) { status_ = - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus.newBuilder(status_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } @@ -12300,8 +10598,6 @@ public Builder mergeStatus( return this; } /** - * - * *
        * Estimated stream statistics.
        * 
@@ -12320,42 +10616,33 @@ 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() { + 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.
        * 
@@ -12363,17 +10650,14 @@ public Builder clearStatus() { * .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_; @@ -12381,50 +10665,36 @@ public Builder clearStatus() { 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 throttleStatusBuilder_ != null || 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. */ 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.
@@ -12432,8 +10702,7 @@ 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();
@@ -12447,8 +10716,6 @@ public Builder setThrottleStatus(
         return this;
       }
       /**
-       *
-       *
        * 
        * Throttling status. If unset, the latest response still describes
        * the current throttling status.
@@ -12457,8 +10724,7 @@ public Builder setThrottleStatus(
        * .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();
           onChanged();
@@ -12469,8 +10735,6 @@ public Builder setThrottleStatus(
         return this;
       }
       /**
-       *
-       *
        * 
        * Throttling status. If unset, the latest response still describes
        * the current throttling status.
@@ -12478,15 +10742,11 @@ 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 (throttleStatus_ != null) {
             throttleStatus_ =
-                com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.newBuilder(
-                        throttleStatus_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.newBuilder(throttleStatus_).mergeFrom(value).buildPartial();
           } else {
             throttleStatus_ = value;
           }
@@ -12498,8 +10758,6 @@ public Builder mergeThrottleStatus(
         return this;
       }
       /**
-       *
-       *
        * 
        * Throttling status. If unset, the latest response still describes
        * the current throttling status.
@@ -12519,8 +10777,6 @@ public Builder clearThrottleStatus() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Throttling status. If unset, the latest response still describes
        * the current throttling status.
@@ -12528,15 +10784,12 @@ 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() {
+        
         onChanged();
         return getThrottleStatusFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Throttling status. If unset, the latest response still describes
        * the current throttling status.
@@ -12544,20 +10797,15 @@ public Builder clearThrottleStatus() {
        *
        * .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.
@@ -12566,22 +10814,18 @@ public Builder clearThrottleStatus() {
        * .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_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -12594,32 +10838,30 @@ 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 {
-            return new ReadRowsResponse(input, extensionRegistry);
-          }
-        };
+    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 {
+        return new ReadRowsResponse(input, extensionRegistry);
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -12631,64 +10873,47 @@ 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
@@ -12696,47 +10921,42 @@ public interface BatchCreateReadSessionStreamsRequestOrBuilder
      * 
* * 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private BatchCreateReadSessionStreamsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -12755,79 +10975,65 @@ private BatchCreateReadSessionStreamsRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.Builder subBuilder = - null; - if (session_ != null) { - subBuilder = session_.toBuilder(); - } - session_ = - input.readMessage( - com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(session_); - session_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.Builder subBuilder = null; + if (session_ != null) { + subBuilder = session_.toBuilder(); } - case 16: - { - requestedStreams_ = input.readInt32(); - break; + session_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(session_); + session_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 16: { + + requestedStreams_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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 @@ -12835,48 +11041,34 @@ 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() { + public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSessionOrBuilder getSessionOrBuilder() { return getSession(); } public static final int REQUESTED_STREAMS_FIELD_NUMBER = 2; private int requestedStreams_; /** - * - * *
      * Required. Number of new streams requested. Must be positive.
      * Number of added streams may be less than this, see CreateReadSessionRequest
@@ -12884,7 +11076,6 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession getSession(
      * 
* * int32 requested_streams = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The requestedStreams. */ @java.lang.Override @@ -12893,7 +11084,6 @@ public int getRequestedStreams() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -12905,7 +11095,8 @@ 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()); } @@ -12922,10 +11113,12 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -12935,22 +11128,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -12973,114 +11164,88 @@ 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 @@ -13090,54 +11255,45 @@ 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() + // Construct using com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -13153,23 +11309,19 @@ 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); } @@ -13177,12 +11329,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @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); + 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 (sessionBuilder_ == null) { result.session_ = session_; } else { @@ -13197,59 +11345,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { 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()); } @@ -13271,15 +11406,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest - parsedMessage = null; + com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1beta1.Storage - .BatchCreateReadSessionStreamsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -13291,64 +11422,44 @@ public Builder mergeFrom( 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 sessionBuilder_ != null || 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. */ 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(); @@ -13362,16 +11473,12 @@ 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 setSession( com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.Builder builderForValue) { @@ -13385,25 +11492,18 @@ 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 (session_ != null) { session_ = - com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.newBuilder(session_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.newBuilder(session_).mergeFrom(value).buildPartial(); } else { session_ = value; } @@ -13415,16 +11515,12 @@ public Builder mergeSession( 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() { if (sessionBuilder_ == null) { @@ -13438,78 +11534,58 @@ 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() { + 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
@@ -13517,7 +11593,6 @@ public Builder clearSession() {
        * 
* * int32 requested_streams = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The requestedStreams. */ @java.lang.Override @@ -13525,8 +11600,6 @@ 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
@@ -13534,19 +11607,16 @@ public int getRequestedStreams() {
        * 
* * int32 requested_streams = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The requestedStreams to set. * @return This builder for chaining. */ public Builder setRequestedStreams(int value) { - + requestedStreams_ = value; onChanged(); return this; } /** - * - * *
        * Required. Number of new streams requested. Must be positive.
        * Number of added streams may be less than this, see CreateReadSessionRequest
@@ -13554,16 +11624,14 @@ public Builder setRequestedStreams(int value) {
        * 
* * int32 requested_streams = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearRequestedStreams() { - + requestedStreams_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -13576,36 +11644,30 @@ 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 { - return new BatchCreateReadSessionStreamsRequest(input, extensionRegistry); - } - }; + 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 { + return new BatchCreateReadSessionStreamsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -13617,30 +11679,26 @@ 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.
      * 
@@ -13649,8 +11707,6 @@ public interface BatchCreateReadSessionStreamsResponseOrBuilder */ com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getStreams(int index); /** - * - * *
      * Newly added streams.
      * 
@@ -13659,19 +11715,15 @@ public interface BatchCreateReadSessionStreamsResponseOrBuilder */ int getStreamsCount(); /** - * - * *
      * Newly added streams.
      * 
* * repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 1; */ - java.util.List + java.util.List getStreamsOrBuilderList(); /** - * - * *
      * Newly added streams.
      * 
@@ -13682,43 +11734,38 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private BatchCreateReadSessionStreamsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -13738,33 +11785,29 @@ private BatchCreateReadSessionStreamsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - streams_ = - new java.util.ArrayList< - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream>(); - mutable_bitField0_ |= 0x00000001; - } - streams_.add( - input.readMessage( - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + streams_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + streams_.add( + input.readMessage(com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { streams_ = java.util.Collections.unmodifiableList(streams_); @@ -13773,29 +11816,22 @@ private BatchCreateReadSessionStreamsResponse( makeExtensionsImmutable(); } } - - 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; private java.util.List streams_; /** - * - * *
      * Newly added streams.
      * 
@@ -13803,13 +11839,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * 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.
      * 
@@ -13817,14 +11850,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder> + public java.util.List getStreamsOrBuilderList() { return streams_; } /** - * - * *
      * Newly added streams.
      * 
@@ -13836,8 +11866,6 @@ public int getStreamsCount() { return streams_.size(); } /** - * - * *
      * Newly added streams.
      * 
@@ -13849,8 +11877,6 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getStreams(int i return streams_.get(index); } /** - * - * *
      * Newly added streams.
      * 
@@ -13864,7 +11890,6 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getStre } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -13876,7 +11901,8 @@ 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)); } @@ -13890,7 +11916,8 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -13900,21 +11927,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 - .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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -13935,114 +11956,88 @@ 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 @@ -14052,56 +12047,46 @@ 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() + // Construct using com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getStreamsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -14115,23 +12100,19 @@ 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); } @@ -14139,12 +12120,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @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); int from_bitField0_ = bitField0_; if (streamsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -14163,59 +12140,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { 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()) { @@ -14234,10 +12198,9 @@ public Builder mergeFrom( 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_); } @@ -14258,15 +12221,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse - parsedMessage = null; + com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1beta1.Storage - .BatchCreateReadSessionStreamsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -14275,38 +12234,28 @@ public Builder mergeFrom( } 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 { @@ -14314,8 +12263,6 @@ private void ensureStreamsIsMutable() { } } /** - * - * *
        * Newly added streams.
        * 
@@ -14330,8 +12277,6 @@ public int getStreamsCount() { } } /** - * - * *
        * Newly added streams.
        * 
@@ -14346,8 +12291,6 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getStreams(int i } } /** - * - * *
        * Newly added streams.
        * 
@@ -14369,8 +12312,6 @@ public Builder setStreams( return this; } /** - * - * *
        * Newly added streams.
        * 
@@ -14378,8 +12319,7 @@ 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()); @@ -14390,8 +12330,6 @@ public Builder setStreams( return this; } /** - * - * *
        * Newly added streams.
        * 
@@ -14412,8 +12350,6 @@ public Builder addStreams(com.google.cloud.bigquery.storage.v1beta1.Storage.Stre return this; } /** - * - * *
        * Newly added streams.
        * 
@@ -14435,8 +12371,6 @@ public Builder addStreams( return this; } /** - * - * *
        * Newly added streams.
        * 
@@ -14455,8 +12389,6 @@ public Builder addStreams( return this; } /** - * - * *
        * Newly added streams.
        * 
@@ -14464,8 +12396,7 @@ 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()); @@ -14476,8 +12407,6 @@ public Builder addStreams( return this; } /** - * - * *
        * Newly added streams.
        * 
@@ -14485,11 +12414,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); @@ -14497,8 +12426,6 @@ public Builder addAllStreams( return this; } /** - * - * *
        * Newly added streams.
        * 
@@ -14516,8 +12443,6 @@ public Builder clearStreams() { return this; } /** - * - * *
        * Newly added streams.
        * 
@@ -14535,8 +12460,6 @@ public Builder removeStreams(int index) { return this; } /** - * - * *
        * Newly added streams.
        * 
@@ -14548,8 +12471,6 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder getStrea return getStreamsFieldBuilder().getBuilder(index); } /** - * - * *
        * Newly added streams.
        * 
@@ -14559,23 +12480,19 @@ 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< - ? extends com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder> - getStreamsOrBuilderList() { + public java.util.List + getStreamsOrBuilderList() { if (streamsBuilder_ != null) { return streamsBuilder_.getMessageOrBuilderList(); } else { @@ -14583,8 +12500,6 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getStre } } /** - * - * *
        * Newly added streams.
        * 
@@ -14592,13 +12507,10 @@ 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.
        * 
@@ -14607,42 +12519,34 @@ 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) { @@ -14655,36 +12559,30 @@ 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 { - return new BatchCreateReadSessionStreamsResponse(input, extensionRegistry); - } - }; + 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 { + return new BatchCreateReadSessionStreamsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -14696,90 +12594,74 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private FinalizeStreamRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -14798,71 +12680,59 @@ private FinalizeStreamRequest( case 0: done = true; break; - case 18: - { - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder subBuilder = null; - if (stream_ != null) { - subBuilder = stream_.toBuilder(); - } - stream_ = - input.readMessage( - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(stream_); - stream_ = subBuilder.buildPartial(); - } - - break; + case 18: { + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder subBuilder = null; + if (stream_ != null) { + subBuilder = stream_.toBuilder(); + } + stream_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(stream_); + stream_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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 @@ -14870,34 +12740,23 @@ 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() { @@ -14905,7 +12764,6 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getStre } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -14917,7 +12775,8 @@ 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()); } @@ -14931,7 +12790,8 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -14941,18 +12801,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -14975,95 +12834,87 @@ 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 @@ -15073,50 +12924,44 @@ 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() + // Construct using com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -15130,22 +12975,19 @@ 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); } @@ -15153,10 +12995,8 @@ 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); + 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 (streamBuilder_ == null) { result.stream_ = stream_; } else { @@ -15170,54 +13010,46 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest b 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()); } @@ -15236,14 +13068,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest parsedMessage = - null; + com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -15255,58 +13084,39 @@ public Builder mergeFrom( 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 streamBuilder_ != null || 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. */ 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) { @@ -15322,15 +13132,11 @@ 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) { @@ -15344,23 +13150,17 @@ 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 (stream_ != null) { stream_ = - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.newBuilder(stream_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.newBuilder(stream_).mergeFrom(value).buildPartial(); } else { stream_ = value; } @@ -15372,15 +13172,11 @@ 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() { if (streamBuilder_ == null) { @@ -15394,70 +13190,52 @@ 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() { - + onChanged(); 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) { @@ -15470,33 +13248,30 @@ 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 { - return new FinalizeStreamRequest(input, extensionRegistry); - } - }; + 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 { + return new FinalizeStreamRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -15508,61 +13283,44 @@ 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
@@ -15574,43 +13332,41 @@ public interface SplitReadStreamRequestOrBuilder
      * 
* * 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SplitReadStreamRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -15629,76 +13385,64 @@ private SplitReadStreamRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder subBuilder = null; - if (originalStream_ != null) { - subBuilder = originalStream_.toBuilder(); - } - originalStream_ = - input.readMessage( - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(originalStream_); - originalStream_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder subBuilder = null; + if (originalStream_ != null) { + subBuilder = originalStream_.toBuilder(); } - case 21: - { - fraction_ = input.readFloat(); - break; + originalStream_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(originalStream_); + originalStream_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 21: { + + fraction_ = input.readFloat(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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 @@ -15706,46 +13450,32 @@ 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() { + public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getOriginalStreamOrBuilder() { return getOriginalStream(); } public static final int FRACTION_FIELD_NUMBER = 2; 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
@@ -15757,7 +13487,6 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getOriginalStrea
      * 
* * float fraction = 2; - * * @return The fraction. */ @java.lang.Override @@ -15766,7 +13495,6 @@ public float getFraction() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -15778,7 +13506,8 @@ 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()); } @@ -15795,10 +13524,12 @@ 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 (fraction_ != 0F) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, fraction_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, fraction_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -15808,21 +13539,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -15839,107 +13570,95 @@ 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) + unknownFields.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 @@ -15949,50 +13668,44 @@ 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() + // Construct using com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -16008,22 +13721,19 @@ 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); } @@ -16031,10 +13741,8 @@ 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); + 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 (originalStreamBuilder_ == null) { result.originalStream_ = originalStream_; } else { @@ -16049,54 +13757,46 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest 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()); } @@ -16118,14 +13818,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest parsedMessage = - null; + com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -16137,61 +13834,41 @@ public Builder mergeFrom( 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 originalStreamBuilder_ != null || 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. */ 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(); @@ -16205,15 +13882,11 @@ 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 setOriginalStream( com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder builderForValue) { @@ -16227,24 +13900,17 @@ 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 (originalStream_ != null) { originalStream_ = - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.newBuilder(originalStream_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.newBuilder(originalStream_).mergeFrom(value).buildPartial(); } else { originalStream_ = value; } @@ -16256,15 +13922,11 @@ public Builder mergeOriginalStream( 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() { if (originalStreamBuilder_ == null) { @@ -16278,75 +13940,55 @@ 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() { + 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
@@ -16358,7 +14000,6 @@ public Builder clearOriginalStream() {
        * 
* * float fraction = 2; - * * @return The fraction. */ @java.lang.Override @@ -16366,8 +14007,6 @@ 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
@@ -16379,19 +14018,16 @@ public float getFraction() {
        * 
* * float fraction = 2; - * * @param value The fraction to set. * @return This builder for chaining. */ public Builder setFraction(float value) { - + fraction_ = value; onChanged(); 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
@@ -16403,16 +14039,14 @@ public Builder setFraction(float value) {
        * 
* * float fraction = 2; - * * @return This builder for chaining. */ public Builder clearFraction() { - + fraction_ = 0F; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -16425,33 +14059,30 @@ 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 { - return new SplitReadStreamRequest(input, extensionRegistry); - } - }; + 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 { + return new SplitReadStreamRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -16463,20 +14094,17 @@ 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
@@ -16484,13 +14112,10 @@ public interface SplitReadStreamResponseOrBuilder
      * 
* * .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
@@ -16498,13 +14123,10 @@ public interface SplitReadStreamResponseOrBuilder
      * 
* * .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
@@ -16516,34 +14138,26 @@ public interface SplitReadStreamResponseOrBuilder
     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.
@@ -16554,37 +14168,36 @@ public interface SplitReadStreamResponseOrBuilder
     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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SplitReadStreamResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -16603,80 +14216,67 @@ private SplitReadStreamResponse( case 0: done = true; break; - case 10: - { - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder subBuilder = null; - if (primaryStream_ != null) { - subBuilder = primaryStream_.toBuilder(); - } - primaryStream_ = - input.readMessage( - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(primaryStream_); - primaryStream_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder subBuilder = null; + if (primaryStream_ != null) { + subBuilder = primaryStream_.toBuilder(); + } + primaryStream_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(primaryStream_); + primaryStream_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder subBuilder = null; + if (remainderStream_ != null) { + subBuilder = remainderStream_.toBuilder(); } - case 18: - { - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder subBuilder = null; - if (remainderStream_ != null) { - subBuilder = remainderStream_.toBuilder(); - } - remainderStream_ = - input.readMessage( - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(remainderStream_); - remainderStream_ = subBuilder.buildPartial(); - } - - break; + remainderStream_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(remainderStream_); + remainderStream_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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
@@ -16684,7 +14284,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * .google.cloud.bigquery.storage.v1beta1.Stream primary_stream = 1; - * * @return Whether the primaryStream field is set. */ @java.lang.Override @@ -16692,8 +14291,6 @@ 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
@@ -16701,18 +14298,13 @@ 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
@@ -16722,23 +14314,19 @@ 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() {
+    public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getPrimaryStreamOrBuilder() {
       return getPrimaryStream();
     }
 
     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 @@ -16746,26 +14334,19 @@ 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.
@@ -16774,13 +14355,11 @@ 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() {
+    public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getRemainderStreamOrBuilder() {
       return getRemainderStream();
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -16792,7 +14371,8 @@ 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());
       }
@@ -16809,10 +14389,12 @@ 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 += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -16822,22 +14404,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 (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -16863,101 +14445,88 @@ 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
@@ -16967,50 +14536,44 @@ 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() + // Construct using com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -17030,22 +14593,19 @@ 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); } @@ -17053,10 +14613,8 @@ 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); + 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 (primaryStreamBuilder_ == null) { result.primaryStream_ = primaryStream_; } else { @@ -17075,54 +14633,46 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse 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()); } @@ -17144,14 +14694,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse parsedMessage = - null; + com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -17163,13 +14710,8 @@ public Builder mergeFrom( 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
@@ -17177,15 +14719,12 @@ public Builder mergeFrom(
        * 
* * .google.cloud.bigquery.storage.v1beta1.Stream primary_stream = 1; - * * @return Whether the primaryStream field is set. */ public boolean hasPrimaryStream() { return primaryStreamBuilder_ != null || primaryStream_ != null; } /** - * - * *
        * Primary stream, which contains the beginning portion of
        * |original_stream|. An empty value indicates that the original stream can no
@@ -17193,21 +14732,16 @@ 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
@@ -17216,8 +14750,7 @@ 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();
@@ -17231,8 +14764,6 @@ 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
@@ -17253,8 +14784,6 @@ 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
@@ -17263,14 +14792,11 @@ 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 (primaryStream_ != null) {
             primaryStream_ =
-                com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.newBuilder(primaryStream_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.newBuilder(primaryStream_).mergeFrom(value).buildPartial();
           } else {
             primaryStream_ = value;
           }
@@ -17282,8 +14808,6 @@ public Builder mergePrimaryStream(
         return this;
       }
       /**
-       *
-       *
        * 
        * Primary stream, which contains the beginning portion of
        * |original_stream|. An empty value indicates that the original stream can no
@@ -17304,8 +14828,6 @@ 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
@@ -17314,15 +14836,12 @@ 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() {
+        
         onChanged();
         return getPrimaryStreamFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Primary stream, which contains the beginning portion of
        * |original_stream|. An empty value indicates that the original stream can no
@@ -17331,19 +14850,15 @@ public Builder clearPrimaryStream() {
        *
        * .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
@@ -17353,17 +14868,14 @@ public Builder clearPrimaryStream() {
        * .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_;
@@ -17371,49 +14883,36 @@ public Builder clearPrimaryStream() {
 
       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 remainderStreamBuilder_ != null || 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. */ 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.
@@ -17421,8 +14920,7 @@ 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();
@@ -17436,8 +14934,6 @@ 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.
@@ -17457,8 +14953,6 @@ 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.
@@ -17466,15 +14960,11 @@ 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 (remainderStream_ != null) {
             remainderStream_ =
-                com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.newBuilder(
-                        remainderStream_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.newBuilder(remainderStream_).mergeFrom(value).buildPartial();
           } else {
             remainderStream_ = value;
           }
@@ -17486,8 +14976,6 @@ public Builder mergeRemainderStream(
         return this;
       }
       /**
-       *
-       *
        * 
        * Remainder stream, which contains the tail of |original_stream|. An empty
        * value indicates that the original stream can no longer be split.
@@ -17507,8 +14995,6 @@ 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.
@@ -17516,15 +15002,12 @@ 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() {
+        
         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.
@@ -17532,19 +15015,15 @@ public Builder clearRemainderStream() {
        *
        * .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.
@@ -17553,22 +15032,18 @@ public Builder clearRemainderStream() {
        * .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) {
@@ -17581,33 +15056,30 @@ 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 {
-            return new SplitReadStreamResponse(input, extensionRegistry);
-          }
-        };
+    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 {
+        return new SplitReadStreamResponse(input, extensionRegistry);
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -17619,342 +15091,313 @@ 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\"\205\004\n\030CreateReadSessionRequest\022S\n"
-          + "\017table_reference\030\001 \001(\01325.google.cloud.bi"
-          + "gquery.storage.v1beta1.TableReferenceB\003\340"
-          + "A\002\022C\n\006parent\030\006 \001(\tB3\340A\002\372A-\n+cloudresourc"
-          + "emanager.googleapis.com/Project\022N\n\017table"
-          + "_modifiers\030\002 \001(\01325.google.cloud.bigquery"
-          + ".storage.v1beta1.TableModifiers\022\031\n\021reque"
-          + "sted_streams\030\003 \001(\005\022M\n\014read_options\030\004 \001(\013"
-          + "27.google.cloud.bigquery.storage.v1beta1"
-          + ".TableReadOptions\022A\n\006format\030\005 \001(\01621.goog"
-          + "le.cloud.bigquery.storage.v1beta1.DataFo"
-          + "rmat\022R\n\021sharding_strategy\030\007 \001(\01627.google"
-          + ".cloud.bigquery.storage.v1beta1.Sharding"
-          + "Strategy\"d\n\017ReadRowsRequest\022Q\n\rread_posi"
-          + "tion\030\001 \001(\01325.google.cloud.bigquery.stora"
-          + "ge.v1beta1.StreamPositionB\003\340A\002\"\240\001\n\014Strea"
-          + "mStatus\022\033\n\023estimated_row_count\030\001 \001(\003\022\031\n\021"
-          + "fraction_consumed\030\002 \001(\002\022A\n\010progress\030\004 \001("
-          + "\0132/.google.cloud.bigquery.storage.v1beta"
-          + "1.Progress\022\025\n\ris_splittable\030\003 \001(\010\">\n\010Pro"
-          + "gress\022\031\n\021at_response_start\030\001 \001(\002\022\027\n\017at_r"
-          + "esponse_end\030\002 \001(\002\"*\n\016ThrottleStatus\022\030\n\020t"
-          + "hrottle_percent\030\001 \001(\005\"\337\002\n\020ReadRowsRespon"
-          + "se\022D\n\tavro_rows\030\003 \001(\0132/.google.cloud.big"
-          + "query.storage.v1beta1.AvroRowsH\000\022U\n\022arro"
-          + "w_record_batch\030\004 \001(\01327.google.cloud.bigq"
-          + "uery.storage.v1beta1.ArrowRecordBatchH\000\022"
-          + "\021\n\trow_count\030\006 \001(\003\022C\n\006status\030\002 \001(\01323.goo"
-          + "gle.cloud.bigquery.storage.v1beta1.Strea"
-          + "mStatus\022N\n\017throttle_status\030\005 \001(\01325.googl"
-          + "e.cloud.bigquery.storage.v1beta1.Throttl"
-          + "eStatusB\006\n\004rows\"\220\001\n$BatchCreateReadSessi"
-          + "onStreamsRequest\022H\n\007session\030\001 \001(\01322.goog"
-          + "le.cloud.bigquery.storage.v1beta1.ReadSe"
-          + "ssionB\003\340A\002\022\036\n\021requested_streams\030\002 \001(\005B\003\340"
-          + "A\002\"g\n%BatchCreateReadSessionStreamsRespo"
-          + "nse\022>\n\007streams\030\001 \003(\0132-.google.cloud.bigq"
-          + "uery.storage.v1beta1.Stream\"[\n\025FinalizeS"
-          + "treamRequest\022B\n\006stream\030\002 \001(\0132-.google.cl"
-          + "oud.bigquery.storage.v1beta1.StreamB\003\340A\002"
-          + "\"w\n\026SplitReadStreamRequest\022K\n\017original_s"
-          + "tream\030\001 \001(\0132-.google.cloud.bigquery.stor"
-          + "age.v1beta1.StreamB\003\340A\002\022\020\n\010fraction\030\002 \001("
-          + "\002\"\251\001\n\027SplitReadStreamResponse\022E\n\016primary"
-          + "_stream\030\001 \001(\0132-.google.cloud.bigquery.st"
-          + "orage.v1beta1.Stream\022G\n\020remainder_stream"
-          + "\030\002 \001(\0132-.google.cloud.bigquery.storage.v"
-          + "1beta1.Stream*>\n\nDataFormat\022\033\n\027DATA_FORM"
-          + "AT_UNSPECIFIED\020\000\022\010\n\004AVRO\020\001\022\t\n\005ARROW\020\003*O\n"
-          + "\020ShardingStrategy\022!\n\035SHARDING_STRATEGY_U"
-          + "NSPECIFIED\020\000\022\n\n\006LIQUID\020\001\022\014\n\010BALANCED\020\0022\353"
-          + "\n\n\017BigQueryStorage\022\263\002\n\021CreateReadSession"
-          + "\022?.google.cloud.bigquery.storage.v1beta1"
-          + ".CreateReadSessionRequest\0322.google.cloud"
-          + ".bigquery.storage.v1beta1.ReadSession\"\250\001"
-          + "\202\323\344\223\002w\"0/v1beta1/{table_reference.projec"
-          + "t_id=projects/*}:\001*Z@\";/v1beta1/{table_r"
-          + "eference.dataset_id=projects/*/datasets/"
-          + "*}:\001*\332A(table_reference,parent,requested"
-          + "_streams\022\320\001\n\010ReadRows\0226.google.cloud.big"
-          + "query.storage.v1beta1.ReadRowsRequest\0327."
-          + "google.cloud.bigquery.storage.v1beta1.Re"
-          + "adRowsResponse\"Q\202\323\344\223\002;\0229/v1beta1/{read_p"
-          + "osition.stream.name=projects/*/streams/*"
-          + "}\332A\rread_position0\001\022\220\002\n\035BatchCreateReadS"
-          + "essionStreams\022K.google.cloud.bigquery.st"
-          + "orage.v1beta1.BatchCreateReadSessionStre"
-          + "amsRequest\032L.google.cloud.bigquery.stora"
-          + "ge.v1beta1.BatchCreateReadSessionStreams"
-          + "Response\"T\202\323\344\223\0022\"-/v1beta1/{session.name"
-          + "=projects/*/sessions/*}:\001*\332A\031session,req"
-          + "uested_streams\022\247\001\n\016FinalizeStream\022<.goog"
-          + "le.cloud.bigquery.storage.v1beta1.Finali"
-          + "zeStreamRequest\032\026.google.protobuf.Empty\""
-          + "?\202\323\344\223\0020\"+/v1beta1/{stream.name=projects/"
-          + "*/streams/*}:\001*\332A\006stream\022\340\001\n\017SplitReadSt"
-          + "ream\022=.google.cloud.bigquery.storage.v1b"
-          + "eta1.SplitReadStreamRequest\032>.google.clo"
-          + "ud.bigquery.storage.v1beta1.SplitReadStr"
-          + "eamResponse\"N\202\323\344\223\0026\0224/v1beta1/{original_"
-          + "stream.name=projects/*/streams/*}\332A\017orig"
-          + "inal_stream\032\256\001\312A\036bigquerystorage.googlea"
-          + "pis.com\322A\211\001https://www.googleapis.com/au"
-          + "th/bigquery,https://www.googleapis.com/a"
-          + "uth/bigquery.readonly,https://www.google"
-          + "apis.com/auth/cloud-platformBy\n)com.goog"
-          + "le.cloud.bigquery.storage.v1beta1ZLgoogl"
-          + "e.golang.org/genproto/googleapis/cloud/b"
-          + "igquery/storage/v1beta1;storageb\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\"\205\004\n\030CreateReadSessionRequest\022S\n" +
+      "\017table_reference\030\001 \001(\01325.google.cloud.bi" +
+      "gquery.storage.v1beta1.TableReferenceB\003\340" +
+      "A\002\022C\n\006parent\030\006 \001(\tB3\340A\002\372A-\n+cloudresourc" +
+      "emanager.googleapis.com/Project\022N\n\017table" +
+      "_modifiers\030\002 \001(\01325.google.cloud.bigquery" +
+      ".storage.v1beta1.TableModifiers\022\031\n\021reque" +
+      "sted_streams\030\003 \001(\005\022M\n\014read_options\030\004 \001(\013" +
+      "27.google.cloud.bigquery.storage.v1beta1" +
+      ".TableReadOptions\022A\n\006format\030\005 \001(\01621.goog" +
+      "le.cloud.bigquery.storage.v1beta1.DataFo" +
+      "rmat\022R\n\021sharding_strategy\030\007 \001(\01627.google" +
+      ".cloud.bigquery.storage.v1beta1.Sharding" +
+      "Strategy\"d\n\017ReadRowsRequest\022Q\n\rread_posi" +
+      "tion\030\001 \001(\01325.google.cloud.bigquery.stora" +
+      "ge.v1beta1.StreamPositionB\003\340A\002\"\240\001\n\014Strea" +
+      "mStatus\022\033\n\023estimated_row_count\030\001 \001(\003\022\031\n\021" +
+      "fraction_consumed\030\002 \001(\002\022A\n\010progress\030\004 \001(" +
+      "\0132/.google.cloud.bigquery.storage.v1beta" +
+      "1.Progress\022\025\n\ris_splittable\030\003 \001(\010\">\n\010Pro" +
+      "gress\022\031\n\021at_response_start\030\001 \001(\002\022\027\n\017at_r" +
+      "esponse_end\030\002 \001(\002\"*\n\016ThrottleStatus\022\030\n\020t" +
+      "hrottle_percent\030\001 \001(\005\"\337\002\n\020ReadRowsRespon" +
+      "se\022D\n\tavro_rows\030\003 \001(\0132/.google.cloud.big" +
+      "query.storage.v1beta1.AvroRowsH\000\022U\n\022arro" +
+      "w_record_batch\030\004 \001(\01327.google.cloud.bigq" +
+      "uery.storage.v1beta1.ArrowRecordBatchH\000\022" +
+      "\021\n\trow_count\030\006 \001(\003\022C\n\006status\030\002 \001(\01323.goo" +
+      "gle.cloud.bigquery.storage.v1beta1.Strea" +
+      "mStatus\022N\n\017throttle_status\030\005 \001(\01325.googl" +
+      "e.cloud.bigquery.storage.v1beta1.Throttl" +
+      "eStatusB\006\n\004rows\"\220\001\n$BatchCreateReadSessi" +
+      "onStreamsRequest\022H\n\007session\030\001 \001(\01322.goog" +
+      "le.cloud.bigquery.storage.v1beta1.ReadSe" +
+      "ssionB\003\340A\002\022\036\n\021requested_streams\030\002 \001(\005B\003\340" +
+      "A\002\"g\n%BatchCreateReadSessionStreamsRespo" +
+      "nse\022>\n\007streams\030\001 \003(\0132-.google.cloud.bigq" +
+      "uery.storage.v1beta1.Stream\"[\n\025FinalizeS" +
+      "treamRequest\022B\n\006stream\030\002 \001(\0132-.google.cl" +
+      "oud.bigquery.storage.v1beta1.StreamB\003\340A\002" +
+      "\"w\n\026SplitReadStreamRequest\022K\n\017original_s" +
+      "tream\030\001 \001(\0132-.google.cloud.bigquery.stor" +
+      "age.v1beta1.StreamB\003\340A\002\022\020\n\010fraction\030\002 \001(" +
+      "\002\"\251\001\n\027SplitReadStreamResponse\022E\n\016primary" +
+      "_stream\030\001 \001(\0132-.google.cloud.bigquery.st" +
+      "orage.v1beta1.Stream\022G\n\020remainder_stream" +
+      "\030\002 \001(\0132-.google.cloud.bigquery.storage.v" +
+      "1beta1.Stream*>\n\nDataFormat\022\033\n\027DATA_FORM" +
+      "AT_UNSPECIFIED\020\000\022\010\n\004AVRO\020\001\022\t\n\005ARROW\020\003*O\n" +
+      "\020ShardingStrategy\022!\n\035SHARDING_STRATEGY_U" +
+      "NSPECIFIED\020\000\022\n\n\006LIQUID\020\001\022\014\n\010BALANCED\020\0022\353" +
+      "\n\n\017BigQueryStorage\022\263\002\n\021CreateReadSession" +
+      "\022?.google.cloud.bigquery.storage.v1beta1" +
+      ".CreateReadSessionRequest\0322.google.cloud" +
+      ".bigquery.storage.v1beta1.ReadSession\"\250\001" +
+      "\202\323\344\223\002w\"0/v1beta1/{table_reference.projec" +
+      "t_id=projects/*}:\001*Z@\";/v1beta1/{table_r" +
+      "eference.dataset_id=projects/*/datasets/" +
+      "*}:\001*\332A(table_reference,parent,requested" +
+      "_streams\022\320\001\n\010ReadRows\0226.google.cloud.big" +
+      "query.storage.v1beta1.ReadRowsRequest\0327." +
+      "google.cloud.bigquery.storage.v1beta1.Re" +
+      "adRowsResponse\"Q\202\323\344\223\002;\0229/v1beta1/{read_p" +
+      "osition.stream.name=projects/*/streams/*" +
+      "}\332A\rread_position0\001\022\220\002\n\035BatchCreateReadS" +
+      "essionStreams\022K.google.cloud.bigquery.st" +
+      "orage.v1beta1.BatchCreateReadSessionStre" +
+      "amsRequest\032L.google.cloud.bigquery.stora" +
+      "ge.v1beta1.BatchCreateReadSessionStreams" +
+      "Response\"T\202\323\344\223\0022\"-/v1beta1/{session.name" +
+      "=projects/*/sessions/*}:\001*\332A\031session,req" +
+      "uested_streams\022\247\001\n\016FinalizeStream\022<.goog" +
+      "le.cloud.bigquery.storage.v1beta1.Finali" +
+      "zeStreamRequest\032\026.google.protobuf.Empty\"" +
+      "?\202\323\344\223\0020\"+/v1beta1/{stream.name=projects/" +
+      "*/streams/*}:\001*\332A\006stream\022\340\001\n\017SplitReadSt" +
+      "ream\022=.google.cloud.bigquery.storage.v1b" +
+      "eta1.SplitReadStreamRequest\032>.google.clo" +
+      "ud.bigquery.storage.v1beta1.SplitReadStr" +
+      "eamResponse\"N\202\323\344\223\0026\0224/v1beta1/{original_" +
+      "stream.name=projects/*/streams/*}\332A\017orig" +
+      "inal_stream\032\256\001\312A\036bigquerystorage.googlea" +
+      "pis.com\322A\211\001https://www.googleapis.com/au" +
+      "th/bigquery,https://www.googleapis.com/a" +
+      "uth/bigquery.readonly,https://www.google" +
+      "apis.com/auth/cloud-platformBy\n)com.goog" +
+      "le.cloud.bigquery.storage.v1beta1ZLgoogl" +
+      "e.golang.org/genproto/googleapis/cloud/b" +
+      "igquery/storage/v1beta1;storageb\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", "Rows",
-            });
+      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", "Rows", });
     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);
@@ -17964,8 +15407,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
     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/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/TableReferenceProto.java b/owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/TableReferenceProto.java
similarity index 63%
rename from proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/TableReferenceProto.java
rename to owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/TableReferenceProto.java
index 97101d8121..89f9434f39 100644
--- a/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/TableReferenceProto.java
+++ b/owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/TableReferenceProto.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2020 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
 
@@ -20,112 +5,95 @@
 
 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 interface TableReferenceOrBuilder
-      extends
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions(
+        (com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+  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_ = ""; @@ -134,15 +102,16 @@ private TableReference() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TableReference(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private TableReference( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -161,73 +130,64 @@ private TableReference( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - projectId_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + projectId_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - datasetId_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + datasetId_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - tableId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + tableId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; private volatile java.lang.Object projectId_; /** - * - * *
      * The assigned project ID of the project.
      * 
* * string project_id = 1; - * * @return The projectId. */ @java.lang.Override @@ -236,29 +196,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 { @@ -269,14 +229,11 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int DATASET_ID_FIELD_NUMBER = 2; 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 @@ -285,29 +242,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 { @@ -318,14 +275,11 @@ public com.google.protobuf.ByteString getDatasetIdBytes() { public static final int TABLE_ID_FIELD_NUMBER = 3; 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 @@ -334,29 +288,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 { @@ -365,7 +319,6 @@ public com.google.protobuf.ByteString getTableIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -377,7 +330,8 @@ 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 (!getProjectIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -413,19 +367,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -448,101 +402,88 @@ 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 @@ -552,50 +493,44 @@ 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() + // Construct using com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -609,22 +544,19 @@ 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); } @@ -632,10 +564,8 @@ 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); + 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); result.projectId_ = projectId_; result.datasetId_ = datasetId_; result.tableId_ = tableId_; @@ -647,55 +577,46 @@ public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.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_; onChanged(); @@ -723,14 +644,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference parsedMessage = - null; + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -742,20 +660,18 @@ public Builder mergeFrom( 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; @@ -764,21 +680,20 @@ 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 { @@ -786,61 +701,54 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
        * 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) { + public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
        * The assigned project ID of the project.
        * 
* * string project_id = 1; - * * @return This builder for chaining. */ public Builder clearProjectId() { - + projectId_ = getDefaultInstance().getProjectId(); onChanged(); 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) { + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -848,20 +756,18 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { 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; @@ -870,21 +776,20 @@ 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 { @@ -892,61 +797,54 @@ public com.google.protobuf.ByteString getDatasetIdBytes() { } } /** - * - * *
        * 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) { + public Builder setDatasetId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + datasetId_ = value; onChanged(); return this; } /** - * - * *
        * The ID of the dataset in the above project.
        * 
* * string dataset_id = 2; - * * @return This builder for chaining. */ public Builder clearDatasetId() { - + datasetId_ = getDefaultInstance().getDatasetId(); onChanged(); 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) { + public Builder setDatasetIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + datasetId_ = value; onChanged(); return this; @@ -954,20 +852,18 @@ public Builder setDatasetIdBytes(com.google.protobuf.ByteString value) { 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; @@ -976,21 +872,20 @@ 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 { @@ -998,66 +893,58 @@ public com.google.protobuf.ByteString getTableIdBytes() { } } /** - * - * *
        * 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) { + public Builder setTableId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tableId_ = value; onChanged(); return this; } /** - * - * *
        * The ID of the table in the above dataset.
        * 
* * string table_id = 3; - * * @return This builder for chaining. */ public Builder clearTableId() { - + tableId_ = getDefaultInstance().getTableId(); onChanged(); 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) { + public Builder setTableIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tableId_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1070,34 +957,30 @@ 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 { - return new TableReference(input, extensionRegistry); - } - }; + 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 { + return new TableReference(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1109,44 +992,35 @@ 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.
      * 
@@ -1156,37 +1030,36 @@ public interface TableModifiersOrBuilder 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private TableModifiers( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1205,67 +1078,59 @@ private TableModifiers( case 0: done = true; break; - case 10: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (snapshotTime_ != null) { - subBuilder = snapshotTime_.toBuilder(); - } - snapshotTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(snapshotTime_); - snapshotTime_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (snapshotTime_ != null) { + subBuilder = snapshotTime_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + snapshotTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(snapshotTime_); + snapshotTime_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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 @@ -1273,25 +1138,18 @@ 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.
      * 
@@ -1304,7 +1162,6 @@ public com.google.protobuf.TimestampOrBuilder getSnapshotTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1316,7 +1173,8 @@ 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()); } @@ -1330,7 +1188,8 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1340,19 +1199,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1374,101 +1231,88 @@ 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 @@ -1478,50 +1322,44 @@ 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() + // Construct using com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1535,22 +1373,19 @@ 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); } @@ -1558,10 +1393,8 @@ 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); + 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 (snapshotTimeBuilder_ == null) { result.snapshotTime_ = snapshotTime_; } else { @@ -1575,55 +1408,46 @@ public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifi 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()); } @@ -1642,14 +1466,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers parsedMessage = - null; + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1661,47 +1482,34 @@ public Builder mergeFrom( 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 snapshotTimeBuilder_ != null || snapshotTime_ != null; } /** - * - * *
        * 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.
        * 
@@ -1722,15 +1530,14 @@ 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(); onChanged(); @@ -1741,8 +1548,6 @@ public Builder setSnapshotTime(com.google.protobuf.Timestamp.Builder builderForV return this; } /** - * - * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -1753,9 +1558,7 @@ public Builder mergeSnapshotTime(com.google.protobuf.Timestamp value) { if (snapshotTimeBuilder_ == null) { if (snapshotTime_ != null) { snapshotTime_ = - com.google.protobuf.Timestamp.newBuilder(snapshotTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(snapshotTime_).mergeFrom(value).buildPartial(); } else { snapshotTime_ = value; } @@ -1767,8 +1570,6 @@ public Builder mergeSnapshotTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -1787,8 +1588,6 @@ public Builder clearSnapshotTime() { return this; } /** - * - * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -1796,13 +1595,11 @@ public Builder clearSnapshotTime() { * .google.protobuf.Timestamp snapshot_time = 1; */ public com.google.protobuf.Timestamp.Builder getSnapshotTimeBuilder() { - + onChanged(); return getSnapshotTimeFieldBuilder().getBuilder(); } /** - * - * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -1813,14 +1610,11 @@ 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.
        * 
@@ -1828,22 +1622,18 @@ 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) { @@ -1856,34 +1646,30 @@ 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 { - return new TableModifiers(input, extensionRegistry); - } - }; + 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 { + return new TableModifiers(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1895,65 +1681,62 @@ 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\031google/api/resourc" - + "e.proto\032\037google/protobuf/timestamp.proto" - + "\"J\n\016TableReference\022\022\n\nproject_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\016" - + "TableModifiers\0221\n\rsnapshot_time\030\001 \001(\0132\032." - + "google.protobuf.TimestampB\216\001\n)com.google" - + ".cloud.bigquery.storage.v1beta1B\023TableRe" - + "ferenceProtoZLgoogle.golang.org/genproto" - + "/googleapis/cloud/bigquery/storage/v1bet" - + "a1;storageb\006proto3" + "\n;google/cloud/bigquery/storage/v1beta1/" + + "table_reference.proto\022%google.cloud.bigq" + + "uery.storage.v1beta1\032\031google/api/resourc" + + "e.proto\032\037google/protobuf/timestamp.proto" + + "\"J\n\016TableReference\022\022\n\nproject_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\016" + + "TableModifiers\0221\n\rsnapshot_time\030\001 \001(\0132\032." + + "google.protobuf.TimestampB\216\001\n)com.google" + + ".cloud.bigquery.storage.v1beta1B\023TableRe" + + "ferenceProtoZLgoogle.golang.org/genproto" + + "/googleapis/cloud/bigquery/storage/v1bet" + + "a1;storageb\006proto3" }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + 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.api.ResourceProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); } diff --git a/proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/arrow.proto b/owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/arrow.proto similarity index 100% rename from proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/arrow.proto rename to owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/arrow.proto diff --git a/proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/avro.proto b/owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/avro.proto similarity index 100% rename from proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/avro.proto rename to owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/avro.proto diff --git a/proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/read_options.proto b/owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/read_options.proto similarity index 100% rename from proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/read_options.proto rename to owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/read_options.proto diff --git a/proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/storage.proto b/owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/storage.proto similarity index 100% rename from proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/storage.proto rename to owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/storage.proto diff --git a/proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/table_reference.proto b/owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/table_reference.proto similarity index 100% rename from proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/table_reference.proto rename to owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/table_reference.proto diff --git a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BaseBigQueryReadClient.java b/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BaseBigQueryReadClient.java similarity index 96% rename from google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BaseBigQueryReadClient.java rename to owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BaseBigQueryReadClient.java index 41471a43d4..0b032f1f22 100644 --- a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BaseBigQueryReadClient.java +++ b/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BaseBigQueryReadClient.java @@ -56,13 +56,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -167,7 +167,7 @@ public BigQueryReadStub getStub() { * limits are enforced based on the number of pre-filtered rows, so some filters can lead to * lopsided assignments. * - *

Read sessions automatically expire 24 hours after they are created and do not require manual + *

Read sessions automatically expire 6 hours after they are created and do not require manual * clean-up by the caller. * *

Sample code: @@ -220,7 +220,7 @@ public final ReadSession createReadSession( * limits are enforced based on the number of pre-filtered rows, so some filters can lead to * lopsided assignments. * - *

Read sessions automatically expire 24 hours after they are created and do not require manual + *

Read sessions automatically expire 6 hours after they are created and do not require manual * clean-up by the caller. * *

Sample code: @@ -273,7 +273,7 @@ public final ReadSession createReadSession( * limits are enforced based on the number of pre-filtered rows, so some filters can lead to * lopsided assignments. * - *

Read sessions automatically expire 24 hours after they are created and do not require manual + *

Read sessions automatically expire 6 hours after they are created and do not require manual * clean-up by the caller. * *

Sample code: @@ -313,7 +313,7 @@ public final ReadSession createReadSession(CreateReadSessionRequest request) { * limits are enforced based on the number of pre-filtered rows, so some filters can lead to * lopsided assignments. * - *

Read sessions automatically expire 24 hours after they are created and do not require manual + *

Read sessions automatically expire 6 hours after they are created and do not require manual * clean-up by the caller. * *

Sample code: diff --git a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BaseBigQueryReadSettings.java b/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BaseBigQueryReadSettings.java similarity index 96% rename from google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BaseBigQueryReadSettings.java rename to owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BaseBigQueryReadSettings.java index ff849fda07..a01892b9c4 100644 --- a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BaseBigQueryReadSettings.java +++ b/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BaseBigQueryReadSettings.java @@ -25,6 +25,7 @@ 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; @@ -39,10 +40,10 @@ *

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

    - *
  • The default service address (bigquerystorage.googleapis.com) and default port (443) are + *
  • 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. + *
  • 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 diff --git a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteClient.java b/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteClient.java similarity index 98% rename from google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteClient.java rename to owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteClient.java index 746236c291..67d30873bb 100644 --- a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteClient.java +++ b/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteClient.java @@ -50,13 +50,13 @@ * methods: * *

    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* diff --git a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteSettings.java b/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteSettings.java similarity index 96% rename from google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteSettings.java rename to owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteSettings.java index d7ac9efa69..66c5dd749b 100644 --- a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteSettings.java +++ b/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteSettings.java @@ -25,6 +25,7 @@ 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; @@ -39,10 +40,10 @@ *

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

    - *
  • The default service address (bigquerystorage.googleapis.com) and default port (443) are + *
  • 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. + *
  • 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 diff --git a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/gapic_metadata.json b/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/gapic_metadata.json similarity index 100% rename from google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/gapic_metadata.json rename to owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/gapic_metadata.json diff --git a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/package-info.java b/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/package-info.java similarity index 100% rename from google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/package-info.java rename to owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/package-info.java diff --git a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/BigQueryReadStub.java b/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/BigQueryReadStub.java similarity index 100% rename from google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/BigQueryReadStub.java rename to owl-bot-staging/v1beta2/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/BigQueryReadStubSettings.java b/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/BigQueryReadStubSettings.java new file mode 100644 index 0000000000..3193e2702d --- /dev/null +++ b/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/BigQueryReadStubSettings.java @@ -0,0 +1,367 @@ +/* + * Copyright 2021 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
+ * 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/bigquery.readonly") + .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; + } + + @BetaApi("A restructuring of stub classes is planned, so this may break in the future") + 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/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/BigQueryWriteStub.java b/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/BigQueryWriteStub.java similarity index 100% rename from google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/BigQueryWriteStub.java rename to owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/BigQueryWriteStub.java diff --git a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/BigQueryWriteStubSettings.java b/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/BigQueryWriteStubSettings.java similarity index 97% rename from google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/BigQueryWriteStubSettings.java rename to owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/BigQueryWriteStubSettings.java index 738beadb51..e63713cdad 100644 --- a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/BigQueryWriteStubSettings.java +++ b/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/BigQueryWriteStubSettings.java @@ -59,10 +59,10 @@ *

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

    - *
  • The default service address (bigquerystorage.googleapis.com) and default port (443) are + *
  • 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. + *
  • 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 @@ -283,10 +283,10 @@ public static class Builder extends StubSettings.Builder * BigQuery Read API. * The Read API can be used to read data from BigQuery. @@ -37,190 +20,144 @@ 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< - com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest, - com.google.cloud.bigquery.storage.v1beta2.ReadSession> - getCreateReadSessionMethod; + private static volatile io.grpc.MethodDescriptor 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< - 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; + public static io.grpc.MethodDescriptor getCreateReadSessionMethod() { + io.grpc.MethodDescriptor 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< - com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest, - com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse> - getReadRowsMethod; + private static volatile io.grpc.MethodDescriptor 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< - 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; + public static io.grpc.MethodDescriptor getReadRowsMethod() { + io.grpc.MethodDescriptor 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< - com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest, - com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse> - getSplitReadStreamMethod; + private static volatile io.grpc.MethodDescriptor 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< - 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; + public static io.grpc.MethodDescriptor getSplitReadStreamMethod() { + io.grpc.MethodDescriptor 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.
@@ -228,11 +165,9 @@ public BigQueryReadFutureStub newStub(
    * API at the same time.
    * 
*/ - public abstract static class BigQueryReadImplBase implements io.grpc.BindableService { + public static abstract class BigQueryReadImplBase implements io.grpc.BindableService { /** - * - * *
      * 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,21 +183,16 @@ public abstract static class BigQueryReadImplBase implements io.grpc.BindableSer
      * each stream will return the same number or rows. Additionally, the
      * limits are enforced based on the number of pre-filtered rows, so some
      * filters can lead to lopsided assignments.
-     * Read sessions automatically expire 24 hours after they are created and do
+     * Read sessions automatically expire 6 hours after they are created and do
      * not require manual clean-up by the caller.
      * 
*/ - public void createReadSession( - com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateReadSessionMethod(), responseObserver); + public 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
@@ -272,16 +202,12 @@ public void createReadSession(
      * 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.ServerCalls.asyncUnimplementedUnaryCall(getReadRowsMethod(), responseObserver); } /** - * - * *
      * Splits a given `ReadStream` into two `ReadStream` objects. These
      * `ReadStream` objects are referred to as the primary and the residual
@@ -296,46 +222,39 @@ public void readRows(
      * completion.
      * 
*/ - 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.ServerCalls.asyncUnimplementedUnaryCall( - getSplitReadStreamMethod(), responseObserver); + public void splitReadStream(com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSplitReadStreamMethod(), responseObserver); } - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { 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>( - this, 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>( + this, 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>( - this, 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>( + this, 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>( - this, 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>( + this, METHODID_SPLIT_READ_STREAM))) .build(); } } /** - * - * *
    * BigQuery Read API.
    * The Read API can be used to read data from BigQuery.
@@ -343,20 +262,19 @@ public final io.grpc.ServerServiceDefinition bindService() {
    * API at the same time.
    * 
*/ - public static final class BigQueryReadStub - extends io.grpc.stub.AbstractAsyncStub { - private BigQueryReadStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class BigQueryReadStub extends io.grpc.stub.AbstractAsyncStub { + 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
@@ -372,23 +290,17 @@ protected BigQueryReadStub build(io.grpc.Channel channel, io.grpc.CallOptions ca
      * each stream will return the same number or rows. Additionally, the
      * limits are enforced based on the number of pre-filtered rows, so some
      * filters can lead to lopsided assignments.
-     * Read sessions automatically expire 24 hours after they are created and do
+     * Read sessions automatically expire 6 hours after they are created and do
      * 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
@@ -398,17 +310,13 @@ public void createReadSession(
      * 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
@@ -423,21 +331,14 @@ public void readRows(
      * completion.
      * 
*/ - public void splitReadStream( - com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse> - responseObserver) { + public void splitReadStream(com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSplitReadStreamMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getSplitReadStreamMethod(), getCallOptions()), request, responseObserver); } } /** - * - * *
    * BigQuery Read API.
    * The Read API can be used to read data from BigQuery.
@@ -445,9 +346,9 @@ public void splitReadStream(
    * API at the same time.
    * 
*/ - public static final class BigQueryReadBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private BigQueryReadBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class BigQueryReadBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private BigQueryReadBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -458,8 +359,6 @@ 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
@@ -475,19 +374,16 @@ protected BigQueryReadBlockingStub build(
      * each stream will return the same number or rows. Additionally, the
      * limits are enforced based on the number of pre-filtered rows, so some
      * filters can lead to lopsided assignments.
-     * Read sessions automatically expire 24 hours after they are created and do
+     * Read sessions automatically expire 6 hours after they are created and do
      * 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
@@ -504,8 +400,6 @@ public java.util.Iterator
      * Splits a given `ReadStream` into two `ReadStream` objects. These
      * `ReadStream` objects are referred to as the primary and the residual
@@ -520,16 +414,13 @@ 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);
     }
   }
 
   /**
-   *
-   *
    * 
    * BigQuery Read API.
    * The Read API can be used to read data from BigQuery.
@@ -537,9 +428,9 @@ public com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse splitRe
    * API at the same time.
    * 
*/ - public static final class BigQueryReadFutureStub - extends io.grpc.stub.AbstractFutureStub { - private BigQueryReadFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class BigQueryReadFutureStub extends io.grpc.stub.AbstractFutureStub { + private BigQueryReadFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -550,8 +441,6 @@ 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
@@ -567,21 +456,17 @@ protected BigQueryReadFutureStub build(
      * each stream will return the same number or rows. Additionally, the
      * limits are enforced based on the number of pre-filtered rows, so some
      * filters can lead to lopsided assignments.
-     * Read sessions automatically expire 24 hours after they are created and do
+     * Read sessions automatically expire 6 hours after they are created and do
      * not require manual clean-up by the caller.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.bigquery.storage.v1beta2.ReadSession> - createReadSession( - com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest request) { + public com.google.common.util.concurrent.ListenableFuture 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
@@ -596,9 +481,8 @@ protected BigQueryReadFutureStub build(
      * completion.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse> - splitReadStream(com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest request) { + public com.google.common.util.concurrent.ListenableFuture splitReadStream( + com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getSplitReadStreamMethod(), getCallOptions()), request); } @@ -608,11 +492,11 @@ protected BigQueryReadFutureStub build( private static final int METHODID_READ_ROWS = 1; private static final int METHODID_SPLIT_READ_STREAM = 2; - 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 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 BigQueryReadImplBase serviceImpl; private final int methodId; @@ -626,24 +510,16 @@ private static final class MethodHandlers 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< - com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse>) - responseObserver); + serviceImpl.readRows((com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_SPLIT_READ_STREAM: - serviceImpl.splitReadStream( - (com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse>) - responseObserver); + serviceImpl.splitReadStream((com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; default: throw new AssertionError(); @@ -661,9 +537,8 @@ public io.grpc.stub.StreamObserver invoke( } } - private abstract static class BigQueryReadBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private static abstract class BigQueryReadBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { BigQueryReadBaseDescriptorSupplier() {} @java.lang.Override @@ -705,14 +580,12 @@ 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/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 new file mode 100644 index 0000000000..5d2dd4cc0c --- /dev/null +++ b/owl-bot-staging/v1beta2/grpc-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteGrpc.java @@ -0,0 +1,805 @@ +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") +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 static abstract class BigQueryWriteImplBase implements io.grpc.BindableService { + + /** + *
+     * 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.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.
+     * 
+ */ + public io.grpc.stub.StreamObserver appendRows( + io.grpc.stub.StreamObserver responseObserver) { + return io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall(getAppendRowsMethod(), responseObserver); + } + + /** + *
+     * Gets a write stream.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public void flushRows(com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFlushRowsMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + 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>( + this, 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>( + this, 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>( + this, 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>( + this, 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>( + this, 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>( + this, METHODID_FLUSH_ROWS))) + .build(); + } + } + + /** + *
+   * 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); + } + } + + /** + *
+   * 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); + } + } + + /** + *
+   * 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 BigQueryWriteImplBase serviceImpl; + private final int methodId; + + MethodHandlers(BigQueryWriteImplBase 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(); + } + } + } + + 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/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsRequest.java similarity index 71% rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsRequest.java index 602f184958..451633fdf5 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 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_ = ""; @@ -44,15 +26,16 @@ private AppendRowsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AppendRowsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AppendRowsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,123 +54,100 @@ private AppendRowsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - writeStream_ = s; - break; + writeStream_ = s; + break; + } + case 18: { + com.google.protobuf.Int64Value.Builder subBuilder = null; + if (offset_ != null) { + subBuilder = offset_.toBuilder(); + } + offset_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(offset_); + offset_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.Int64Value.Builder subBuilder = null; - if (offset_ != null) { - subBuilder = offset_.toBuilder(); - } - offset_ = - input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(offset_); - offset_ = subBuilder.buildPartial(); - } - break; + break; + } + case 34: { + com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData.Builder subBuilder = null; + if (rowsCase_ == 4) { + subBuilder = ((com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData) rows_).toBuilder(); } - case 34: - { - com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData.Builder - subBuilder = null; - if (rowsCase_ == 4) { - subBuilder = - ((com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData) rows_) - .toBuilder(); - } - rows_ = - input.readMessage( - com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData) rows_); - rows_ = subBuilder.buildPartial(); - } - rowsCase_ = 4; - break; + rows_ = + input.readMessage(com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData) rows_); + rows_ = subBuilder.buildPartial(); } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); + rowsCase_ = 4; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); - traceId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + traceId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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.
      * 
@@ -197,32 +157,24 @@ public interface ProtoDataOrBuilder 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.
      * 
@@ -232,37 +184,36 @@ public interface ProtoDataOrBuilder 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ProtoData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -281,85 +232,72 @@ private ProtoData( case 0: done = true; break; - case 10: - { - com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.Builder subBuilder = null; - if (writerSchema_ != null) { - subBuilder = writerSchema_.toBuilder(); - } - writerSchema_ = - input.readMessage( - com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(writerSchema_); - writerSchema_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.Builder subBuilder = null; + if (writerSchema_ != null) { + subBuilder = writerSchema_.toBuilder(); + } + writerSchema_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(writerSchema_); + writerSchema_ = subBuilder.buildPartial(); } - case 18: - { - com.google.cloud.bigquery.storage.v1beta2.ProtoRows.Builder subBuilder = null; - if (rows_ != null) { - subBuilder = rows_.toBuilder(); - } - rows_ = - input.readMessage( - com.google.cloud.bigquery.storage.v1beta2.ProtoRows.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(rows_); - rows_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 18: { + com.google.cloud.bigquery.storage.v1beta2.ProtoRows.Builder subBuilder = null; + if (rows_ != null) { + subBuilder = rows_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + rows_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta2.ProtoRows.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(rows_); + rows_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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 @@ -367,25 +305,18 @@ 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.
      * 
@@ -393,22 +324,18 @@ 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() { + public com.google.cloud.bigquery.storage.v1beta2.ProtoSchemaOrBuilder getWriterSchemaOrBuilder() { return getWriterSchema(); } 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 @@ -416,25 +343,18 @@ 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.
      * 
@@ -447,7 +367,6 @@ public com.google.cloud.bigquery.storage.v1beta2.ProtoRowsOrBuilder getRowsOrBui } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -465,7 +384,8 @@ 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()); } @@ -482,10 +402,12 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -495,21 +417,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -536,95 +459,87 @@ 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 @@ -634,50 +549,44 @@ 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() + // Construct using com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -697,22 +606,19 @@ 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); } @@ -721,8 +627,7 @@ 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); + com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData result = new com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData(this); if (writerSchemaBuilder_ == null) { result.writerSchema_ = writerSchema_; } else { @@ -741,54 +646,46 @@ public com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData bui 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()); } @@ -819,9 +716,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -833,47 +728,34 @@ public Builder mergeFrom( 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 writerSchemaBuilder_ != null || writerSchema_ != null; } /** - * - * *
        * 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.
        * 
@@ -894,8 +776,6 @@ public Builder setWriterSchema(com.google.cloud.bigquery.storage.v1beta2.ProtoSc return this; } /** - * - * *
        * Proto schema used to serialize the data.
        * 
@@ -914,22 +794,17 @@ 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 (writerSchema_ != null) { writerSchema_ = - com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.newBuilder(writerSchema_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.newBuilder(writerSchema_).mergeFrom(value).buildPartial(); } else { writerSchema_ = value; } @@ -941,8 +816,6 @@ public Builder mergeWriterSchema( return this; } /** - * - * *
        * Proto schema used to serialize the data.
        * 
@@ -961,42 +834,33 @@ 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() { + 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.
        * 
@@ -1004,17 +868,14 @@ public Builder clearWriterSchema() { * .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_; @@ -1022,47 +883,34 @@ public Builder clearWriterSchema() { 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 rowsBuilder_ != null || rows_ != null; } /** - * - * *
        * 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.
        * 
@@ -1083,8 +931,6 @@ public Builder setRows(com.google.cloud.bigquery.storage.v1beta2.ProtoRows value return this; } /** - * - * *
        * Serialized row data in protobuf message format.
        * 
@@ -1103,8 +949,6 @@ public Builder setRows( return this; } /** - * - * *
        * Serialized row data in protobuf message format.
        * 
@@ -1115,9 +959,7 @@ public Builder mergeRows(com.google.cloud.bigquery.storage.v1beta2.ProtoRows val if (rowsBuilder_ == null) { if (rows_ != null) { rows_ = - com.google.cloud.bigquery.storage.v1beta2.ProtoRows.newBuilder(rows_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.bigquery.storage.v1beta2.ProtoRows.newBuilder(rows_).mergeFrom(value).buildPartial(); } else { rows_ = value; } @@ -1129,8 +971,6 @@ public Builder mergeRows(com.google.cloud.bigquery.storage.v1beta2.ProtoRows val return this; } /** - * - * *
        * Serialized row data in protobuf message format.
        * 
@@ -1149,8 +989,6 @@ public Builder clearRows() { return this; } /** - * - * *
        * Serialized row data in protobuf message format.
        * 
@@ -1158,13 +996,11 @@ public Builder clearRows() { * .google.cloud.bigquery.storage.v1beta2.ProtoRows rows = 2; */ public com.google.cloud.bigquery.storage.v1beta2.ProtoRows.Builder getRowsBuilder() { - + onChanged(); return getRowsFieldBuilder().getBuilder(); } /** - * - * *
        * Serialized row data in protobuf message format.
        * 
@@ -1175,14 +1011,11 @@ 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.
        * 
@@ -1190,22 +1023,18 @@ 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) { @@ -1218,33 +1047,30 @@ 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 { - return new ProtoData(input, extensionRegistry); - } - }; + 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 { + return new ProtoData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1256,23 +1082,20 @@ 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; 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; } @@ -1288,29 +1111,25 @@ 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; 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
@@ -1319,10 +1138,7 @@ public RowsCase getRowsCase() {
    * 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 @@ -1331,15 +1147,14 @@ 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
@@ -1348,18 +1163,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. */ @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 { @@ -1370,8 +1184,6 @@ public com.google.protobuf.ByteString getWriteStreamBytes() { 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
@@ -1380,7 +1192,6 @@ public com.google.protobuf.ByteString getWriteStreamBytes() {
    * 
* * .google.protobuf.Int64Value offset = 2; - * * @return Whether the offset field is set. */ @java.lang.Override @@ -1388,8 +1199,6 @@ 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
@@ -1398,7 +1207,6 @@ public boolean hasOffset() {
    * 
* * .google.protobuf.Int64Value offset = 2; - * * @return The offset. */ @java.lang.Override @@ -1406,8 +1214,6 @@ 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
@@ -1424,14 +1230,11 @@ 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 @@ -1439,27 +1242,21 @@ 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.
    * 
@@ -1467,27 +1264,22 @@ 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; 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 @@ -1496,30 +1288,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 { @@ -1528,7 +1320,6 @@ public com.google.protobuf.ByteString getTraceIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1546,7 +1337,8 @@ 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 (!getWriteStreamBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, writeStream_); } @@ -1554,8 +1346,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io 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 (!getTraceIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, traceId_); @@ -1573,12 +1364,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 (!getTraceIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, traceId_); @@ -1591,24 +1382,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.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: @@ -1646,127 +1440,117 @@ 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() @@ -1774,15 +1558,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1802,9 +1587,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 @@ -1823,8 +1608,7 @@ 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); + com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest result = new com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest(this); result.writeStream_ = writeStream_; if (offsetBuilder_ == null) { result.offset_ = offset_; @@ -1848,39 +1632,38 @@ public com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest buildPartial( 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; @@ -1888,8 +1671,7 @@ 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_; onChanged(); @@ -1902,15 +1684,13 @@ 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.unknownFields); onChanged(); @@ -1936,8 +1716,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1946,12 +1725,12 @@ public Builder mergeFrom( } 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() { @@ -1961,10 +1740,9 @@ public Builder clearRows() { return this; } + 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
@@ -1973,16 +1751,14 @@ 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; @@ -1991,8 +1767,6 @@ 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
@@ -2001,17 +1775,16 @@ 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 { @@ -2019,8 +1792,6 @@ public com.google.protobuf.ByteString getWriteStreamBytes() { } } /** - * - * *
      * 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
@@ -2029,25 +1800,21 @@ public com.google.protobuf.ByteString getWriteStreamBytes() {
      * 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) { + public Builder setWriteStream( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + writeStream_ = value; 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
@@ -2056,21 +1823,16 @@ public Builder setWriteStream(java.lang.String value) {
      * 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() { - + writeStream_ = getDefaultInstance().getWriteStream(); 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
@@ -2079,19 +1841,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) { + public Builder setWriteStreamBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + writeStream_ = value; onChanged(); return this; @@ -2099,13 +1859,8 @@ public Builder setWriteStreamBytes(com.google.protobuf.ByteString value) { 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
@@ -2114,15 +1869,12 @@ public Builder setWriteStreamBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.protobuf.Int64Value offset = 2; - * * @return Whether the offset field is set. */ public boolean hasOffset() { return offsetBuilder_ != null || 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
@@ -2131,7 +1883,6 @@ public boolean hasOffset() {
      * 
* * .google.protobuf.Int64Value offset = 2; - * * @return The offset. */ public com.google.protobuf.Int64Value getOffset() { @@ -2142,8 +1893,6 @@ 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
@@ -2167,8 +1916,6 @@ 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
@@ -2178,7 +1925,8 @@ 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();
         onChanged();
@@ -2189,8 +1937,6 @@ public Builder setOffset(com.google.protobuf.Int64Value.Builder builderForValue)
       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
@@ -2204,7 +1950,7 @@ public Builder mergeOffset(com.google.protobuf.Int64Value value) {
       if (offsetBuilder_ == null) {
         if (offset_ != null) {
           offset_ =
-              com.google.protobuf.Int64Value.newBuilder(offset_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Int64Value.newBuilder(offset_).mergeFrom(value).buildPartial();
         } else {
           offset_ = value;
         }
@@ -2216,8 +1962,6 @@ 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
@@ -2239,8 +1983,6 @@ 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
@@ -2251,13 +1993,11 @@ public Builder clearOffset() {
      * .google.protobuf.Int64Value offset = 2;
      */
     public com.google.protobuf.Int64Value.Builder getOffsetBuilder() {
-
+      
       onChanged();
       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
@@ -2271,12 +2011,11 @@ 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
@@ -2287,37 +2026,27 @@ 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 @@ -2325,15 +2054,11 @@ 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 @@ -2342,28 +2067,22 @@ 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(); @@ -2377,18 +2096,14 @@ 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 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(); @@ -2399,27 +2114,18 @@ 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; } @@ -2434,14 +2140,11 @@ public Builder mergeProtoRows( 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) { @@ -2460,96 +2163,74 @@ 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()); rows_ = null; } rowsCase_ = 4; - onChanged(); - ; + onChanged();; return protoRowsBuilder_; } 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; @@ -2558,22 +2239,21 @@ 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 { @@ -2581,71 +2261,64 @@ public com.google.protobuf.ByteString getTraceIdBytes() { } } /** - * - * *
      * 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) { + public Builder setTraceId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + traceId_ = value; 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() { - + traceId_ = getDefaultInstance().getTraceId(); onChanged(); 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) { + public Builder setTraceIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + traceId_ = value; 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); } @@ -2655,12 +2328,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(); } @@ -2669,16 +2342,16 @@ 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 { - return new AppendRowsRequest(input, extensionRegistry); - } - }; + 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 { + return new AppendRowsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2693,4 +2366,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsRequestOrBuilder.java similarity index 76% rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsRequestOrBuilder.java index 8b721dcaf2..d42f115212 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 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
@@ -34,16 +16,11 @@ public interface AppendRowsRequestOrBuilder
    * 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
@@ -52,17 +29,13 @@ public interface AppendRowsRequestOrBuilder
    * 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
@@ -71,13 +44,10 @@ public interface AppendRowsRequestOrBuilder
    * 
* * .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
@@ -86,13 +56,10 @@ public interface AppendRowsRequestOrBuilder
    * 
* * .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
@@ -105,67 +72,53 @@ public interface AppendRowsRequestOrBuilder
   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(); public com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.RowsCase getRowsCase(); } diff --git a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsResponse.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsResponse.java similarity index 70% rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsResponse.java rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsResponse.java index d710849ff2..b60453d1fc 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsResponse.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsResponse.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AppendRowsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,129 +52,104 @@ private AppendRowsResponse( case 0: done = true; break; - case 10: - { - com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult.Builder - subBuilder = null; - if (responseCase_ == 1) { - subBuilder = - ((com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult) - response_) - .toBuilder(); - } - response_ = - input.readMessage( - com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult) - response_); - response_ = subBuilder.buildPartial(); - } - responseCase_ = 1; - break; + case 10: { + com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult.Builder subBuilder = null; + if (responseCase_ == 1) { + subBuilder = ((com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult) response_).toBuilder(); } - case 18: - { - com.google.rpc.Status.Builder subBuilder = null; - if (responseCase_ == 2) { - subBuilder = ((com.google.rpc.Status) response_).toBuilder(); - } - response_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.rpc.Status) response_); - response_ = subBuilder.buildPartial(); - } - responseCase_ = 2; - break; + response_ = + input.readMessage(com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult) response_); + response_ = subBuilder.buildPartial(); } - case 26: - { - com.google.cloud.bigquery.storage.v1beta2.TableSchema.Builder subBuilder = null; - if (updatedSchema_ != null) { - subBuilder = updatedSchema_.toBuilder(); - } - updatedSchema_ = - input.readMessage( - com.google.cloud.bigquery.storage.v1beta2.TableSchema.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updatedSchema_); - updatedSchema_ = subBuilder.buildPartial(); - } - - break; + responseCase_ = 1; + break; + } + case 18: { + com.google.rpc.Status.Builder subBuilder = null; + if (responseCase_ == 2) { + subBuilder = ((com.google.rpc.Status) response_).toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + response_ = + input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.rpc.Status) response_); + response_ = subBuilder.buildPartial(); + } + responseCase_ = 2; + break; + } + case 26: { + com.google.cloud.bigquery.storage.v1beta2.TableSchema.Builder subBuilder = null; + if (updatedSchema_ != null) { + subBuilder = updatedSchema_.toBuilder(); + } + updatedSchema_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta2.TableSchema.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updatedSchema_); + updatedSchema_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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.
@@ -201,37 +160,36 @@ public interface AppendResultOrBuilder
     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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AppendResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -250,68 +208,60 @@ private AppendResult( case 0: done = true; break; - case 10: - { - com.google.protobuf.Int64Value.Builder subBuilder = null; - if (offset_ != null) { - subBuilder = offset_.toBuilder(); - } - offset_ = - input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(offset_); - offset_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Int64Value.Builder subBuilder = null; + if (offset_ != null) { + subBuilder = offset_.toBuilder(); + } + offset_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(offset_); + offset_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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 @@ -319,15 +269,12 @@ 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 @@ -335,8 +282,6 @@ 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.
@@ -350,7 +295,6 @@ public com.google.protobuf.Int64ValueOrBuilder getOffsetOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -362,7 +306,8 @@ 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());
       }
@@ -376,7 +321,8 @@ 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 += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -386,18 +332,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.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 (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -419,101 +364,88 @@ 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
@@ -523,50 +455,44 @@ 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() + // Construct using com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -580,22 +506,19 @@ 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); } @@ -603,10 +526,8 @@ 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); + 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 (offsetBuilder_ == null) { result.offset_ = offset_; } else { @@ -620,54 +541,46 @@ public com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult 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()); } @@ -686,14 +599,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult parsedMessage = - null; + com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -705,35 +615,26 @@ public Builder mergeFrom( 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 offsetBuilder_ != null || 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. */ public com.google.protobuf.Int64Value getOffset() { @@ -744,8 +645,6 @@ 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.
@@ -767,8 +666,6 @@ 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.
@@ -776,7 +673,8 @@ 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();
           onChanged();
@@ -787,8 +685,6 @@ public Builder setOffset(com.google.protobuf.Int64Value.Builder builderForValue)
         return this;
       }
       /**
-       *
-       *
        * 
        * The row offset at which the last append occurred. The offset will not be
        * set if appending using default streams.
@@ -800,7 +696,7 @@ public Builder mergeOffset(com.google.protobuf.Int64Value value) {
         if (offsetBuilder_ == null) {
           if (offset_ != null) {
             offset_ =
-                com.google.protobuf.Int64Value.newBuilder(offset_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Int64Value.newBuilder(offset_).mergeFrom(value).buildPartial();
           } else {
             offset_ = value;
           }
@@ -812,8 +708,6 @@ 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.
@@ -833,8 +727,6 @@ 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.
@@ -843,13 +735,11 @@ public Builder clearOffset() {
        * .google.protobuf.Int64Value offset = 1;
        */
       public com.google.protobuf.Int64Value.Builder getOffsetBuilder() {
-
+        
         onChanged();
         return getOffsetFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * The row offset at which the last append occurred. The offset will not be
        * set if appending using default streams.
@@ -861,12 +751,11 @@ 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.
@@ -875,22 +764,18 @@ 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) {
@@ -903,33 +788,30 @@ 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 {
-            return new AppendResult(input, extensionRegistry);
-          }
-        };
+    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 {
+        return new AppendResult(input, extensionRegistry);
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -941,24 +823,21 @@ 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;
   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;
     }
@@ -974,37 +853,30 @@ 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 @@ -1012,50 +884,37 @@ 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.
@@ -1074,7 +933,6 @@ public boolean hasAppendResult() {
    * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ @java.lang.Override @@ -1082,8 +940,6 @@ public boolean hasError() { return responseCase_ == 2; } /** - * - * *
    * Error returned when problems were encountered.  If present,
    * it indicates rows were not accepted into the system.
@@ -1102,19 +958,16 @@ 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.
@@ -1137,7 +990,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();
   }
@@ -1145,8 +998,6 @@ 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
@@ -1154,7 +1005,6 @@ 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 @@ -1162,8 +1012,6 @@ 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
@@ -1171,18 +1019,13 @@ 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
@@ -1192,13 +1035,11 @@ 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() {
+  public com.google.cloud.bigquery.storage.v1beta2.TableSchemaOrBuilder getUpdatedSchemaOrBuilder() {
     return getUpdatedSchema();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1210,10 +1051,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_);
@@ -1231,19 +1072,16 @@ 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 += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -1253,25 +1091,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.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:
@@ -1309,127 +1149,117 @@ 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() @@ -1437,15 +1267,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1461,14 +1292,13 @@ 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(); } @@ -1483,8 +1313,7 @@ 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); + com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse result = new com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse(this); if (responseCase_ == 1) { if (appendResultBuilder_ == null) { result.response_ = response_; @@ -1513,39 +1342,38 @@ public com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse buildPartial 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; @@ -1553,27 +1381,22 @@ 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.unknownFields); onChanged(); @@ -1594,8 +1417,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1604,12 +1426,12 @@ public Builder mergeFrom( } 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() { @@ -1619,22 +1441,15 @@ public Builder clearResponse() { return this; } + 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 @@ -1642,49 +1457,35 @@ 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(); @@ -1698,19 +1499,14 @@ 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 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(); @@ -1721,29 +1517,18 @@ 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; } @@ -1758,15 +1543,11 @@ public Builder mergeAppendResult( 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) { @@ -1785,90 +1566,62 @@ 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; } responseCase_ = 1; - onChanged(); - ; + onChanged();; return appendResultBuilder_; } 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.
@@ -1887,7 +1640,6 @@ public Builder clearAppendResult() {
      * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ @java.lang.Override @@ -1895,8 +1647,6 @@ public boolean hasError() { return responseCase_ == 2; } /** - * - * *
      * Error returned when problems were encountered.  If present,
      * it indicates rows were not accepted into the system.
@@ -1915,7 +1665,6 @@ public boolean hasError() {
      * 
* * .google.rpc.Status error = 2; - * * @return The error. */ @java.lang.Override @@ -1933,8 +1682,6 @@ public com.google.rpc.Status getError() { } } /** - * - * *
      * Error returned when problems were encountered.  If present,
      * it indicates rows were not accepted into the system.
@@ -1968,8 +1715,6 @@ 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.
@@ -1989,7 +1734,8 @@ 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();
@@ -2000,8 +1746,6 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Error returned when problems were encountered.  If present,
      * it indicates rows were not accepted into the system.
@@ -2023,11 +1767,10 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) {
      */
     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;
         }
@@ -2042,8 +1785,6 @@ 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.
@@ -2080,8 +1821,6 @@ public Builder clearError() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Error returned when problems were encountered.  If present,
      * it indicates rows were not accepted into the system.
@@ -2105,8 +1844,6 @@ 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.
@@ -2138,8 +1875,6 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * Error returned when problems were encountered.  If present,
      * it indicates rows were not accepted into the system.
@@ -2160,35 +1895,28 @@ 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;
-      onChanged();
-      ;
+      onChanged();;
       return errorBuilder_;
     }
 
     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
@@ -2196,15 +1924,12 @@ 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 updatedSchemaBuilder_ != null || 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
@@ -2212,21 +1937,16 @@ 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
@@ -2249,8 +1969,6 @@ 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
@@ -2271,8 +1989,6 @@ 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
@@ -2285,9 +2001,7 @@ public Builder mergeUpdatedSchema(com.google.cloud.bigquery.storage.v1beta2.Tabl
       if (updatedSchemaBuilder_ == null) {
         if (updatedSchema_ != null) {
           updatedSchema_ =
-              com.google.cloud.bigquery.storage.v1beta2.TableSchema.newBuilder(updatedSchema_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.bigquery.storage.v1beta2.TableSchema.newBuilder(updatedSchema_).mergeFrom(value).buildPartial();
         } else {
           updatedSchema_ = value;
         }
@@ -2299,8 +2013,6 @@ 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
@@ -2321,8 +2033,6 @@ 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
@@ -2332,13 +2042,11 @@ public Builder clearUpdatedSchema() {
      * .google.cloud.bigquery.storage.v1beta2.TableSchema updated_schema = 3;
      */
     public com.google.cloud.bigquery.storage.v1beta2.TableSchema.Builder getUpdatedSchemaBuilder() {
-
+      
       onChanged();
       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
@@ -2347,19 +2055,15 @@ 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
@@ -2369,24 +2073,21 @@ public com.google.cloud.bigquery.storage.v1beta2.TableSchema.Builder getUpdatedS
      * .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);
     }
 
@@ -2396,13 +2097,12 @@ 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();
   }
@@ -2411,16 +2111,16 @@ 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 {
-          return new AppendRowsResponse(input, extensionRegistry);
-        }
-      };
+  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 {
+      return new AppendRowsResponse(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2435,4 +2135,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsResponseOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsResponseOrBuilder.java
similarity index 83%
rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsResponseOrBuilder.java
rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsResponseOrBuilder.java
index 5d920cd579..6eebce822a 100644
--- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsResponseOrBuilder.java
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsResponseOrBuilder.java
@@ -1,70 +1,40 @@
-/*
- * Copyright 2020 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.
@@ -83,13 +53,10 @@ public interface AppendRowsResponseOrBuilder
    * 
* * .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.
@@ -108,13 +75,10 @@ public interface AppendRowsResponseOrBuilder
    * 
* * .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.
@@ -137,8 +101,6 @@ public interface AppendRowsResponseOrBuilder
   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
@@ -146,13 +108,10 @@ public interface AppendRowsResponseOrBuilder
    * 
* * .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
@@ -160,13 +119,10 @@ public interface AppendRowsResponseOrBuilder
    * 
* * .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
@@ -177,6 +133,5 @@ public interface AppendRowsResponseOrBuilder
    */
   com.google.cloud.bigquery.storage.v1beta2.TableSchemaOrBuilder getUpdatedSchemaOrBuilder();
 
-  public com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.ResponseCase
-      getResponseCase();
+  public com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.ResponseCase getResponseCase();
 }
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
new file mode 100644
index 0000000000..0a234c614a
--- /dev/null
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowProto.java
@@ -0,0 +1,80 @@
+// 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\207\001\n)com.google.cloud.bigquery" +
+      ".storage.v1beta2B\nArrowProtoP\001ZLgoogle.g" +
+      "olang.org/genproto/googleapis/cloud/bigq" +
+      "uery/storage/v1beta2;storageb\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/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowRecordBatch.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowRecordBatch.java
similarity index 69%
rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowRecordBatch.java
rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowRecordBatch.java
index 9d921bed00..0eaf934f06 100644
--- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowRecordBatch.java
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowRecordBatch.java
@@ -1,57 +1,40 @@
-/*
- * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ArrowRecordBatch( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,56 +53,51 @@ private ArrowRecordBatch( case 0: done = true; break; - case 10: - { - serializedRecordBatch_ = input.readBytes(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 10: { + + serializedRecordBatch_ = input.readBytes(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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_; /** - * - * *
    * IPC-serialized Arrow RecordBatch.
    * 
* * bytes serialized_record_batch = 1; - * * @return The serializedRecordBatch. */ @java.lang.Override @@ -128,7 +106,6 @@ public com.google.protobuf.ByteString getSerializedRecordBatch() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -140,7 +117,8 @@ 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_); } @@ -154,7 +132,8 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -164,15 +143,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -192,127 +171,117 @@ 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() @@ -320,15 +289,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -338,9 +308,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 @@ -359,8 +329,7 @@ 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); + com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch result = new com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch(this); result.serializedRecordBatch_ = serializedRecordBatch_; onBuilt(); return result; @@ -370,39 +339,38 @@ public com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch buildPartial() 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; @@ -410,8 +378,7 @@ 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()); } @@ -434,8 +401,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -445,17 +411,13 @@ public Builder mergeFrom( return this; } - 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 @@ -463,46 +425,40 @@ 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(); - } - + throw new NullPointerException(); + } + serializedRecordBatch_ = value; onChanged(); return this; } /** - * - * *
      * IPC-serialized Arrow RecordBatch.
      * 
* * bytes serialized_record_batch = 1; - * * @return This builder for chaining. */ public Builder clearSerializedRecordBatch() { - + serializedRecordBatch_ = getDefaultInstance().getSerializedRecordBatch(); 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); } @@ -512,12 +468,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(); } @@ -526,16 +482,16 @@ 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 { - return new ArrowRecordBatch(input, extensionRegistry); - } - }; + 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 { + return new ArrowRecordBatch(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -550,4 +506,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch 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/ArrowRecordBatchOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowRecordBatchOrBuilder.java new file mode 100644 index 0000000000..70c01bd2a7 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowRecordBatchOrBuilder.java @@ -0,0 +1,19 @@ +// 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/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSchema.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSchema.java similarity index 69% rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSchema.java rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSchema.java index b9d3b96a98..83848b32e3 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSchema.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSchema.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 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
@@ -31,31 +14,31 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ArrowSchema(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,56 +57,51 @@ private ArrowSchema(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              serializedSchema_ = input.readBytes();
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+          case 10: {
+
+            serializedSchema_ = input.readBytes();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  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_;
   /**
-   *
-   *
    * 
    * IPC serialized Arrow schema.
    * 
* * bytes serialized_schema = 1; - * * @return The serializedSchema. */ @java.lang.Override @@ -132,7 +110,6 @@ public com.google.protobuf.ByteString getSerializedSchema() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -144,7 +121,8 @@ 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_); } @@ -158,7 +136,8 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -168,15 +147,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -196,104 +175,96 @@ 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
@@ -304,23 +275,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * 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()
@@ -328,15 +297,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -346,9 +316,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
@@ -367,8 +337,7 @@ 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);
+      com.google.cloud.bigquery.storage.v1beta2.ArrowSchema result = new com.google.cloud.bigquery.storage.v1beta2.ArrowSchema(this);
       result.serializedSchema_ = serializedSchema_;
       onBuilt();
       return result;
@@ -378,39 +347,38 @@ public com.google.cloud.bigquery.storage.v1beta2.ArrowSchema buildPartial() {
     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;
@@ -418,8 +386,7 @@ 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());
       }
@@ -442,8 +409,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -455,14 +421,11 @@ public Builder mergeFrom(
 
     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 @@ -470,46 +433,40 @@ 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(); - } - + throw new NullPointerException(); + } + serializedSchema_ = value; onChanged(); return this; } /** - * - * *
      * IPC serialized Arrow schema.
      * 
* * bytes serialized_schema = 1; - * * @return This builder for chaining. */ public Builder clearSerializedSchema() { - + serializedSchema_ = getDefaultInstance().getSerializedSchema(); 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); } @@ -519,12 +476,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(); } @@ -533,16 +490,16 @@ 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 { - return new ArrowSchema(input, extensionRegistry); - } - }; + 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 { + return new ArrowSchema(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -557,4 +514,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1beta2.ArrowSchema 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/ArrowSchemaOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSchemaOrBuilder.java new file mode 100644 index 0000000000..f86fe84d59 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSchemaOrBuilder.java @@ -0,0 +1,19 @@ +// 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/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSerializationOptions.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSerializationOptions.java similarity index 63% rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSerializationOptions.java rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSerializationOptions.java index 3af25b35a2..a9a4c5b7aa 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSerializationOptions.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSerializationOptions.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ArrowSerializationOptions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,60 +53,54 @@ private ArrowSerializationOptions( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - format_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + format_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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.
      * 
@@ -132,8 +109,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ FORMAT_UNSPECIFIED(0), /** - * - * *
      * Use the legacy IPC message format as of Apache Arrow Release 0.14.
      * 
@@ -142,8 +117,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ ARROW_0_14(1), /** - * - * *
      * Use the message format as of Apache Arrow Release 0.15.
      * 
@@ -155,8 +128,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * If unspecied the IPC format as of 0.15 release will be used.
      * 
@@ -165,8 +136,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FORMAT_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Use the legacy IPC message format as of Apache Arrow Release 0.14.
      * 
@@ -175,8 +144,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ARROW_0_14_VALUE = 1; /** - * - * *
      * Use the message format as of Apache Arrow Release 0.15.
      * 
@@ -185,6 +152,7 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ARROW_0_15_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -209,51 +177,49 @@ 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); + } + }; - 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() { + 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; @@ -273,45 +239,31 @@ private Format(int value) { public static final int FORMAT_FIELD_NUMBER = 1; private int 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 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() { + @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format getFormat() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format result = - com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format.valueOf(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.valueOf(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; @@ -323,11 +275,9 @@ 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_); } unknownFields.writeTo(output); @@ -339,11 +289,9 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -353,13 +301,12 @@ 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 (!unknownFields.equals(other.unknownFields)) return false; @@ -381,145 +328,134 @@ 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() + // Construct using com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -529,16 +465,14 @@ 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 @@ -552,8 +486,7 @@ 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); + com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions result = new com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions(this); result.format_ = format_; onBuilt(); return result; @@ -563,51 +496,46 @@ public com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions build 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()); } @@ -630,9 +558,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -644,106 +570,80 @@ public Builder mergeFrom( 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. */ public Builder setFormatValue(int value) { - + format_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format result = - com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format.valueOf( - 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.valueOf(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(); } - + format_ = value.getNumber(); onChanged(); 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() { - + format_ = 0; 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); } @@ -753,32 +653,30 @@ 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 { - return new ArrowSerializationOptions(input, extensionRegistry); - } - }; + 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 { + return new ArrowSerializationOptions(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -790,8 +688,9 @@ 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/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSerializationOptionsOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSerializationOptionsOrBuilder.java similarity index 51% rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSerializationOptionsOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSerializationOptionsOrBuilder.java index 133e8b1903..54f3c813e5 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSerializationOptionsOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSerializationOptionsOrBuilder.java @@ -1,51 +1,27 @@ -/* - * Copyright 2020 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/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 new file mode 100644 index 0000000000..aaa65af337 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroProto.java @@ -0,0 +1,64 @@ +// 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\206\001\n)com.google.cloud.bigquery.storag" + + "e.v1beta2B\tAvroProtoP\001ZLgoogle.golang.or" + + "g/genproto/googleapis/cloud/bigquery/sto" + + "rage/v1beta2;storageb\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/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroRows.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroRows.java similarity index 68% rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroRows.java rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroRows.java index d1ba30b290..b602fba0dc 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroRows.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroRows.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AvroRows( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,56 +53,51 @@ private AvroRows( case 0: done = true; break; - case 10: - { - serializedBinaryRows_ = input.readBytes(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 10: { + + serializedBinaryRows_ = input.readBytes(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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_; /** - * - * *
    * Binary serialized rows in a block.
    * 
* * bytes serialized_binary_rows = 1; - * * @return The serializedBinaryRows. */ @java.lang.Override @@ -128,7 +106,6 @@ public com.google.protobuf.ByteString getSerializedBinaryRows() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -140,7 +117,8 @@ 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_); } @@ -154,7 +132,8 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -164,15 +143,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -192,126 +171,117 @@ 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() @@ -319,15 +289,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -337,9 +308,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 @@ -358,8 +329,7 @@ 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); + com.google.cloud.bigquery.storage.v1beta2.AvroRows result = new com.google.cloud.bigquery.storage.v1beta2.AvroRows(this); result.serializedBinaryRows_ = serializedBinaryRows_; onBuilt(); return result; @@ -369,39 +339,38 @@ public com.google.cloud.bigquery.storage.v1beta2.AvroRows buildPartial() { 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; @@ -409,8 +378,7 @@ 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()); } @@ -433,8 +401,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1beta2.AvroRows) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.AvroRows) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -444,17 +411,13 @@ public Builder mergeFrom( return this; } - 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 @@ -462,46 +425,40 @@ 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(); - } - + throw new NullPointerException(); + } + serializedBinaryRows_ = value; onChanged(); return this; } /** - * - * *
      * Binary serialized rows in a block.
      * 
* * bytes serialized_binary_rows = 1; - * * @return This builder for chaining. */ public Builder clearSerializedBinaryRows() { - + serializedBinaryRows_ = getDefaultInstance().getSerializedBinaryRows(); 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); } @@ -511,12 +468,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(); } @@ -525,16 +482,16 @@ 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 { - return new AvroRows(input, extensionRegistry); - } - }; + 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 { + return new AvroRows(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -549,4 +506,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1beta2.AvroRows 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/AvroRowsOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroRowsOrBuilder.java new file mode 100644 index 0000000000..3ad59856ae --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroRowsOrBuilder.java @@ -0,0 +1,19 @@ +// 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/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroSchema.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroSchema.java similarity index 68% rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroSchema.java rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroSchema.java index d7c995f17c..80ddbd6416 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroSchema.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroSchema.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AvroSchema( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,59 +53,53 @@ private AvroSchema( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - schema_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + schema_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -131,30 +108,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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getSchemaBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ 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 (!getSchemaBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, schema_); } @@ -199,15 +176,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,126 +204,117 @@ 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() @@ -354,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -372,9 +341,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 @@ -393,8 +362,7 @@ 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); + com.google.cloud.bigquery.storage.v1beta2.AvroSchema result = new com.google.cloud.bigquery.storage.v1beta2.AvroSchema(this); result.schema_ = schema_; onBuilt(); return result; @@ -404,39 +372,38 @@ public com.google.cloud.bigquery.storage.v1beta2.AvroSchema buildPartial() { 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; @@ -444,8 +411,7 @@ 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_; onChanged(); @@ -469,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1beta2.AvroSchema) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.AvroSchema) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -482,21 +447,19 @@ public Builder mergeFrom( 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; @@ -505,22 +468,21 @@ 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 { @@ -528,71 +490,64 @@ public com.google.protobuf.ByteString getSchemaBytes() { } } /** - * - * *
      * 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) { + public Builder setSchema( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + schema_ = value; 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() { - + schema_ = getDefaultInstance().getSchema(); onChanged(); 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) { + public Builder setSchemaBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + schema_ = value; 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); } @@ -602,12 +557,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(); } @@ -616,16 +571,16 @@ 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 { - return new AvroSchema(input, extensionRegistry); - } - }; + 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 { + return new AvroSchema(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -640,4 +595,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1beta2.AvroSchema getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroSchemaOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroSchemaOrBuilder.java similarity index 51% rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroSchemaOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroSchemaOrBuilder.java index 03ac8890e5..410287e41a 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroSchemaOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroSchemaOrBuilder.java @@ -1,52 +1,31 @@ -/* - * Copyright 2020 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/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsRequest.java similarity index 68% rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsRequest.java index fe6826a739..d7e61aa394 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsRequest.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 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.EMPTY; @@ -45,15 +26,16 @@ private BatchCommitWriteStreamsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BatchCommitWriteStreamsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private BatchCommitWriteStreamsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,36 +55,35 @@ private BatchCommitWriteStreamsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - writeStreams_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - writeStreams_.add(s); - break; + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + writeStreams_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + writeStreams_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { writeStreams_ = writeStreams_.getUnmodifiableView(); @@ -111,34 +92,28 @@ private BatchCommitWriteStreamsRequest( makeExtensionsImmutable(); } } - - 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; 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 @@ -147,30 +122,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 { @@ -181,42 +156,34 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int WRITE_STREAMS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList writeStreams_; /** - * - * *
    * 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. */ @@ -224,23 +191,20 @@ 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; @@ -252,7 +216,8 @@ 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 (!getParentBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -287,17 +252,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -321,146 +286,134 @@ 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() + // Construct using com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -472,22 +425,19 @@ 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_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); } @@ -496,8 +446,7 @@ 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); + com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest result = new com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; if (((bitField0_ & 0x00000001) != 0)) { @@ -513,52 +462,46 @@ public com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest 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_; onChanged(); @@ -592,9 +535,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -603,26 +544,23 @@ public Builder mergeFrom( } 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; @@ -631,22 +569,21 @@ 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 { @@ -654,115 +591,98 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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]; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList writeStreams_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList writeStreams_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureWriteStreamsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { writeStreams_ = new com.google.protobuf.LazyStringArrayList(writeStreams_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * 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_.getUnmodifiableView(); } /** - * - * *
      * 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. */ @@ -770,90 +690,80 @@ 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) { + public Builder setWriteStreams( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureWriteStreamsIsMutable(); + throw new NullPointerException(); + } + ensureWriteStreamsIsMutable(); writeStreams_.set(index, value); 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 writeStreams to add. * @return This builder for chaining. */ - public Builder addWriteStreams(java.lang.String value) { + public Builder addWriteStreams( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureWriteStreamsIsMutable(); + throw new NullPointerException(); + } + ensureWriteStreamsIsMutable(); writeStreams_.add(value); onChanged(); 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_); 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() { @@ -863,30 +773,28 @@ public Builder clearWriteStreams() { 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) { + public Builder addWriteStreamsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureWriteStreamsIsMutable(); writeStreams_.add(value); 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); } @@ -896,33 +804,30 @@ 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 { - return new BatchCommitWriteStreamsRequest(input, extensionRegistry); - } - }; + 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 { + return new BatchCommitWriteStreamsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -934,8 +839,9 @@ 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/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsRequestOrBuilder.java index d06e88a517..2f98d380cc 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsRequestOrBuilder.java @@ -1,103 +1,72 @@ -/* - * Copyright 2020 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/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsResponse.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsResponse.java similarity index 74% rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsResponse.java rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsResponse.java index 3f30a674f0..dbf5ccd4e2 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsResponse.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsResponse.java @@ -1,58 +1,40 @@ -/* - * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private BatchCommitWriteStreamsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,48 +54,42 @@ private BatchCommitWriteStreamsResponse( case 0: done = true; break; - case 10: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (commitTime_ != null) { - subBuilder = commitTime_.toBuilder(); - } - commitTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(commitTime_); - commitTime_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (commitTime_ != null) { + subBuilder = commitTime_.toBuilder(); } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - streamErrors_ = - new java.util.ArrayList< - com.google.cloud.bigquery.storage.v1beta2.StorageError>(); - mutable_bitField0_ |= 0x00000001; - } - streamErrors_.add( - input.readMessage( - com.google.cloud.bigquery.storage.v1beta2.StorageError.parser(), - extensionRegistry)); - break; + commitTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(commitTime_); + commitTime_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + streamErrors_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } + streamErrors_.add( + input.readMessage(com.google.cloud.bigquery.storage.v1beta2.StorageError.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { streamErrors_ = java.util.Collections.unmodifiableList(streamErrors_); @@ -122,28 +98,22 @@ private BatchCommitWriteStreamsResponse( makeExtensionsImmutable(); } } - - 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.
@@ -151,7 +121,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.protobuf.Timestamp commit_time = 1; - * * @return Whether the commitTime field is set. */ @java.lang.Override @@ -159,8 +128,6 @@ 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.
@@ -168,7 +135,6 @@ public boolean hasCommitTime() {
    * 
* * .google.protobuf.Timestamp commit_time = 1; - * * @return The commitTime. */ @java.lang.Override @@ -176,8 +142,6 @@ 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.
@@ -194,8 +158,6 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() {
   public static final int STREAM_ERRORS_FIELD_NUMBER = 2;
   private java.util.List streamErrors_;
   /**
-   *
-   *
    * 
    * Stream level error if commit failed. Only streams with error will be in
    * the list.
@@ -207,13 +169,10 @@ 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.
@@ -225,13 +184,11 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() {
    * 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.
@@ -247,8 +204,6 @@ public int getStreamErrorsCount() {
     return streamErrors_.size();
   }
   /**
-   *
-   *
    * 
    * Stream level error if commit failed. Only streams with error will be in
    * the list.
@@ -264,8 +219,6 @@ 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.
@@ -283,7 +236,6 @@ public com.google.cloud.bigquery.storage.v1beta2.StorageErrorOrBuilder getStream
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -295,7 +247,8 @@ 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());
     }
@@ -312,10 +265,12 @@ 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 += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -325,20 +280,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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -364,148 +319,135 @@ 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() + // Construct using com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getStreamErrorsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -525,22 +467,19 @@ 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); } @@ -548,10 +487,8 @@ 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); int from_bitField0_ = bitField0_; if (commitTimeBuilder_ == null) { result.commitTime_ = commitTime_; @@ -575,52 +512,46 @@ public com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse 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()); } @@ -642,10 +573,9 @@ public Builder mergeFrom( streamErrorsBuilder_ = null; streamErrors_ = other.streamErrors_; bitField0_ = (bitField0_ & ~0x00000001); - streamErrorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getStreamErrorsFieldBuilder() - : null; + streamErrorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getStreamErrorsFieldBuilder() : null; } else { streamErrorsBuilder_.addAllMessages(other.streamErrors_); } @@ -666,14 +596,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse parsedMessage = - null; + com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -682,18 +609,12 @@ public Builder mergeFrom( } 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.
@@ -701,15 +622,12 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.Timestamp commit_time = 1; - * * @return Whether the commitTime field is set. */ public boolean hasCommitTime() { return commitTimeBuilder_ != null || commitTime_ != null; } /** - * - * *
      * The time at which streams were committed in microseconds granularity.
      * This field will only exist when there are no stream errors.
@@ -717,21 +635,16 @@ 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.
@@ -754,8 +667,6 @@ 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.
@@ -764,7 +675,8 @@ 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();
         onChanged();
@@ -775,8 +687,6 @@ public Builder setCommitTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which streams were committed in microseconds granularity.
      * This field will only exist when there are no stream errors.
@@ -789,7 +699,7 @@ public Builder mergeCommitTime(com.google.protobuf.Timestamp value) {
       if (commitTimeBuilder_ == null) {
         if (commitTime_ != null) {
           commitTime_ =
-              com.google.protobuf.Timestamp.newBuilder(commitTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(commitTime_).mergeFrom(value).buildPartial();
         } else {
           commitTime_ = value;
         }
@@ -801,8 +711,6 @@ 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.
@@ -823,8 +731,6 @@ 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.
@@ -834,13 +740,11 @@ public Builder clearCommitTime() {
      * .google.protobuf.Timestamp commit_time = 1;
      */
     public com.google.protobuf.Timestamp.Builder getCommitTimeBuilder() {
-
+      
       onChanged();
       return getCommitTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time at which streams were committed in microseconds granularity.
      * This field will only exist when there are no stream errors.
@@ -853,14 +757,11 @@ 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.
@@ -870,43 +771,32 @@ 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_ & 0x00000001) != 0)) {
-        streamErrors_ =
-            new java.util.ArrayList(
-                streamErrors_);
+        streamErrors_ = new java.util.ArrayList(streamErrors_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     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.
@@ -917,8 +807,7 @@ 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 {
@@ -926,8 +815,6 @@ private void ensureStreamErrorsIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -946,8 +833,6 @@ public int getStreamErrorsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -966,8 +851,6 @@ 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.
@@ -993,8 +876,6 @@ public Builder setStreamErrors(
       return this;
     }
     /**
-     *
-     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -1017,8 +898,6 @@ public Builder setStreamErrors(
       return this;
     }
     /**
-     *
-     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -1043,8 +922,6 @@ 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.
@@ -1070,8 +947,6 @@ public Builder addStreamErrors(
       return this;
     }
     /**
-     *
-     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -1094,8 +969,6 @@ public Builder addStreamErrors(
       return this;
     }
     /**
-     *
-     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -1118,8 +991,6 @@ public Builder addStreamErrors(
       return this;
     }
     /**
-     *
-     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -1131,11 +1002,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);
@@ -1143,8 +1014,6 @@ public Builder addAllStreamErrors(
       return this;
     }
     /**
-     *
-     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -1166,8 +1035,6 @@ public Builder clearStreamErrors() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -1189,8 +1056,6 @@ public Builder removeStreamErrors(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -1206,8 +1071,6 @@ 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.
@@ -1221,14 +1084,11 @@ 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.
@@ -1239,8 +1099,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 {
@@ -1248,8 +1108,6 @@ public com.google.cloud.bigquery.storage.v1beta2.StorageErrorOrBuilder getStream
       }
     }
     /**
-     *
-     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -1261,12 +1119,10 @@ 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.
@@ -1279,13 +1135,10 @@ 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.
@@ -1296,30 +1149,27 @@ 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_ & 0x00000001) != 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_ & 0x00000001) != 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);
     }
 
@@ -1329,33 +1179,30 @@ 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 {
-          return new BatchCommitWriteStreamsResponse(input, extensionRegistry);
-        }
-      };
+  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 {
+      return new BatchCommitWriteStreamsResponse(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1367,8 +1214,9 @@ 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/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsResponseOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsResponseOrBuilder.java
similarity index 83%
rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsResponseOrBuilder.java
rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsResponseOrBuilder.java
index 4ee30d3923..e16034d461 100644
--- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsResponseOrBuilder.java
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsResponseOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 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.
@@ -33,13 +15,10 @@ public interface BatchCommitWriteStreamsResponseOrBuilder
    * 
* * .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.
@@ -47,13 +26,10 @@ public interface BatchCommitWriteStreamsResponseOrBuilder
    * 
* * .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.
@@ -65,8 +41,6 @@ public interface BatchCommitWriteStreamsResponseOrBuilder
   com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Stream level error if commit failed. Only streams with error will be in
    * the list.
@@ -77,10 +51,9 @@ public interface BatchCommitWriteStreamsResponseOrBuilder
    *
    * 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.
@@ -93,8 +66,6 @@ public interface BatchCommitWriteStreamsResponseOrBuilder
    */
   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.
@@ -107,8 +78,6 @@ public interface BatchCommitWriteStreamsResponseOrBuilder
    */
   int getStreamErrorsCount();
   /**
-   *
-   *
    * 
    * Stream level error if commit failed. Only streams with error will be in
    * the list.
@@ -119,11 +88,9 @@ public interface BatchCommitWriteStreamsResponseOrBuilder
    *
    * 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/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateReadSessionRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateReadSessionRequest.java
similarity index 63%
rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateReadSessionRequest.java
rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateReadSessionRequest.java
index 39a40b8f1c..17064ae4dd 100644
--- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateReadSessionRequest.java
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateReadSessionRequest.java
@@ -1,57 +1,40 @@
-/*
- * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateReadSessionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,83 +53,71 @@ private CreateReadSessionRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: - { - com.google.cloud.bigquery.storage.v1beta2.ReadSession.Builder subBuilder = null; - if (readSession_ != null) { - subBuilder = readSession_.toBuilder(); - } - readSession_ = - input.readMessage( - com.google.cloud.bigquery.storage.v1beta2.ReadSession.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readSession_); - readSession_ = subBuilder.buildPartial(); - } + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.bigquery.storage.v1beta2.ReadSession.Builder subBuilder = null; + if (readSession_ != null) { + subBuilder = readSession_.toBuilder(); } - case 24: - { - maxStreamCount_ = input.readInt32(); - break; + readSession_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta2.ReadSession.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readSession_); + readSession_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 24: { + + maxStreamCount_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -155,32 +126,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. 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 { @@ -191,16 +160,11 @@ public com.google.protobuf.ByteString getParentBytes() { 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 @@ -208,34 +172,23 @@ 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() { @@ -245,8 +198,6 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadSessionOrBuilder getReadSes public static final int MAX_STREAM_COUNT_FIELD_NUMBER = 3; 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
@@ -258,7 +209,6 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadSessionOrBuilder getReadSes
    * 
* * int32 max_stream_count = 3; - * * @return The maxStreamCount. */ @java.lang.Override @@ -267,7 +217,6 @@ public int getMaxStreamCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -279,7 +228,8 @@ 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 (!getParentBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -302,10 +252,12 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -315,20 +267,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -354,145 +308,134 @@ 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() + // Construct using com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -510,16 +453,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_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 @@ -533,8 +474,7 @@ 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); + com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest result = new com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest(this); result.parent_ = parent_; if (readSessionBuilder_ == null) { result.readSession_ = readSession_; @@ -550,51 +490,46 @@ public com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest buildP 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_; onChanged(); @@ -624,9 +559,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -638,23 +571,19 @@ public Builder mergeFrom( 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; @@ -663,24 +592,21 @@ 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 { @@ -688,70 +614,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -759,58 +672,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { 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 readSessionBuilder_ != null || 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. */ 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) { @@ -826,15 +720,11 @@ 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) { @@ -848,23 +738,17 @@ 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 (readSession_ != null) { readSession_ = - com.google.cloud.bigquery.storage.v1beta2.ReadSession.newBuilder(readSession_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.bigquery.storage.v1beta2.ReadSession.newBuilder(readSession_).mergeFrom(value).buildPartial(); } else { readSession_ = value; } @@ -876,15 +760,11 @@ 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() { if (readSessionBuilder_ == null) { @@ -898,74 +778,55 @@ 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() { - + onChanged(); 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
@@ -977,7 +838,6 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadSession.Builder getReadSess
      * 
* * int32 max_stream_count = 3; - * * @return The maxStreamCount. */ @java.lang.Override @@ -985,8 +845,6 @@ 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
@@ -998,19 +856,16 @@ public int getMaxStreamCount() {
      * 
* * int32 max_stream_count = 3; - * * @param value The maxStreamCount to set. * @return This builder for chaining. */ public Builder setMaxStreamCount(int value) { - + maxStreamCount_ = value; onChanged(); 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
@@ -1022,18 +877,17 @@ public Builder setMaxStreamCount(int value) {
      * 
* * int32 max_stream_count = 3; - * * @return This builder for chaining. */ public Builder clearMaxStreamCount() { - + maxStreamCount_ = 0; 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); } @@ -1043,32 +897,30 @@ 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 { - return new CreateReadSessionRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateReadSessionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1080,8 +932,9 @@ 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/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateReadSessionRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateReadSessionRequestOrBuilder.java similarity index 55% rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateReadSessionRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateReadSessionRequestOrBuilder.java index 3ce93c86fd..91c0fe9601 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateReadSessionRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateReadSessionRequestOrBuilder.java @@ -1,103 +1,62 @@ -/* - * Copyright 2020 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
@@ -109,7 +68,6 @@ public interface CreateReadSessionRequestOrBuilder
    * 
* * int32 max_stream_count = 3; - * * @return The maxStreamCount. */ int getMaxStreamCount(); diff --git a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateWriteStreamRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateWriteStreamRequest.java similarity index 61% rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateWriteStreamRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateWriteStreamRequest.java index ada2181316..6b250e54b0 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateWriteStreamRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateWriteStreamRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateWriteStreamRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,78 +53,66 @@ private CreateWriteStreamRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.bigquery.storage.v1beta2.WriteStream.Builder subBuilder = null; + if (writeStream_ != null) { + subBuilder = writeStream_.toBuilder(); } - case 18: - { - com.google.cloud.bigquery.storage.v1beta2.WriteStream.Builder subBuilder = null; - if (writeStream_ != null) { - subBuilder = writeStream_.toBuilder(); - } - writeStream_ = - input.readMessage( - com.google.cloud.bigquery.storage.v1beta2.WriteStream.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(writeStream_); - writeStream_ = subBuilder.buildPartial(); - } - - break; + writeStream_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta2.WriteStream.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(writeStream_); + writeStream_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -150,32 +121,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. 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 { @@ -186,16 +155,11 @@ public com.google.protobuf.ByteString getParentBytes() { 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 @@ -203,34 +167,23 @@ 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() { @@ -238,7 +191,6 @@ public com.google.cloud.bigquery.storage.v1beta2.WriteStreamOrBuilder getWriteSt } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -250,7 +202,8 @@ 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 (!getParentBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -270,7 +223,8 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -280,18 +234,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -316,145 +271,134 @@ 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() + // Construct using com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -470,16 +414,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_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 @@ -493,8 +435,7 @@ 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); + com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest result = new com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest(this); result.parent_ = parent_; if (writeStreamBuilder_ == null) { result.writeStream_ = writeStream_; @@ -509,51 +450,46 @@ public com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest buildP 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_; onChanged(); @@ -580,9 +516,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -594,23 +528,19 @@ public Builder mergeFrom( 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; @@ -619,24 +549,21 @@ 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 { @@ -644,70 +571,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -715,58 +629,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { 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 writeStreamBuilder_ != null || 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. */ 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) { @@ -782,15 +677,11 @@ 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) { @@ -804,23 +695,17 @@ 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 (writeStream_ != null) { writeStream_ = - com.google.cloud.bigquery.storage.v1beta2.WriteStream.newBuilder(writeStream_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.bigquery.storage.v1beta2.WriteStream.newBuilder(writeStream_).mergeFrom(value).buildPartial(); } else { writeStream_ = value; } @@ -832,15 +717,11 @@ 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() { if (writeStreamBuilder_ == null) { @@ -854,72 +735,55 @@ 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() { - + onChanged(); 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); } @@ -929,32 +793,30 @@ 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 { - return new CreateWriteStreamRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateWriteStreamRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -966,8 +828,9 @@ 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/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 new file mode 100644 index 0000000000..cca21cca1c --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateWriteStreamRequestOrBuilder.java @@ -0,0 +1,58 @@ +// 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/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/DataFormat.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/DataFormat.java similarity index 65% rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/DataFormat.java rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/DataFormat.java index 16f9360238..788f735937 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/DataFormat.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/DataFormat.java @@ -1,38 +1,22 @@ -/* - * Copyright 2020 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.
@@ -42,8 +26,6 @@ public enum DataFormat implements com.google.protobuf.ProtocolMessageEnum {
    */
   AVRO(1),
   /**
-   *
-   *
    * 
    * Arrow is a standard open source column-based message format.
    * See https://arrow.apache.org/ for more details.
@@ -55,11 +37,11 @@ public enum DataFormat implements com.google.protobuf.ProtocolMessageEnum {
   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.
@@ -69,8 +51,6 @@ public enum DataFormat implements com.google.protobuf.ProtocolMessageEnum {
    */
   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.
@@ -80,6 +60,7 @@ public enum DataFormat implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int ARROW_VALUE = 2;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -104,51 +85,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 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<
+      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() {
     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;
@@ -164,3 +143,4 @@ private DataFormat(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.bigquery.storage.v1beta2.DataFormat)
 }
+
diff --git a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamRequest.java
similarity index 62%
rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamRequest.java
rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamRequest.java
index 3cf0043f37..94e6ca45a1 100644
--- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamRequest.java
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamRequest.java
@@ -1,57 +1,40 @@
-/*
- * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private FinalizeWriteStreamRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,61 +53,53 @@ private FinalizeWriteStreamRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -133,32 +108,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; } } /** - * - * *
    * 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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ 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 (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,145 +204,134 @@ 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() + // Construct using com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,16 +341,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_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 @@ -402,8 +362,7 @@ 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); + com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest result = new com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest(this); result.name_ = name_; onBuilt(); return result; @@ -413,51 +372,46 @@ public com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest buil 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_; onChanged(); @@ -481,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -495,23 +447,19 @@ public Builder mergeFrom( 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; @@ -520,24 +468,21 @@ 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 { @@ -545,77 +490,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; 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); } @@ -625,32 +557,30 @@ 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 { - return new FinalizeWriteStreamRequest(input, extensionRegistry); - } - }; + 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 { + return new FinalizeWriteStreamRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -662,8 +592,9 @@ 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/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 new file mode 100644 index 0000000000..0d0321ea05 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamRequestOrBuilder.java @@ -0,0 +1,31 @@ +// 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/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamResponse.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamResponse.java similarity index 63% rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamResponse.java rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamResponse.java index 96a6e79364..9f5ebf3808 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamResponse.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamResponse.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private FinalizeWriteStreamResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,56 +52,51 @@ private FinalizeWriteStreamResponse( case 0: done = true; break; - case 8: - { - rowCount_ = input.readInt64(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 8: { + + rowCount_ = input.readInt64(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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_; /** - * - * *
    * Number of rows in the finalized stream.
    * 
* * int64 row_count = 1; - * * @return The rowCount. */ @java.lang.Override @@ -126,7 +105,6 @@ public long getRowCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -138,7 +116,8 @@ 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_); } @@ -152,7 +131,8 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -162,15 +142,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -183,152 +163,142 @@ 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) + unknownFields.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() + // Construct using com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -338,16 +308,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_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 @@ -361,8 +329,7 @@ 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); + com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse result = new com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse(this); result.rowCount_ = rowCount_; onBuilt(); return result; @@ -372,51 +339,46 @@ public com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse bui 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()); } @@ -439,9 +401,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -451,16 +411,13 @@ public Builder mergeFrom( return this; } - private long rowCount_; + private long rowCount_ ; /** - * - * *
      * Number of rows in the finalized stream.
      * 
* * int64 row_count = 1; - * * @return The rowCount. */ @java.lang.Override @@ -468,43 +425,37 @@ 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. */ public Builder setRowCount(long value) { - + rowCount_ = value; onChanged(); return this; } /** - * - * *
      * Number of rows in the finalized stream.
      * 
* * int64 row_count = 1; - * * @return This builder for chaining. */ public Builder clearRowCount() { - + 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); } @@ -514,32 +465,30 @@ 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 { - return new FinalizeWriteStreamResponse(input, extensionRegistry); - } - }; + 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 { + return new FinalizeWriteStreamResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -551,8 +500,9 @@ 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/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 new file mode 100644 index 0000000000..86314fd7c3 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamResponseOrBuilder.java @@ -0,0 +1,19 @@ +// 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/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsRequest.java similarity index 68% rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsRequest.java index 034c2edb1d..09ce098192 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private FlushRowsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,75 +53,65 @@ private FlushRowsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - writeStream_ = s; - break; + writeStream_ = s; + break; + } + case 18: { + com.google.protobuf.Int64Value.Builder subBuilder = null; + if (offset_ != null) { + subBuilder = offset_.toBuilder(); } - case 18: - { - com.google.protobuf.Int64Value.Builder subBuilder = null; - if (offset_ != null) { - subBuilder = offset_.toBuilder(); - } - offset_ = - input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(offset_); - offset_ = subBuilder.buildPartial(); - } - - break; + offset_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(offset_); + offset_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -147,31 +120,29 @@ 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 { @@ -182,15 +153,12 @@ public com.google.protobuf.ByteString getWriteStreamBytes() { 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 @@ -198,15 +166,12 @@ 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 @@ -214,8 +179,6 @@ 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.
@@ -229,7 +192,6 @@ public com.google.protobuf.Int64ValueOrBuilder getOffsetOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -241,7 +203,8 @@ 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 (!getWriteStreamBytes().isEmpty()) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, writeStream_);
     }
@@ -261,7 +224,8 @@ 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 += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -271,18 +235,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.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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -307,127 +272,117 @@ 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() @@ -435,15 +390,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -459,9 +415,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 @@ -480,8 +436,7 @@ 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); + com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest result = new com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest(this); result.writeStream_ = writeStream_; if (offsetBuilder_ == null) { result.offset_ = offset_; @@ -496,39 +451,38 @@ public com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest buildPartial() 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; @@ -536,8 +490,7 @@ 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_; onChanged(); @@ -564,8 +517,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -577,22 +529,18 @@ public Builder mergeFrom( 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; @@ -601,23 +549,20 @@ 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 { @@ -625,67 +570,54 @@ public com.google.protobuf.ByteString getWriteStreamBytes() { } } /** - * - * *
      * 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) { + public Builder setWriteStream( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + writeStream_ = value; 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() { - + writeStream_ = getDefaultInstance().getWriteStream(); 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) = { ... } * @param value The bytes for writeStream to set. * @return This builder for chaining. */ - public Builder setWriteStreamBytes(com.google.protobuf.ByteString value) { + public Builder setWriteStreamBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + writeStream_ = value; onChanged(); return this; @@ -693,35 +625,26 @@ public Builder setWriteStreamBytes(com.google.protobuf.ByteString value) { 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 offsetBuilder_ != null || 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. */ public com.google.protobuf.Int64Value getOffset() { @@ -732,8 +655,6 @@ public com.google.protobuf.Int64Value getOffset() { } } /** - * - * *
      * Ending offset of the flush operation. Rows before this offset(including
      * this offset) will be flushed.
@@ -755,8 +676,6 @@ 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.
@@ -764,7 +683,8 @@ 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();
         onChanged();
@@ -775,8 +695,6 @@ public Builder setOffset(com.google.protobuf.Int64Value.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * Ending offset of the flush operation. Rows before this offset(including
      * this offset) will be flushed.
@@ -788,7 +706,7 @@ public Builder mergeOffset(com.google.protobuf.Int64Value value) {
       if (offsetBuilder_ == null) {
         if (offset_ != null) {
           offset_ =
-              com.google.protobuf.Int64Value.newBuilder(offset_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Int64Value.newBuilder(offset_).mergeFrom(value).buildPartial();
         } else {
           offset_ = value;
         }
@@ -800,8 +718,6 @@ 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.
@@ -821,8 +737,6 @@ public Builder clearOffset() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Ending offset of the flush operation. Rows before this offset(including
      * this offset) will be flushed.
@@ -831,13 +745,11 @@ public Builder clearOffset() {
      * .google.protobuf.Int64Value offset = 2;
      */
     public com.google.protobuf.Int64Value.Builder getOffsetBuilder() {
-
+      
       onChanged();
       return getOffsetFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Ending offset of the flush operation. Rows before this offset(including
      * this offset) will be flushed.
@@ -849,12 +761,11 @@ 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.
@@ -863,24 +774,21 @@ 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);
     }
 
@@ -890,12 +798,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();
   }
@@ -904,16 +812,16 @@ 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 {
-          return new FlushRowsRequest(input, extensionRegistry);
-        }
-      };
+  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 {
+      return new FlushRowsRequest(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -928,4 +836,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsRequestOrBuilder.java
similarity index 58%
rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsRequestOrBuilder.java
rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsRequestOrBuilder.java
index e1491363a4..2246e97f5e 100644
--- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsRequestOrBuilder.java
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsRequestOrBuilder.java
@@ -1,86 +1,53 @@
-/*
- * Copyright 2020 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/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsResponse.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsResponse.java
similarity index 68%
rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsResponse.java
rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsResponse.java
index fbc59ec63f..cbeea1ff03 100644
--- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsResponse.java
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsResponse.java
@@ -1,55 +1,39 @@
-/*
- * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private FlushRowsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,56 +52,51 @@ private FlushRowsResponse( case 0: done = true; break; - case 8: - { - offset_ = input.readInt64(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 8: { + + offset_ = input.readInt64(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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_; /** - * - * *
    * The rows before this offset (including this offset) are flushed.
    * 
* * int64 offset = 1; - * * @return The offset. */ @java.lang.Override @@ -126,7 +105,6 @@ public long getOffset() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -138,7 +116,8 @@ 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_); } @@ -152,7 +131,8 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -162,15 +142,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -183,134 +163,125 @@ 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) + unknownFields.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() @@ -318,15 +289,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -336,9 +308,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 @@ -357,8 +329,7 @@ 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); + com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse result = new com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse(this); result.offset_ = offset_; onBuilt(); return result; @@ -368,39 +339,38 @@ public com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse buildPartial( 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; @@ -408,8 +378,7 @@ 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()); } @@ -432,8 +401,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -443,16 +411,13 @@ public Builder mergeFrom( return this; } - 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 @@ -460,43 +425,37 @@ 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. */ public Builder setOffset(long value) { - + offset_ = value; onChanged(); return this; } /** - * - * *
      * The rows before this offset (including this offset) are flushed.
      * 
* * int64 offset = 1; - * * @return This builder for chaining. */ public Builder clearOffset() { - + offset_ = 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); } @@ -506,12 +465,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(); } @@ -520,16 +479,16 @@ 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 { - return new FlushRowsResponse(input, extensionRegistry); - } - }; + 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 { + return new FlushRowsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -544,4 +503,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse 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/FlushRowsResponseOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsResponseOrBuilder.java new file mode 100644 index 0000000000..a9ea318974 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsResponseOrBuilder.java @@ -0,0 +1,19 @@ +// 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/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/GetWriteStreamRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/GetWriteStreamRequest.java similarity index 64% rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/GetWriteStreamRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/GetWriteStreamRequest.java index 8ea55768ae..2ba7f23175 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/GetWriteStreamRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/GetWriteStreamRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetWriteStreamRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,61 +53,53 @@ private GetWriteStreamRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -133,32 +108,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; } } /** - * - * *
    * 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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ 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 (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ 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() @@ -359,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,14 +341,13 @@ 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(); } @@ -399,8 +362,7 @@ 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); + com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest result = new com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,50 +372,46 @@ public com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest buildPart 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_; onChanged(); @@ -477,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -491,23 +447,19 @@ public Builder mergeFrom( 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; @@ -516,24 +468,21 @@ 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 { @@ -541,77 +490,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; 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); } @@ -621,32 +557,30 @@ 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 { - return new GetWriteStreamRequest(input, extensionRegistry); - } - }; + 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 { + return new GetWriteStreamRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -658,8 +592,9 @@ 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/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 new file mode 100644 index 0000000000..1d115c103e --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/GetWriteStreamRequestOrBuilder.java @@ -0,0 +1,31 @@ +// 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/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProjectName.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProjectName.java similarity index 100% rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProjectName.java rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProjectName.java 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 new file mode 100644 index 0000000000..ab21e99ed5 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoBufProto.java @@ -0,0 +1,68 @@ +// 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\212\001\n)com.google.cloud.bigquery.storage.v" + + "1beta2B\rProtoBufProtoP\001ZLgoogle.golang.o" + + "rg/genproto/googleapis/cloud/bigquery/st" + + "orage/v1beta2;storageb\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/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoRows.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoRows.java similarity index 71% rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoRows.java rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoRows.java index 2792f31b13..8da1db75f7 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoRows.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoRows.java @@ -1,49 +1,36 @@ -/* - * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ProtoRows( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -63,28 +50,28 @@ private ProtoRows( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - serializedRows_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - serializedRows_.add(input.readBytes()); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + serializedRows_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + serializedRows_.add(input.readBytes()); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { serializedRows_ = java.util.Collections.unmodifiableList(serializedRows_); // C @@ -93,27 +80,22 @@ private ProtoRows( makeExtensionsImmutable(); } } - - 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; private java.util.List serializedRows_; /** - * - * *
    * A sequence of rows serialized as a Protocol Buffer.
    * See https://developers.google.com/protocol-buffers/docs/overview for more
@@ -121,16 +103,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * 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.
    * See https://developers.google.com/protocol-buffers/docs/overview for more
@@ -138,15 +118,12 @@ public java.util.List getSerializedRowsList() {
    * 
* * 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.
    * See https://developers.google.com/protocol-buffers/docs/overview for more
@@ -154,7 +131,6 @@ public int getSerializedRowsCount() {
    * 
* * repeated bytes serialized_rows = 1; - * * @param index The index of the element to return. * @return The serializedRows at the given index. */ @@ -163,7 +139,6 @@ public com.google.protobuf.ByteString getSerializedRows(int index) { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +150,8 @@ 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)); } @@ -191,8 +167,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(); @@ -205,15 +181,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -235,118 +211,113 @@ 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() @@ -354,15 +325,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -372,9 +344,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 @@ -393,8 +365,7 @@ 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); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { serializedRows_ = java.util.Collections.unmodifiableList(serializedRows_); @@ -409,39 +380,38 @@ public com.google.cloud.bigquery.storage.v1beta2.ProtoRows buildPartial() { 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; @@ -449,8 +419,7 @@ 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_; @@ -480,8 +449,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1beta2.ProtoRows) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.ProtoRows) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -490,21 +458,16 @@ public Builder mergeFrom( } 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_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * A sequence of rows serialized as a Protocol Buffer.
      * See https://developers.google.com/protocol-buffers/docs/overview for more
@@ -512,17 +475,14 @@ 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.
      * See https://developers.google.com/protocol-buffers/docs/overview for more
@@ -530,15 +490,12 @@ public java.util.List getSerializedRowsList() {
      * 
* * 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.
      * See https://developers.google.com/protocol-buffers/docs/overview for more
@@ -546,7 +503,6 @@ public int getSerializedRowsCount() {
      * 
* * repeated bytes serialized_rows = 1; - * * @param index The index of the element to return. * @return The serializedRows at the given index. */ @@ -554,8 +510,6 @@ public com.google.protobuf.ByteString getSerializedRows(int index) { return serializedRows_.get(index); } /** - * - * *
      * A sequence of rows serialized as a Protocol Buffer.
      * See https://developers.google.com/protocol-buffers/docs/overview for more
@@ -563,23 +517,21 @@ 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) { + public Builder setSerializedRows( + int index, com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - ensureSerializedRowsIsMutable(); + throw new NullPointerException(); + } + ensureSerializedRowsIsMutable(); serializedRows_.set(index, value); onChanged(); return this; } /** - * - * *
      * A sequence of rows serialized as a Protocol Buffer.
      * See https://developers.google.com/protocol-buffers/docs/overview for more
@@ -587,22 +539,19 @@ public Builder setSerializedRows(int index, com.google.protobuf.ByteString value
      * 
* * 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(); - } - ensureSerializedRowsIsMutable(); + throw new NullPointerException(); + } + ensureSerializedRowsIsMutable(); serializedRows_.add(value); onChanged(); return this; } /** - * - * *
      * A sequence of rows serialized as a Protocol Buffer.
      * See https://developers.google.com/protocol-buffers/docs/overview for more
@@ -610,20 +559,18 @@ 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.
      * See https://developers.google.com/protocol-buffers/docs/overview for more
@@ -631,7 +578,6 @@ public Builder addAllSerializedRows(
      * 
* * repeated bytes serialized_rows = 1; - * * @return This builder for chaining. */ public Builder clearSerializedRows() { @@ -640,9 +586,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); } @@ -652,12 +598,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(); } @@ -666,16 +612,16 @@ 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 { - return new ProtoRows(input, extensionRegistry); - } - }; + 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 { + return new ProtoRows(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -690,4 +636,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1beta2.ProtoRows getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoRowsOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoRowsOrBuilder.java similarity index 68% rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoRowsOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoRowsOrBuilder.java index 1381178f75..9c130fe5f8 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoRowsOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoRowsOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 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.
    * See https://developers.google.com/protocol-buffers/docs/overview for more
@@ -33,13 +15,10 @@ public interface ProtoRowsOrBuilder
    * 
* * repeated bytes serialized_rows = 1; - * * @return A list containing the serializedRows. */ java.util.List getSerializedRowsList(); /** - * - * *
    * A sequence of rows serialized as a Protocol Buffer.
    * See https://developers.google.com/protocol-buffers/docs/overview for more
@@ -47,13 +26,10 @@ public interface ProtoRowsOrBuilder
    * 
* * repeated bytes serialized_rows = 1; - * * @return The count of serializedRows. */ int getSerializedRowsCount(); /** - * - * *
    * A sequence of rows serialized as a Protocol Buffer.
    * See https://developers.google.com/protocol-buffers/docs/overview for more
@@ -61,7 +37,6 @@ public interface ProtoRowsOrBuilder
    * 
* * repeated bytes serialized_rows = 1; - * * @param index The index of the element to return. * @return The serializedRows at the given index. */ diff --git a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoSchema.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoSchema.java similarity index 71% rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoSchema.java rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoSchema.java index 3f4c55002a..f3b7ca4498 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoSchema.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoSchema.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ProtoSchema( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,62 +52,54 @@ private ProtoSchema( case 0: done = true; break; - case 10: - { - com.google.protobuf.DescriptorProtos.DescriptorProto.Builder subBuilder = null; - if (protoDescriptor_ != null) { - subBuilder = protoDescriptor_.toBuilder(); - } - protoDescriptor_ = - input.readMessage( - com.google.protobuf.DescriptorProtos.DescriptorProto.PARSER, - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(protoDescriptor_); - protoDescriptor_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.DescriptorProtos.DescriptorProto.Builder subBuilder = null; + if (protoDescriptor_ != null) { + subBuilder = protoDescriptor_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + protoDescriptor_ = input.readMessage(com.google.protobuf.DescriptorProtos.DescriptorProto.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(protoDescriptor_); + protoDescriptor_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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
@@ -131,7 +107,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.protobuf.DescriptorProto proto_descriptor = 1; - * * @return Whether the protoDescriptor field is set. */ @java.lang.Override @@ -139,8 +114,6 @@ 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
@@ -148,18 +121,13 @@ 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
@@ -169,13 +137,11 @@ public com.google.protobuf.DescriptorProtos.DescriptorProto getProtoDescriptor()
    * .google.protobuf.DescriptorProto proto_descriptor = 1;
    */
   @java.lang.Override
-  public com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder
-      getProtoDescriptorOrBuilder() {
+  public com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder getProtoDescriptorOrBuilder() {
     return getProtoDescriptor();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -193,7 +159,8 @@ 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());
     }
@@ -207,7 +174,8 @@ 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 += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -217,17 +185,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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -250,127 +218,117 @@ 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() @@ -378,15 +336,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -400,9 +359,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 @@ -421,8 +380,7 @@ 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); + com.google.cloud.bigquery.storage.v1beta2.ProtoSchema result = new com.google.cloud.bigquery.storage.v1beta2.ProtoSchema(this); if (protoDescriptorBuilder_ == null) { result.protoDescriptor_ = protoDescriptor_; } else { @@ -436,39 +394,38 @@ public com.google.cloud.bigquery.storage.v1beta2.ProtoSchema buildPartial() { 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; @@ -476,8 +433,7 @@ 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()); } @@ -505,8 +461,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1beta2.ProtoSchema) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.ProtoSchema) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -518,13 +473,8 @@ public Builder mergeFrom( 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
@@ -532,15 +482,12 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.DescriptorProto proto_descriptor = 1; - * * @return Whether the protoDescriptor field is set. */ public boolean hasProtoDescriptor() { return protoDescriptorBuilder_ != null || 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
@@ -548,21 +495,16 @@ 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
@@ -585,8 +527,6 @@ 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
@@ -607,8 +547,6 @@ 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
@@ -617,14 +555,11 @@ 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 (protoDescriptor_ != null) {
           protoDescriptor_ =
-              com.google.protobuf.DescriptorProtos.DescriptorProto.newBuilder(protoDescriptor_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.DescriptorProtos.DescriptorProto.newBuilder(protoDescriptor_).mergeFrom(value).buildPartial();
         } else {
           protoDescriptor_ = value;
         }
@@ -636,8 +571,6 @@ public Builder mergeProtoDescriptor(
       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
@@ -658,8 +591,6 @@ 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
@@ -668,15 +599,12 @@ 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() {
+      
       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
@@ -685,19 +613,15 @@ public Builder clearProtoDescriptor() {
      *
      * .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
@@ -707,24 +631,21 @@ public Builder clearProtoDescriptor() {
      * .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);
     }
 
@@ -734,12 +655,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();
   }
@@ -748,16 +669,16 @@ 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 {
-          return new ProtoSchema(input, extensionRegistry);
-        }
-      };
+  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 {
+      return new ProtoSchema(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -772,4 +693,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.bigquery.storage.v1beta2.ProtoSchema getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoSchemaOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoSchemaOrBuilder.java
similarity index 71%
rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoSchemaOrBuilder.java
rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoSchemaOrBuilder.java
index bc76d4a88e..9ad82e4562 100644
--- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoSchemaOrBuilder.java
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoSchemaOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 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
@@ -33,13 +15,10 @@ public interface ProtoSchemaOrBuilder
    * 
* * .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
@@ -47,13 +26,10 @@ public interface ProtoSchemaOrBuilder
    * 
* * .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/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsRequest.java
similarity index 66%
rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsRequest.java
rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsRequest.java
index a1283e0a94..3c8206a40d 100644
--- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsRequest.java
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsRequest.java
@@ -1,57 +1,40 @@
-/*
- * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ReadRowsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,65 +53,57 @@ private ReadRowsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - readStream_ = s; - break; - } - case 16: - { - offset_ = input.readInt64(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + readStream_ = s; + break; + } + case 16: { + + offset_ = input.readInt64(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -137,31 +112,29 @@ 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 { @@ -172,8 +145,6 @@ public com.google.protobuf.ByteString getReadStreamBytes() { public static final int OFFSET_FIELD_NUMBER = 2; 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
@@ -181,7 +152,6 @@ public com.google.protobuf.ByteString getReadStreamBytes() {
    * 
* * int64 offset = 2; - * * @return The offset. */ @java.lang.Override @@ -190,7 +160,6 @@ public long getOffset() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,7 +171,8 @@ 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 (!getReadStreamBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, readStream_); } @@ -222,7 +192,8 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -232,16 +203,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -256,134 +228,125 @@ 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) + unknownFields.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() @@ -391,15 +354,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -411,9 +375,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 @@ -432,8 +396,7 @@ 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); + com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest result = new com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest(this); result.readStream_ = readStream_; result.offset_ = offset_; onBuilt(); @@ -444,39 +407,38 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest buildPartial() 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; @@ -484,8 +446,7 @@ 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_; onChanged(); @@ -512,8 +473,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -525,22 +485,18 @@ public Builder mergeFrom( 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; @@ -549,23 +505,20 @@ 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 { @@ -573,76 +526,61 @@ public com.google.protobuf.ByteString getReadStreamBytes() { } } /** - * - * *
      * 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) { + public Builder setReadStream( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + readStream_ = value; 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() { - + readStream_ = getDefaultInstance().getReadStream(); 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) = { ... } * @param value The bytes for readStream to set. * @return This builder for chaining. */ - public Builder setReadStreamBytes(com.google.protobuf.ByteString value) { + public Builder setReadStreamBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + readStream_ = value; onChanged(); 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
@@ -650,7 +588,6 @@ public Builder setReadStreamBytes(com.google.protobuf.ByteString value) {
      * 
* * int64 offset = 2; - * * @return The offset. */ @java.lang.Override @@ -658,8 +595,6 @@ 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
@@ -667,19 +602,16 @@ public long getOffset() {
      * 
* * int64 offset = 2; - * * @param value The offset to set. * @return This builder for chaining. */ public Builder setOffset(long value) { - + offset_ = value; onChanged(); 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
@@ -687,18 +619,17 @@ public Builder setOffset(long value) {
      * 
* * int64 offset = 2; - * * @return This builder for chaining. */ public Builder clearOffset() { - + offset_ = 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); } @@ -708,12 +639,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(); } @@ -722,16 +653,16 @@ 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 { - return new ReadRowsRequest(input, extensionRegistry); - } - }; + 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 { + return new ReadRowsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -746,4 +677,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest 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/ReadRowsRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsRequestOrBuilder.java new file mode 100644 index 0000000000..e125fcea9e --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsRequestOrBuilder.java @@ -0,0 +1,41 @@ +// 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/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsResponse.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsResponse.java similarity index 68% rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsResponse.java rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsResponse.java index e7f68eba50..deb8fa591e 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsResponse.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 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.
@@ -28,29 +11,30 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ReadRowsResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -69,167 +53,134 @@ private ReadRowsResponse(
           case 0:
             done = true;
             break;
-          case 18:
-            {
-              com.google.cloud.bigquery.storage.v1beta2.StreamStats.Builder subBuilder = null;
-              if (stats_ != null) {
-                subBuilder = stats_.toBuilder();
-              }
-              stats_ =
-                  input.readMessage(
-                      com.google.cloud.bigquery.storage.v1beta2.StreamStats.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(stats_);
-                stats_ = subBuilder.buildPartial();
-              }
-
-              break;
+          case 18: {
+            com.google.cloud.bigquery.storage.v1beta2.StreamStats.Builder subBuilder = null;
+            if (stats_ != null) {
+              subBuilder = stats_.toBuilder();
             }
-          case 26:
-            {
-              com.google.cloud.bigquery.storage.v1beta2.AvroRows.Builder subBuilder = null;
-              if (rowsCase_ == 3) {
-                subBuilder =
-                    ((com.google.cloud.bigquery.storage.v1beta2.AvroRows) rows_).toBuilder();
-              }
-              rows_ =
-                  input.readMessage(
-                      com.google.cloud.bigquery.storage.v1beta2.AvroRows.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.cloud.bigquery.storage.v1beta2.AvroRows) rows_);
-                rows_ = subBuilder.buildPartial();
-              }
-              rowsCase_ = 3;
-              break;
+            stats_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta2.StreamStats.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(stats_);
+              stats_ = subBuilder.buildPartial();
             }
-          case 34:
-            {
-              com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch.Builder subBuilder = null;
-              if (rowsCase_ == 4) {
-                subBuilder =
-                    ((com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch) rows_)
-                        .toBuilder();
-              }
-              rows_ =
-                  input.readMessage(
-                      com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch) rows_);
-                rows_ = subBuilder.buildPartial();
-              }
-              rowsCase_ = 4;
-              break;
+
+            break;
+          }
+          case 26: {
+            com.google.cloud.bigquery.storage.v1beta2.AvroRows.Builder subBuilder = null;
+            if (rowsCase_ == 3) {
+              subBuilder = ((com.google.cloud.bigquery.storage.v1beta2.AvroRows) rows_).toBuilder();
             }
-          case 42:
-            {
-              com.google.cloud.bigquery.storage.v1beta2.ThrottleState.Builder subBuilder = null;
-              if (throttleState_ != null) {
-                subBuilder = throttleState_.toBuilder();
-              }
-              throttleState_ =
-                  input.readMessage(
-                      com.google.cloud.bigquery.storage.v1beta2.ThrottleState.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(throttleState_);
-                throttleState_ = subBuilder.buildPartial();
-              }
-
-              break;
+            rows_ =
+                input.readMessage(com.google.cloud.bigquery.storage.v1beta2.AvroRows.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.bigquery.storage.v1beta2.AvroRows) rows_);
+              rows_ = subBuilder.buildPartial();
             }
-          case 48:
-            {
-              rowCount_ = input.readInt64();
-              break;
+            rowsCase_ = 3;
+            break;
+          }
+          case 34: {
+            com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch.Builder subBuilder = null;
+            if (rowsCase_ == 4) {
+              subBuilder = ((com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch) rows_).toBuilder();
             }
-          case 58:
-            {
-              com.google.cloud.bigquery.storage.v1beta2.AvroSchema.Builder subBuilder = null;
-              if (schemaCase_ == 7) {
-                subBuilder =
-                    ((com.google.cloud.bigquery.storage.v1beta2.AvroSchema) schema_).toBuilder();
-              }
-              schema_ =
-                  input.readMessage(
-                      com.google.cloud.bigquery.storage.v1beta2.AvroSchema.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.bigquery.storage.v1beta2.AvroSchema) schema_);
-                schema_ = subBuilder.buildPartial();
-              }
-              schemaCase_ = 7;
-              break;
+            rows_ =
+                input.readMessage(com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch) rows_);
+              rows_ = subBuilder.buildPartial();
             }
-          case 66:
-            {
-              com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.Builder subBuilder = null;
-              if (schemaCase_ == 8) {
-                subBuilder =
-                    ((com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) schema_).toBuilder();
-              }
-              schema_ =
-                  input.readMessage(
-                      com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) schema_);
-                schema_ = subBuilder.buildPartial();
-              }
-              schemaCase_ = 8;
-              break;
+            rowsCase_ = 4;
+            break;
+          }
+          case 42: {
+            com.google.cloud.bigquery.storage.v1beta2.ThrottleState.Builder subBuilder = null;
+            if (throttleState_ != null) {
+              subBuilder = throttleState_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            throttleState_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta2.ThrottleState.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(throttleState_);
+              throttleState_ = subBuilder.buildPartial();
             }
+
+            break;
+          }
+          case 48: {
+
+            rowCount_ = input.readInt64();
+            break;
+          }
+          case 58: {
+            com.google.cloud.bigquery.storage.v1beta2.AvroSchema.Builder subBuilder = null;
+            if (schemaCase_ == 7) {
+              subBuilder = ((com.google.cloud.bigquery.storage.v1beta2.AvroSchema) schema_).toBuilder();
+            }
+            schema_ =
+                input.readMessage(com.google.cloud.bigquery.storage.v1beta2.AvroSchema.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.bigquery.storage.v1beta2.AvroSchema) schema_);
+              schema_ = subBuilder.buildPartial();
+            }
+            schemaCase_ = 7;
+            break;
+          }
+          case 66: {
+            com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.Builder subBuilder = null;
+            if (schemaCase_ == 8) {
+              subBuilder = ((com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) schema_).toBuilder();
+            }
+            schema_ =
+                input.readMessage(com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) schema_);
+              schema_ = subBuilder.buildPartial();
+            }
+            schemaCase_ = 8;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  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;
   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;
     }
@@ -245,38 +196,32 @@ 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;
   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;
     }
@@ -292,36 +237,30 @@ 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 @@ -329,26 +268,21 @@ 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.
    * 
@@ -358,21 +292,18 @@ 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 @@ -380,26 +311,21 @@ 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.
    * 
@@ -407,10 +333,9 @@ 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(); } @@ -418,14 +343,11 @@ public com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch getArrowRecord public static final int ROW_COUNT_FIELD_NUMBER = 6; private long rowCount_; /** - * - * *
    * Number of serialized rows in the rows block.
    * 
* * int64 row_count = 6; - * * @return The rowCount. */ @java.lang.Override @@ -436,14 +358,11 @@ 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 @@ -451,25 +370,18 @@ 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.
    * 
@@ -484,15 +396,12 @@ public com.google.cloud.bigquery.storage.v1beta2.StreamStatsOrBuilder getStatsOr 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 @@ -500,26 +409,19 @@ 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.
@@ -528,23 +430,17 @@ 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() {
+  public com.google.cloud.bigquery.storage.v1beta2.ThrottleStateOrBuilder getThrottleStateOrBuilder() {
     return getThrottleState();
   }
 
   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 @@ -552,56 +448,42 @@ 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 @@ -609,46 +491,36 @@ 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; @@ -660,7 +532,8 @@ 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()); } @@ -692,33 +565,32 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -728,30 +600,34 @@ 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: @@ -759,10 +635,12 @@ 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: @@ -779,7 +657,8 @@ 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(); @@ -818,104 +697,96 @@ 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.
@@ -923,23 +794,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * 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()
@@ -947,15 +816,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -981,9 +851,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
@@ -1002,8 +872,7 @@ 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);
+      com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse result = new com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse(this);
       if (rowsCase_ == 3) {
         if (avroRowsBuilder_ == null) {
           result.rows_ = rows_;
@@ -1053,39 +922,38 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse buildPartial()
     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;
@@ -1093,8 +961,7 @@ 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());
       }
@@ -1105,36 +972,30 @@ 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.unknownFields);
       onChanged();
@@ -1155,8 +1016,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1165,12 +1025,12 @@ public Builder mergeFrom(
       }
       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() {
@@ -1182,9 +1042,10 @@ 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() {
@@ -1194,20 +1055,15 @@ public Builder clearSchema() {
       return this;
     }
 
+
     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 @@ -1215,14 +1071,11 @@ 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 @@ -1240,8 +1093,6 @@ public com.google.cloud.bigquery.storage.v1beta2.AvroRows getAvroRows() { } } /** - * - * *
      * Serialized row data in AVRO format.
      * 
@@ -1262,8 +1113,6 @@ public Builder setAvroRows(com.google.cloud.bigquery.storage.v1beta2.AvroRows va return this; } /** - * - * *
      * Serialized row data in AVRO format.
      * 
@@ -1282,8 +1131,6 @@ public Builder setAvroRows( return this; } /** - * - * *
      * Serialized row data in AVRO format.
      * 
@@ -1292,13 +1139,10 @@ 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; } @@ -1313,8 +1157,6 @@ public Builder mergeAvroRows(com.google.cloud.bigquery.storage.v1beta2.AvroRows return this; } /** - * - * *
      * Serialized row data in AVRO format.
      * 
@@ -1338,8 +1180,6 @@ public Builder clearAvroRows() { return this; } /** - * - * *
      * Serialized row data in AVRO format.
      * 
@@ -1350,8 +1190,6 @@ public com.google.cloud.bigquery.storage.v1beta2.AvroRows.Builder getAvroRowsBui return getAvroRowsFieldBuilder().getBuilder(); } /** - * - * *
      * Serialized row data in AVRO format.
      * 
@@ -1370,8 +1208,6 @@ public com.google.cloud.bigquery.storage.v1beta2.AvroRowsOrBuilder getAvroRowsOr } } /** - * - * *
      * Serialized row data in AVRO format.
      * 
@@ -1379,44 +1215,32 @@ 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()); rows_ = null; } rowsCase_ = 3; - onChanged(); - ; + onChanged();; return avroRowsBuilder_; } 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 @@ -1424,14 +1248,11 @@ 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 @@ -1449,16 +1270,13 @@ 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(); @@ -1472,8 +1290,6 @@ public Builder setArrowRecordBatch( return this; } /** - * - * *
      * Serialized row data in Arrow RecordBatch format.
      * 
@@ -1492,26 +1308,18 @@ 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; } @@ -1526,8 +1334,6 @@ public Builder mergeArrowRecordBatch( return this; } /** - * - * *
      * Serialized row data in Arrow RecordBatch format.
      * 
@@ -1551,21 +1357,16 @@ 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.
      * 
@@ -1573,8 +1374,7 @@ public Builder clearArrowRecordBatch() { * .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 { @@ -1585,8 +1385,6 @@ public Builder clearArrowRecordBatch() { } } /** - * - * *
      * Serialized row data in Arrow RecordBatch format.
      * 
@@ -1594,40 +1392,31 @@ public Builder clearArrowRecordBatch() { * .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()); rows_ = null; } rowsCase_ = 4; - onChanged(); - ; + onChanged();; 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 @@ -1635,36 +1424,30 @@ 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. */ public Builder setRowCount(long value) { - + rowCount_ = value; onChanged(); return this; } /** - * - * *
      * Number of serialized rows in the rows block.
      * 
* * int64 row_count = 6; - * * @return This builder for chaining. */ public Builder clearRowCount() { - + rowCount_ = 0L; onChanged(); return this; @@ -1672,47 +1455,34 @@ 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 statsBuilder_ != null || stats_ != null; } /** - * - * *
      * 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.
      * 
@@ -1733,8 +1503,6 @@ public Builder setStats(com.google.cloud.bigquery.storage.v1beta2.StreamStats va return this; } /** - * - * *
      * Statistics for the stream.
      * 
@@ -1753,8 +1521,6 @@ public Builder setStats( return this; } /** - * - * *
      * Statistics for the stream.
      * 
@@ -1765,9 +1531,7 @@ public Builder mergeStats(com.google.cloud.bigquery.storage.v1beta2.StreamStats if (statsBuilder_ == null) { if (stats_ != null) { stats_ = - com.google.cloud.bigquery.storage.v1beta2.StreamStats.newBuilder(stats_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.bigquery.storage.v1beta2.StreamStats.newBuilder(stats_).mergeFrom(value).buildPartial(); } else { stats_ = value; } @@ -1779,8 +1543,6 @@ public Builder mergeStats(com.google.cloud.bigquery.storage.v1beta2.StreamStats return this; } /** - * - * *
      * Statistics for the stream.
      * 
@@ -1799,8 +1561,6 @@ public Builder clearStats() { return this; } /** - * - * *
      * Statistics for the stream.
      * 
@@ -1808,13 +1568,11 @@ public Builder clearStats() { * .google.cloud.bigquery.storage.v1beta2.StreamStats stats = 2; */ public com.google.cloud.bigquery.storage.v1beta2.StreamStats.Builder getStatsBuilder() { - + onChanged(); return getStatsFieldBuilder().getBuilder(); } /** - * - * *
      * Statistics for the stream.
      * 
@@ -1825,14 +1583,11 @@ 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.
      * 
@@ -1840,17 +1595,14 @@ 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_; @@ -1858,49 +1610,36 @@ 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 throttleStateBuilder_ != null || 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. */ 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.
@@ -1922,8 +1661,6 @@ 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.
@@ -1943,8 +1680,6 @@ public Builder setThrottleState(
       return this;
     }
     /**
-     *
-     *
      * 
      * Throttling state. If unset, the latest response still describes
      * the current throttling status.
@@ -1952,14 +1687,11 @@ 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 (throttleState_ != null) {
           throttleState_ =
-              com.google.cloud.bigquery.storage.v1beta2.ThrottleState.newBuilder(throttleState_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.bigquery.storage.v1beta2.ThrottleState.newBuilder(throttleState_).mergeFrom(value).buildPartial();
         } else {
           throttleState_ = value;
         }
@@ -1971,8 +1703,6 @@ public Builder mergeThrottleState(
       return this;
     }
     /**
-     *
-     *
      * 
      * Throttling state. If unset, the latest response still describes
      * the current throttling status.
@@ -1992,8 +1722,6 @@ public Builder clearThrottleState() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Throttling state. If unset, the latest response still describes
      * the current throttling status.
@@ -2001,15 +1729,12 @@ 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() {
+      
       onChanged();
       return getThrottleStateFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Throttling state. If unset, the latest response still describes
      * the current throttling status.
@@ -2017,19 +1742,15 @@ public Builder clearThrottleState() {
      *
      * .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.
@@ -2038,38 +1759,27 @@ public Builder clearThrottleState() {
      * .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 @@ -2077,16 +1787,11 @@ 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 @@ -2104,15 +1809,11 @@ 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) { @@ -2128,15 +1829,11 @@ 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) { @@ -2150,26 +1847,18 @@ 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; } @@ -2184,15 +1873,11 @@ 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) { @@ -2211,29 +1896,21 @@ 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() { @@ -2247,57 +1924,39 @@ 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()); schema_ = null; } schemaCase_ = 7; - onChanged(); - ; + onChanged();; return avroSchemaBuilder_; } 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 @@ -2305,16 +1964,11 @@ 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 @@ -2332,15 +1986,11 @@ 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) { @@ -2356,15 +2006,11 @@ 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) { @@ -2378,26 +2024,18 @@ 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; } @@ -2412,15 +2050,11 @@ 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) { @@ -2439,33 +2073,24 @@ 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 { @@ -2476,43 +2101,33 @@ public com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.Builder getArrowSch } } /** - * - * *
      * 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()); schema_ = null; } schemaCase_ = 8; - onChanged(); - ; + 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); } @@ -2522,12 +2137,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(); } @@ -2536,16 +2151,16 @@ 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 { - return new ReadRowsResponse(input, extensionRegistry); - } - }; + 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 { + return new ReadRowsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2560,4 +2175,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsResponseOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsResponseOrBuilder.java similarity index 73% rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsResponseOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsResponseOrBuilder.java index 9dac211a11..aae8074e96 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsResponseOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsResponseOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 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.
    * 
@@ -59,81 +35,61 @@ public interface ReadRowsResponseOrBuilder 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.
    * 
@@ -143,34 +99,26 @@ public interface ReadRowsResponseOrBuilder 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.
@@ -181,84 +129,56 @@ public interface ReadRowsResponseOrBuilder
   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/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadSession.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadSession.java similarity index 67% rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadSession.java rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadSession.java index 1ca9b33ac2..12fa023006 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadSession.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadSession.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 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; @@ -46,15 +28,16 @@ private ReadSession() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReadSession(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ReadSession( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,143 +57,114 @@ private ReadSession( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (expireTime_ != null) { + subBuilder = expireTime_.toBuilder(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (expireTime_ != null) { - subBuilder = expireTime_.toBuilder(); - } - expireTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(expireTime_); - expireTime_ = subBuilder.buildPartial(); - } - - break; + expireTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(expireTime_); + expireTime_ = subBuilder.buildPartial(); } - case 24: - { - int rawValue = input.readEnum(); - dataFormat_ = rawValue; - break; + break; + } + case 24: { + int rawValue = input.readEnum(); + + dataFormat_ = rawValue; + break; + } + case 34: { + com.google.cloud.bigquery.storage.v1beta2.AvroSchema.Builder subBuilder = null; + if (schemaCase_ == 4) { + subBuilder = ((com.google.cloud.bigquery.storage.v1beta2.AvroSchema) schema_).toBuilder(); } - case 34: - { - com.google.cloud.bigquery.storage.v1beta2.AvroSchema.Builder subBuilder = null; - if (schemaCase_ == 4) { - subBuilder = - ((com.google.cloud.bigquery.storage.v1beta2.AvroSchema) schema_).toBuilder(); - } - schema_ = - input.readMessage( - com.google.cloud.bigquery.storage.v1beta2.AvroSchema.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.bigquery.storage.v1beta2.AvroSchema) schema_); - schema_ = subBuilder.buildPartial(); - } - schemaCase_ = 4; - break; + schema_ = + input.readMessage(com.google.cloud.bigquery.storage.v1beta2.AvroSchema.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.bigquery.storage.v1beta2.AvroSchema) schema_); + schema_ = subBuilder.buildPartial(); } - case 42: - { - com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.Builder subBuilder = null; - if (schemaCase_ == 5) { - subBuilder = - ((com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) schema_).toBuilder(); - } - schema_ = - input.readMessage( - com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) schema_); - schema_ = subBuilder.buildPartial(); - } - schemaCase_ = 5; - break; + schemaCase_ = 4; + break; + } + case 42: { + com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.Builder subBuilder = null; + if (schemaCase_ == 5) { + subBuilder = ((com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) schema_).toBuilder(); } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); - - table_ = s; - break; + schema_ = + input.readMessage(com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) schema_); + schema_ = subBuilder.buildPartial(); } - case 58: - { - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.Builder - subBuilder = null; - if (tableModifiers_ != null) { - subBuilder = tableModifiers_.toBuilder(); - } - tableModifiers_ = - input.readMessage( - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tableModifiers_); - tableModifiers_ = subBuilder.buildPartial(); - } + schemaCase_ = 5; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); - break; + table_ = s; + break; + } + case 58: { + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.Builder subBuilder = null; + if (tableModifiers_ != null) { + subBuilder = tableModifiers_.toBuilder(); + } + tableModifiers_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tableModifiers_); + tableModifiers_ = subBuilder.buildPartial(); } - case 66: - { - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions.Builder - subBuilder = null; - if (readOptions_ != null) { - subBuilder = readOptions_.toBuilder(); - } - readOptions_ = - input.readMessage( - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readOptions_); - readOptions_ = subBuilder.buildPartial(); - } - break; + break; + } + case 66: { + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions.Builder subBuilder = null; + if (readOptions_ != null) { + subBuilder = readOptions_.toBuilder(); } - case 82: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - streams_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - streams_.add( - input.readMessage( - com.google.cloud.bigquery.storage.v1beta2.ReadStream.parser(), - extensionRegistry)); - break; + readOptions_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readOptions_); + readOptions_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 82: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + streams_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + streams_.add( + input.readMessage(com.google.cloud.bigquery.storage.v1beta2.ReadStream.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { streams_ = java.util.Collections.unmodifiableList(streams_); @@ -219,54 +173,42 @@ private ReadSession( makeExtensionsImmutable(); } } - - 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.
      * 
@@ -276,37 +218,36 @@ public interface TableModifiersOrBuilder 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private TableModifiers( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -325,66 +266,59 @@ private TableModifiers( case 0: done = true; break; - case 10: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (snapshotTime_ != null) { - subBuilder = snapshotTime_.toBuilder(); - } - snapshotTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(snapshotTime_); - snapshotTime_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (snapshotTime_ != null) { + subBuilder = snapshotTime_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + snapshotTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(snapshotTime_); + snapshotTime_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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 @@ -392,25 +326,18 @@ 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.
      * 
@@ -423,7 +350,6 @@ public com.google.protobuf.TimestampOrBuilder getSnapshotTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -435,7 +361,8 @@ 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()); } @@ -449,7 +376,8 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -459,17 +387,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -492,95 +420,87 @@ 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 @@ -590,49 +510,44 @@ 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() + // Construct using com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -646,22 +561,19 @@ 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); } @@ -670,8 +582,7 @@ 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); + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers result = new com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers(this); if (snapshotTimeBuilder_ == null) { result.snapshotTime_ = snapshotTime_; } else { @@ -685,53 +596,46 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers buil 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()); } @@ -754,9 +658,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -768,47 +670,34 @@ public Builder mergeFrom( 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 snapshotTimeBuilder_ != null || snapshotTime_ != null; } /** - * - * *
        * 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.
        * 
@@ -829,15 +718,14 @@ 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(); onChanged(); @@ -848,8 +736,6 @@ public Builder setSnapshotTime(com.google.protobuf.Timestamp.Builder builderForV return this; } /** - * - * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -860,9 +746,7 @@ public Builder mergeSnapshotTime(com.google.protobuf.Timestamp value) { if (snapshotTimeBuilder_ == null) { if (snapshotTime_ != null) { snapshotTime_ = - com.google.protobuf.Timestamp.newBuilder(snapshotTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(snapshotTime_).mergeFrom(value).buildPartial(); } else { snapshotTime_ = value; } @@ -874,8 +758,6 @@ public Builder mergeSnapshotTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -894,8 +776,6 @@ public Builder clearSnapshotTime() { return this; } /** - * - * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -903,13 +783,11 @@ public Builder clearSnapshotTime() { * .google.protobuf.Timestamp snapshot_time = 1; */ public com.google.protobuf.Timestamp.Builder getSnapshotTimeBuilder() { - + onChanged(); return getSnapshotTimeFieldBuilder().getBuilder(); } /** - * - * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -920,14 +798,11 @@ 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.
        * 
@@ -935,22 +810,18 @@ 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) { @@ -963,32 +834,30 @@ 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 { - return new TableModifiers(input, extensionRegistry); - } - }; + 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 { + return new TableModifiers(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1000,20 +869,17 @@ 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
@@ -1022,13 +888,11 @@ public interface TableReadOptionsOrBuilder
      * 
* * 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
@@ -1037,13 +901,10 @@ public interface TableReadOptionsOrBuilder
      * 
* * 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
@@ -1052,14 +913,11 @@ public interface TableReadOptionsOrBuilder
      * 
* * 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
@@ -1068,15 +926,13 @@ public interface TableReadOptionsOrBuilder
      * 
* * 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.
@@ -1089,13 +945,10 @@ public interface TableReadOptionsOrBuilder
      * 
* * 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.
@@ -1108,73 +961,54 @@ public interface TableReadOptionsOrBuilder
      * 
* * 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.EMPTY; rowRestriction_ = ""; @@ -1182,15 +1016,16 @@ private TableReadOptions() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TableReadOptions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private TableReadOptions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1210,55 +1045,48 @@ private TableReadOptions( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - selectedFields_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - selectedFields_.add(s); - break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + selectedFields_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + selectedFields_.add(s); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - rowRestriction_ = s; - break; + rowRestriction_ = s; + break; + } + case 26: { + com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Builder subBuilder = null; + if (arrowSerializationOptions_ != null) { + subBuilder = arrowSerializationOptions_.toBuilder(); } - case 26: - { - com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Builder - subBuilder = null; - if (arrowSerializationOptions_ != null) { - subBuilder = arrowSerializationOptions_.toBuilder(); - } - arrowSerializationOptions_ = - input.readMessage( - com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(arrowSerializationOptions_); - arrowSerializationOptions_ = subBuilder.buildPartial(); - } - - break; + arrowSerializationOptions_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(arrowSerializationOptions_); + arrowSerializationOptions_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { selectedFields_ = selectedFields_.getUnmodifiableView(); @@ -1267,27 +1095,22 @@ private TableReadOptions( makeExtensionsImmutable(); } } - - 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; private com.google.protobuf.LazyStringList 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
@@ -1296,15 +1119,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * 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
@@ -1313,15 +1134,12 @@ public com.google.protobuf.ProtocolStringList getSelectedFieldsList() {
      * 
* * 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
@@ -1330,7 +1148,6 @@ public int getSelectedFieldsCount() {
      * 
* * repeated string selected_fields = 1; - * * @param index The index of the element to return. * @return The selectedFields at the given index. */ @@ -1338,8 +1155,6 @@ 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
@@ -1348,19 +1163,17 @@ 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; private volatile java.lang.Object rowRestriction_; /** - * - * *
      * SQL text filtering statement, similar to a WHERE clause in a query.
      * Aggregates are not supported.
@@ -1373,7 +1186,6 @@ public com.google.protobuf.ByteString getSelectedFieldsBytes(int index) {
      * 
* * string row_restriction = 2; - * * @return The rowRestriction. */ @java.lang.Override @@ -1382,15 +1194,14 @@ 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.
@@ -1403,15 +1214,16 @@ 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 { @@ -1420,19 +1232,13 @@ public com.google.protobuf.ByteString getRowRestrictionBytes() { } 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 @@ -1440,44 +1246,30 @@ 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() { + public com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptionsOrBuilder getArrowSerializationOptionsOrBuilder() { return getArrowSerializationOptions(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1489,7 +1281,8 @@ 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)); } @@ -1520,9 +1313,8 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1532,21 +1324,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1575,95 +1367,87 @@ 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 @@ -1673,50 +1457,44 @@ 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() + // Construct using com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1734,22 +1512,19 @@ 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); } @@ -1758,8 +1533,7 @@ 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); + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions result = new com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { selectedFields_ = selectedFields_.getUnmodifiableView(); @@ -1780,54 +1554,46 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions bu 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_; @@ -1864,9 +1630,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1875,21 +1639,16 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList selectedFields_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList selectedFields_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureSelectedFieldsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { selectedFields_ = new com.google.protobuf.LazyStringArrayList(selectedFields_); 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
@@ -1898,15 +1657,13 @@ 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() { return selectedFields_.getUnmodifiableView(); } /** - * - * *
        * 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
@@ -1915,15 +1672,12 @@ public com.google.protobuf.ProtocolStringList getSelectedFieldsList() {
        * 
* * 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
@@ -1932,7 +1686,6 @@ public int getSelectedFieldsCount() {
        * 
* * repeated string selected_fields = 1; - * * @param index The index of the element to return. * @return The selectedFields at the given index. */ @@ -1940,8 +1693,6 @@ 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
@@ -1950,16 +1701,14 @@ 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
@@ -1968,23 +1717,21 @@ public com.google.protobuf.ByteString getSelectedFieldsBytes(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) { + public Builder setSelectedFields( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSelectedFieldsIsMutable(); + throw new NullPointerException(); + } + ensureSelectedFieldsIsMutable(); selectedFields_.set(index, value); 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
@@ -1993,22 +1740,20 @@ public Builder setSelectedFields(int index, java.lang.String value) {
        * 
* * repeated string selected_fields = 1; - * * @param value The selectedFields to add. * @return This builder for chaining. */ - public Builder addSelectedFields(java.lang.String value) { + public Builder addSelectedFields( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSelectedFieldsIsMutable(); + throw new NullPointerException(); + } + ensureSelectedFieldsIsMutable(); selectedFields_.add(value); 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
@@ -2017,19 +1762,18 @@ public Builder addSelectedFields(java.lang.String value) {
        * 
* * 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_); 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
@@ -2038,7 +1782,6 @@ public Builder addAllSelectedFields(java.lang.Iterable values)
        * 
* * repeated string selected_fields = 1; - * * @return This builder for chaining. */ public Builder clearSelectedFields() { @@ -2048,8 +1791,6 @@ public Builder clearSelectedFields() { 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
@@ -2058,15 +1799,15 @@ 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) { + public Builder addSelectedFieldsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureSelectedFieldsIsMutable(); selectedFields_.add(value); onChanged(); @@ -2075,8 +1816,6 @@ public Builder addSelectedFieldsBytes(com.google.protobuf.ByteString value) { private java.lang.Object rowRestriction_ = ""; /** - * - * *
        * SQL text filtering statement, similar to a WHERE clause in a query.
        * Aggregates are not supported.
@@ -2089,13 +1828,13 @@ public Builder addSelectedFieldsBytes(com.google.protobuf.ByteString value) {
        * 
* * 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; @@ -2104,8 +1843,6 @@ public java.lang.String getRowRestriction() { } } /** - * - * *
        * SQL text filtering statement, similar to a WHERE clause in a query.
        * Aggregates are not supported.
@@ -2118,14 +1855,15 @@ 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 { @@ -2133,8 +1871,6 @@ public com.google.protobuf.ByteString getRowRestrictionBytes() { } } /** - * - * *
        * SQL text filtering statement, similar to a WHERE clause in a query.
        * Aggregates are not supported.
@@ -2147,22 +1883,20 @@ public com.google.protobuf.ByteString getRowRestrictionBytes() {
        * 
* * string row_restriction = 2; - * * @param value The rowRestriction to set. * @return This builder for chaining. */ - public Builder setRowRestriction(java.lang.String value) { + public Builder setRowRestriction( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + rowRestriction_ = value; onChanged(); return this; } /** - * - * *
        * SQL text filtering statement, similar to a WHERE clause in a query.
        * Aggregates are not supported.
@@ -2175,18 +1909,15 @@ public Builder setRowRestriction(java.lang.String value) {
        * 
* * string row_restriction = 2; - * * @return This builder for chaining. */ public Builder clearRowRestriction() { - + rowRestriction_ = getDefaultInstance().getRowRestriction(); onChanged(); return this; } /** - * - * *
        * SQL text filtering statement, similar to a WHERE clause in a query.
        * Aggregates are not supported.
@@ -2199,81 +1930,58 @@ 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) { + public Builder setRowRestrictionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + rowRestriction_ = value; onChanged(); 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 arrowSerializationOptionsBuilder_ != null || 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. */ - 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(); @@ -2287,19 +1995,14 @@ 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 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(); onChanged(); @@ -2310,25 +2013,17 @@ 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 (arrowSerializationOptions_ != null) { arrowSerializationOptions_ = - com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.newBuilder( - arrowSerializationOptions_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.newBuilder(arrowSerializationOptions_).mergeFrom(value).buildPartial(); } else { arrowSerializationOptions_ = value; } @@ -2340,15 +2035,11 @@ public Builder mergeArrowSerializationOptions( 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() { if (arrowSerializationOptionsBuilder_ == null) { @@ -2362,72 +2053,52 @@ 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() { + 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) { @@ -2440,33 +2111,30 @@ 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 { - return new TableReadOptions(input, extensionRegistry); - } - }; + 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 { + return new TableReadOptions(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2478,24 +2146,21 @@ 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; 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; } @@ -2511,38 +2176,32 @@ 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; 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 @@ -2551,30 +2210,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 { @@ -2585,17 +2244,13 @@ public com.google.protobuf.ByteString getNameBytes() { 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 @@ -2603,17 +2258,13 @@ 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 @@ -2621,16 +2272,13 @@ 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() { @@ -2640,57 +2288,37 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { public static final int DATA_FORMAT_FIELD_NUMBER = 3; private int 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 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() { + @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.DataFormat getDataFormat() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.storage.v1beta2.DataFormat result = - com.google.cloud.bigquery.storage.v1beta2.DataFormat.valueOf(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.valueOf(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 @@ -2698,56 +2326,42 @@ 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 @@ -2755,40 +2369,31 @@ 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(); } @@ -2796,17 +2401,12 @@ public com.google.cloud.bigquery.storage.v1beta2.ArrowSchemaOrBuilder getArrowSc public static final int TABLE_FIELD_NUMBER = 6; 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 @@ -2815,32 +2415,30 @@ 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 { @@ -2851,16 +2449,11 @@ public com.google.protobuf.ByteString getTableBytes() { 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 @@ -2868,54 +2461,37 @@ 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() { + public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiersOrBuilder getTableModifiersOrBuilder() { return getTableModifiers(); } 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 @@ -2923,47 +2499,32 @@ 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() { + public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptionsOrBuilder getReadOptionsOrBuilder() { return getReadOptions(); } public static final int STREAMS_FIELD_NUMBER = 10; private java.util.List streams_; /** - * - * *
    * Output only. A list of streams created with the session.
    * At least one stream is created with the session. In the future, larger
@@ -2972,17 +2533,13 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions ge
    * 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.
    * At least one stream is created with the session. In the future, larger
@@ -2991,18 +2548,14 @@ 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.
    * At least one stream is created with the session. In the future, larger
@@ -3011,17 +2564,13 @@ 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.
    * At least one stream is created with the session. In the future, larger
@@ -3030,17 +2579,13 @@ 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.
    * At least one stream is created with the session. In the future, larger
@@ -3049,9 +2594,7 @@ 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( @@ -3060,7 +2603,6 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder getStreamsO } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3072,16 +2614,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 (!getNameBytes().isEmpty()) { 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) { @@ -3115,34 +2656,35 @@ 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 (!getTableBytes().isEmpty()) { 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3152,37 +2694,44 @@ 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: @@ -3238,127 +2787,117 @@ 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() @@ -3366,17 +2905,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getStreamsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -3416,9 +2955,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 @@ -3437,8 +2976,7 @@ 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); int from_bitField0_ = bitField0_; result.name_ = name_; if (expireTimeBuilder_ == null) { @@ -3490,39 +3028,38 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadSession buildPartial() { 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; @@ -3530,8 +3067,7 @@ 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_; onChanged(); @@ -3570,30 +3106,26 @@ public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.ReadSession o 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_); } } } 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.unknownFields); onChanged(); @@ -3614,8 +3146,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1beta2.ReadSession) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.ReadSession) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3624,12 +3155,12 @@ public Builder mergeFrom( } 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() { @@ -3643,21 +3174,19 @@ 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; @@ -3666,22 +3195,21 @@ 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 { @@ -3689,64 +3217,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -3754,64 +3275,45 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { 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 expireTimeBuilder_ != null || 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. */ 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) { @@ -3827,19 +3329,16 @@ 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(); onChanged(); @@ -3850,23 +3349,19 @@ public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForVal 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 (expireTime_ != null) { expireTime_ = - com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial(); } else { expireTime_ = value; } @@ -3878,17 +3373,13 @@ 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() { if (expireTimeBuilder_ == null) { @@ -3902,70 +3393,54 @@ 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() { - + onChanged(); 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_; @@ -3973,75 +3448,51 @@ 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. */ public Builder setDataFormatValue(int value) { - + dataFormat_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.storage.v1beta2.DataFormat result = - com.google.cloud.bigquery.storage.v1beta2.DataFormat.valueOf(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.valueOf(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. */ @@ -4049,47 +3500,34 @@ public Builder setDataFormat(com.google.cloud.bigquery.storage.v1beta2.DataForma if (value == null) { throw new NullPointerException(); } - + dataFormat_ = value.getNumber(); onChanged(); 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() { - + dataFormat_ = 0; onChanged(); return this; } 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 @@ -4097,16 +3535,11 @@ 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 @@ -4124,15 +3557,11 @@ 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) { @@ -4148,15 +3577,11 @@ 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) { @@ -4170,26 +3595,18 @@ 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; } @@ -4204,15 +3621,11 @@ 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) { @@ -4231,29 +3644,21 @@ 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() { @@ -4267,57 +3672,39 @@ 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()); schema_ = null; } schemaCase_ = 4; - onChanged(); - ; + onChanged();; return avroSchemaBuilder_; } 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 @@ -4325,16 +3712,11 @@ 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 @@ -4352,15 +3734,11 @@ 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) { @@ -4376,15 +3754,11 @@ 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) { @@ -4398,26 +3772,18 @@ 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; } @@ -4432,15 +3798,11 @@ 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) { @@ -4459,33 +3821,24 @@ 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 { @@ -4496,60 +3849,46 @@ public com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.Builder getArrowSch } } /** - * - * *
      * 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()); schema_ = null; } schemaCase_ = 5; - onChanged(); - ; + onChanged();; return arrowSchemaBuilder_; } 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; @@ -4558,24 +3897,21 @@ 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 { @@ -4583,70 +3919,57 @@ public com.google.protobuf.ByteString getTableBytes() { } } /** - * - * *
      * 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) { + public Builder setTable( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + table_ = value; 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() { - + table_ = getDefaultInstance().getTable(); 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) = { ... } * @param value The bytes for table to set. * @return This builder for chaining. */ - public Builder setTableBytes(com.google.protobuf.ByteString value) { + public Builder setTableBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + table_ = value; onChanged(); return this; @@ -4654,63 +3977,41 @@ public Builder setTableBytes(com.google.protobuf.ByteString value) { 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 tableModifiersBuilder_ != null || 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. */ - 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(); @@ -4724,19 +4025,14 @@ 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 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(); onChanged(); @@ -4747,25 +4043,17 @@ 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 (tableModifiers_ != null) { tableModifiers_ = - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.newBuilder( - tableModifiers_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.newBuilder(tableModifiers_).mergeFrom(value).buildPartial(); } else { tableModifiers_ = value; } @@ -4777,15 +4065,11 @@ public Builder mergeTableModifiers( 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() { if (tableModifiersBuilder_ == null) { @@ -4799,67 +4083,48 @@ 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() { + 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_; @@ -4867,62 +4132,41 @@ public Builder clearTableModifiers() { 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 readOptionsBuilder_ != null || 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. */ 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(); @@ -4936,19 +4180,14 @@ 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 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(); onChanged(); @@ -4959,25 +4198,17 @@ 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 (readOptions_ != null) { readOptions_ = - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions.newBuilder( - readOptions_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions.newBuilder(readOptions_).mergeFrom(value).buildPartial(); } else { readOptions_ = value; } @@ -4989,15 +4220,11 @@ public Builder mergeReadOptions( 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() { if (readOptionsBuilder_ == null) { @@ -5011,92 +4238,66 @@ 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() { + 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_ & 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.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.
      * At least one stream is created with the session. In the future, larger
@@ -5105,9 +4306,7 @@ 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) { @@ -5117,8 +4316,6 @@ public java.util.List getS } } /** - * - * *
      * Output only. A list of streams created with the session.
      * At least one stream is created with the session. In the future, larger
@@ -5127,9 +4324,7 @@ 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) { @@ -5139,8 +4334,6 @@ public int getStreamsCount() { } } /** - * - * *
      * Output only. A list of streams created with the session.
      * At least one stream is created with the session. In the future, larger
@@ -5149,9 +4342,7 @@ 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) { @@ -5161,8 +4352,6 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadStream getStreams(int index } } /** - * - * *
      * Output only. A list of streams created with the session.
      * At least one stream is created with the session. In the future, larger
@@ -5171,9 +4360,7 @@ 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) { @@ -5190,8 +4377,6 @@ public Builder setStreams( return this; } /** - * - * *
      * Output only. A list of streams created with the session.
      * At least one stream is created with the session. In the future, larger
@@ -5200,9 +4385,7 @@ 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) { @@ -5216,8 +4399,6 @@ public Builder setStreams( return this; } /** - * - * *
      * Output only. A list of streams created with the session.
      * At least one stream is created with the session. In the future, larger
@@ -5226,9 +4407,7 @@ 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) { @@ -5244,8 +4423,6 @@ public Builder addStreams(com.google.cloud.bigquery.storage.v1beta2.ReadStream v return this; } /** - * - * *
      * Output only. A list of streams created with the session.
      * At least one stream is created with the session. In the future, larger
@@ -5254,9 +4431,7 @@ 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) { @@ -5273,8 +4448,6 @@ public Builder addStreams( return this; } /** - * - * *
      * Output only. A list of streams created with the session.
      * At least one stream is created with the session. In the future, larger
@@ -5283,9 +4456,7 @@ 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) { @@ -5299,8 +4470,6 @@ public Builder addStreams( return this; } /** - * - * *
      * Output only. A list of streams created with the session.
      * At least one stream is created with the session. In the future, larger
@@ -5309,9 +4478,7 @@ 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) { @@ -5325,8 +4492,6 @@ public Builder addStreams( return this; } /** - * - * *
      * Output only. A list of streams created with the session.
      * At least one stream is created with the session. In the future, larger
@@ -5335,15 +4500,14 @@ 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); @@ -5351,8 +4515,6 @@ public Builder addAllStreams( return this; } /** - * - * *
      * Output only. A list of streams created with the session.
      * At least one stream is created with the session. In the future, larger
@@ -5361,9 +4523,7 @@ 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) { @@ -5376,8 +4536,6 @@ public Builder clearStreams() { return this; } /** - * - * *
      * Output only. A list of streams created with the session.
      * At least one stream is created with the session. In the future, larger
@@ -5386,9 +4544,7 @@ 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) { @@ -5401,8 +4557,6 @@ public Builder removeStreams(int index) { return this; } /** - * - * *
      * Output only. A list of streams created with the session.
      * At least one stream is created with the session. In the future, larger
@@ -5411,17 +4565,13 @@ 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.
      * At least one stream is created with the session. In the future, larger
@@ -5430,21 +4580,16 @@ 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.
      * At least one stream is created with the session. In the future, larger
@@ -5453,12 +4598,10 @@ 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 { @@ -5466,8 +4609,6 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder getStreamsO } } /** - * - * *
      * Output only. A list of streams created with the session.
      * At least one stream is created with the session. In the future, larger
@@ -5476,17 +4617,13 @@ 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.
      * At least one stream is created with the session. In the future, larger
@@ -5495,19 +4632,14 @@ 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.
      * At least one stream is created with the session. In the future, larger
@@ -5516,34 +4648,29 @@ 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_ & 0x00000001) != 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_ & 0x00000001) != 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); } @@ -5553,12 +4680,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(); } @@ -5567,16 +4694,16 @@ 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 { - return new ReadSession(input, extensionRegistry); - } - }; + 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 { + return new ReadSession(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5591,4 +4718,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1beta2.ReadSession getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadSessionOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadSessionOrBuilder.java similarity index 62% rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadSessionOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadSessionOrBuilder.java index 1fce122602..58ad2383b3 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadSessionOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadSessionOrBuilder.java @@ -1,328 +1,217 @@ -/* - * Copyright 2020 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.
    * At least one stream is created with the session. In the future, larger
@@ -331,14 +220,11 @@ public interface ReadSessionOrBuilder
    * 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.
    * At least one stream is created with the session. In the future, larger
@@ -347,14 +233,10 @@ public interface ReadSessionOrBuilder
    * 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.
    * At least one stream is created with the session. In the future, larger
@@ -363,14 +245,10 @@ public interface ReadSessionOrBuilder
    * 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.
    * At least one stream is created with the session. In the future, larger
@@ -379,15 +257,11 @@ public interface ReadSessionOrBuilder
    * 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.
    * At least one stream is created with the session. In the future, larger
@@ -396,11 +270,10 @@ public interface ReadSessionOrBuilder
    * 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); public com.google.cloud.bigquery.storage.v1beta2.ReadSession.SchemaCase getSchemaCase(); } diff --git a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadStream.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadStream.java similarity index 70% rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadStream.java rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadStream.java index 836ffd3fdf..74e6387dfc 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadStream.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadStream.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 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
@@ -29,31 +12,31 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ReadStream(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,59 +55,53 @@ private ReadStream(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            name_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  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;
   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 @@ -133,30 +110,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 { @@ -165,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -177,7 +153,8 @@ 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 (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -201,15 +178,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -229,103 +206,96 @@ 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
@@ -334,23 +304,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * 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()
@@ -358,15 +326,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -376,9 +345,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
@@ -397,8 +366,7 @@ 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);
+      com.google.cloud.bigquery.storage.v1beta2.ReadStream result = new com.google.cloud.bigquery.storage.v1beta2.ReadStream(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -408,39 +376,38 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadStream buildPartial() {
     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;
@@ -448,8 +415,7 @@ 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_;
         onChanged();
@@ -473,8 +439,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.bigquery.storage.v1beta2.ReadStream) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.ReadStream) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -486,21 +451,19 @@ public Builder mergeFrom(
 
     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; @@ -509,22 +472,21 @@ 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 { @@ -532,71 +494,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; 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); } @@ -606,12 +561,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(); } @@ -620,16 +575,16 @@ 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 { - return new ReadStream(input, extensionRegistry); - } - }; + 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 { + return new ReadStream(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -644,4 +599,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1beta2.ReadStream getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadStreamName.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadStreamName.java similarity index 100% rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadStreamName.java rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadStreamName.java diff --git a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadStreamOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadStreamOrBuilder.java similarity index 56% rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadStreamOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadStreamOrBuilder.java index 0f2f0660af..042b73a755 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadStreamOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadStreamOrBuilder.java @@ -1,52 +1,31 @@ -/* - * Copyright 2020 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/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamRequest.java similarity index 66% rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamRequest.java index ed72a44597..947bb3f63b 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SplitReadStreamRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,65 +53,57 @@ private SplitReadStreamRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 17: - { - fraction_ = input.readDouble(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + case 17: { + + fraction_ = input.readDouble(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -137,31 +112,29 @@ 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 { @@ -172,8 +145,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int FRACTION_FIELD_NUMBER = 2; 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
@@ -185,7 +156,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * double fraction = 2; - * * @return The fraction. */ @java.lang.Override @@ -194,7 +164,6 @@ public double getFraction() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,7 +175,8 @@ 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 (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -226,7 +196,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (fraction_ != 0D) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, fraction_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(2, fraction_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -236,17 +207,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -261,137 +233,125 @@ 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) + unknownFields.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() @@ -399,15 +359,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -419,14 +380,13 @@ 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(); } @@ -441,8 +401,7 @@ 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); + com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest result = new com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest(this); result.name_ = name_; result.fraction_ = fraction_; onBuilt(); @@ -453,50 +412,46 @@ public com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest buildPar 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_; onChanged(); @@ -523,9 +478,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -537,22 +490,18 @@ public Builder mergeFrom( 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; @@ -561,23 +510,20 @@ 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 { @@ -585,76 +531,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); 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
@@ -666,7 +597,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * double fraction = 2; - * * @return The fraction. */ @java.lang.Override @@ -674,8 +604,6 @@ 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
@@ -687,19 +615,16 @@ public double getFraction() {
      * 
* * double fraction = 2; - * * @param value The fraction to set. * @return This builder for chaining. */ public Builder setFraction(double value) { - + fraction_ = value; onChanged(); 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
@@ -711,18 +636,17 @@ public Builder setFraction(double value) {
      * 
* * double fraction = 2; - * * @return This builder for chaining. */ public Builder clearFraction() { - + fraction_ = 0D; 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); } @@ -732,32 +656,30 @@ 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 { - return new SplitReadStreamRequest(input, extensionRegistry); - } - }; + 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 { + return new SplitReadStreamRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -769,8 +691,9 @@ 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/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamRequestOrBuilder.java similarity index 55% rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamRequestOrBuilder.java index 3a8f4fb7de..cac57d55d0 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 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
@@ -66,7 +39,6 @@ public interface SplitReadStreamRequestOrBuilder
    * 
* * double fraction = 2; - * * @return The fraction. */ double getFraction(); diff --git a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamResponse.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamResponse.java similarity index 69% rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamResponse.java rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamResponse.java index 123c3db1f8..c857d272a4 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamResponse.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamResponse.java @@ -1,47 +1,35 @@ -/* - * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SplitReadStreamResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -60,79 +48,67 @@ private SplitReadStreamResponse( case 0: done = true; break; - case 10: - { - com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder subBuilder = null; - if (primaryStream_ != null) { - subBuilder = primaryStream_.toBuilder(); - } - primaryStream_ = - input.readMessage( - com.google.cloud.bigquery.storage.v1beta2.ReadStream.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(primaryStream_); - primaryStream_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder subBuilder = null; + if (primaryStream_ != null) { + subBuilder = primaryStream_.toBuilder(); + } + primaryStream_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta2.ReadStream.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(primaryStream_); + primaryStream_ = subBuilder.buildPartial(); } - case 18: - { - com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder subBuilder = null; - if (remainderStream_ != null) { - subBuilder = remainderStream_.toBuilder(); - } - remainderStream_ = - input.readMessage( - com.google.cloud.bigquery.storage.v1beta2.ReadStream.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(remainderStream_); - remainderStream_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder subBuilder = null; + if (remainderStream_ != null) { + subBuilder = remainderStream_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + remainderStream_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta2.ReadStream.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(remainderStream_); + remainderStream_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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
@@ -140,7 +116,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.cloud.bigquery.storage.v1beta2.ReadStream primary_stream = 1; - * * @return Whether the primaryStream field is set. */ @java.lang.Override @@ -148,8 +123,6 @@ 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
@@ -157,18 +130,13 @@ 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
@@ -185,15 +153,12 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder getPrimaryS
   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 @@ -201,26 +166,19 @@ 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.
@@ -229,13 +187,11 @@ 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() {
+  public com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder getRemainderStreamOrBuilder() {
     return getRemainderStream();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -247,7 +203,8 @@ 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());
     }
@@ -264,10 +221,12 @@ 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 += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -277,21 +236,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.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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -318,137 +278,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()
+    // Construct using com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -468,14 +421,13 @@ 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();
     }
 
@@ -490,8 +442,7 @@ 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);
+      com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse result = new com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse(this);
       if (primaryStreamBuilder_ == null) {
         result.primaryStream_ = primaryStream_;
       } else {
@@ -510,50 +461,46 @@ public com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse buildPa
     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());
       }
@@ -579,9 +526,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -593,13 +538,8 @@ public Builder mergeFrom(
 
     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
@@ -607,15 +547,12 @@ public Builder mergeFrom(
      * 
* * .google.cloud.bigquery.storage.v1beta2.ReadStream primary_stream = 1; - * * @return Whether the primaryStream field is set. */ public boolean hasPrimaryStream() { return primaryStreamBuilder_ != null || primaryStream_ != null; } /** - * - * *
      * Primary stream, which contains the beginning portion of
      * |original_stream|. An empty value indicates that the original stream can no
@@ -623,21 +560,16 @@ 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
@@ -660,8 +592,6 @@ 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
@@ -682,8 +612,6 @@ 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
@@ -696,9 +624,7 @@ public Builder mergePrimaryStream(com.google.cloud.bigquery.storage.v1beta2.Read
       if (primaryStreamBuilder_ == null) {
         if (primaryStream_ != null) {
           primaryStream_ =
-              com.google.cloud.bigquery.storage.v1beta2.ReadStream.newBuilder(primaryStream_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.bigquery.storage.v1beta2.ReadStream.newBuilder(primaryStream_).mergeFrom(value).buildPartial();
         } else {
           primaryStream_ = value;
         }
@@ -710,8 +636,6 @@ 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
@@ -732,8 +656,6 @@ 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
@@ -743,13 +665,11 @@ public Builder clearPrimaryStream() {
      * .google.cloud.bigquery.storage.v1beta2.ReadStream primary_stream = 1;
      */
     public com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder getPrimaryStreamBuilder() {
-
+      
       onChanged();
       return getPrimaryStreamFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Primary stream, which contains the beginning portion of
      * |original_stream|. An empty value indicates that the original stream can no
@@ -758,19 +678,15 @@ 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
@@ -780,17 +696,14 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder getPrimarySt
      * .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_;
@@ -798,49 +711,36 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder getPrimarySt
 
     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 remainderStreamBuilder_ != null || 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. */ 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.
@@ -862,8 +762,6 @@ 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.
@@ -883,8 +781,6 @@ 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.
@@ -892,14 +788,11 @@ 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 (remainderStream_ != null) {
           remainderStream_ =
-              com.google.cloud.bigquery.storage.v1beta2.ReadStream.newBuilder(remainderStream_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.bigquery.storage.v1beta2.ReadStream.newBuilder(remainderStream_).mergeFrom(value).buildPartial();
         } else {
           remainderStream_ = value;
         }
@@ -911,8 +804,6 @@ public Builder mergeRemainderStream(
       return this;
     }
     /**
-     *
-     *
      * 
      * Remainder stream, which contains the tail of |original_stream|. An empty
      * value indicates that the original stream can no longer be split.
@@ -932,8 +823,6 @@ 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.
@@ -941,15 +830,12 @@ 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() {
+      
       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.
@@ -957,19 +843,15 @@ public Builder clearRemainderStream() {
      *
      * .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.
@@ -978,24 +860,21 @@ public Builder clearRemainderStream() {
      * .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);
     }
 
@@ -1005,32 +884,30 @@ 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 {
-          return new SplitReadStreamResponse(input, extensionRegistry);
-        }
-      };
+  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 {
+      return new SplitReadStreamResponse(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1042,8 +919,9 @@ 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/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamResponseOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamResponseOrBuilder.java
similarity index 78%
rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamResponseOrBuilder.java
rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamResponseOrBuilder.java
index adb37ece00..96a62e1daf 100644
--- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamResponseOrBuilder.java
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamResponseOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 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
@@ -33,13 +15,10 @@ public interface SplitReadStreamResponseOrBuilder
    * 
* * .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
@@ -47,13 +26,10 @@ public interface SplitReadStreamResponseOrBuilder
    * 
* * .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
@@ -65,34 +41,26 @@ public interface SplitReadStreamResponseOrBuilder
   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/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StorageError.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StorageError.java
similarity index 71%
rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StorageError.java
rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StorageError.java
index 9b99d67ed4..9c71439f1c 100644
--- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StorageError.java
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StorageError.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 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
@@ -30,16 +13,15 @@
  *
  * 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_ = "";
@@ -48,15 +30,16 @@ private StorageError() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new StorageError();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private StorageError(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -75,74 +58,66 @@ private StorageError(
           case 0:
             done = true;
             break;
-          case 8:
-            {
-              int rawValue = input.readEnum();
+          case 8: {
+            int rawValue = input.readEnum();
 
-              code_ = rawValue;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            code_ = rawValue;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              entity_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            entity_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              errorMessage_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            errorMessage_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  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.
      * 
@@ -151,8 +126,6 @@ public enum StorageErrorCode implements com.google.protobuf.ProtocolMessageEnum */ STORAGE_ERROR_CODE_UNSPECIFIED(0), /** - * - * *
      * Table is not found in the system.
      * 
@@ -161,8 +134,6 @@ public enum StorageErrorCode implements com.google.protobuf.ProtocolMessageEnum */ TABLE_NOT_FOUND(1), /** - * - * *
      * Stream is already committed.
      * 
@@ -171,8 +142,6 @@ public enum StorageErrorCode implements com.google.protobuf.ProtocolMessageEnum */ STREAM_ALREADY_COMMITTED(2), /** - * - * *
      * Stream is not found.
      * 
@@ -181,8 +150,6 @@ public enum StorageErrorCode implements com.google.protobuf.ProtocolMessageEnum */ STREAM_NOT_FOUND(3), /** - * - * *
      * Invalid Stream type.
      * For example, you try to commit a stream that is not pending.
@@ -192,8 +159,6 @@ public enum StorageErrorCode implements com.google.protobuf.ProtocolMessageEnum
      */
     INVALID_STREAM_TYPE(4),
     /**
-     *
-     *
      * 
      * Invalid Stream state.
      * For example, you try to commit a stream that is not finalized or is
@@ -204,8 +169,6 @@ public enum StorageErrorCode implements com.google.protobuf.ProtocolMessageEnum
      */
     INVALID_STREAM_STATE(5),
     /**
-     *
-     *
      * 
      * Stream is finalized.
      * 
@@ -217,8 +180,6 @@ public enum StorageErrorCode implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
      * Default error.
      * 
@@ -227,8 +188,6 @@ public enum StorageErrorCode implements com.google.protobuf.ProtocolMessageEnum */ public static final int STORAGE_ERROR_CODE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Table is not found in the system.
      * 
@@ -237,8 +196,6 @@ public enum StorageErrorCode implements com.google.protobuf.ProtocolMessageEnum */ public static final int TABLE_NOT_FOUND_VALUE = 1; /** - * - * *
      * Stream is already committed.
      * 
@@ -247,8 +204,6 @@ public enum StorageErrorCode implements com.google.protobuf.ProtocolMessageEnum */ public static final int STREAM_ALREADY_COMMITTED_VALUE = 2; /** - * - * *
      * Stream is not found.
      * 
@@ -257,8 +212,6 @@ public enum StorageErrorCode implements com.google.protobuf.ProtocolMessageEnum */ public static final int STREAM_NOT_FOUND_VALUE = 3; /** - * - * *
      * Invalid Stream type.
      * For example, you try to commit a stream that is not pending.
@@ -268,8 +221,6 @@ public enum StorageErrorCode implements com.google.protobuf.ProtocolMessageEnum
      */
     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
@@ -280,8 +231,6 @@ public enum StorageErrorCode implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int INVALID_STREAM_STATE_VALUE = 5;
     /**
-     *
-     *
      * 
      * Stream is finalized.
      * 
@@ -290,6 +239,7 @@ public enum StorageErrorCode implements com.google.protobuf.ProtocolMessageEnum */ public static final int STREAM_FINALIZED_VALUE = 6; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -314,53 +264,44 @@ 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); + } + }; - 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() { + 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(); @@ -368,7 +309,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor 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; @@ -388,52 +330,38 @@ private StorageErrorCode(int value) { public static final int CODE_FIELD_NUMBER = 1; private int code_; /** - * - * *
    * 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() { + @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode getCode() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode result = - com.google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode.valueOf(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.valueOf(code_); + return result == null ? com.google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode.UNRECOGNIZED : result; } public static final int ENTITY_FIELD_NUMBER = 2; private volatile java.lang.Object entity_; /** - * - * *
    * Name of the failed entity.
    * 
* * string entity = 2; - * * @return The entity. */ @java.lang.Override @@ -442,29 +370,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 { @@ -475,14 +403,11 @@ public com.google.protobuf.ByteString getEntityBytes() { public static final int ERROR_MESSAGE_FIELD_NUMBER = 3; private volatile java.lang.Object errorMessage_; /** - * - * *
    * Message that describes the error.
    * 
* * string error_message = 3; - * * @return The errorMessage. */ @java.lang.Override @@ -491,29 +416,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 { @@ -522,7 +447,6 @@ public com.google.protobuf.ByteString getErrorMessageBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -534,11 +458,9 @@ 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 (!getEntityBytes().isEmpty()) { @@ -556,11 +478,9 @@ 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 (!getEntityBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, entity_); @@ -576,17 +496,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -610,104 +531,96 @@ 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
@@ -717,23 +630,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * 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()
@@ -741,15 +652,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -763,9 +675,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
@@ -784,8 +696,7 @@ 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);
+      com.google.cloud.bigquery.storage.v1beta2.StorageError result = new com.google.cloud.bigquery.storage.v1beta2.StorageError(this);
       result.code_ = code_;
       result.entity_ = entity_;
       result.errorMessage_ = errorMessage_;
@@ -797,39 +708,38 @@ public com.google.cloud.bigquery.storage.v1beta2.StorageError buildPartial() {
     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;
@@ -837,8 +747,7 @@ 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());
       }
@@ -869,8 +778,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.bigquery.storage.v1beta2.StorageError) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.StorageError) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -882,93 +790,73 @@ public Builder mergeFrom(
 
     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. */ public Builder setCodeValue(int value) { - + code_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode result = - com.google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode.valueOf(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.valueOf(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(); } - + code_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * BigQuery Storage specific error code.
      * 
* * .google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode code = 1; - * * @return This builder for chaining. */ public Builder clearCode() { - + code_ = 0; onChanged(); return this; @@ -976,20 +864,18 @@ 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; @@ -998,21 +884,20 @@ 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 { @@ -1020,61 +905,54 @@ public com.google.protobuf.ByteString getEntityBytes() { } } /** - * - * *
      * 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) { + public Builder setEntity( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + entity_ = value; onChanged(); return this; } /** - * - * *
      * Name of the failed entity.
      * 
* * string entity = 2; - * * @return This builder for chaining. */ public Builder clearEntity() { - + entity_ = getDefaultInstance().getEntity(); onChanged(); 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) { + public Builder setEntityBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + entity_ = value; onChanged(); return this; @@ -1082,20 +960,18 @@ public Builder setEntityBytes(com.google.protobuf.ByteString value) { 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; @@ -1104,21 +980,20 @@ 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 { @@ -1126,68 +1001,61 @@ public com.google.protobuf.ByteString getErrorMessageBytes() { } } /** - * - * *
      * 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) { + public Builder setErrorMessage( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + errorMessage_ = value; onChanged(); return this; } /** - * - * *
      * Message that describes the error.
      * 
* * string error_message = 3; - * * @return This builder for chaining. */ public Builder clearErrorMessage() { - + errorMessage_ = getDefaultInstance().getErrorMessage(); onChanged(); 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) { + public Builder setErrorMessageBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + errorMessage_ = value; 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); } @@ -1197,12 +1065,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(); } @@ -1211,16 +1079,16 @@ 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 { - return new StorageError(input, extensionRegistry); - } - }; + 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 { + return new StorageError(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1235,4 +1103,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1beta2.StorageError getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StorageErrorOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StorageErrorOrBuilder.java similarity index 64% rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StorageErrorOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StorageErrorOrBuilder.java index 24f7a8eb5e..5ff3305f7f 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StorageErrorOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StorageErrorOrBuilder.java @@ -1,100 +1,68 @@ -/* - * Copyright 2020 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/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 new file mode 100644 index 0000000000..20fe629ffd --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StorageProto.java @@ -0,0 +1,458 @@ +// 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\"\310\001\n\030" + + "CreateReadSessionRequest\022C\n\006parent\030\001 \001(\t" + + "B3\340A\002\372A-\n+cloudresourcemanager.googleapi" + + "s.com/Project\022M\n\014read_session\030\002 \001(\01322.go" + + "ogle.cloud.bigquery.storage.v1beta2.Read" + + "SessionB\003\340A\002\022\030\n\020max_stream_count\030\003 \001(\005\"i" + + "\n\017ReadRowsRequest\022F\n\013read_stream\030\001 \001(\tB1" + + "\340A\002\372A+\n)bigquerystorage.googleapis.com/R" + + "eadStream\022\016\n\006offset\030\002 \001(\003\")\n\rThrottleSta" + + "te\022\030\n\020throttle_percent\030\001 \001(\005\"\234\001\n\013StreamS" + + "tats\022M\n\010progress\030\002 \001(\0132;.google.cloud.bi" + + "gquery.storage.v1beta2.StreamStats.Progr" + + "ess\032>\n\010Progress\022\031\n\021at_response_start\030\001 \001" + + "(\001\022\027\n\017at_response_end\030\002 \001(\001\"\205\004\n\020ReadRows" + + "Response\022D\n\tavro_rows\030\003 \001(\0132/.google.clo" + + "ud.bigquery.storage.v1beta2.AvroRowsH\000\022U" + + "\n\022arrow_record_batch\030\004 \001(\01327.google.clou" + + "d.bigquery.storage.v1beta2.ArrowRecordBa" + + "tchH\000\022\021\n\trow_count\030\006 \001(\003\022A\n\005stats\030\002 \001(\0132" + + "2.google.cloud.bigquery.storage.v1beta2." + + "StreamStats\022L\n\016throttle_state\030\005 \001(\01324.go" + + "ogle.cloud.bigquery.storage.v1beta2.Thro" + + "ttleState\022M\n\013avro_schema\030\007 \001(\01321.google." + + "cloud.bigquery.storage.v1beta2.AvroSchem" + + "aB\003\340A\003H\001\022O\n\014arrow_schema\030\010 \001(\01322.google." + + "cloud.bigquery.storage.v1beta2.ArrowSche" + + "maB\003\340A\003H\001B\006\n\004rowsB\010\n\006schema\"k\n\026SplitRead" + + "StreamRequest\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n)big" + + "querystorage.googleapis.com/ReadStream\022\020" + + "\n\010fraction\030\002 \001(\001\"\261\001\n\027SplitReadStreamResp" + + "onse\022I\n\016primary_stream\030\001 \001(\01321.google.cl" + + "oud.bigquery.storage.v1beta2.ReadStream\022" + + "K\n\020remainder_stream\030\002 \001(\01321.google.cloud" + + ".bigquery.storage.v1beta2.ReadStream\"\240\001\n" + + "\030CreateWriteStreamRequest\0225\n\006parent\030\001 \001(" + + "\tB%\340A\002\372A\037\n\035bigquery.googleapis.com/Table" + + "\022M\n\014write_stream\030\002 \001(\01322.google.cloud.bi" + + "gquery.storage.v1beta2.WriteStreamB\003\340A\002\"" + + "\227\003\n\021AppendRowsRequest\022H\n\014write_stream\030\001 " + + "\001(\tB2\340A\002\372A,\n*bigquerystorage.googleapis." + + "com/WriteStream\022+\n\006offset\030\002 \001(\0132\033.google" + + ".protobuf.Int64Value\022X\n\nproto_rows\030\004 \001(\013" + + "2B.google.cloud.bigquery.storage.v1beta2" + + ".AppendRowsRequest.ProtoDataH\000\022\020\n\010trace_" + + "id\030\006 \001(\t\032\226\001\n\tProtoData\022I\n\rwriter_schema\030" + + "\001 \001(\01322.google.cloud.bigquery.storage.v1" + + "beta2.ProtoSchema\022>\n\004rows\030\002 \001(\01320.google" + + ".cloud.bigquery.storage.v1beta2.ProtoRow" + + "sB\006\n\004rows\"\257\002\n\022AppendRowsResponse\022_\n\rappe" + + "nd_result\030\001 \001(\0132F.google.cloud.bigquery." + + "storage.v1beta2.AppendRowsResponse.Appen" + + "dResultH\000\022#\n\005error\030\002 \001(\0132\022.google.rpc.St" + + "atusH\000\022J\n\016updated_schema\030\003 \001(\01322.google." + + "cloud.bigquery.storage.v1beta2.TableSche" + + "ma\032;\n\014AppendResult\022+\n\006offset\030\001 \001(\0132\033.goo" + + "gle.protobuf.Int64ValueB\n\n\010response\"Y\n\025G" + + "etWriteStreamRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372" + + "A,\n*bigquerystorage.googleapis.com/Write" + + "Stream\"Q\n\036BatchCommitWriteStreamsRequest" + + "\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\032\n\rwrite_streams\030\002" + + " \003(\tB\003\340A\002\"\236\001\n\037BatchCommitWriteStreamsRes" + + "ponse\022/\n\013commit_time\030\001 \001(\0132\032.google.prot" + + "obuf.Timestamp\022J\n\rstream_errors\030\002 \003(\01323." + + "google.cloud.bigquery.storage.v1beta2.St" + + "orageError\"^\n\032FinalizeWriteStreamRequest" + + "\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*bigquerystorage." + + "googleapis.com/WriteStream\"0\n\033FinalizeWr" + + "iteStreamResponse\022\021\n\trow_count\030\001 \001(\003\"\211\001\n" + + "\020FlushRowsRequest\022H\n\014write_stream\030\001 \001(\tB" + + "2\340A\002\372A,\n*bigquerystorage.googleapis.com/" + + "WriteStream\022+\n\006offset\030\002 \001(\0132\033.google.pro" + + "tobuf.Int64Value\"#\n\021FlushRowsResponse\022\016\n" + + "\006offset\030\001 \001(\003\"\324\002\n\014StorageError\022R\n\004code\030\001" + + " \001(\0162D.google.cloud.bigquery.storage.v1b" + + "eta2.StorageError.StorageErrorCode\022\016\n\006en" + + "tity\030\002 \001(\t\022\025\n\rerror_message\030\003 \001(\t\"\310\001\n\020St" + + "orageErrorCode\022\"\n\036STORAGE_ERROR_CODE_UNS" + + "PECIFIED\020\000\022\023\n\017TABLE_NOT_FOUND\020\001\022\034\n\030STREA" + + "M_ALREADY_COMMITTED\020\002\022\024\n\020STREAM_NOT_FOUN" + + "D\020\003\022\027\n\023INVALID_STREAM_TYPE\020\004\022\030\n\024INVALID_" + + "STREAM_STATE\020\005\022\024\n\020STREAM_FINALIZED\020\0062\363\006\n" + + "\014BigQueryRead\022\370\001\n\021CreateReadSession\022?.go" + + "ogle.cloud.bigquery.storage.v1beta2.Crea" + + "teReadSessionRequest\0322.google.cloud.bigq" + + "uery.storage.v1beta2.ReadSession\"n\202\323\344\223\002A" + + "\".google.cloud.bigquery.sto" + + "rage.v1beta2.SplitReadStreamResponse\"C\202\323" + + "\344\223\002=\022;/v1beta2/{name=projects/*/location" + + "s/*/sessions/*/streams/*}\032\256\001\312A\036bigquerys" + + "torage.googleapis.com\322A\211\001https://www.goo" + + "gleapis.com/auth/bigquery,https://www.go" + + "ogleapis.com/auth/bigquery.readonly,http" + + "s://www.googleapis.com/auth/cloud-platfo" + + "rm2\226\014\n\rBigQueryWrite\022\346\001\n\021CreateWriteStre" + + "am\022?.google.cloud.bigquery.storage.v1bet" + + "a2.CreateWriteStreamRequest\0322.google.clo" + + "ud.bigquery.storage.v1beta2.WriteStream\"" + + "\\\202\323\344\223\002@\"0/v1beta2/{parent=projects/*/dat" + + "asets/*/tables/*}:\014write_stream\332A\023parent" + + ",write_stream\022\341\001\n\nAppendRows\0228.google.cl" + + "oud.bigquery.storage.v1beta2.AppendRowsR" + + "equest\0329.google.cloud.bigquery.storage.v" + + "1beta2.AppendRowsResponse\"Z\202\323\344\223\002E\"@/v1be" + + "ta2/{write_stream=projects/*/datasets/*/" + + "tables/*/streams/*}:\001*\332A\014write_stream(\0010" + + "\001\022\316\001\n\016GetWriteStream\022<.google.cloud.bigq" + + "uery.storage.v1beta2.GetWriteStreamReque" + + "st\0322.google.cloud.bigquery.storage.v1bet" + + "a2.WriteStream\"J\202\323\344\223\002=\"8/v1beta2/{name=p" + + "rojects/*/datasets/*/tables/*/streams/*}" + + ":\001*\332A\004name\022\350\001\n\023FinalizeWriteStream\022A.goo" + + "gle.cloud.bigquery.storage.v1beta2.Final" + + "izeWriteStreamRequest\032B.google.cloud.big" + + "query.storage.v1beta2.FinalizeWriteStrea" + + "mResponse\"J\202\323\344\223\002=\"8/v1beta2/{name=projec" + + "ts/*/datasets/*/tables/*/streams/*}:\001*\332A" + + "\004name\022\353\001\n\027BatchCommitWriteStreams\022E.goog" + + "le.cloud.bigquery.storage.v1beta2.BatchC" + + "ommitWriteStreamsRequest\032F.google.cloud." + + "bigquery.storage.v1beta2.BatchCommitWrit" + + "eStreamsResponse\"A\202\323\344\223\0022\0220/v1beta2/{pare" + + "nt=projects/*/datasets/*/tables/*}\332A\006par" + + "ent\022\332\001\n\tFlushRows\0227.google.cloud.bigquer" + + "y.storage.v1beta2.FlushRowsRequest\0328.goo" + + "gle.cloud.bigquery.storage.v1beta2.Flush" + + "RowsResponse\"Z\202\323\344\223\002E\"@/v1beta2/{write_st" + + "ream=projects/*/datasets/*/tables/*/stre" + + "ams/*}:\001*\332A\014write_stream\032\260\001\312A\036bigqueryst" + + "orage.googleapis.com\322A\213\001https://www.goog" + + "leapis.com/auth/bigquery,https://www.goo" + + "gleapis.com/auth/bigquery.insertdata,htt" + + "ps://www.googleapis.com/auth/cloud-platf" + + "ormB\211\001\n)com.google.cloud.bigquery.storag" + + "e.v1beta2B\014StorageProtoP\001ZLgoogle.golang" + + ".org/genproto/googleapis/cloud/bigquery/" + + "storage/v1beta2;storageb\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 new file mode 100644 index 0000000000..cd5449ab2a --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StreamProto.java @@ -0,0 +1,167 @@ +// 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\"\362\007\n\013ReadSession\022\021\n\004name" + + "\030\001 \001(\tB\003\340A\003\0224\n\013expire_time\030\002 \001(\0132\032.googl" + + "e.protobuf.TimestampB\003\340A\003\022K\n\013data_format" + + "\030\003 \001(\01621.google.cloud.bigquery.storage.v" + + "1beta2.DataFormatB\003\340A\005\022M\n\013avro_schema\030\004 " + + "\001(\01321.google.cloud.bigquery.storage.v1be" + + "ta2.AvroSchemaB\003\340A\003H\000\022O\n\014arrow_schema\030\005 " + + "\001(\01322.google.cloud.bigquery.storage.v1be" + + "ta2.ArrowSchemaB\003\340A\003H\000\0224\n\005table\030\006 \001(\tB%\340" + + "A\005\372A\037\n\035bigquery.googleapis.com/Table\022_\n\017" + + "table_modifiers\030\007 \001(\0132A.google.cloud.big" + + "query.storage.v1beta2.ReadSession.TableM" + + "odifiersB\003\340A\001\022^\n\014read_options\030\010 \001(\0132C.go" + + "ogle.cloud.bigquery.storage.v1beta2.Read" + + "Session.TableReadOptionsB\003\340A\001\022G\n\007streams" + + "\030\n \003(\01321.google.cloud.bigquery.storage.v" + + "1beta2.ReadStreamB\003\340A\003\032C\n\016TableModifiers" + + "\0221\n\rsnapshot_time\030\001 \001(\0132\032.google.protobu" + + "f.Timestamp\032\260\001\n\020TableReadOptions\022\027\n\017sele" + + "cted_fields\030\001 \003(\t\022\027\n\017row_restriction\030\002 \001" + + "(\t\022j\n\033arrow_serialization_options\030\003 \001(\0132" + + "@.google.cloud.bigquery.storage.v1beta2." + + "ArrowSerializationOptionsB\003\340A\001:k\352Ah\n*big" + + "querystorage.googleapis.com/ReadSession\022" + + ":projects/{project}/locations/{location}" + + "/sessions/{session}B\010\n\006schema\"\234\001\n\nReadSt" + + "ream\022\021\n\004name\030\001 \001(\tB\003\340A\003:{\352Ax\n)bigqueryst" + + "orage.googleapis.com/ReadStream\022Kproject" + + "s/{project}/locations/{location}/session" + + "s/{session}/streams/{stream}\"\347\003\n\013WriteSt" + + "ream\022\021\n\004name\030\001 \001(\tB\003\340A\003\022J\n\004type\030\002 \001(\01627." + + "google.cloud.bigquery.storage.v1beta2.Wr" + + "iteStream.TypeB\003\340A\005\0224\n\013create_time\030\003 \001(\013" + + "2\032.google.protobuf.TimestampB\003\340A\003\0224\n\013com" + + "mit_time\030\004 \001(\0132\032.google.protobuf.Timesta" + + "mpB\003\340A\003\022M\n\014table_schema\030\005 \001(\01322.google.c" + + "loud.bigquery.storage.v1beta2.TableSchem" + + "aB\003\340A\003\"F\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\r\n\t" + + "COMMITTED\020\001\022\013\n\007PENDING\020\002\022\014\n\010BUFFERED\020\003:v" + + "\352As\n*bigquerystorage.googleapis.com/Writ" + + "eStream\022Eprojects/{project}/datasets/{da" + + "taset}/tables/{table}/streams/{stream}*>" + + "\n\nDataFormat\022\033\n\027DATA_FORMAT_UNSPECIFIED\020" + + "\000\022\010\n\004AVRO\020\001\022\t\n\005ARROW\020\002B\340\001\n)com.google.cl" + + "oud.bigquery.storage.v1beta2B\013StreamProt" + + "oP\001ZLgoogle.golang.org/genproto/googleap" + + "is/cloud/bigquery/storage/v1beta2;storag" + + "e\352AU\n\035bigquery.googleapis.com/Table\0224pro" + + "jects/{project}/datasets/{dataset}/table" + + "s/{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/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StreamStats.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StreamStats.java similarity index 71% rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StreamStats.java rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StreamStats.java index b58edc9933..a570f0d404 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StreamStats.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StreamStats.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private StreamStats( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,66 +52,56 @@ private StreamStats( case 0: done = true; break; - case 18: - { - com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.Builder subBuilder = - null; - if (progress_ != null) { - subBuilder = progress_.toBuilder(); - } - progress_ = - input.readMessage( - com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(progress_); - progress_ = subBuilder.buildPartial(); - } - - break; + case 18: { + com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.Builder subBuilder = null; + if (progress_ != null) { + subBuilder = progress_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + progress_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(progress_); + progress_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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
@@ -142,49 +116,48 @@ public interface ProgressOrBuilder
      * 
* * 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Progress( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -203,55 +176,51 @@ private Progress( case 0: done = true; break; - case 9: - { - atResponseStart_ = input.readDouble(); - break; - } - case 17: - { - atResponseEnd_ = input.readDouble(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 9: { + + atResponseStart_ = input.readDouble(); + break; + } + case 17: { + + atResponseEnd_ = input.readDouble(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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_; /** - * - * *
      * 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
@@ -266,7 +235,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * double at_response_start = 1; - * * @return The atResponseStart. */ @java.lang.Override @@ -277,15 +245,12 @@ public double getAtResponseStart() { public static final int AT_RESPONSE_END_FIELD_NUMBER = 2; 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 @@ -294,7 +259,6 @@ public double getAtResponseEnd() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -306,7 +270,8 @@ 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 (atResponseStart_ != 0D) { output.writeDouble(1, atResponseStart_); } @@ -323,10 +288,12 @@ public int getSerializedSize() { size = 0; if (atResponseStart_ != 0D) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, atResponseStart_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(1, atResponseStart_); } if (atResponseEnd_ != 0D) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, atResponseEnd_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(2, atResponseEnd_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -336,18 +303,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -360,109 +328,98 @@ 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) + unknownFields.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 @@ -471,25 +428,24 @@ 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() @@ -497,15 +453,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -517,14 +474,13 @@ 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(); } @@ -539,8 +495,7 @@ 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); + com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress result = new com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress(this); result.atResponseStart_ = atResponseStart_; result.atResponseEnd_ = atResponseEnd_; onBuilt(); @@ -551,52 +506,46 @@ public com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress buildParti 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()); } @@ -622,9 +571,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -634,10 +581,8 @@ public Builder mergeFrom( return this; } - 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
@@ -652,7 +597,6 @@ public Builder mergeFrom(
        * 
* * double at_response_start = 1; - * * @return The atResponseStart. */ @java.lang.Override @@ -660,8 +604,6 @@ 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
@@ -676,19 +618,16 @@ public double getAtResponseStart() {
        * 
* * double at_response_start = 1; - * * @param value The atResponseStart to set. * @return This builder for chaining. */ public Builder setAtResponseStart(double value) { - + atResponseStart_ = value; onChanged(); 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
@@ -703,27 +642,23 @@ public Builder setAtResponseStart(double value) {
        * 
* * double at_response_start = 1; - * * @return This builder for chaining. */ public Builder clearAtResponseStart() { - + atResponseStart_ = 0D; onChanged(); 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 @@ -731,43 +666,36 @@ 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. */ public Builder setAtResponseEnd(double value) { - + atResponseEnd_ = value; onChanged(); 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() { - + atResponseEnd_ = 0D; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -780,32 +708,30 @@ 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 { - return new Progress(input, extensionRegistry); - } - }; + 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 { + return new Progress(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -817,23 +743,20 @@ 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 @@ -841,25 +764,18 @@ 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.
    * 
@@ -867,13 +783,11 @@ 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() { + public com.google.cloud.bigquery.storage.v1beta2.StreamStats.ProgressOrBuilder getProgressOrBuilder() { return getProgress(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -885,7 +799,8 @@ 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()); } @@ -899,7 +814,8 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -909,17 +825,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -942,127 +858,117 @@ 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() @@ -1070,15 +976,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1092,9 +999,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 @@ -1113,8 +1020,7 @@ 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); + com.google.cloud.bigquery.storage.v1beta2.StreamStats result = new com.google.cloud.bigquery.storage.v1beta2.StreamStats(this); if (progressBuilder_ == null) { result.progress_ = progress_; } else { @@ -1128,39 +1034,38 @@ public com.google.cloud.bigquery.storage.v1beta2.StreamStats buildPartial() { 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; @@ -1168,8 +1073,7 @@ 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()); } @@ -1192,8 +1096,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1beta2.StreamStats) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.StreamStats) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1205,55 +1108,41 @@ public Builder mergeFrom( 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 progressBuilder_ != null || progress_ != null; } /** - * - * *
      * 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(); @@ -1267,8 +1156,6 @@ public Builder setProgress( return this; } /** - * - * *
      * Represents the progress of the current stream.
      * 
@@ -1287,22 +1174,17 @@ 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 (progress_ != null) { progress_ = - com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.newBuilder(progress_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.newBuilder(progress_).mergeFrom(value).buildPartial(); } else { progress_ = value; } @@ -1314,8 +1196,6 @@ public Builder mergeProgress( return this; } /** - * - * *
      * Represents the progress of the current stream.
      * 
@@ -1334,42 +1214,33 @@ 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() { + 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.
      * 
@@ -1377,24 +1248,21 @@ public Builder clearProgress() { * .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); } @@ -1404,12 +1272,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(); } @@ -1418,16 +1286,16 @@ 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 { - return new StreamStats(input, extensionRegistry); - } - }; + 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 { + return new StreamStats(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1442,4 +1310,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1beta2.StreamStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StreamStatsOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StreamStatsOrBuilder.java similarity index 62% rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StreamStatsOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StreamStatsOrBuilder.java index ed9f32db50..7567961429 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StreamStatsOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StreamStatsOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 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/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableFieldSchema.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableFieldSchema.java similarity index 66% rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableFieldSchema.java rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableFieldSchema.java index 9814346e7d..008d2029ec 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableFieldSchema.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableFieldSchema.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 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; @@ -47,15 +29,16 @@ private TableFieldSchema() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TableFieldSchema(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private TableFieldSchema( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -75,61 +58,53 @@ private TableFieldSchema( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - type_ = rawValue; - break; - } - case 24: - { - int rawValue = input.readEnum(); + type_ = rawValue; + break; + } + case 24: { + int rawValue = input.readEnum(); - mode_ = rawValue; - break; - } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - fields_ = - new java.util.ArrayList< - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema>(); - mutable_bitField0_ |= 0x00000001; - } - fields_.add( - input.readMessage( - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.parser(), - extensionRegistry)); - break; + mode_ = rawValue; + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + fields_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); + fields_.add( + input.readMessage(com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.parser(), extensionRegistry)); + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + description_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { fields_ = java.util.Collections.unmodifiableList(fields_); @@ -138,27 +113,25 @@ private TableFieldSchema( makeExtensionsImmutable(); } } - - 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
      * 
@@ -167,8 +140,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
      * 64K, UTF8
      * 
@@ -177,8 +148,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ STRING(1), /** - * - * *
      * 64-bit signed
      * 
@@ -187,8 +156,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ INT64(2), /** - * - * *
      * 64-bit IEEE floating point
      * 
@@ -197,8 +164,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ DOUBLE(3), /** - * - * *
      * Aggregate type
      * 
@@ -207,8 +172,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ STRUCT(4), /** - * - * *
      * 64K, Binary
      * 
@@ -217,8 +180,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ BYTES(5), /** - * - * *
      * 2-valued
      * 
@@ -227,8 +188,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ BOOL(6), /** - * - * *
      * 64-bit signed usec since UTC epoch
      * 
@@ -237,8 +196,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TIMESTAMP(7), /** - * - * *
      * Civil date - Year, Month, Day
      * 
@@ -247,8 +204,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ DATE(8), /** - * - * *
      * Civil time - Hour, Minute, Second, Microseconds
      * 
@@ -257,8 +212,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TIME(9), /** - * - * *
      * Combination of civil date and civil time
      * 
@@ -267,8 +220,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ DATETIME(10), /** - * - * *
      * Geography object
      * 
@@ -277,8 +228,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ GEOGRAPHY(11), /** - * - * *
      * Numeric value
      * 
@@ -287,8 +236,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ NUMERIC(12), /** - * - * *
      * BigNumeric value
      * 
@@ -297,8 +244,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ BIGNUMERIC(13), /** - * - * *
      * Interval
      * 
@@ -307,8 +252,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ INTERVAL(14), /** - * - * *
      * JSON, String
      * 
@@ -320,8 +263,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Illegal value
      * 
@@ -330,8 +271,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * 64K, UTF8
      * 
@@ -340,8 +279,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STRING_VALUE = 1; /** - * - * *
      * 64-bit signed
      * 
@@ -350,8 +287,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INT64_VALUE = 2; /** - * - * *
      * 64-bit IEEE floating point
      * 
@@ -360,8 +295,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DOUBLE_VALUE = 3; /** - * - * *
      * Aggregate type
      * 
@@ -370,8 +303,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STRUCT_VALUE = 4; /** - * - * *
      * 64K, Binary
      * 
@@ -380,8 +311,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BYTES_VALUE = 5; /** - * - * *
      * 2-valued
      * 
@@ -390,8 +319,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BOOL_VALUE = 6; /** - * - * *
      * 64-bit signed usec since UTC epoch
      * 
@@ -400,8 +327,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TIMESTAMP_VALUE = 7; /** - * - * *
      * Civil date - Year, Month, Day
      * 
@@ -410,8 +335,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DATE_VALUE = 8; /** - * - * *
      * Civil time - Hour, Minute, Second, Microseconds
      * 
@@ -420,8 +343,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TIME_VALUE = 9; /** - * - * *
      * Combination of civil date and civil time
      * 
@@ -430,8 +351,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DATETIME_VALUE = 10; /** - * - * *
      * Geography object
      * 
@@ -440,8 +359,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GEOGRAPHY_VALUE = 11; /** - * - * *
      * Numeric value
      * 
@@ -450,8 +367,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NUMERIC_VALUE = 12; /** - * - * *
      * BigNumeric value
      * 
@@ -460,8 +375,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BIGNUMERIC_VALUE = 13; /** - * - * *
      * Interval
      * 
@@ -470,8 +383,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INTERVAL_VALUE = 14; /** - * - * *
      * JSON, String
      * 
@@ -480,6 +391,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int JSON_VALUE = 15; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -504,77 +416,62 @@ 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); + } + }; - 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() { + 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; @@ -591,11 +488,12 @@ 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
      * 
@@ -603,18 +501,22 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { * 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
      * 
@@ -622,13 +524,20 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { * 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( @@ -653,53 +562,50 @@ 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); + } + }; - 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() { + 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; @@ -719,8 +625,6 @@ private Mode(int value) { public static final int NAME_FIELD_NUMBER = 1; 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
@@ -728,7 +632,6 @@ private Mode(int value) {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -737,15 +640,14 @@ 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
@@ -753,15 +655,16 @@ 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 { @@ -772,162 +675,110 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int TYPE_FIELD_NUMBER = 2; private int 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 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() { + @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type result = - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type.valueOf(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.valueOf(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_; /** - * - * *
    * 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() { + @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode getMode() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode result = - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode.valueOf(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.valueOf(mode_); + return result == null ? com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode.UNRECOGNIZED : result; } public static final int FIELDS_FIELD_NUMBER = 4; 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< - ? extends com.google.cloud.bigquery.storage.v1beta2.TableFieldSchemaOrBuilder> + 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.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( @@ -938,14 +789,11 @@ public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchemaOrBuilder getFi public static final int DESCRIPTION_FIELD_NUMBER = 6; 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 @@ -954,29 +802,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 { @@ -985,7 +833,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -997,18 +844,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 (!getNameBytes().isEmpty()) { 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++) { @@ -1029,18 +873,17 @@ public int getSerializedSize() { if (!getNameBytes().isEmpty()) { 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 (!getDescriptionBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, description_); @@ -1053,19 +896,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1095,127 +940,117 @@ 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() @@ -1223,17 +1058,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getFieldsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1255,9 +1090,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 @@ -1276,8 +1111,7 @@ 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); int from_bitField0_ = bitField0_; result.name_ = name_; result.type_ = type_; @@ -1300,39 +1134,38 @@ public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema buildPartial() 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; @@ -1340,8 +1173,7 @@ 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_; onChanged(); @@ -1370,10 +1202,9 @@ public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.TableFieldSch 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_); } @@ -1402,8 +1233,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1412,13 +1242,10 @@ public Builder mergeFrom( } 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
@@ -1426,13 +1253,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; @@ -1441,8 +1268,6 @@ 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
@@ -1450,14 +1275,15 @@ 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 { @@ -1465,8 +1291,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * 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
@@ -1474,22 +1298,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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
@@ -1497,18 +1319,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); 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
@@ -1516,16 +1335,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1533,75 +1352,51 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { 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. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type result = - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type.valueOf(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.valueOf(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. */ @@ -1609,26 +1404,21 @@ public Builder setType(com.google.cloud.bigquery.storage.v1beta2.TableFieldSchem if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); 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() { - + type_ = 0; onChanged(); return this; @@ -1636,75 +1426,51 @@ 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. */ public Builder setModeValue(int value) { - + mode_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode result = - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode.valueOf(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.valueOf(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. */ @@ -1712,62 +1478,46 @@ public Builder setMode(com.google.cloud.bigquery.storage.v1beta2.TableFieldSchem if (value == null) { throw new NullPointerException(); } - + mode_ = value.getNumber(); onChanged(); 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() { - + mode_ = 0; onChanged(); return this; } 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_; /** - * - * *
      * 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 { @@ -1775,15 +1525,11 @@ private void ensureFieldsIsMutable() { } } /** - * - * *
      * 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) { @@ -1793,15 +1539,11 @@ 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) { @@ -1811,15 +1553,11 @@ 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) { @@ -1836,19 +1574,14 @@ 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()); @@ -1859,15 +1592,11 @@ 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) { @@ -1883,15 +1612,11 @@ 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) { @@ -1908,15 +1633,11 @@ 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) { @@ -1930,19 +1651,14 @@ 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()); @@ -1953,22 +1669,18 @@ 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); @@ -1976,15 +1688,11 @@ 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) { @@ -1997,15 +1705,11 @@ 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) { @@ -2018,53 +1722,39 @@ 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< - ? extends com.google.cloud.bigquery.storage.v1beta2.TableFieldSchemaOrBuilder> - getFieldsOrBuilderList() { + public java.util.List + getFieldsOrBuilderList() { if (fieldsBuilder_ != null) { return fieldsBuilder_.getMessageOrBuilderList(); } else { @@ -2072,67 +1762,49 @@ 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_ & 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_; @@ -2140,20 +1812,18 @@ 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; @@ -2162,21 +1832,20 @@ 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 { @@ -2184,68 +1853,61 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * 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) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; 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() { - + description_ = getDefaultInstance().getDescription(); onChanged(); 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) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; 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); } @@ -2255,12 +1917,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(); } @@ -2269,16 +1931,16 @@ 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 { - return new TableFieldSchema(input, extensionRegistry); - } - }; + 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 { + return new TableFieldSchema(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2293,4 +1955,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableFieldSchemaOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableFieldSchemaOrBuilder.java similarity index 58% rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableFieldSchemaOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableFieldSchemaOrBuilder.java index 90055b13d4..d753ba7d93 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableFieldSchemaOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableFieldSchemaOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 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
@@ -33,13 +15,10 @@ public interface TableFieldSchemaOrBuilder
    * 
* * 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
@@ -47,153 +26,110 @@ public interface TableFieldSchemaOrBuilder
    * 
* * 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/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableName.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableName.java similarity index 100% rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableName.java rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableName.java 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 new file mode 100644 index 0000000000..5a424283c1 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableProto.java @@ -0,0 +1,87 @@ +// 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\"\317\004\n\020TableFieldSchema\022\021\n\004name" + + "\030\001 \001(\tB\003\340A\002\022O\n\004type\030\002 \001(\0162<.google.cloud" + + ".bigquery.storage.v1beta2.TableFieldSche" + + "ma.TypeB\003\340A\002\022O\n\004mode\030\003 \001(\0162<.google.clou" + + "d.bigquery.storage.v1beta2.TableFieldSch" + + "ema.ModeB\003\340A\001\022L\n\006fields\030\004 \003(\01327.google.c" + + "loud.bigquery.storage.v1beta2.TableField" + + "SchemaB\003\340A\001\022\030\n\013description\030\006 \001(\tB\003\340A\001\"\325\001" + + "\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\n\n\006STRING\020\001" + + "\022\t\n\005INT64\020\002\022\n\n\006DOUBLE\020\003\022\n\n\006STRUCT\020\004\022\t\n\005B" + + "YTES\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\tGEOGRAPHY\020\013" + + "\022\013\n\007NUMERIC\020\014\022\016\n\nBIGNUMERIC\020\r\022\014\n\010INTERVA" + + "L\020\016\022\010\n\004JSON\020\017\"F\n\004Mode\022\024\n\020MODE_UNSPECIFIE" + + "D\020\000\022\014\n\010NULLABLE\020\001\022\014\n\010REQUIRED\020\002\022\014\n\010REPEA" + + "TED\020\003B\207\001\n)com.google.cloud.bigquery.stor" + + "age.v1beta2B\nTableProtoP\001ZLgoogle.golang" + + ".org/genproto/googleapis/cloud/bigquery/" + + "storage/v1beta2;storageb\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/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableSchema.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableSchema.java similarity index 72% rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableSchema.java rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableSchema.java index 0bc271922b..32f401aeaf 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableSchema.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableSchema.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private TableSchema( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,33 +54,29 @@ private TableSchema( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - fields_ = - new java.util.ArrayList< - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema>(); - mutable_bitField0_ |= 0x00000001; - } - fields_.add( - input.readMessage( - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + fields_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + fields_.add( + input.readMessage(com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { fields_ = java.util.Collections.unmodifiableList(fields_); @@ -106,27 +85,22 @@ private TableSchema( makeExtensionsImmutable(); } } - - 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; private java.util.List fields_; /** - * - * *
    * Describes the fields in a table.
    * 
@@ -134,13 +108,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * 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.
    * 
@@ -148,14 +119,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.bigquery.storage.v1beta2.TableFieldSchemaOrBuilder> + public java.util.List getFieldsOrBuilderList() { return fields_; } /** - * - * *
    * Describes the fields in a table.
    * 
@@ -167,8 +135,6 @@ public int getFieldsCount() { return fields_.size(); } /** - * - * *
    * Describes the fields in a table.
    * 
@@ -180,8 +146,6 @@ public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema getFields(int return fields_.get(index); } /** - * - * *
    * Describes the fields in a table.
    * 
@@ -195,7 +159,6 @@ public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchemaOrBuilder getFi } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -207,7 +170,8 @@ 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)); } @@ -221,7 +185,8 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -231,15 +196,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -261,127 +226,117 @@ 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() @@ -389,17 +344,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getFieldsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -413,9 +368,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 @@ -434,8 +389,7 @@ 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); int from_bitField0_ = bitField0_; if (fieldsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -454,39 +408,38 @@ public com.google.cloud.bigquery.storage.v1beta2.TableSchema buildPartial() { 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; @@ -494,8 +447,7 @@ 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()) { @@ -514,10 +466,9 @@ 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_); } @@ -542,8 +493,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1beta2.TableSchema) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.TableSchema) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -552,38 +502,28 @@ public Builder mergeFrom( } 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 { @@ -591,8 +531,6 @@ private void ensureFieldsIsMutable() { } } /** - * - * *
      * Describes the fields in a table.
      * 
@@ -607,8 +545,6 @@ public int getFieldsCount() { } } /** - * - * *
      * Describes the fields in a table.
      * 
@@ -623,8 +559,6 @@ public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema getFields(int } } /** - * - * *
      * Describes the fields in a table.
      * 
@@ -646,8 +580,6 @@ public Builder setFields( return this; } /** - * - * *
      * Describes the fields in a table.
      * 
@@ -655,8 +587,7 @@ 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()); @@ -667,8 +598,6 @@ public Builder setFields( return this; } /** - * - * *
      * Describes the fields in a table.
      * 
@@ -689,8 +618,6 @@ public Builder addFields(com.google.cloud.bigquery.storage.v1beta2.TableFieldSch return this; } /** - * - * *
      * Describes the fields in a table.
      * 
@@ -712,8 +639,6 @@ public Builder addFields( return this; } /** - * - * *
      * Describes the fields in a table.
      * 
@@ -732,8 +657,6 @@ public Builder addFields( return this; } /** - * - * *
      * Describes the fields in a table.
      * 
@@ -741,8 +664,7 @@ 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()); @@ -753,8 +675,6 @@ public Builder addFields( return this; } /** - * - * *
      * Describes the fields in a table.
      * 
@@ -762,11 +682,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); @@ -774,8 +694,6 @@ public Builder addAllFields( return this; } /** - * - * *
      * Describes the fields in a table.
      * 
@@ -793,8 +711,6 @@ public Builder clearFields() { return this; } /** - * - * *
      * Describes the fields in a table.
      * 
@@ -812,8 +728,6 @@ public Builder removeFields(int index) { return this; } /** - * - * *
      * Describes the fields in a table.
      * 
@@ -825,8 +739,6 @@ public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Builder getFie return getFieldsFieldBuilder().getBuilder(index); } /** - * - * *
      * Describes the fields in a table.
      * 
@@ -836,23 +748,19 @@ 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< - ? extends com.google.cloud.bigquery.storage.v1beta2.TableFieldSchemaOrBuilder> - getFieldsOrBuilderList() { + public java.util.List + getFieldsOrBuilderList() { if (fieldsBuilder_ != null) { return fieldsBuilder_.getMessageOrBuilderList(); } else { @@ -860,8 +768,6 @@ public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchemaOrBuilder getFi } } /** - * - * *
      * Describes the fields in a table.
      * 
@@ -869,13 +775,10 @@ 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.
      * 
@@ -884,44 +787,37 @@ 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); } @@ -931,12 +827,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(); } @@ -945,16 +841,16 @@ 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 { - return new TableSchema(input, extensionRegistry); - } - }; + 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 { + return new TableSchema(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -969,4 +865,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1beta2.TableSchema getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableSchemaOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableSchemaOrBuilder.java similarity index 65% rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableSchemaOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableSchemaOrBuilder.java index 6f06a3c9f4..899deefd99 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableSchemaOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableSchemaOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 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.
    * 
@@ -44,8 +25,6 @@ public interface TableSchemaOrBuilder */ com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema getFields(int index); /** - * - * *
    * Describes the fields in a table.
    * 
@@ -54,24 +33,21 @@ public interface TableSchemaOrBuilder */ 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/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ThrottleState.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ThrottleState.java similarity index 69% rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ThrottleState.java rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ThrottleState.java index 53d098c351..d8ee1ca204 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ThrottleState.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ThrottleState.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ThrottleState( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,57 +52,52 @@ private ThrottleState( case 0: done = true; break; - case 8: - { - throttlePercent_ = input.readInt32(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 8: { + + throttlePercent_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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_; /** - * - * *
    * 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 @@ -127,7 +106,6 @@ public int getThrottlePercent() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -139,7 +117,8 @@ 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_); } @@ -153,7 +132,8 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -163,15 +143,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -191,127 +171,117 @@ 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() @@ -319,15 +289,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -337,9 +308,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 @@ -358,8 +329,7 @@ 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); + com.google.cloud.bigquery.storage.v1beta2.ThrottleState result = new com.google.cloud.bigquery.storage.v1beta2.ThrottleState(this); result.throttlePercent_ = throttlePercent_; onBuilt(); return result; @@ -369,39 +339,38 @@ public com.google.cloud.bigquery.storage.v1beta2.ThrottleState buildPartial() { 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; @@ -409,8 +378,7 @@ 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()); } @@ -433,8 +401,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1beta2.ThrottleState) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.ThrottleState) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -444,17 +411,14 @@ public Builder mergeFrom( return this; } - 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 @@ -462,45 +426,39 @@ 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. */ public Builder setThrottlePercent(int value) { - + throttlePercent_ = value; onChanged(); 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() { - + throttlePercent_ = 0; 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); } @@ -510,12 +468,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(); } @@ -524,16 +482,16 @@ 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 { - return new ThrottleState(input, extensionRegistry); - } - }; + 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 { + return new ThrottleState(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -548,4 +506,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1beta2.ThrottleState 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/ThrottleStateOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ThrottleStateOrBuilder.java new file mode 100644 index 0000000000..44bb407db0 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ThrottleStateOrBuilder.java @@ -0,0 +1,20 @@ +// 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-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/WriteStream.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/WriteStream.java similarity index 67% rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/WriteStream.java rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/WriteStream.java index a06a4952ee..4c6f7339cc 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/WriteStream.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/WriteStream.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 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; @@ -44,15 +26,16 @@ private WriteStream() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new WriteStream(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private WriteStream( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,114 +54,99 @@ private WriteStream( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); + + type_ = rawValue; + break; + } + case 26: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 16: - { - int rawValue = input.readEnum(); - type_ = rawValue; - break; + break; + } + case 34: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (commitTime_ != null) { + subBuilder = commitTime_.toBuilder(); } - case 26: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + commitTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(commitTime_); + commitTime_ = subBuilder.buildPartial(); } - case 34: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (commitTime_ != null) { - subBuilder = commitTime_.toBuilder(); - } - commitTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(commitTime_); - commitTime_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 42: { + com.google.cloud.bigquery.storage.v1beta2.TableSchema.Builder subBuilder = null; + if (tableSchema_ != null) { + subBuilder = tableSchema_.toBuilder(); } - case 42: - { - com.google.cloud.bigquery.storage.v1beta2.TableSchema.Builder subBuilder = null; - if (tableSchema_ != null) { - subBuilder = tableSchema_.toBuilder(); - } - tableSchema_ = - input.readMessage( - com.google.cloud.bigquery.storage.v1beta2.TableSchema.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tableSchema_); - tableSchema_ = subBuilder.buildPartial(); - } - - break; + tableSchema_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta2.TableSchema.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tableSchema_); + tableSchema_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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.
      * 
@@ -187,8 +155,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
      * Data will commit automatically and appear as soon as the write is
      * acknowledged.
@@ -198,8 +164,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     COMMITTED(1),
     /**
-     *
-     *
      * 
      * Data is invisible until the stream is committed.
      * 
@@ -208,8 +172,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ PENDING(2), /** - * - * *
      * Data is only visible up to the offset to which it was flushed.
      * 
@@ -221,8 +183,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unknown type.
      * 
@@ -231,8 +191,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Data will commit automatically and appear as soon as the write is
      * acknowledged.
@@ -242,8 +200,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int COMMITTED_VALUE = 1;
     /**
-     *
-     *
      * 
      * Data is invisible until the stream is committed.
      * 
@@ -252,8 +208,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PENDING_VALUE = 2; /** - * - * *
      * Data is only visible up to the offset to which it was flushed.
      * 
@@ -262,6 +216,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BUFFERED_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -286,53 +241,50 @@ 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); + } + }; - 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() { + 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; @@ -352,15 +304,12 @@ private Type(int value) { public static final int NAME_FIELD_NUMBER = 1; 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 @@ -369,30 +318,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 { @@ -403,58 +352,39 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int TYPE_FIELD_NUMBER = 2; private int 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 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() { + @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.WriteStream.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.storage.v1beta2.WriteStream.Type result = - com.google.cloud.bigquery.storage.v1beta2.WriteStream.Type.valueOf(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.valueOf(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 @@ -462,16 +392,12 @@ 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 @@ -479,15 +405,12 @@ 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() { @@ -497,8 +420,6 @@ 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
@@ -506,9 +427,7 @@ 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 @@ -516,8 +435,6 @@ 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
@@ -525,9 +442,7 @@ 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 @@ -535,8 +450,6 @@ 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
@@ -544,8 +457,7 @@ 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() { @@ -555,8 +467,6 @@ 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
@@ -564,10 +474,7 @@ 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 @@ -575,8 +482,6 @@ 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
@@ -584,21 +489,14 @@ 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
@@ -606,9 +504,7 @@ 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() { @@ -616,7 +512,6 @@ public com.google.cloud.bigquery.storage.v1beta2.TableSchemaOrBuilder getTableSc } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -628,13 +523,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 (!getNameBytes().isEmpty()) { 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) { @@ -658,19 +552,21 @@ public int getSerializedSize() { if (!getNameBytes().isEmpty()) { 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -680,27 +576,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -735,127 +634,117 @@ 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() @@ -863,15 +752,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -901,9 +791,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 @@ -922,8 +812,7 @@ 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); + com.google.cloud.bigquery.storage.v1beta2.WriteStream result = new com.google.cloud.bigquery.storage.v1beta2.WriteStream(this); result.name_ = name_; result.type_ = type_; if (createTimeBuilder_ == null) { @@ -949,39 +838,38 @@ public com.google.cloud.bigquery.storage.v1beta2.WriteStream buildPartial() { 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; @@ -989,8 +877,7 @@ 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_; onChanged(); @@ -1026,8 +913,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.bigquery.storage.v1beta2.WriteStream) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.WriteStream) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1039,21 +925,19 @@ public Builder mergeFrom( 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; @@ -1062,22 +946,21 @@ 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 { @@ -1085,64 +968,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1150,75 +1026,51 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { 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. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.storage.v1beta2.WriteStream.Type result = - com.google.cloud.bigquery.storage.v1beta2.WriteStream.Type.valueOf(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.valueOf(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. */ @@ -1226,26 +1078,21 @@ public Builder setType(com.google.cloud.bigquery.storage.v1beta2.WriteStream.Typ if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); 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() { - + type_ = 0; onChanged(); return this; @@ -1253,61 +1100,42 @@ 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 createTimeBuilder_ != null || 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. */ 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) { @@ -1323,18 +1151,15 @@ 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(); onChanged(); @@ -1345,22 +1170,18 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal 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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1372,16 +1193,12 @@ 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() { if (createTimeBuilder_ == null) { @@ -1395,67 +1212,51 @@ 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() { - + onChanged(); 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_; @@ -1463,13 +1264,8 @@ 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
@@ -1477,18 +1273,13 @@ 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 commitTimeBuilder_ != null || 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
@@ -1496,24 +1287,17 @@ 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
@@ -1521,9 +1305,7 @@ 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) { @@ -1539,8 +1321,6 @@ 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
@@ -1548,11 +1328,10 @@ 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(); onChanged(); @@ -1563,8 +1342,6 @@ public Builder setCommitTime(com.google.protobuf.Timestamp.Builder builderForVal 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
@@ -1572,15 +1349,13 @@ public Builder setCommitTime(com.google.protobuf.Timestamp.Builder builderForVal
      * 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 (commitTime_ != null) { commitTime_ = - com.google.protobuf.Timestamp.newBuilder(commitTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(commitTime_).mergeFrom(value).buildPartial(); } else { commitTime_ = value; } @@ -1592,8 +1367,6 @@ 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
@@ -1601,9 +1374,7 @@ 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() { if (commitTimeBuilder_ == null) { @@ -1617,8 +1388,6 @@ 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
@@ -1626,18 +1395,14 @@ 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() { - + onChanged(); 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
@@ -1645,22 +1410,17 @@ 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
@@ -1668,22 +1428,17 @@ 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_; @@ -1691,13 +1446,8 @@ 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
@@ -1705,18 +1455,13 @@ 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 tableSchemaBuilder_ != null || tableSchema_ != null; } /** - * - * *
      * Output only. The schema of the destination table. It is only returned in
      * `CreateWriteStream` response. Caller should generate data that's
@@ -1724,24 +1469,17 @@ 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
@@ -1749,9 +1487,7 @@ 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) { @@ -1767,8 +1503,6 @@ 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
@@ -1776,9 +1510,7 @@ 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) { @@ -1792,8 +1524,6 @@ 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
@@ -1801,17 +1531,13 @@ 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 (tableSchema_ != null) { tableSchema_ = - com.google.cloud.bigquery.storage.v1beta2.TableSchema.newBuilder(tableSchema_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.bigquery.storage.v1beta2.TableSchema.newBuilder(tableSchema_).mergeFrom(value).buildPartial(); } else { tableSchema_ = value; } @@ -1823,8 +1549,6 @@ 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
@@ -1832,9 +1556,7 @@ 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() { if (tableSchemaBuilder_ == null) { @@ -1848,8 +1570,6 @@ 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
@@ -1857,18 +1577,14 @@ 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() { - + onChanged(); return getTableSchemaFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The schema of the destination table. It is only returned in
      * `CreateWriteStream` response. Caller should generate data that's
@@ -1876,23 +1592,17 @@ 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
@@ -1900,29 +1610,24 @@ 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]; */ 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); } @@ -1932,12 +1637,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(); } @@ -1946,16 +1651,16 @@ 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 { - return new WriteStream(input, extensionRegistry); - } - }; + 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 { + return new WriteStream(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1970,4 +1675,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1beta2.WriteStream getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/WriteStreamName.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/WriteStreamName.java similarity index 100% rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/WriteStreamName.java rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/WriteStreamName.java diff --git a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/WriteStreamOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/WriteStreamOrBuilder.java similarity index 71% rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/WriteStreamOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/WriteStreamOrBuilder.java index ec38e1c726..8c42317d9a 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/WriteStreamOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/WriteStreamOrBuilder.java @@ -1,128 +1,84 @@ -/* - * Copyright 2020 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
@@ -130,15 +86,11 @@ public interface WriteStreamOrBuilder
    * 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
@@ -146,15 +98,11 @@ public interface WriteStreamOrBuilder
    * 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
@@ -162,14 +110,11 @@ public interface WriteStreamOrBuilder
    * 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
@@ -177,16 +122,11 @@ public interface WriteStreamOrBuilder
    * 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
@@ -194,16 +134,11 @@ public interface WriteStreamOrBuilder
    * 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
@@ -211,9 +146,7 @@ public interface WriteStreamOrBuilder
    * 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/proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/arrow.proto b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/arrow.proto similarity index 100% rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/arrow.proto rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/arrow.proto diff --git a/proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/avro.proto b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/avro.proto similarity index 100% rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/avro.proto rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/avro.proto diff --git a/proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/protobuf.proto b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/protobuf.proto similarity index 100% rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/protobuf.proto rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/protobuf.proto diff --git a/proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/storage.proto b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/storage.proto similarity index 99% rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/storage.proto rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/storage.proto index 8c25b84612..32d9310132 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/storage.proto +++ b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/storage.proto @@ -64,7 +64,7 @@ service BigQueryRead { // limits are enforced based on the number of pre-filtered rows, so some // filters can lead to lopsided assignments. // - // Read sessions automatically expire 24 hours after they are created and do + // Read sessions automatically expire 6 hours after they are created and do // not require manual clean-up by the caller. rpc CreateReadSession(CreateReadSessionRequest) returns (ReadSession) { option (google.api.http) = { diff --git a/proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/stream.proto b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/stream.proto similarity index 100% rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/stream.proto rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/stream.proto diff --git a/proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/table.proto b/owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/table.proto similarity index 100% rename from proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/table.proto rename to owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/table.proto 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 deleted file mode 100644 index 2d8668eb89..0000000000 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowProto.java +++ /dev/null @@ -1,98 +0,0 @@ -/* - * Copyright 2020 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\"F\n\020ArrowRecordBatch\022\037\n\027serialized_rec" - + "ord_batch\030\001 \001(\014\022\021\n\trow_count\030\002 \001(\003\"\317\001\n\031A" - + "rrowSerializationOptions\022h\n\022buffer_compr" - + "ession\030\002 \001(\0162L.google.cloud.bigquery.sto" - + "rage.v1.ArrowSerializationOptions.Compre" - + "ssionCodec\"H\n\020CompressionCodec\022\033\n\027COMPRE" - + "SSION_UNSPECIFIED\020\000\022\r\n\tLZ4_FRAME\020\001\022\010\n\004ZS" - + "TD\020\002B\303\001\n$com.google.cloud.bigquery.stora" - + "ge.v1B\nArrowProtoP\001ZGgoogle.golang.org/g" - + "enproto/googleapis/cloud/bigquery/storag" - + "e/v1;storage\252\002 Google.Cloud.BigQuery.Sto" - + "rage.V1\312\002 Google\\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_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/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 deleted file mode 100644 index d123329e39..0000000000 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSchemaOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 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/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 deleted file mode 100644 index 5f83ffa62b..0000000000 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSerializationOptionsOrBuilder.java +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2020 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 deleted file mode 100644 index 6bbd426c70..0000000000 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroProto.java +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright 2020 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; - - 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\"=\n\010AvroRow" - + "s\022\036\n\026serialized_binary_rows\030\001 \001(\014\022\021\n\trow" - + "_count\030\002 \001(\003B\302\001\n$com.google.cloud.bigque" - + "ry.storage.v1B\tAvroProtoP\001ZGgoogle.golan" - + "g.org/genproto/googleapis/cloud/bigquery" - + "/storage/v1;storage\252\002 Google.Cloud.BigQu" - + "ery.Storage.V1\312\002 Google\\Cloud\\BigQuery\\S" - + "torage\\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", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} 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 deleted file mode 100644 index ae6058f280..0000000000 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsRequestOrBuilder.java +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2020 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/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 deleted file mode 100644 index e09d0d6b72..0000000000 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StorageProto.java +++ /dev/null @@ -1,248 +0,0 @@ -/* - * Copyright 2020 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; - - 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/stream.proto\"\303\001\n\030CreateReadSessionReq" - + "uest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudresou" - + "rcemanager.googleapis.com/Project\022H\n\014rea" - + "d_session\030\002 \001(\0132-.google.cloud.bigquery." - + "storage.v1.ReadSessionB\003\340A\002\022\030\n\020max_strea" - + "m_count\030\003 \001(\005\"i\n\017ReadRowsRequest\022F\n\013read" - + "_stream\030\001 \001(\tB1\340A\002\372A+\n)bigquerystorage.g" - + "oogleapis.com/ReadStream\022\016\n\006offset\030\002 \001(\003" - + "\")\n\rThrottleState\022\030\n\020throttle_percent\030\001 " - + "\001(\005\"\227\001\n\013StreamStats\022H\n\010progress\030\002 \001(\01326." - + "google.cloud.bigquery.storage.v1.StreamS" - + "tats.Progress\032>\n\010Progress\022\031\n\021at_response" - + "_start\030\001 \001(\001\022\027\n\017at_response_end\030\002 \001(\001\"\347\003" - + "\n\020ReadRowsResponse\022?\n\tavro_rows\030\003 \001(\0132*." - + "google.cloud.bigquery.storage.v1.AvroRow" - + "sH\000\022P\n\022arrow_record_batch\030\004 \001(\01322.google" - + ".cloud.bigquery.storage.v1.ArrowRecordBa" - + "tchH\000\022\021\n\trow_count\030\006 \001(\003\022<\n\005stats\030\002 \001(\0132" - + "-.google.cloud.bigquery.storage.v1.Strea" - + "mStats\022G\n\016throttle_state\030\005 \001(\0132/.google." - + "cloud.bigquery.storage.v1.ThrottleState\022" - + "H\n\013avro_schema\030\007 \001(\0132,.google.cloud.bigq" - + "uery.storage.v1.AvroSchemaB\003\340A\003H\001\022J\n\014arr" - + "ow_schema\030\010 \001(\0132-.google.cloud.bigquery." - + "storage.v1.ArrowSchemaB\003\340A\003H\001B\006\n\004rowsB\010\n" - + "\006schema\"k\n\026SplitReadStreamRequest\022?\n\004nam" - + "e\030\001 \001(\tB1\340A\002\372A+\n)bigquerystorage.googlea" - + "pis.com/ReadStream\022\020\n\010fraction\030\002 \001(\001\"\247\001\n" - + "\027SplitReadStreamResponse\022D\n\016primary_stre" - + "am\030\001 \001(\0132,.google.cloud.bigquery.storage" - + ".v1.ReadStream\022F\n\020remainder_stream\030\002 \001(\013" - + "2,.google.cloud.bigquery.storage.v1.Read" - + "Stream2\306\006\n\014BigQueryRead\022\351\001\n\021CreateReadSe" - + "ssion\022:.google.cloud.bigquery.storage.v1" - + ".CreateReadSessionRequest\032-.google.cloud" - + ".bigquery.storage.v1.ReadSession\"i\202\323\344\223\002<" - + "\"7/v1/{read_session.table=projects/*/dat" - + "asets/*/tables/*}:\001*\332A$parent,read_sessi" - + "on,max_stream_count\022\317\001\n\010ReadRows\0221.googl" - + "e.cloud.bigquery.storage.v1.ReadRowsRequ" - + "est\0322.google.cloud.bigquery.storage.v1.R" - + "eadRowsResponse\"Z\202\323\344\223\002?\022=/v1/{read_strea" - + "m=projects/*/locations/*/sessions/*/stre" - + "ams/*}\332A\022read_stream,offset0\001\022\306\001\n\017SplitR" - + "eadStream\0228.google.cloud.bigquery.storag" - + "e.v1.SplitReadStreamRequest\0329.google.clo" - + "ud.bigquery.storage.v1.SplitReadStreamRe" - + "sponse\">\202\323\344\223\0028\0226/v1/{name=projects/*/loc" - + "ations/*/sessions/*/streams/*}\032\256\001\312A\036bigq" - + "uerystorage.googleapis.com\322A\211\001https://ww" - + "w.googleapis.com/auth/bigquery,https://w" - + "ww.googleapis.com/auth/bigquery.readonly" - + ",https://www.googleapis.com/auth/cloud-p" - + "latformB\235\002\n$com.google.cloud.bigquery.st" - + "orage.v1B\014StorageProtoP\001ZGgoogle.golang." - + "org/genproto/googleapis/cloud/bigquery/s" - + "torage/v1;storage\252\002 Google.Cloud.BigQuer" - + "y.Storage.V1\312\002 Google\\Cloud\\BigQuery\\Sto" - + "rage\\V1\352AU\n\035bigquery.googleapis.com/Tabl" - + "e\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.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.StreamProto.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", - }); - 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", - }); - 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.StreamProto.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 deleted file mode 100644 index 4adaa3daf2..0000000000 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StreamProto.java +++ /dev/null @@ -1,172 +0,0 @@ -/* - * Copyright 2020 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; - - 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\037google" - + "/protobuf/timestamp.proto\"\370\007\n\013ReadSessio" - + "n\022\021\n\004name\030\001 \001(\tB\003\340A\003\0224\n\013expire_time\030\002 \001(" - + "\0132\032.google.protobuf.TimestampB\003\340A\003\022F\n\013da" - + "ta_format\030\003 \001(\0162,.google.cloud.bigquery." - + "storage.v1.DataFormatB\003\340A\005\022H\n\013avro_schem" - + "a\030\004 \001(\0132,.google.cloud.bigquery.storage." - + "v1.AvroSchemaB\003\340A\003H\000\022J\n\014arrow_schema\030\005 \001" - + "(\0132-.google.cloud.bigquery.storage.v1.Ar" - + "rowSchemaB\003\340A\003H\000\0224\n\005table\030\006 \001(\tB%\340A\005\372A\037\n" - + "\035bigquery.googleapis.com/Table\022Z\n\017table_" - + "modifiers\030\007 \001(\0132<.google.cloud.bigquery." - + "storage.v1.ReadSession.TableModifiersB\003\340" - + "A\001\022Y\n\014read_options\030\010 \001(\0132>.google.cloud." - + "bigquery.storage.v1.ReadSession.TableRea" - + "dOptionsB\003\340A\001\022B\n\007streams\030\n \003(\0132,.google." - + "cloud.bigquery.storage.v1.ReadStreamB\003\340A" - + "\003\032C\n\016TableModifiers\0221\n\rsnapshot_time\030\001 \001" - + "(\0132\032.google.protobuf.Timestamp\032\324\001\n\020Table" - + "ReadOptions\022\027\n\017selected_fields\030\001 \003(\t\022\027\n\017" - + "row_restriction\030\002 \001(\t\022g\n\033arrow_serializa" - + "tion_options\030\003 \001(\0132;.google.cloud.bigque" - + "ry.storage.v1.ArrowSerializationOptionsB" - + "\003\340A\001H\000B%\n#output_format_serialization_op" - + "tions:k\352Ah\n*bigquerystorage.googleapis.c" - + "om/ReadSession\022:projects/{project}/locat" - + "ions/{location}/sessions/{session}B\010\n\006sc" - + "hema\"\234\001\n\nReadStream\022\021\n\004name\030\001 \001(\tB\003\340A\003:{" - + "\352Ax\n)bigquerystorage.googleapis.com/Read" - + "Stream\022Kprojects/{project}/locations/{lo" - + "cation}/sessions/{session}/streams/{stre" - + "am}*>\n\nDataFormat\022\033\n\027DATA_FORMAT_UNSPECI" - + "FIED\020\000\022\010\n\004AVRO\020\001\022\t\n\005ARROW\020\002B\304\001\n$com.goog" - + "le.cloud.bigquery.storage.v1B\013StreamProt" - + "oP\001ZGgoogle.golang.org/genproto/googleap" - + "is/cloud/bigquery/storage/v1;storage\252\002 G" - + "oogle.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.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", - "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", - "OutputFormatSerializationOptions", - }); - 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", - }); - 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.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} 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 deleted file mode 100644 index 2a6497bc37..0000000000 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ThrottleStateOrBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright 2020 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/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 deleted file mode 100644 index 83bcf4d703..0000000000 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowProto.java +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2020 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\207\001\n)com.google.cloud.bigquery" - + ".storage.v1beta2B\nArrowProtoP\001ZLgoogle.g" - + "olang.org/genproto/googleapis/cloud/bigq" - + "uery/storage/v1beta2;storageb\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/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 deleted file mode 100644 index 925d8960ed..0000000000 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowRecordBatchOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 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/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 deleted file mode 100644 index 0efaa1b6b1..0000000000 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSchemaOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 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/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 deleted file mode 100644 index 799ef8fad4..0000000000 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroProto.java +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Copyright 2020 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\206\001\n)com.google.cloud.bigquery.storag" - + "e.v1beta2B\tAvroProtoP\001ZLgoogle.golang.or" - + "g/genproto/googleapis/cloud/bigquery/sto" - + "rage/v1beta2;storageb\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/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 deleted file mode 100644 index 04aefb5227..0000000000 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroRowsOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 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/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 deleted file mode 100644 index a3da6246c0..0000000000 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateWriteStreamRequestOrBuilder.java +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Copyright 2020 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/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 deleted file mode 100644 index 97b7766ee2..0000000000 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 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/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 deleted file mode 100644 index edde5731e3..0000000000 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamResponseOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 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/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 deleted file mode 100644 index 4d03275479..0000000000 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsResponseOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 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/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 deleted file mode 100644 index 737f72b512..0000000000 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/GetWriteStreamRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 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/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 deleted file mode 100644 index 651b7f8a36..0000000000 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoBufProto.java +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2020 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\212\001\n)com.google.cloud.bigquery.storage.v" - + "1beta2B\rProtoBufProtoP\001ZLgoogle.golang.o" - + "rg/genproto/googleapis/cloud/bigquery/st" - + "orage/v1beta2;storageb\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/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 deleted file mode 100644 index 614fa22b13..0000000000 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsRequestOrBuilder.java +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2020 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/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 deleted file mode 100644 index 001235ba5a..0000000000 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StorageProto.java +++ /dev/null @@ -1,507 +0,0 @@ -/* - * Copyright 2020 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\"\310\001\n\030" - + "CreateReadSessionRequest\022C\n\006parent\030\001 \001(\t" - + "B3\340A\002\372A-\n+cloudresourcemanager.googleapi" - + "s.com/Project\022M\n\014read_session\030\002 \001(\01322.go" - + "ogle.cloud.bigquery.storage.v1beta2.Read" - + "SessionB\003\340A\002\022\030\n\020max_stream_count\030\003 \001(\005\"i" - + "\n\017ReadRowsRequest\022F\n\013read_stream\030\001 \001(\tB1" - + "\340A\002\372A+\n)bigquerystorage.googleapis.com/R" - + "eadStream\022\016\n\006offset\030\002 \001(\003\")\n\rThrottleSta" - + "te\022\030\n\020throttle_percent\030\001 \001(\005\"\234\001\n\013StreamS" - + "tats\022M\n\010progress\030\002 \001(\0132;.google.cloud.bi" - + "gquery.storage.v1beta2.StreamStats.Progr" - + "ess\032>\n\010Progress\022\031\n\021at_response_start\030\001 \001" - + "(\001\022\027\n\017at_response_end\030\002 \001(\001\"\205\004\n\020ReadRows" - + "Response\022D\n\tavro_rows\030\003 \001(\0132/.google.clo" - + "ud.bigquery.storage.v1beta2.AvroRowsH\000\022U" - + "\n\022arrow_record_batch\030\004 \001(\01327.google.clou" - + "d.bigquery.storage.v1beta2.ArrowRecordBa" - + "tchH\000\022\021\n\trow_count\030\006 \001(\003\022A\n\005stats\030\002 \001(\0132" - + "2.google.cloud.bigquery.storage.v1beta2." - + "StreamStats\022L\n\016throttle_state\030\005 \001(\01324.go" - + "ogle.cloud.bigquery.storage.v1beta2.Thro" - + "ttleState\022M\n\013avro_schema\030\007 \001(\01321.google." - + "cloud.bigquery.storage.v1beta2.AvroSchem" - + "aB\003\340A\003H\001\022O\n\014arrow_schema\030\010 \001(\01322.google." - + "cloud.bigquery.storage.v1beta2.ArrowSche" - + "maB\003\340A\003H\001B\006\n\004rowsB\010\n\006schema\"k\n\026SplitRead" - + "StreamRequest\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n)big" - + "querystorage.googleapis.com/ReadStream\022\020" - + "\n\010fraction\030\002 \001(\001\"\261\001\n\027SplitReadStreamResp" - + "onse\022I\n\016primary_stream\030\001 \001(\01321.google.cl" - + "oud.bigquery.storage.v1beta2.ReadStream\022" - + "K\n\020remainder_stream\030\002 \001(\01321.google.cloud" - + ".bigquery.storage.v1beta2.ReadStream\"\240\001\n" - + "\030CreateWriteStreamRequest\0225\n\006parent\030\001 \001(" - + "\tB%\340A\002\372A\037\n\035bigquery.googleapis.com/Table" - + "\022M\n\014write_stream\030\002 \001(\01322.google.cloud.bi" - + "gquery.storage.v1beta2.WriteStreamB\003\340A\002\"" - + "\227\003\n\021AppendRowsRequest\022H\n\014write_stream\030\001 " - + "\001(\tB2\340A\002\372A,\n*bigquerystorage.googleapis." - + "com/WriteStream\022+\n\006offset\030\002 \001(\0132\033.google" - + ".protobuf.Int64Value\022X\n\nproto_rows\030\004 \001(\013" - + "2B.google.cloud.bigquery.storage.v1beta2" - + ".AppendRowsRequest.ProtoDataH\000\022\020\n\010trace_" - + "id\030\006 \001(\t\032\226\001\n\tProtoData\022I\n\rwriter_schema\030" - + "\001 \001(\01322.google.cloud.bigquery.storage.v1" - + "beta2.ProtoSchema\022>\n\004rows\030\002 \001(\01320.google" - + ".cloud.bigquery.storage.v1beta2.ProtoRow" - + "sB\006\n\004rows\"\257\002\n\022AppendRowsResponse\022_\n\rappe" - + "nd_result\030\001 \001(\0132F.google.cloud.bigquery." - + "storage.v1beta2.AppendRowsResponse.Appen" - + "dResultH\000\022#\n\005error\030\002 \001(\0132\022.google.rpc.St" - + "atusH\000\022J\n\016updated_schema\030\003 \001(\01322.google." - + "cloud.bigquery.storage.v1beta2.TableSche" - + "ma\032;\n\014AppendResult\022+\n\006offset\030\001 \001(\0132\033.goo" - + "gle.protobuf.Int64ValueB\n\n\010response\"Y\n\025G" - + "etWriteStreamRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372" - + "A,\n*bigquerystorage.googleapis.com/Write" - + "Stream\"Q\n\036BatchCommitWriteStreamsRequest" - + "\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\032\n\rwrite_streams\030\002" - + " \003(\tB\003\340A\002\"\236\001\n\037BatchCommitWriteStreamsRes" - + "ponse\022/\n\013commit_time\030\001 \001(\0132\032.google.prot" - + "obuf.Timestamp\022J\n\rstream_errors\030\002 \003(\01323." - + "google.cloud.bigquery.storage.v1beta2.St" - + "orageError\"^\n\032FinalizeWriteStreamRequest" - + "\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*bigquerystorage." - + "googleapis.com/WriteStream\"0\n\033FinalizeWr" - + "iteStreamResponse\022\021\n\trow_count\030\001 \001(\003\"\211\001\n" - + "\020FlushRowsRequest\022H\n\014write_stream\030\001 \001(\tB" - + "2\340A\002\372A,\n*bigquerystorage.googleapis.com/" - + "WriteStream\022+\n\006offset\030\002 \001(\0132\033.google.pro" - + "tobuf.Int64Value\"#\n\021FlushRowsResponse\022\016\n" - + "\006offset\030\001 \001(\003\"\324\002\n\014StorageError\022R\n\004code\030\001" - + " \001(\0162D.google.cloud.bigquery.storage.v1b" - + "eta2.StorageError.StorageErrorCode\022\016\n\006en" - + "tity\030\002 \001(\t\022\025\n\rerror_message\030\003 \001(\t\"\310\001\n\020St" - + "orageErrorCode\022\"\n\036STORAGE_ERROR_CODE_UNS" - + "PECIFIED\020\000\022\023\n\017TABLE_NOT_FOUND\020\001\022\034\n\030STREA" - + "M_ALREADY_COMMITTED\020\002\022\024\n\020STREAM_NOT_FOUN" - + "D\020\003\022\027\n\023INVALID_STREAM_TYPE\020\004\022\030\n\024INVALID_" - + "STREAM_STATE\020\005\022\024\n\020STREAM_FINALIZED\020\0062\363\006\n" - + "\014BigQueryRead\022\370\001\n\021CreateReadSession\022?.go" - + "ogle.cloud.bigquery.storage.v1beta2.Crea" - + "teReadSessionRequest\0322.google.cloud.bigq" - + "uery.storage.v1beta2.ReadSession\"n\202\323\344\223\002A" - + "\".google.cloud.bigquery.sto" - + "rage.v1beta2.SplitReadStreamResponse\"C\202\323" - + "\344\223\002=\022;/v1beta2/{name=projects/*/location" - + "s/*/sessions/*/streams/*}\032\256\001\312A\036bigquerys" - + "torage.googleapis.com\322A\211\001https://www.goo" - + "gleapis.com/auth/bigquery,https://www.go" - + "ogleapis.com/auth/bigquery.readonly,http" - + "s://www.googleapis.com/auth/cloud-platfo" - + "rm2\226\014\n\rBigQueryWrite\022\346\001\n\021CreateWriteStre" - + "am\022?.google.cloud.bigquery.storage.v1bet" - + "a2.CreateWriteStreamRequest\0322.google.clo" - + "ud.bigquery.storage.v1beta2.WriteStream\"" - + "\\\202\323\344\223\002@\"0/v1beta2/{parent=projects/*/dat" - + "asets/*/tables/*}:\014write_stream\332A\023parent" - + ",write_stream\022\341\001\n\nAppendRows\0228.google.cl" - + "oud.bigquery.storage.v1beta2.AppendRowsR" - + "equest\0329.google.cloud.bigquery.storage.v" - + "1beta2.AppendRowsResponse\"Z\202\323\344\223\002E\"@/v1be" - + "ta2/{write_stream=projects/*/datasets/*/" - + "tables/*/streams/*}:\001*\332A\014write_stream(\0010" - + "\001\022\316\001\n\016GetWriteStream\022<.google.cloud.bigq" - + "uery.storage.v1beta2.GetWriteStreamReque" - + "st\0322.google.cloud.bigquery.storage.v1bet" - + "a2.WriteStream\"J\202\323\344\223\002=\"8/v1beta2/{name=p" - + "rojects/*/datasets/*/tables/*/streams/*}" - + ":\001*\332A\004name\022\350\001\n\023FinalizeWriteStream\022A.goo" - + "gle.cloud.bigquery.storage.v1beta2.Final" - + "izeWriteStreamRequest\032B.google.cloud.big" - + "query.storage.v1beta2.FinalizeWriteStrea" - + "mResponse\"J\202\323\344\223\002=\"8/v1beta2/{name=projec" - + "ts/*/datasets/*/tables/*/streams/*}:\001*\332A" - + "\004name\022\353\001\n\027BatchCommitWriteStreams\022E.goog" - + "le.cloud.bigquery.storage.v1beta2.BatchC" - + "ommitWriteStreamsRequest\032F.google.cloud." - + "bigquery.storage.v1beta2.BatchCommitWrit" - + "eStreamsResponse\"A\202\323\344\223\0022\0220/v1beta2/{pare" - + "nt=projects/*/datasets/*/tables/*}\332A\006par" - + "ent\022\332\001\n\tFlushRows\0227.google.cloud.bigquer" - + "y.storage.v1beta2.FlushRowsRequest\0328.goo" - + "gle.cloud.bigquery.storage.v1beta2.Flush" - + "RowsResponse\"Z\202\323\344\223\002E\"@/v1beta2/{write_st" - + "ream=projects/*/datasets/*/tables/*/stre" - + "ams/*}:\001*\332A\014write_stream\032\260\001\312A\036bigqueryst" - + "orage.googleapis.com\322A\213\001https://www.goog" - + "leapis.com/auth/bigquery,https://www.goo" - + "gleapis.com/auth/bigquery.insertdata,htt" - + "ps://www.googleapis.com/auth/cloud-platf" - + "ormB\211\001\n)com.google.cloud.bigquery.storag" - + "e.v1beta2B\014StorageProtoP\001ZLgoogle.golang" - + ".org/genproto/googleapis/cloud/bigquery/" - + "storage/v1beta2;storageb\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 deleted file mode 100644 index c4a2531dcf..0000000000 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StreamProto.java +++ /dev/null @@ -1,199 +0,0 @@ -/* - * Copyright 2020 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\"\362\007\n\013ReadSession\022\021\n\004name" - + "\030\001 \001(\tB\003\340A\003\0224\n\013expire_time\030\002 \001(\0132\032.googl" - + "e.protobuf.TimestampB\003\340A\003\022K\n\013data_format" - + "\030\003 \001(\01621.google.cloud.bigquery.storage.v" - + "1beta2.DataFormatB\003\340A\005\022M\n\013avro_schema\030\004 " - + "\001(\01321.google.cloud.bigquery.storage.v1be" - + "ta2.AvroSchemaB\003\340A\003H\000\022O\n\014arrow_schema\030\005 " - + "\001(\01322.google.cloud.bigquery.storage.v1be" - + "ta2.ArrowSchemaB\003\340A\003H\000\0224\n\005table\030\006 \001(\tB%\340" - + "A\005\372A\037\n\035bigquery.googleapis.com/Table\022_\n\017" - + "table_modifiers\030\007 \001(\0132A.google.cloud.big" - + "query.storage.v1beta2.ReadSession.TableM" - + "odifiersB\003\340A\001\022^\n\014read_options\030\010 \001(\0132C.go" - + "ogle.cloud.bigquery.storage.v1beta2.Read" - + "Session.TableReadOptionsB\003\340A\001\022G\n\007streams" - + "\030\n \003(\01321.google.cloud.bigquery.storage.v" - + "1beta2.ReadStreamB\003\340A\003\032C\n\016TableModifiers" - + "\0221\n\rsnapshot_time\030\001 \001(\0132\032.google.protobu" - + "f.Timestamp\032\260\001\n\020TableReadOptions\022\027\n\017sele" - + "cted_fields\030\001 \003(\t\022\027\n\017row_restriction\030\002 \001" - + "(\t\022j\n\033arrow_serialization_options\030\003 \001(\0132" - + "@.google.cloud.bigquery.storage.v1beta2." - + "ArrowSerializationOptionsB\003\340A\001:k\352Ah\n*big" - + "querystorage.googleapis.com/ReadSession\022" - + ":projects/{project}/locations/{location}" - + "/sessions/{session}B\010\n\006schema\"\234\001\n\nReadSt" - + "ream\022\021\n\004name\030\001 \001(\tB\003\340A\003:{\352Ax\n)bigqueryst" - + "orage.googleapis.com/ReadStream\022Kproject" - + "s/{project}/locations/{location}/session" - + "s/{session}/streams/{stream}\"\347\003\n\013WriteSt" - + "ream\022\021\n\004name\030\001 \001(\tB\003\340A\003\022J\n\004type\030\002 \001(\01627." - + "google.cloud.bigquery.storage.v1beta2.Wr" - + "iteStream.TypeB\003\340A\005\0224\n\013create_time\030\003 \001(\013" - + "2\032.google.protobuf.TimestampB\003\340A\003\0224\n\013com" - + "mit_time\030\004 \001(\0132\032.google.protobuf.Timesta" - + "mpB\003\340A\003\022M\n\014table_schema\030\005 \001(\01322.google.c" - + "loud.bigquery.storage.v1beta2.TableSchem" - + "aB\003\340A\003\"F\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\r\n\t" - + "COMMITTED\020\001\022\013\n\007PENDING\020\002\022\014\n\010BUFFERED\020\003:v" - + "\352As\n*bigquerystorage.googleapis.com/Writ" - + "eStream\022Eprojects/{project}/datasets/{da" - + "taset}/tables/{table}/streams/{stream}*>" - + "\n\nDataFormat\022\033\n\027DATA_FORMAT_UNSPECIFIED\020" - + "\000\022\010\n\004AVRO\020\001\022\t\n\005ARROW\020\002B\340\001\n)com.google.cl" - + "oud.bigquery.storage.v1beta2B\013StreamProt" - + "oP\001ZLgoogle.golang.org/genproto/googleap" - + "is/cloud/bigquery/storage/v1beta2;storag" - + "e\352AU\n\035bigquery.googleapis.com/Table\0224pro" - + "jects/{project}/datasets/{dataset}/table" - + "s/{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/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 deleted file mode 100644 index 29abed0789..0000000000 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableProto.java +++ /dev/null @@ -1,103 +0,0 @@ -/* - * Copyright 2020 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\"\317\004\n\020TableFieldSchema\022\021\n\004name" - + "\030\001 \001(\tB\003\340A\002\022O\n\004type\030\002 \001(\0162<.google.cloud" - + ".bigquery.storage.v1beta2.TableFieldSche" - + "ma.TypeB\003\340A\002\022O\n\004mode\030\003 \001(\0162<.google.clou" - + "d.bigquery.storage.v1beta2.TableFieldSch" - + "ema.ModeB\003\340A\001\022L\n\006fields\030\004 \003(\01327.google.c" - + "loud.bigquery.storage.v1beta2.TableField" - + "SchemaB\003\340A\001\022\030\n\013description\030\006 \001(\tB\003\340A\001\"\325\001" - + "\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\n\n\006STRING\020\001" - + "\022\t\n\005INT64\020\002\022\n\n\006DOUBLE\020\003\022\n\n\006STRUCT\020\004\022\t\n\005B" - + "YTES\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\tGEOGRAPHY\020\013" - + "\022\013\n\007NUMERIC\020\014\022\016\n\nBIGNUMERIC\020\r\022\014\n\010INTERVA" - + "L\020\016\022\010\n\004JSON\020\017\"F\n\004Mode\022\024\n\020MODE_UNSPECIFIE" - + "D\020\000\022\014\n\010NULLABLE\020\001\022\014\n\010REQUIRED\020\002\022\014\n\010REPEA" - + "TED\020\003B\207\001\n)com.google.cloud.bigquery.stor" - + "age.v1beta2B\nTableProtoP\001ZLgoogle.golang" - + ".org/genproto/googleapis/cloud/bigquery/" - + "storage/v1beta2;storageb\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/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 deleted file mode 100644 index cf416b5ef5..0000000000 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ThrottleStateOrBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright 2020 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(); -} From 9345f181041db7da03af00ab2e63114c63c4e74d Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Wed, 1 Sep 2021 21:52:28 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- .../storage/v1/BaseBigQueryReadClient.java | 6 +- .../storage/v1/BaseBigQueryReadSettings.java | 7 +- .../bigquery/storage/v1/gapic_metadata.json | 0 .../bigquery/storage/v1/package-info.java | 0 .../storage/v1/stub/BigQueryReadStub.java | 0 .../stub/GrpcBigQueryReadCallableFactory.java | 0 .../storage/v1/stub/GrpcBigQueryReadStub.java | 1 - .../v1beta1/BaseBigQueryStorageClient.java | 6 +- .../v1beta1/BaseBigQueryStorageSettings.java | 7 +- .../storage/v1beta1/gapic_metadata.json | 0 .../storage/v1beta1/package-info.java | 0 .../v1beta1/stub/BigQueryStorageStub.java | 0 .../stub/BigQueryStorageStubSettings.java | 6 +- .../GrpcBigQueryStorageCallableFactory.java | 0 .../v1beta1/stub/GrpcBigQueryStorageStub.java | 1 - .../v1beta2/BaseBigQueryReadClient.java | 6 +- .../v1beta2/BaseBigQueryReadSettings.java | 7 +- .../storage/v1beta2/BigQueryWriteClient.java | 6 +- .../v1beta2/BigQueryWriteSettings.java | 7 +- .../storage/v1beta2/gapic_metadata.json | 0 .../storage/v1beta2/package-info.java | 0 .../v1beta2/stub/BigQueryReadStub.java | 0 .../v1beta2/stub/BigQueryWriteStub.java | 0 .../stub/BigQueryWriteStubSettings.java | 6 +- .../stub/GrpcBigQueryReadCallableFactory.java | 0 .../v1beta2/stub/GrpcBigQueryReadStub.java | 1 - .../GrpcBigQueryWriteCallableFactory.java | 0 .../v1beta2/stub/GrpcBigQueryWriteStub.java | 1 - .../v1/BaseBigQueryReadClientTest.java | 0 .../bigquery/storage/v1/MockBigQueryRead.java | 0 .../storage/v1/MockBigQueryReadImpl.java | 0 .../BaseBigQueryStorageClientTest.java | 0 .../storage/v1beta1/MockBigQueryStorage.java | 0 .../v1beta1/MockBigQueryStorageImpl.java | 0 .../v1beta2/BaseBigQueryReadClientTest.java | 0 .../v1beta2/BigQueryWriteClientTest.java | 0 .../storage/v1beta2/MockBigQueryRead.java | 0 .../storage/v1beta2/MockBigQueryReadImpl.java | 0 .../storage/v1beta2/MockBigQueryWrite.java | 0 .../v1beta2/MockBigQueryWriteImpl.java | 0 .../bigquery/storage/v1/BigQueryReadGrpc.java | 419 +- .../storage/v1beta1/BigQueryStorageGrpc.java | 672 +- .../storage/v1beta2/BigQueryReadGrpc.java | 423 +- .../storage/v1beta2/BigQueryWriteGrpc.java | 1048 ++ .../v1/stub/BigQueryReadStubSettings.java | 366 - .../cloud/bigquery/storage/v1/ArrowProto.java | 83 - .../storage/v1/ArrowSchemaOrBuilder.java | 19 - .../ArrowSerializationOptionsOrBuilder.java | 30 - .../cloud/bigquery/storage/v1/AvroProto.java | 66 - .../storage/v1/ReadRowsRequestOrBuilder.java | 41 - .../bigquery/storage/v1/StorageProto.java | 216 - .../bigquery/storage/v1/StreamProto.java | 138 - .../storage/v1/ThrottleStateOrBuilder.java | 20 - .../stub/BigQueryReadStubSettings.java | 367 - .../storage/v1beta2/BigQueryWriteGrpc.java | 805 -- .../bigquery/storage/v1beta2/ArrowProto.java | 80 - .../v1beta2/ArrowRecordBatchOrBuilder.java | 19 - .../storage/v1beta2/ArrowSchemaOrBuilder.java | 19 - .../bigquery/storage/v1beta2/AvroProto.java | 64 - .../storage/v1beta2/AvroRowsOrBuilder.java | 19 - .../CreateWriteStreamRequestOrBuilder.java | 58 - .../FinalizeWriteStreamRequestOrBuilder.java | 31 - .../FinalizeWriteStreamResponseOrBuilder.java | 19 - .../v1beta2/FlushRowsResponseOrBuilder.java | 19 - .../GetWriteStreamRequestOrBuilder.java | 31 - .../storage/v1beta2/ProtoBufProto.java | 68 - .../v1beta2/ReadRowsRequestOrBuilder.java | 41 - .../storage/v1beta2/StorageProto.java | 458 - .../bigquery/storage/v1beta2/StreamProto.java | 167 - .../bigquery/storage/v1beta2/TableProto.java | 87 - .../v1beta2/ThrottleStateOrBuilder.java | 20 - .../cloud/bigquery/storage/v1/ArrowProto.java | 98 + .../bigquery/storage/v1/ArrowRecordBatch.java | 311 +- .../storage/v1/ArrowRecordBatchOrBuilder.java | 24 +- .../bigquery/storage/v1/ArrowSchema.java | 265 +- .../storage/v1/ArrowSchemaOrBuilder.java | 38 + .../storage/v1/ArrowSerializationOptions.java | 435 +- .../ArrowSerializationOptionsOrBuilder.java | 57 + .../cloud/bigquery/storage/v1/AvroProto.java | 80 + .../cloud/bigquery/storage/v1/AvroRows.java | 298 +- .../storage/v1/AvroRowsOrBuilder.java | 24 +- .../cloud/bigquery/storage/v1/AvroSchema.java | 304 +- .../storage/v1/AvroSchemaOrBuilder.java | 27 +- .../storage/v1/CreateReadSessionRequest.java | 530 +- .../v1/CreateReadSessionRequestOrBuilder.java | 58 +- .../cloud/bigquery/storage/v1/DataFormat.java | 86 +- .../bigquery/storage/v1/ProjectName.java | 0 .../bigquery/storage/v1/ReadRowsRequest.java | 376 +- .../storage/v1/ReadRowsRequestOrBuilder.java | 69 + .../bigquery/storage/v1/ReadRowsResponse.java | 1096 +- .../storage/v1/ReadRowsResponseOrBuilder.java | 93 +- .../bigquery/storage/v1/ReadSession.java | 2668 +++-- .../storage/v1/ReadSessionOrBuilder.java | 199 +- .../cloud/bigquery/storage/v1/ReadStream.java | 304 +- .../bigquery/storage/v1/ReadStreamName.java | 0 .../storage/v1/ReadStreamOrBuilder.java | 27 +- .../storage/v1/SplitReadStreamRequest.java | 382 +- .../v1/SplitReadStreamRequestOrBuilder.java | 38 +- .../storage/v1/SplitReadStreamResponse.java | 443 +- .../v1/SplitReadStreamResponseOrBuilder.java | 34 +- .../bigquery/storage/v1/StorageProto.java | 248 + .../bigquery/storage/v1/StreamProto.java | 172 + .../bigquery/storage/v1/StreamStats.java | 646 +- .../storage/v1/StreamStatsOrBuilder.java | 26 +- .../bigquery/storage/v1/ThrottleState.java | 269 +- .../storage/v1/ThrottleStateOrBuilder.java | 39 + .../cloud/bigquery/storage/v1/arrow.proto | 0 .../cloud/bigquery/storage/v1/avro.proto | 0 .../cloud/bigquery/storage/v1/storage.proto | 0 .../cloud/bigquery/storage/v1/stream.proto | 0 .../bigquery/storage/v1beta1/ArrowProto.java | 728 +- .../bigquery/storage/v1beta1/AvroProto.java | 737 +- .../bigquery/storage/v1beta1/ProjectName.java | 0 .../bigquery/storage/v1beta1/ReadOptions.java | 555 +- .../bigquery/storage/v1beta1/Storage.java | 9029 +++++++++++------ .../storage/v1beta1/TableReferenceProto.java | 1115 +- .../bigquery/storage/v1beta1/arrow.proto | 0 .../cloud/bigquery/storage/v1beta1/avro.proto | 0 .../storage/v1beta1/read_options.proto | 0 .../bigquery/storage/v1beta1/storage.proto | 0 .../storage/v1beta1/table_reference.proto | 0 .../storage/v1beta2/AppendRowsRequest.java | 1219 ++- .../v1beta2/AppendRowsRequestOrBuilder.java | 63 +- .../storage/v1beta2/AppendRowsResponse.java | 1132 ++- .../v1beta2/AppendRowsResponseOrBuilder.java | 57 +- .../bigquery/storage/v1beta2/ArrowProto.java | 95 + .../storage/v1beta2/ArrowRecordBatch.java | 274 +- .../v1beta2/ArrowRecordBatchOrBuilder.java | 38 + .../bigquery/storage/v1beta2/ArrowSchema.java | 271 +- .../storage/v1beta2/ArrowSchemaOrBuilder.java | 38 + .../v1beta2/ArrowSerializationOptions.java | 435 +- .../ArrowSerializationOptionsOrBuilder.java | 30 +- .../bigquery/storage/v1beta2/AvroProto.java | 78 + .../bigquery/storage/v1beta2/AvroRows.java | 271 +- .../storage/v1beta2/AvroRowsOrBuilder.java | 38 + .../bigquery/storage/v1beta2/AvroSchema.java | 311 +- .../storage/v1beta2/AvroSchemaOrBuilder.java | 27 +- .../BatchCommitWriteStreamsRequest.java | 474 +- ...tchCommitWriteStreamsRequestOrBuilder.java | 45 +- .../BatchCommitWriteStreamsResponse.java | 532 +- ...chCommitWriteStreamsResponseOrBuilder.java | 41 +- .../v1beta2/CreateReadSessionRequest.java | 559 +- .../CreateReadSessionRequestOrBuilder.java | 58 +- .../v1beta2/CreateWriteStreamRequest.java | 525 +- .../CreateWriteStreamRequestOrBuilder.java | 97 + .../bigquery/storage/v1beta2/DataFormat.java | 90 +- .../v1beta2/FinalizeWriteStreamRequest.java | 375 +- .../FinalizeWriteStreamRequestOrBuilder.java | 56 + .../v1beta2/FinalizeWriteStreamResponse.java | 308 +- .../FinalizeWriteStreamResponseOrBuilder.java | 38 + .../storage/v1beta2/FlushRowsRequest.java | 430 +- .../v1beta2/FlushRowsRequestOrBuilder.java | 43 +- .../storage/v1beta2/FlushRowsResponse.java | 275 +- .../v1beta2/FlushRowsResponseOrBuilder.java | 38 + .../v1beta2/GetWriteStreamRequest.java | 363 +- .../GetWriteStreamRequestOrBuilder.java | 56 + .../bigquery/storage/v1beta2/ProjectName.java | 0 .../storage/v1beta2/ProtoBufProto.java | 84 + .../bigquery/storage/v1beta2/ProtoRows.java | 324 +- .../storage/v1beta2/ProtoRowsOrBuilder.java | 27 +- .../bigquery/storage/v1beta2/ProtoSchema.java | 351 +- .../storage/v1beta2/ProtoSchemaOrBuilder.java | 26 +- .../storage/v1beta2/ReadRowsRequest.java | 379 +- .../v1beta2/ReadRowsRequestOrBuilder.java | 69 + .../storage/v1beta2/ReadRowsResponse.java | 1123 +- .../v1beta2/ReadRowsResponseOrBuilder.java | 96 +- .../bigquery/storage/v1beta2/ReadSession.java | 2643 +++-- .../storage/v1beta2/ReadSessionOrBuilder.java | 199 +- .../bigquery/storage/v1beta2/ReadStream.java | 311 +- .../storage/v1beta2/ReadStreamName.java | 0 .../storage/v1beta2/ReadStreamOrBuilder.java | 27 +- .../v1beta2/SplitReadStreamRequest.java | 403 +- .../SplitReadStreamRequestOrBuilder.java | 38 +- .../v1beta2/SplitReadStreamResponse.java | 486 +- .../SplitReadStreamResponseOrBuilder.java | 34 +- .../storage/v1beta2/StorageError.java | 564 +- .../v1beta2/StorageErrorOrBuilder.java | 42 +- .../storage/v1beta2/StorageProto.java | 507 + .../bigquery/storage/v1beta2/StreamProto.java | 199 + .../bigquery/storage/v1beta2/StreamStats.java | 686 +- .../storage/v1beta2/StreamStatsOrBuilder.java | 26 +- .../storage/v1beta2/TableFieldSchema.java | 1090 +- .../v1beta2/TableFieldSchemaOrBuilder.java | 102 +- .../bigquery/storage/v1beta2/TableName.java | 0 .../bigquery/storage/v1beta2/TableProto.java | 103 + .../bigquery/storage/v1beta2/TableSchema.java | 390 +- .../storage/v1beta2/TableSchemaOrBuilder.java | 36 +- .../storage/v1beta2/ThrottleState.java | 272 +- .../v1beta2/ThrottleStateOrBuilder.java | 39 + .../bigquery/storage/v1beta2/WriteStream.java | 919 +- .../storage/v1beta2/WriteStreamName.java | 0 .../storage/v1beta2/WriteStreamOrBuilder.java | 95 +- .../bigquery/storage/v1beta2/arrow.proto | 0 .../cloud/bigquery/storage/v1beta2/avro.proto | 0 .../bigquery/storage/v1beta2/protobuf.proto | 0 .../bigquery/storage/v1beta2/storage.proto | 0 .../bigquery/storage/v1beta2/stream.proto | 0 .../bigquery/storage/v1beta2/table.proto | 0 198 files changed, 29943 insertions(+), 18436 deletions(-) rename {owl-bot-staging/v1/google-cloud-bigquerystorage => google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1/BaseBigQueryReadClient.java (98%) rename {owl-bot-staging/v1/google-cloud-bigquerystorage => google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1/BaseBigQueryReadSettings.java (96%) rename {owl-bot-staging/v1/google-cloud-bigquerystorage => google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1/gapic_metadata.json (100%) rename {owl-bot-staging/v1/google-cloud-bigquerystorage => google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1/package-info.java (100%) rename {owl-bot-staging/v1/google-cloud-bigquerystorage => google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1/stub/BigQueryReadStub.java (100%) rename {owl-bot-staging/v1/google-cloud-bigquerystorage => google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1/stub/GrpcBigQueryReadCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-bigquerystorage => google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1/stub/GrpcBigQueryReadStub.java (99%) rename {owl-bot-staging/v1beta1/google-cloud-bigquerystorage => google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BaseBigQueryStorageClient.java (99%) rename {owl-bot-staging/v1beta1/google-cloud-bigquerystorage => google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BaseBigQueryStorageSettings.java (96%) rename {owl-bot-staging/v1beta1/google-cloud-bigquerystorage => google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1beta1/gapic_metadata.json (100%) rename {owl-bot-staging/v1beta1/google-cloud-bigquerystorage => google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1beta1/package-info.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-bigquerystorage => google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/BigQueryStorageStub.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-bigquerystorage => google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/BigQueryStorageStubSettings.java (98%) rename {owl-bot-staging/v1beta1/google-cloud-bigquerystorage => google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/GrpcBigQueryStorageCallableFactory.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-bigquerystorage => google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/GrpcBigQueryStorageStub.java (99%) rename {owl-bot-staging/v1beta2/google-cloud-bigquerystorage => google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BaseBigQueryReadClient.java (98%) rename {owl-bot-staging/v1beta2/google-cloud-bigquerystorage => google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BaseBigQueryReadSettings.java (96%) rename {owl-bot-staging/v1beta2/google-cloud-bigquerystorage => google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteClient.java (98%) rename {owl-bot-staging/v1beta2/google-cloud-bigquerystorage => google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteSettings.java (96%) rename {owl-bot-staging/v1beta2/google-cloud-bigquerystorage => google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/gapic_metadata.json (100%) rename {owl-bot-staging/v1beta2/google-cloud-bigquerystorage => google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/package-info.java (100%) rename {owl-bot-staging/v1beta2/google-cloud-bigquerystorage => google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/BigQueryReadStub.java (100%) rename {owl-bot-staging/v1beta2/google-cloud-bigquerystorage => google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/BigQueryWriteStub.java (100%) rename {owl-bot-staging/v1beta2/google-cloud-bigquerystorage => google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/BigQueryWriteStubSettings.java (98%) rename {owl-bot-staging/v1beta2/google-cloud-bigquerystorage => google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/GrpcBigQueryReadCallableFactory.java (100%) rename {owl-bot-staging/v1beta2/google-cloud-bigquerystorage => google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/GrpcBigQueryReadStub.java (99%) rename {owl-bot-staging/v1beta2/google-cloud-bigquerystorage => google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/GrpcBigQueryWriteCallableFactory.java (100%) rename {owl-bot-staging/v1beta2/google-cloud-bigquerystorage => google-cloud-bigquerystorage}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/GrpcBigQueryWriteStub.java (99%) rename {owl-bot-staging/v1/google-cloud-bigquerystorage => google-cloud-bigquerystorage}/src/test/java/com/google/cloud/bigquery/storage/v1/BaseBigQueryReadClientTest.java (100%) rename {owl-bot-staging/v1/google-cloud-bigquerystorage => google-cloud-bigquerystorage}/src/test/java/com/google/cloud/bigquery/storage/v1/MockBigQueryRead.java (100%) rename {owl-bot-staging/v1/google-cloud-bigquerystorage => google-cloud-bigquerystorage}/src/test/java/com/google/cloud/bigquery/storage/v1/MockBigQueryReadImpl.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-bigquerystorage => google-cloud-bigquerystorage}/src/test/java/com/google/cloud/bigquery/storage/v1beta1/BaseBigQueryStorageClientTest.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-bigquerystorage => google-cloud-bigquerystorage}/src/test/java/com/google/cloud/bigquery/storage/v1beta1/MockBigQueryStorage.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-bigquerystorage => google-cloud-bigquerystorage}/src/test/java/com/google/cloud/bigquery/storage/v1beta1/MockBigQueryStorageImpl.java (100%) rename {owl-bot-staging/v1beta2/google-cloud-bigquerystorage => google-cloud-bigquerystorage}/src/test/java/com/google/cloud/bigquery/storage/v1beta2/BaseBigQueryReadClientTest.java (100%) rename {owl-bot-staging/v1beta2/google-cloud-bigquerystorage => google-cloud-bigquerystorage}/src/test/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteClientTest.java (100%) rename {owl-bot-staging/v1beta2/google-cloud-bigquerystorage => google-cloud-bigquerystorage}/src/test/java/com/google/cloud/bigquery/storage/v1beta2/MockBigQueryRead.java (100%) rename {owl-bot-staging/v1beta2/google-cloud-bigquerystorage => google-cloud-bigquerystorage}/src/test/java/com/google/cloud/bigquery/storage/v1beta2/MockBigQueryReadImpl.java (100%) rename {owl-bot-staging/v1beta2/google-cloud-bigquerystorage => google-cloud-bigquerystorage}/src/test/java/com/google/cloud/bigquery/storage/v1beta2/MockBigQueryWrite.java (100%) rename {owl-bot-staging/v1beta2/google-cloud-bigquerystorage => google-cloud-bigquerystorage}/src/test/java/com/google/cloud/bigquery/storage/v1beta2/MockBigQueryWriteImpl.java (100%) rename {owl-bot-staging/v1/grpc-google-cloud-bigquerystorage-v1 => grpc-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryReadGrpc.java (58%) rename {owl-bot-staging/v1beta1/grpc-google-cloud-bigquerystorage-v1beta1 => grpc-google-cloud-bigquerystorage-v1beta1}/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BigQueryStorageGrpc.java (51%) rename {owl-bot-staging/v1beta2/grpc-google-cloud-bigquerystorage-v1beta2 => grpc-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryReadGrpc.java (58%) create mode 100644 grpc-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteGrpc.java delete mode 100644 owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/BigQueryReadStubSettings.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSchemaOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSerializationOptionsOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StorageProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StreamProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ThrottleStateOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/BigQueryReadStubSettings.java delete mode 100644 owl-bot-staging/v1beta2/grpc-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteGrpc.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowProto.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowRecordBatchOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSchemaOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroProto.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroRowsOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateWriteStreamRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/GetWriteStreamRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoBufProto.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StorageProto.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StreamProto.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableProto.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ThrottleStateOrBuilder.java create mode 100644 proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowProto.java rename {owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1 => proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowRecordBatch.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1 => proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowRecordBatchOrBuilder.java (51%) rename {owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1 => proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSchema.java (69%) create mode 100644 proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSchemaOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1 => proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSerializationOptions.java (62%) create mode 100644 proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSerializationOptionsOrBuilder.java create mode 100644 proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroProto.java rename {owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1 => proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/AvroRows.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1 => proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/AvroRowsOrBuilder.java (51%) rename {owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1 => proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/AvroSchema.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1 => proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/AvroSchemaOrBuilder.java (50%) rename {owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1 => proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/CreateReadSessionRequest.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1 => proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/CreateReadSessionRequestOrBuilder.java (55%) rename {owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1 => proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/DataFormat.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1 => proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/ProjectName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1 => proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsRequest.java (66%) create mode 100644 proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1 => proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsResponse.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1 => proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsResponseOrBuilder.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1 => proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/ReadSession.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1 => proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/ReadSessionOrBuilder.java (63%) rename {owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1 => proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/ReadStream.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1 => proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/ReadStreamName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1 => proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/ReadStreamOrBuilder.java (55%) rename {owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1 => proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamRequest.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1 => proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamRequestOrBuilder.java (54%) rename {owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1 => proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamResponse.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1 => proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamResponseOrBuilder.java (77%) create mode 100644 proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StorageProto.java create mode 100644 proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StreamProto.java rename {owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1 => proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/StreamStats.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1 => proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/StreamStatsOrBuilder.java (61%) rename {owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1 => proto-google-cloud-bigquerystorage-v1}/src/main/java/com/google/cloud/bigquery/storage/v1/ThrottleState.java (68%) create mode 100644 proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ThrottleStateOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1 => proto-google-cloud-bigquerystorage-v1}/src/main/proto/google/cloud/bigquery/storage/v1/arrow.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1 => proto-google-cloud-bigquerystorage-v1}/src/main/proto/google/cloud/bigquery/storage/v1/avro.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1 => proto-google-cloud-bigquerystorage-v1}/src/main/proto/google/cloud/bigquery/storage/v1/storage.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1 => proto-google-cloud-bigquerystorage-v1}/src/main/proto/google/cloud/bigquery/storage/v1/stream.proto (100%) rename {owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1 => proto-google-cloud-bigquerystorage-v1beta1}/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ArrowProto.java (66%) rename {owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1 => proto-google-cloud-bigquerystorage-v1beta1}/src/main/java/com/google/cloud/bigquery/storage/v1beta1/AvroProto.java (68%) rename {owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1 => proto-google-cloud-bigquerystorage-v1beta1}/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ProjectName.java (100%) rename {owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1 => proto-google-cloud-bigquerystorage-v1beta1}/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ReadOptions.java (72%) rename {owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1 => proto-google-cloud-bigquerystorage-v1beta1}/src/main/java/com/google/cloud/bigquery/storage/v1beta1/Storage.java (66%) rename {owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1 => proto-google-cloud-bigquerystorage-v1beta1}/src/main/java/com/google/cloud/bigquery/storage/v1beta1/TableReferenceProto.java (63%) rename {owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1 => proto-google-cloud-bigquerystorage-v1beta1}/src/main/proto/google/cloud/bigquery/storage/v1beta1/arrow.proto (100%) rename {owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1 => proto-google-cloud-bigquerystorage-v1beta1}/src/main/proto/google/cloud/bigquery/storage/v1beta1/avro.proto (100%) rename {owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1 => proto-google-cloud-bigquerystorage-v1beta1}/src/main/proto/google/cloud/bigquery/storage/v1beta1/read_options.proto (100%) rename {owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1 => proto-google-cloud-bigquerystorage-v1beta1}/src/main/proto/google/cloud/bigquery/storage/v1beta1/storage.proto (100%) rename {owl-bot-staging/v1beta1/proto-google-cloud-bigquerystorage-v1beta1 => proto-google-cloud-bigquerystorage-v1beta1}/src/main/proto/google/cloud/bigquery/storage/v1beta1/table_reference.proto (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsRequest.java (71%) rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsRequestOrBuilder.java (76%) rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsResponse.java (70%) rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AppendRowsResponseOrBuilder.java (83%) create mode 100644 proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowProto.java rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowRecordBatch.java (69%) create mode 100644 proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowRecordBatchOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSchema.java (69%) create mode 100644 proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSchemaOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSerializationOptions.java (63%) rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSerializationOptionsOrBuilder.java (51%) create mode 100644 proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroProto.java rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroRows.java (68%) create mode 100644 proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroRowsOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroSchema.java (68%) rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroSchemaOrBuilder.java (51%) rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsRequest.java (68%) rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsRequestOrBuilder.java (70%) rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsResponse.java (74%) rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BatchCommitWriteStreamsResponseOrBuilder.java (83%) rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateReadSessionRequest.java (63%) rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateReadSessionRequestOrBuilder.java (55%) rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateWriteStreamRequest.java (61%) create mode 100644 proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateWriteStreamRequestOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/DataFormat.java (65%) rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamRequest.java (62%) create mode 100644 proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamRequestOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamResponse.java (63%) create mode 100644 proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamResponseOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsRequest.java (68%) rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsRequestOrBuilder.java (58%) rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsResponse.java (68%) create mode 100644 proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsResponseOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/GetWriteStreamRequest.java (64%) create mode 100644 proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/GetWriteStreamRequestOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProjectName.java (100%) create mode 100644 proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoBufProto.java rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoRows.java (71%) rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoRowsOrBuilder.java (68%) rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoSchema.java (71%) rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoSchemaOrBuilder.java (71%) rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsRequest.java (66%) create mode 100644 proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsRequestOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsResponse.java (68%) rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsResponseOrBuilder.java (73%) rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadSession.java (67%) rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadSessionOrBuilder.java (62%) rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadStream.java (70%) rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadStreamName.java (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadStreamOrBuilder.java (56%) rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamRequest.java (66%) rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamRequestOrBuilder.java (55%) rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamResponse.java (69%) rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/SplitReadStreamResponseOrBuilder.java (78%) rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StorageError.java (71%) rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StorageErrorOrBuilder.java (64%) create mode 100644 proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StorageProto.java create mode 100644 proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StreamProto.java rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StreamStats.java (71%) rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StreamStatsOrBuilder.java (62%) rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableFieldSchema.java (66%) rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableFieldSchemaOrBuilder.java (58%) rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableName.java (100%) create mode 100644 proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableProto.java rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableSchema.java (72%) rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableSchemaOrBuilder.java (65%) rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ThrottleState.java (69%) create mode 100644 proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ThrottleStateOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/WriteStream.java (67%) rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/WriteStreamName.java (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/java/com/google/cloud/bigquery/storage/v1beta2/WriteStreamOrBuilder.java (71%) rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/proto/google/cloud/bigquery/storage/v1beta2/arrow.proto (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/proto/google/cloud/bigquery/storage/v1beta2/avro.proto (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/proto/google/cloud/bigquery/storage/v1beta2/protobuf.proto (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/proto/google/cloud/bigquery/storage/v1beta2/storage.proto (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/proto/google/cloud/bigquery/storage/v1beta2/stream.proto (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-bigquerystorage-v1beta2 => proto-google-cloud-bigquerystorage-v1beta2}/src/main/proto/google/cloud/bigquery/storage/v1beta2/table.proto (100%) 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 98% 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 index e092d8c989..6ce4fac0f5 100644 --- 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 @@ -53,13 +53,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* 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 96% 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 d8f7d4b719..33210bca04 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; @@ -40,10 +39,10 @@ *

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

    - *
  • The default service address (bigquerystorage.googleapis.com) and default port (443) are + *
  • 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. + *
  • 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 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/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 b8addb30a6..660466cec7 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/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 99% 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 index eef244690a..9635b98383 100644 --- 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 @@ -55,13 +55,13 @@ * methods: * *

    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* 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 96% 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 dabf24d9fc..071d5b03cb 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; @@ -41,10 +40,10 @@ *

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

    - *
  • The default service address (bigquerystorage.googleapis.com) and default port (443) are + *
  • 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. + *
  • 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 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 98% 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 index be2c543e21..9d0944cffe 100644 --- 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 @@ -50,10 +50,10 @@ *

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

    - *
  • The default service address (bigquerystorage.googleapis.com) and default port (443) are + *
  • 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. + *
  • 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 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 18433f1323..02ddff2b0b 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 98% 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 index 0b032f1f22..e722802218 100644 --- 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 @@ -56,13 +56,13 @@ * methods: * *

    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* 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 96% 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 a01892b9c4..ff849fda07 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; @@ -40,10 +39,10 @@ *

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

    - *
  • The default service address (bigquerystorage.googleapis.com) and default port (443) are + *
  • 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. + *
  • 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 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 98% 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 index 67d30873bb..746236c291 100644 --- 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 @@ -50,13 +50,13 @@ * methods: * *

    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* 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 96% 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 66c5dd749b..d7ac9efa69 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; @@ -40,10 +39,10 @@ *

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

    - *
  • The default service address (bigquerystorage.googleapis.com) and default port (443) are + *
  • 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. + *
  • 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 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 98% 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 index e63713cdad..202bf003be 100644 --- 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 @@ -59,10 +59,10 @@ *

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

    - *
  • The default service address (bigquerystorage.googleapis.com) and default port (443) are + *
  • 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. + *
  • 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 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 6e031ef083..0fd09d68e5 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 3541084bf4..e57bc79573 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/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/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/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 58% 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 97a000d3d7..fe7778f2e3 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 2020 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.
@@ -18,152 +35,200 @@ 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.
    * 
*/ - public static abstract class BigQueryReadImplBase implements io.grpc.BindableService { + public abstract static class BigQueryReadImplBase implements io.grpc.BindableService { /** + * + * *
      * 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
@@ -183,12 +248,17 @@ public static abstract class BigQueryReadImplBase implements io.grpc.BindableSer
      * not require manual clean-up by the caller.
      * 
*/ - public void createReadSession(com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateReadSessionMethod(), responseObserver); + public 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
@@ -198,12 +268,16 @@ 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.ServerCalls.asyncUnimplementedUnaryCall(getReadRowsMethod(), responseObserver); } /** + * + * *
      * Splits a given `ReadStream` into two `ReadStream` objects. These
      * `ReadStream` objects are referred to as the primary and the residual
@@ -218,57 +292,64 @@ 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) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSplitReadStreamMethod(), responseObserver); + public void splitReadStream( + com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSplitReadStreamMethod(), responseObserver); } - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { 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>( - this, 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>( + this, 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>( - this, 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>( + this, 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>( - this, 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>( + this, METHODID_SPLIT_READ_STREAM))) .build(); } } /** + * + * *
    * BigQuery Read API.
    * The Read API can be used to read data from BigQuery.
    * 
*/ - public static final class BigQueryReadStub extends io.grpc.stub.AbstractAsyncStub { - private BigQueryReadStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class BigQueryReadStub + extends io.grpc.stub.AbstractAsyncStub { + 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.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
@@ -304,13 +391,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
@@ -325,22 +416,28 @@ 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); } } /** + * + * *
    * BigQuery Read API.
    * The Read API can be used to read data from BigQuery.
    * 
*/ - public static final class BigQueryReadBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private BigQueryReadBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class BigQueryReadBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private BigQueryReadBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -351,6 +448,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
@@ -370,12 +469,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
@@ -392,6 +494,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
@@ -406,21 +510,24 @@ 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); } } /** + * + * *
    * BigQuery Read API.
    * The Read API can be used to read data from BigQuery.
    * 
*/ - public static final class BigQueryReadFutureStub extends io.grpc.stub.AbstractFutureStub { - private BigQueryReadFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class BigQueryReadFutureStub + extends io.grpc.stub.AbstractFutureStub { + private BigQueryReadFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -431,6 +538,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
@@ -450,13 +559,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
@@ -471,8 +583,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);
     }
@@ -482,11 +595,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 BigQueryReadImplBase serviceImpl;
     private final int methodId;
 
@@ -500,16 +613,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();
@@ -527,8 +647,9 @@ public io.grpc.stub.StreamObserver invoke(
     }
   }
 
-  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
@@ -570,12 +691,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/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 51%
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 edc709b6bb..9fe4d0f741 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 2020 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.
@@ -18,214 +35,307 @@ 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.
    * 
*/ - public static abstract class BigQueryStorageImplBase implements io.grpc.BindableService { + public abstract static class BigQueryStorageImplBase implements io.grpc.BindableService { /** + * + * *
      * 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
@@ -239,12 +349,17 @@ public static abstract class BigQueryStorageImplBase implements io.grpc.Bindable
      * 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) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateReadSessionMethod(), responseObserver); + public 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
@@ -256,24 +371,37 @@ 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.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.
      * 
*/ - public void batchCreateReadSessionStreams(com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchCreateReadSessionStreamsMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( + getBatchCreateReadSessionStreamsMethod(), responseObserver); } /** + * + * *
      * Triggers the graceful termination of a single stream in a ReadSession. This
      * API can be used to dynamically adjust the parallelism of a batch processing
@@ -289,12 +417,16 @@ 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.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
@@ -309,71 +441,80 @@ 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) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSplitReadStreamMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( + getSplitReadStreamMethod(), responseObserver); } - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { 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>( - this, 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>( + this, 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>( - this, 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>( + this, 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>( - this, 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>( + this, 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>( - this, METHODID_FINALIZE_STREAM))) + getFinalizeStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest, + com.google.protobuf.Empty>(this, 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>( - this, 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>( + this, METHODID_SPLIT_READ_STREAM))) .build(); } } /** + * + * *
    * BigQuery storage API.
    * The BigQuery storage API can be used to read data stored in BigQuery.
    * 
*/ - public static final class BigQueryStorageStub extends io.grpc.stub.AbstractAsyncStub { - private BigQueryStorageStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class BigQueryStorageStub + extends io.grpc.stub.AbstractAsyncStub { + 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
@@ -387,13 +528,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
@@ -405,26 +552,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); } /** + * + * *
      * Triggers the graceful termination of a single stream in a ReadSession. This
      * API can be used to dynamically adjust the parallelism of a batch processing
@@ -440,13 +601,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
@@ -461,22 +627,29 @@ 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); } } /** + * + * *
    * BigQuery storage API.
    * The BigQuery storage API can be used to read data stored in BigQuery.
    * 
*/ - public static final class BigQueryStorageBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private BigQueryStorageBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class BigQueryStorageBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private BigQueryStorageBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -487,6 +660,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 +675,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 +695,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); } /** + * + * *
      * Triggers the graceful termination of a single stream in a ReadSession. This
      * API can be used to dynamically adjust the parallelism of a batch processing
@@ -551,12 +736,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,21 +759,25 @@ 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); } } /** + * + * *
    * BigQuery storage API.
    * The BigQuery storage API can be used to read data stored in BigQuery.
    * 
*/ - public static final class BigQueryStorageFutureStub extends io.grpc.stub.AbstractFutureStub { - private BigQueryStorageFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class BigQueryStorageFutureStub + extends io.grpc.stub.AbstractFutureStub { + private BigQueryStorageFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -596,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
@@ -609,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); } /** + * + * *
      * Triggers the graceful termination of a single stream in a ReadSession. This
      * API can be used to dynamically adjust the parallelism of a batch processing
@@ -644,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
@@ -665,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);
     }
@@ -678,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 BigQueryStorageImplBase serviceImpl;
     private final int methodId;
 
@@ -696,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();
@@ -731,8 +956,9 @@ public io.grpc.stub.StreamObserver invoke(
     }
   }
 
-  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
@@ -774,14 +1000,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 58%
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 a326f3367a..75c6842e2f 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 2020 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.
@@ -20,144 +37,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.
@@ -165,9 +228,11 @@ public BigQueryReadFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptio
    * API at the same time.
    * 
*/ - public static abstract class BigQueryReadImplBase implements io.grpc.BindableService { + public abstract static class BigQueryReadImplBase implements io.grpc.BindableService { /** + * + * *
      * 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
@@ -187,12 +252,17 @@ public static abstract class BigQueryReadImplBase implements io.grpc.BindableSer
      * not require manual clean-up by the caller.
      * 
*/ - public void createReadSession(com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateReadSessionMethod(), responseObserver); + public 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
@@ -202,12 +272,16 @@ 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.ServerCalls.asyncUnimplementedUnaryCall(getReadRowsMethod(), responseObserver); } /** + * + * *
      * Splits a given `ReadStream` into two `ReadStream` objects. These
      * `ReadStream` objects are referred to as the primary and the residual
@@ -222,39 +296,46 @@ 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) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSplitReadStreamMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( + getSplitReadStreamMethod(), responseObserver); } - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { 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>( - this, 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>( + this, 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>( - this, 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>( + this, 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>( - this, 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>( + this, METHODID_SPLIT_READ_STREAM))) .build(); } } /** + * + * *
    * BigQuery Read API.
    * The Read API can be used to read data from BigQuery.
@@ -262,19 +343,20 @@ public void splitReadStream(com.google.cloud.bigquery.storage.v1beta2.SplitReadS
    * API at the same time.
    * 
*/ - public static final class BigQueryReadStub extends io.grpc.stub.AbstractAsyncStub { - private BigQueryReadStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class BigQueryReadStub + extends io.grpc.stub.AbstractAsyncStub { + 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
@@ -294,13 +376,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
@@ -310,13 +398,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
@@ -331,14 +423,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); } } /** + * + * *
    * BigQuery Read API.
    * The Read API can be used to read data from BigQuery.
@@ -346,9 +445,9 @@ public void splitReadStream(com.google.cloud.bigquery.storage.v1beta2.SplitReadS
    * API at the same time.
    * 
*/ - public static final class BigQueryReadBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private BigQueryReadBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class BigQueryReadBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private BigQueryReadBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -359,6 +458,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
@@ -378,12 +479,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
@@ -400,6 +504,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
@@ -414,13 +520,16 @@ 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);
     }
   }
 
   /**
+   *
+   *
    * 
    * BigQuery Read API.
    * The Read API can be used to read data from BigQuery.
@@ -428,9 +537,9 @@ public com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse splitRe
    * API at the same time.
    * 
*/ - public static final class BigQueryReadFutureStub extends io.grpc.stub.AbstractFutureStub { - private BigQueryReadFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class BigQueryReadFutureStub + extends io.grpc.stub.AbstractFutureStub { + private BigQueryReadFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -441,6 +550,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
@@ -460,13 +571,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
@@ -481,8 +596,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);
     }
@@ -492,11 +608,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 BigQueryReadImplBase serviceImpl;
     private final int methodId;
 
@@ -510,16 +626,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();
@@ -537,8 +661,9 @@ public io.grpc.stub.StreamObserver invoke(
     }
   }
 
-  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
@@ -580,12 +705,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..cb32dd1f8e
--- /dev/null
+++ b/grpc-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteGrpc.java
@@ -0,0 +1,1048 @@
+/*
+ * Copyright 2020 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") +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 abstract static class BigQueryWriteImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * 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.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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + 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.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.
+     * 
+ */ + 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.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.
+     * 
+ */ + public void flushRows( + com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFlushRowsMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + 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>( + this, 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>( + this, 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>( + this, 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>( + this, 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>( + this, 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>( + this, METHODID_FLUSH_ROWS))) + .build(); + } + } + + /** + * + * + *
+   * 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); + } + } + + /** + * + * + *
+   * 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); + } + } + + /** + * + * + *
+   * 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 BigQueryWriteImplBase serviceImpl; + private final int methodId; + + MethodHandlers(BigQueryWriteImplBase 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(); + } + } + } + + 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 be4ae2e80b..0000000000 --- a/owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/BigQueryReadStubSettings.java +++ /dev/null @@ -1,366 +0,0 @@ -/* - * Copyright 2021 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
- * 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/bigquery.readonly") - .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; - } - - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") - 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/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 6d7a79e930..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\"F\n\020ArrowRecordBatch\022\037\n\027serialized_rec" + - "ord_batch\030\001 \001(\014\022\021\n\trow_count\030\002 \001(\003\"\317\001\n\031A" + - "rrowSerializationOptions\022h\n\022buffer_compr" + - "ession\030\002 \001(\0162L.google.cloud.bigquery.sto" + - "rage.v1.ArrowSerializationOptions.Compre" + - "ssionCodec\"H\n\020CompressionCodec\022\033\n\027COMPRE" + - "SSION_UNSPECIFIED\020\000\022\r\n\tLZ4_FRAME\020\001\022\010\n\004ZS" + - "TD\020\002B\303\001\n$com.google.cloud.bigquery.stora" + - "ge.v1B\nArrowProtoP\001ZGgoogle.golang.org/g" + - "enproto/googleapis/cloud/bigquery/storag" + - "e/v1;storage\252\002 Google.Cloud.BigQuery.Sto" + - "rage.V1\312\002 Google\\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_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 5b075e65ec..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,66 +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; - - 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\"=\n\010AvroRow" + - "s\022\036\n\026serialized_binary_rows\030\001 \001(\014\022\021\n\trow" + - "_count\030\002 \001(\003B\302\001\n$com.google.cloud.bigque" + - "ry.storage.v1B\tAvroProtoP\001ZGgoogle.golan" + - "g.org/genproto/googleapis/cloud/bigquery" + - "/storage/v1;storage\252\002 Google.Cloud.BigQu" + - "ery.Storage.V1\312\002 Google\\Cloud\\BigQuery\\S" + - "torage\\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", }); - } - - // @@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 f49d85b084..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,216 +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; - - 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/stream.proto\"\303\001\n\030CreateReadSessionReq" + - "uest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudresou" + - "rcemanager.googleapis.com/Project\022H\n\014rea" + - "d_session\030\002 \001(\0132-.google.cloud.bigquery." + - "storage.v1.ReadSessionB\003\340A\002\022\030\n\020max_strea" + - "m_count\030\003 \001(\005\"i\n\017ReadRowsRequest\022F\n\013read" + - "_stream\030\001 \001(\tB1\340A\002\372A+\n)bigquerystorage.g" + - "oogleapis.com/ReadStream\022\016\n\006offset\030\002 \001(\003" + - "\")\n\rThrottleState\022\030\n\020throttle_percent\030\001 " + - "\001(\005\"\227\001\n\013StreamStats\022H\n\010progress\030\002 \001(\01326." + - "google.cloud.bigquery.storage.v1.StreamS" + - "tats.Progress\032>\n\010Progress\022\031\n\021at_response" + - "_start\030\001 \001(\001\022\027\n\017at_response_end\030\002 \001(\001\"\347\003" + - "\n\020ReadRowsResponse\022?\n\tavro_rows\030\003 \001(\0132*." + - "google.cloud.bigquery.storage.v1.AvroRow" + - "sH\000\022P\n\022arrow_record_batch\030\004 \001(\01322.google" + - ".cloud.bigquery.storage.v1.ArrowRecordBa" + - "tchH\000\022\021\n\trow_count\030\006 \001(\003\022<\n\005stats\030\002 \001(\0132" + - "-.google.cloud.bigquery.storage.v1.Strea" + - "mStats\022G\n\016throttle_state\030\005 \001(\0132/.google." + - "cloud.bigquery.storage.v1.ThrottleState\022" + - "H\n\013avro_schema\030\007 \001(\0132,.google.cloud.bigq" + - "uery.storage.v1.AvroSchemaB\003\340A\003H\001\022J\n\014arr" + - "ow_schema\030\010 \001(\0132-.google.cloud.bigquery." + - "storage.v1.ArrowSchemaB\003\340A\003H\001B\006\n\004rowsB\010\n" + - "\006schema\"k\n\026SplitReadStreamRequest\022?\n\004nam" + - "e\030\001 \001(\tB1\340A\002\372A+\n)bigquerystorage.googlea" + - "pis.com/ReadStream\022\020\n\010fraction\030\002 \001(\001\"\247\001\n" + - "\027SplitReadStreamResponse\022D\n\016primary_stre" + - "am\030\001 \001(\0132,.google.cloud.bigquery.storage" + - ".v1.ReadStream\022F\n\020remainder_stream\030\002 \001(\013" + - "2,.google.cloud.bigquery.storage.v1.Read" + - "Stream2\306\006\n\014BigQueryRead\022\351\001\n\021CreateReadSe" + - "ssion\022:.google.cloud.bigquery.storage.v1" + - ".CreateReadSessionRequest\032-.google.cloud" + - ".bigquery.storage.v1.ReadSession\"i\202\323\344\223\002<" + - "\"7/v1/{read_session.table=projects/*/dat" + - "asets/*/tables/*}:\001*\332A$parent,read_sessi" + - "on,max_stream_count\022\317\001\n\010ReadRows\0221.googl" + - "e.cloud.bigquery.storage.v1.ReadRowsRequ" + - "est\0322.google.cloud.bigquery.storage.v1.R" + - "eadRowsResponse\"Z\202\323\344\223\002?\022=/v1/{read_strea" + - "m=projects/*/locations/*/sessions/*/stre" + - "ams/*}\332A\022read_stream,offset0\001\022\306\001\n\017SplitR" + - "eadStream\0228.google.cloud.bigquery.storag" + - "e.v1.SplitReadStreamRequest\0329.google.clo" + - "ud.bigquery.storage.v1.SplitReadStreamRe" + - "sponse\">\202\323\344\223\0028\0226/v1/{name=projects/*/loc" + - "ations/*/sessions/*/streams/*}\032\256\001\312A\036bigq" + - "uerystorage.googleapis.com\322A\211\001https://ww" + - "w.googleapis.com/auth/bigquery,https://w" + - "ww.googleapis.com/auth/bigquery.readonly" + - ",https://www.googleapis.com/auth/cloud-p" + - "latformB\235\002\n$com.google.cloud.bigquery.st" + - "orage.v1B\014StorageProtoP\001ZGgoogle.golang." + - "org/genproto/googleapis/cloud/bigquery/s" + - "torage/v1;storage\252\002 Google.Cloud.BigQuer" + - "y.Storage.V1\312\002 Google\\Cloud\\BigQuery\\Sto" + - "rage\\V1\352AU\n\035bigquery.googleapis.com/Tabl" + - "e\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.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.StreamProto.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", }); - 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", }); - 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.StreamProto.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 d4fec74f90..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,138 +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; - - 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\037google" + - "/protobuf/timestamp.proto\"\370\007\n\013ReadSessio" + - "n\022\021\n\004name\030\001 \001(\tB\003\340A\003\0224\n\013expire_time\030\002 \001(" + - "\0132\032.google.protobuf.TimestampB\003\340A\003\022F\n\013da" + - "ta_format\030\003 \001(\0162,.google.cloud.bigquery." + - "storage.v1.DataFormatB\003\340A\005\022H\n\013avro_schem" + - "a\030\004 \001(\0132,.google.cloud.bigquery.storage." + - "v1.AvroSchemaB\003\340A\003H\000\022J\n\014arrow_schema\030\005 \001" + - "(\0132-.google.cloud.bigquery.storage.v1.Ar" + - "rowSchemaB\003\340A\003H\000\0224\n\005table\030\006 \001(\tB%\340A\005\372A\037\n" + - "\035bigquery.googleapis.com/Table\022Z\n\017table_" + - "modifiers\030\007 \001(\0132<.google.cloud.bigquery." + - "storage.v1.ReadSession.TableModifiersB\003\340" + - "A\001\022Y\n\014read_options\030\010 \001(\0132>.google.cloud." + - "bigquery.storage.v1.ReadSession.TableRea" + - "dOptionsB\003\340A\001\022B\n\007streams\030\n \003(\0132,.google." + - "cloud.bigquery.storage.v1.ReadStreamB\003\340A" + - "\003\032C\n\016TableModifiers\0221\n\rsnapshot_time\030\001 \001" + - "(\0132\032.google.protobuf.Timestamp\032\324\001\n\020Table" + - "ReadOptions\022\027\n\017selected_fields\030\001 \003(\t\022\027\n\017" + - "row_restriction\030\002 \001(\t\022g\n\033arrow_serializa" + - "tion_options\030\003 \001(\0132;.google.cloud.bigque" + - "ry.storage.v1.ArrowSerializationOptionsB" + - "\003\340A\001H\000B%\n#output_format_serialization_op" + - "tions:k\352Ah\n*bigquerystorage.googleapis.c" + - "om/ReadSession\022:projects/{project}/locat" + - "ions/{location}/sessions/{session}B\010\n\006sc" + - "hema\"\234\001\n\nReadStream\022\021\n\004name\030\001 \001(\tB\003\340A\003:{" + - "\352Ax\n)bigquerystorage.googleapis.com/Read" + - "Stream\022Kprojects/{project}/locations/{lo" + - "cation}/sessions/{session}/streams/{stre" + - "am}*>\n\nDataFormat\022\033\n\027DATA_FORMAT_UNSPECI" + - "FIED\020\000\022\010\n\004AVRO\020\001\022\t\n\005ARROW\020\002B\304\001\n$com.goog" + - "le.cloud.bigquery.storage.v1B\013StreamProt" + - "oP\001ZGgoogle.golang.org/genproto/googleap" + - "is/cloud/bigquery/storage/v1;storage\252\002 G" + - "oogle.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.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", "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", "OutputFormatSerializationOptions", }); - 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", }); - 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.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/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 3193e2702d..0000000000 --- a/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/BigQueryReadStubSettings.java +++ /dev/null @@ -1,367 +0,0 @@ -/* - * Copyright 2021 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
- * 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/bigquery.readonly") - .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; - } - - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") - 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 5d2dd4cc0c..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,805 +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") -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 static abstract class BigQueryWriteImplBase implements io.grpc.BindableService { - - /** - *
-     * 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.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.
-     * 
- */ - public io.grpc.stub.StreamObserver appendRows( - io.grpc.stub.StreamObserver responseObserver) { - return io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall(getAppendRowsMethod(), responseObserver); - } - - /** - *
-     * Gets a write stream.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public void flushRows(com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFlushRowsMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - 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>( - this, 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>( - this, 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>( - this, 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>( - this, 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>( - this, 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>( - this, METHODID_FLUSH_ROWS))) - .build(); - } - } - - /** - *
-   * 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); - } - } - - /** - *
-   * 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); - } - } - - /** - *
-   * 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 BigQueryWriteImplBase serviceImpl; - private final int methodId; - - MethodHandlers(BigQueryWriteImplBase 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(); - } - } - } - - 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 0a234c614a..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\207\001\n)com.google.cloud.bigquery" + - ".storage.v1beta2B\nArrowProtoP\001ZLgoogle.g" + - "olang.org/genproto/googleapis/cloud/bigq" + - "uery/storage/v1beta2;storageb\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 aaa65af337..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\206\001\n)com.google.cloud.bigquery.storag" + - "e.v1beta2B\tAvroProtoP\001ZLgoogle.golang.or" + - "g/genproto/googleapis/cloud/bigquery/sto" + - "rage/v1beta2;storageb\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 ab21e99ed5..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\212\001\n)com.google.cloud.bigquery.storage.v" + - "1beta2B\rProtoBufProtoP\001ZLgoogle.golang.o" + - "rg/genproto/googleapis/cloud/bigquery/st" + - "orage/v1beta2;storageb\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 20fe629ffd..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,458 +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\"\310\001\n\030" + - "CreateReadSessionRequest\022C\n\006parent\030\001 \001(\t" + - "B3\340A\002\372A-\n+cloudresourcemanager.googleapi" + - "s.com/Project\022M\n\014read_session\030\002 \001(\01322.go" + - "ogle.cloud.bigquery.storage.v1beta2.Read" + - "SessionB\003\340A\002\022\030\n\020max_stream_count\030\003 \001(\005\"i" + - "\n\017ReadRowsRequest\022F\n\013read_stream\030\001 \001(\tB1" + - "\340A\002\372A+\n)bigquerystorage.googleapis.com/R" + - "eadStream\022\016\n\006offset\030\002 \001(\003\")\n\rThrottleSta" + - "te\022\030\n\020throttle_percent\030\001 \001(\005\"\234\001\n\013StreamS" + - "tats\022M\n\010progress\030\002 \001(\0132;.google.cloud.bi" + - "gquery.storage.v1beta2.StreamStats.Progr" + - "ess\032>\n\010Progress\022\031\n\021at_response_start\030\001 \001" + - "(\001\022\027\n\017at_response_end\030\002 \001(\001\"\205\004\n\020ReadRows" + - "Response\022D\n\tavro_rows\030\003 \001(\0132/.google.clo" + - "ud.bigquery.storage.v1beta2.AvroRowsH\000\022U" + - "\n\022arrow_record_batch\030\004 \001(\01327.google.clou" + - "d.bigquery.storage.v1beta2.ArrowRecordBa" + - "tchH\000\022\021\n\trow_count\030\006 \001(\003\022A\n\005stats\030\002 \001(\0132" + - "2.google.cloud.bigquery.storage.v1beta2." + - "StreamStats\022L\n\016throttle_state\030\005 \001(\01324.go" + - "ogle.cloud.bigquery.storage.v1beta2.Thro" + - "ttleState\022M\n\013avro_schema\030\007 \001(\01321.google." + - "cloud.bigquery.storage.v1beta2.AvroSchem" + - "aB\003\340A\003H\001\022O\n\014arrow_schema\030\010 \001(\01322.google." + - "cloud.bigquery.storage.v1beta2.ArrowSche" + - "maB\003\340A\003H\001B\006\n\004rowsB\010\n\006schema\"k\n\026SplitRead" + - "StreamRequest\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n)big" + - "querystorage.googleapis.com/ReadStream\022\020" + - "\n\010fraction\030\002 \001(\001\"\261\001\n\027SplitReadStreamResp" + - "onse\022I\n\016primary_stream\030\001 \001(\01321.google.cl" + - "oud.bigquery.storage.v1beta2.ReadStream\022" + - "K\n\020remainder_stream\030\002 \001(\01321.google.cloud" + - ".bigquery.storage.v1beta2.ReadStream\"\240\001\n" + - "\030CreateWriteStreamRequest\0225\n\006parent\030\001 \001(" + - "\tB%\340A\002\372A\037\n\035bigquery.googleapis.com/Table" + - "\022M\n\014write_stream\030\002 \001(\01322.google.cloud.bi" + - "gquery.storage.v1beta2.WriteStreamB\003\340A\002\"" + - "\227\003\n\021AppendRowsRequest\022H\n\014write_stream\030\001 " + - "\001(\tB2\340A\002\372A,\n*bigquerystorage.googleapis." + - "com/WriteStream\022+\n\006offset\030\002 \001(\0132\033.google" + - ".protobuf.Int64Value\022X\n\nproto_rows\030\004 \001(\013" + - "2B.google.cloud.bigquery.storage.v1beta2" + - ".AppendRowsRequest.ProtoDataH\000\022\020\n\010trace_" + - "id\030\006 \001(\t\032\226\001\n\tProtoData\022I\n\rwriter_schema\030" + - "\001 \001(\01322.google.cloud.bigquery.storage.v1" + - "beta2.ProtoSchema\022>\n\004rows\030\002 \001(\01320.google" + - ".cloud.bigquery.storage.v1beta2.ProtoRow" + - "sB\006\n\004rows\"\257\002\n\022AppendRowsResponse\022_\n\rappe" + - "nd_result\030\001 \001(\0132F.google.cloud.bigquery." + - "storage.v1beta2.AppendRowsResponse.Appen" + - "dResultH\000\022#\n\005error\030\002 \001(\0132\022.google.rpc.St" + - "atusH\000\022J\n\016updated_schema\030\003 \001(\01322.google." + - "cloud.bigquery.storage.v1beta2.TableSche" + - "ma\032;\n\014AppendResult\022+\n\006offset\030\001 \001(\0132\033.goo" + - "gle.protobuf.Int64ValueB\n\n\010response\"Y\n\025G" + - "etWriteStreamRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372" + - "A,\n*bigquerystorage.googleapis.com/Write" + - "Stream\"Q\n\036BatchCommitWriteStreamsRequest" + - "\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\032\n\rwrite_streams\030\002" + - " \003(\tB\003\340A\002\"\236\001\n\037BatchCommitWriteStreamsRes" + - "ponse\022/\n\013commit_time\030\001 \001(\0132\032.google.prot" + - "obuf.Timestamp\022J\n\rstream_errors\030\002 \003(\01323." + - "google.cloud.bigquery.storage.v1beta2.St" + - "orageError\"^\n\032FinalizeWriteStreamRequest" + - "\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*bigquerystorage." + - "googleapis.com/WriteStream\"0\n\033FinalizeWr" + - "iteStreamResponse\022\021\n\trow_count\030\001 \001(\003\"\211\001\n" + - "\020FlushRowsRequest\022H\n\014write_stream\030\001 \001(\tB" + - "2\340A\002\372A,\n*bigquerystorage.googleapis.com/" + - "WriteStream\022+\n\006offset\030\002 \001(\0132\033.google.pro" + - "tobuf.Int64Value\"#\n\021FlushRowsResponse\022\016\n" + - "\006offset\030\001 \001(\003\"\324\002\n\014StorageError\022R\n\004code\030\001" + - " \001(\0162D.google.cloud.bigquery.storage.v1b" + - "eta2.StorageError.StorageErrorCode\022\016\n\006en" + - "tity\030\002 \001(\t\022\025\n\rerror_message\030\003 \001(\t\"\310\001\n\020St" + - "orageErrorCode\022\"\n\036STORAGE_ERROR_CODE_UNS" + - "PECIFIED\020\000\022\023\n\017TABLE_NOT_FOUND\020\001\022\034\n\030STREA" + - "M_ALREADY_COMMITTED\020\002\022\024\n\020STREAM_NOT_FOUN" + - "D\020\003\022\027\n\023INVALID_STREAM_TYPE\020\004\022\030\n\024INVALID_" + - "STREAM_STATE\020\005\022\024\n\020STREAM_FINALIZED\020\0062\363\006\n" + - "\014BigQueryRead\022\370\001\n\021CreateReadSession\022?.go" + - "ogle.cloud.bigquery.storage.v1beta2.Crea" + - "teReadSessionRequest\0322.google.cloud.bigq" + - "uery.storage.v1beta2.ReadSession\"n\202\323\344\223\002A" + - "\".google.cloud.bigquery.sto" + - "rage.v1beta2.SplitReadStreamResponse\"C\202\323" + - "\344\223\002=\022;/v1beta2/{name=projects/*/location" + - "s/*/sessions/*/streams/*}\032\256\001\312A\036bigquerys" + - "torage.googleapis.com\322A\211\001https://www.goo" + - "gleapis.com/auth/bigquery,https://www.go" + - "ogleapis.com/auth/bigquery.readonly,http" + - "s://www.googleapis.com/auth/cloud-platfo" + - "rm2\226\014\n\rBigQueryWrite\022\346\001\n\021CreateWriteStre" + - "am\022?.google.cloud.bigquery.storage.v1bet" + - "a2.CreateWriteStreamRequest\0322.google.clo" + - "ud.bigquery.storage.v1beta2.WriteStream\"" + - "\\\202\323\344\223\002@\"0/v1beta2/{parent=projects/*/dat" + - "asets/*/tables/*}:\014write_stream\332A\023parent" + - ",write_stream\022\341\001\n\nAppendRows\0228.google.cl" + - "oud.bigquery.storage.v1beta2.AppendRowsR" + - "equest\0329.google.cloud.bigquery.storage.v" + - "1beta2.AppendRowsResponse\"Z\202\323\344\223\002E\"@/v1be" + - "ta2/{write_stream=projects/*/datasets/*/" + - "tables/*/streams/*}:\001*\332A\014write_stream(\0010" + - "\001\022\316\001\n\016GetWriteStream\022<.google.cloud.bigq" + - "uery.storage.v1beta2.GetWriteStreamReque" + - "st\0322.google.cloud.bigquery.storage.v1bet" + - "a2.WriteStream\"J\202\323\344\223\002=\"8/v1beta2/{name=p" + - "rojects/*/datasets/*/tables/*/streams/*}" + - ":\001*\332A\004name\022\350\001\n\023FinalizeWriteStream\022A.goo" + - "gle.cloud.bigquery.storage.v1beta2.Final" + - "izeWriteStreamRequest\032B.google.cloud.big" + - "query.storage.v1beta2.FinalizeWriteStrea" + - "mResponse\"J\202\323\344\223\002=\"8/v1beta2/{name=projec" + - "ts/*/datasets/*/tables/*/streams/*}:\001*\332A" + - "\004name\022\353\001\n\027BatchCommitWriteStreams\022E.goog" + - "le.cloud.bigquery.storage.v1beta2.BatchC" + - "ommitWriteStreamsRequest\032F.google.cloud." + - "bigquery.storage.v1beta2.BatchCommitWrit" + - "eStreamsResponse\"A\202\323\344\223\0022\0220/v1beta2/{pare" + - "nt=projects/*/datasets/*/tables/*}\332A\006par" + - "ent\022\332\001\n\tFlushRows\0227.google.cloud.bigquer" + - "y.storage.v1beta2.FlushRowsRequest\0328.goo" + - "gle.cloud.bigquery.storage.v1beta2.Flush" + - "RowsResponse\"Z\202\323\344\223\002E\"@/v1beta2/{write_st" + - "ream=projects/*/datasets/*/tables/*/stre" + - "ams/*}:\001*\332A\014write_stream\032\260\001\312A\036bigqueryst" + - "orage.googleapis.com\322A\213\001https://www.goog" + - "leapis.com/auth/bigquery,https://www.goo" + - "gleapis.com/auth/bigquery.insertdata,htt" + - "ps://www.googleapis.com/auth/cloud-platf" + - "ormB\211\001\n)com.google.cloud.bigquery.storag" + - "e.v1beta2B\014StorageProtoP\001ZLgoogle.golang" + - ".org/genproto/googleapis/cloud/bigquery/" + - "storage/v1beta2;storageb\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 cd5449ab2a..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\"\362\007\n\013ReadSession\022\021\n\004name" + - "\030\001 \001(\tB\003\340A\003\0224\n\013expire_time\030\002 \001(\0132\032.googl" + - "e.protobuf.TimestampB\003\340A\003\022K\n\013data_format" + - "\030\003 \001(\01621.google.cloud.bigquery.storage.v" + - "1beta2.DataFormatB\003\340A\005\022M\n\013avro_schema\030\004 " + - "\001(\01321.google.cloud.bigquery.storage.v1be" + - "ta2.AvroSchemaB\003\340A\003H\000\022O\n\014arrow_schema\030\005 " + - "\001(\01322.google.cloud.bigquery.storage.v1be" + - "ta2.ArrowSchemaB\003\340A\003H\000\0224\n\005table\030\006 \001(\tB%\340" + - "A\005\372A\037\n\035bigquery.googleapis.com/Table\022_\n\017" + - "table_modifiers\030\007 \001(\0132A.google.cloud.big" + - "query.storage.v1beta2.ReadSession.TableM" + - "odifiersB\003\340A\001\022^\n\014read_options\030\010 \001(\0132C.go" + - "ogle.cloud.bigquery.storage.v1beta2.Read" + - "Session.TableReadOptionsB\003\340A\001\022G\n\007streams" + - "\030\n \003(\01321.google.cloud.bigquery.storage.v" + - "1beta2.ReadStreamB\003\340A\003\032C\n\016TableModifiers" + - "\0221\n\rsnapshot_time\030\001 \001(\0132\032.google.protobu" + - "f.Timestamp\032\260\001\n\020TableReadOptions\022\027\n\017sele" + - "cted_fields\030\001 \003(\t\022\027\n\017row_restriction\030\002 \001" + - "(\t\022j\n\033arrow_serialization_options\030\003 \001(\0132" + - "@.google.cloud.bigquery.storage.v1beta2." + - "ArrowSerializationOptionsB\003\340A\001:k\352Ah\n*big" + - "querystorage.googleapis.com/ReadSession\022" + - ":projects/{project}/locations/{location}" + - "/sessions/{session}B\010\n\006schema\"\234\001\n\nReadSt" + - "ream\022\021\n\004name\030\001 \001(\tB\003\340A\003:{\352Ax\n)bigqueryst" + - "orage.googleapis.com/ReadStream\022Kproject" + - "s/{project}/locations/{location}/session" + - "s/{session}/streams/{stream}\"\347\003\n\013WriteSt" + - "ream\022\021\n\004name\030\001 \001(\tB\003\340A\003\022J\n\004type\030\002 \001(\01627." + - "google.cloud.bigquery.storage.v1beta2.Wr" + - "iteStream.TypeB\003\340A\005\0224\n\013create_time\030\003 \001(\013" + - "2\032.google.protobuf.TimestampB\003\340A\003\0224\n\013com" + - "mit_time\030\004 \001(\0132\032.google.protobuf.Timesta" + - "mpB\003\340A\003\022M\n\014table_schema\030\005 \001(\01322.google.c" + - "loud.bigquery.storage.v1beta2.TableSchem" + - "aB\003\340A\003\"F\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\r\n\t" + - "COMMITTED\020\001\022\013\n\007PENDING\020\002\022\014\n\010BUFFERED\020\003:v" + - "\352As\n*bigquerystorage.googleapis.com/Writ" + - "eStream\022Eprojects/{project}/datasets/{da" + - "taset}/tables/{table}/streams/{stream}*>" + - "\n\nDataFormat\022\033\n\027DATA_FORMAT_UNSPECIFIED\020" + - "\000\022\010\n\004AVRO\020\001\022\t\n\005ARROW\020\002B\340\001\n)com.google.cl" + - "oud.bigquery.storage.v1beta2B\013StreamProt" + - "oP\001ZLgoogle.golang.org/genproto/googleap" + - "is/cloud/bigquery/storage/v1beta2;storag" + - "e\352AU\n\035bigquery.googleapis.com/Table\0224pro" + - "jects/{project}/datasets/{dataset}/table" + - "s/{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 5a424283c1..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\"\317\004\n\020TableFieldSchema\022\021\n\004name" + - "\030\001 \001(\tB\003\340A\002\022O\n\004type\030\002 \001(\0162<.google.cloud" + - ".bigquery.storage.v1beta2.TableFieldSche" + - "ma.TypeB\003\340A\002\022O\n\004mode\030\003 \001(\0162<.google.clou" + - "d.bigquery.storage.v1beta2.TableFieldSch" + - "ema.ModeB\003\340A\001\022L\n\006fields\030\004 \003(\01327.google.c" + - "loud.bigquery.storage.v1beta2.TableField" + - "SchemaB\003\340A\001\022\030\n\013description\030\006 \001(\tB\003\340A\001\"\325\001" + - "\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\n\n\006STRING\020\001" + - "\022\t\n\005INT64\020\002\022\n\n\006DOUBLE\020\003\022\n\n\006STRUCT\020\004\022\t\n\005B" + - "YTES\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\tGEOGRAPHY\020\013" + - "\022\013\n\007NUMERIC\020\014\022\016\n\nBIGNUMERIC\020\r\022\014\n\010INTERVA" + - "L\020\016\022\010\n\004JSON\020\017\"F\n\004Mode\022\024\n\020MODE_UNSPECIFIE" + - "D\020\000\022\014\n\010NULLABLE\020\001\022\014\n\010REQUIRED\020\002\022\014\n\010REPEA" + - "TED\020\003B\207\001\n)com.google.cloud.bigquery.stor" + - "age.v1beta2B\nTableProtoP\001ZLgoogle.golang" + - ".org/genproto/googleapis/cloud/bigquery/" + - "storage/v1beta2;storageb\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/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..2d8668eb89 --- /dev/null +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowProto.java @@ -0,0 +1,98 @@ +/* + * Copyright 2020 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\"F\n\020ArrowRecordBatch\022\037\n\027serialized_rec" + + "ord_batch\030\001 \001(\014\022\021\n\trow_count\030\002 \001(\003\"\317\001\n\031A" + + "rrowSerializationOptions\022h\n\022buffer_compr" + + "ession\030\002 \001(\0162L.google.cloud.bigquery.sto" + + "rage.v1.ArrowSerializationOptions.Compre" + + "ssionCodec\"H\n\020CompressionCodec\022\033\n\027COMPRE" + + "SSION_UNSPECIFIED\020\000\022\r\n\tLZ4_FRAME\020\001\022\010\n\004ZS" + + "TD\020\002B\303\001\n$com.google.cloud.bigquery.stora" + + "ge.v1B\nArrowProtoP\001ZGgoogle.golang.org/g" + + "enproto/googleapis/cloud/bigquery/storag" + + "e/v1;storage\252\002 Google.Cloud.BigQuery.Sto" + + "rage.V1\312\002 Google\\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_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 68% 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 98ecdd5ded..3a27b22f02 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,40 +1,57 @@ +/* + * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ArrowRecordBatch( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,56 +70,61 @@ private ArrowRecordBatch( case 0: done = true; break; - case 10: { - - serializedRecordBatch_ = input.readBytes(); - break; - } - case 16: { - - rowCount_ = input.readInt64(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 10: + { + serializedRecordBatch_ = input.readBytes(); + break; + } + case 16: + { + rowCount_ = input.readInt64(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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_; /** + * + * *
    * IPC-serialized Arrow RecordBatch.
    * 
* * bytes serialized_record_batch = 1; + * * @return The serializedRecordBatch. */ @java.lang.Override @@ -113,11 +135,14 @@ public com.google.protobuf.ByteString getSerializedRecordBatch() { public static final int ROW_COUNT_FIELD_NUMBER = 2; private long rowCount_; /** + * + * *
    * The count of rows in `serialized_record_batch`.
    * 
* * int64 row_count = 2; + * * @return The rowCount. */ @java.lang.Override @@ -126,6 +151,7 @@ public long getRowCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,8 +163,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_); } @@ -155,12 +180,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -170,17 +193,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -195,125 +217,134 @@ 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) + unknownFields.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() @@ -321,16 +352,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -342,9 +372,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 @@ -363,7 +393,8 @@ 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); + com.google.cloud.bigquery.storage.v1.ArrowRecordBatch result = + new com.google.cloud.bigquery.storage.v1.ArrowRecordBatch(this); result.serializedRecordBatch_ = serializedRecordBatch_; result.rowCount_ = rowCount_; onBuilt(); @@ -374,38 +405,39 @@ public com.google.cloud.bigquery.storage.v1.ArrowRecordBatch buildPartial() { 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; @@ -413,7 +445,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()); } @@ -439,7 +472,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1.ArrowRecordBatch) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1.ArrowRecordBatch) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,13 +483,17 @@ public Builder mergeFrom( return this; } - 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 @@ -463,45 +501,54 @@ 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(); - } - + throw new NullPointerException(); + } + serializedRecordBatch_ = value; onChanged(); return this; } /** + * + * *
      * IPC-serialized Arrow RecordBatch.
      * 
* * bytes serialized_record_batch = 1; + * * @return This builder for chaining. */ public Builder clearSerializedRecordBatch() { - + serializedRecordBatch_ = getDefaultInstance().getSerializedRecordBatch(); onChanged(); return this; } - private long rowCount_ ; + private long rowCount_; /** + * + * *
      * The count of rows in `serialized_record_batch`.
      * 
* * int64 row_count = 2; + * * @return The rowCount. */ @java.lang.Override @@ -509,37 +556,43 @@ public long getRowCount() { return rowCount_; } /** + * + * *
      * The count of rows in `serialized_record_batch`.
      * 
* * int64 row_count = 2; + * * @param value The rowCount to set. * @return This builder for chaining. */ public Builder setRowCount(long value) { - + rowCount_ = value; onChanged(); return this; } /** + * + * *
      * The count of rows in `serialized_record_batch`.
      * 
* * int64 row_count = 2; + * * @return This builder for chaining. */ public Builder clearRowCount() { - + 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); } @@ -549,12 +602,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(); } @@ -563,16 +616,16 @@ 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 { - return new ArrowRecordBatch(input, extensionRegistry); - } - }; + 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 { + return new ArrowRecordBatch(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,6 +640,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 adca4b068a..b6a38ab736 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,28 +1,50 @@ +/* + * Copyright 2020 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(); /** + * + * *
    * The count of rows in `serialized_record_batch`.
    * 
* * int64 row_count = 2; + * * @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/ArrowSchema.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSchema.java similarity index 69% 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 d1b6cb30ea..cb0f25bb1c 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 2020 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
@@ -14,31 +31,31 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ArrowSchema(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,51 +74,56 @@ private ArrowSchema(
           case 0:
             done = true;
             break;
-          case 10: {
-
-            serializedSchema_ = input.readBytes();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 10:
+            {
+              serializedSchema_ = input.readBytes();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  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_;
   /**
+   *
+   *
    * 
    * IPC serialized Arrow schema.
    * 
* * bytes serialized_schema = 1; + * * @return The serializedSchema. */ @java.lang.Override @@ -110,6 +132,7 @@ public com.google.protobuf.ByteString getSerializedSchema() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -121,8 +144,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_); } @@ -136,8 +158,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -147,15 +168,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -174,97 +195,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
@@ -275,21 +303,23 @@ 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()
@@ -297,16 +327,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -316,9 +345,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
@@ -337,7 +366,8 @@ 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);
+      com.google.cloud.bigquery.storage.v1.ArrowSchema result =
+          new com.google.cloud.bigquery.storage.v1.ArrowSchema(this);
       result.serializedSchema_ = serializedSchema_;
       onBuilt();
       return result;
@@ -347,38 +377,39 @@ public com.google.cloud.bigquery.storage.v1.ArrowSchema buildPartial() {
     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;
@@ -386,7 +417,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());
       }
@@ -421,11 +453,14 @@ public Builder mergeFrom(
 
     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 @@ -433,40 +468,46 @@ 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(); - } - + throw new NullPointerException(); + } + serializedSchema_ = value; onChanged(); return this; } /** + * + * *
      * IPC serialized Arrow schema.
      * 
* * bytes serialized_schema = 1; + * * @return This builder for chaining. */ public Builder clearSerializedSchema() { - + serializedSchema_ = getDefaultInstance().getSerializedSchema(); 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); } @@ -476,12 +517,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(); } @@ -490,16 +531,16 @@ 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 { - return new ArrowSchema(input, extensionRegistry); - } - }; + 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 { + return new ArrowSchema(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -514,6 +555,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..d123329e39 --- /dev/null +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSchemaOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 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 62% 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 06b81b2c6f..114be6109e 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,40 +1,57 @@ +/* + * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ArrowSerializationOptions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,54 +70,61 @@ private ArrowSerializationOptions( case 0: done = true; break; - case 16: { - int rawValue = input.readEnum(); + case 16: + { + int rawValue = input.readEnum(); - bufferCompression_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + bufferCompression_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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.
      * 
@@ -109,6 +133,8 @@ public enum CompressionCodec */ COMPRESSION_UNSPECIFIED(0), /** + * + * *
      * LZ4 Frame (https://github.com/lz4/lz4/blob/dev/doc/lz4_Frame_format.md)
      * 
@@ -117,6 +143,8 @@ public enum CompressionCodec */ LZ4_FRAME(1), /** + * + * *
      * Zstandard compression.
      * 
@@ -128,6 +156,8 @@ public enum CompressionCodec ; /** + * + * *
      * If unspecified no compression will be used.
      * 
@@ -136,6 +166,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)
      * 
@@ -144,6 +176,8 @@ public enum CompressionCodec */ public static final int LZ4_FRAME_VALUE = 1; /** + * + * *
      * Zstandard compression.
      * 
@@ -152,7 +186,6 @@ public enum CompressionCodec */ public static final int ZSTD_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -177,40 +210,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(); @@ -218,8 +256,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; @@ -239,33 +276,52 @@ private CompressionCodec(int value) { public static final int BUFFER_COMPRESSION_FIELD_NUMBER = 2; private int 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 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() { + @java.lang.Override + public com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec + getBufferCompression() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec result = com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec.valueOf(bufferCompression_); - return result == null ? com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec.UNRECOGNIZED : result; + com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec result = + com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec.valueOf( + 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; @@ -277,9 +333,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_); } unknownFields.writeTo(output); @@ -291,9 +349,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -303,12 +363,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 (!unknownFields.equals(other.unknownFields)) return false; @@ -330,117 +391,127 @@ 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() @@ -448,16 +519,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -467,13 +537,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(); } @@ -488,7 +559,8 @@ 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); + com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions result = + new com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions(this); result.bufferCompression_ = bufferCompression_; onBuilt(); return result; @@ -498,38 +570,39 @@ public com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions buildParti 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; @@ -537,7 +610,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()); } @@ -560,7 +635,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -572,85 +649,118 @@ public Builder mergeFrom( 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. */ public Builder setBufferCompressionValue(int value) { - + bufferCompression_ = value; onChanged(); 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() { + public com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec + getBufferCompression() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec result = com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec.valueOf(bufferCompression_); - return result == null ? com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec.UNRECOGNIZED : result; + com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec result = + com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec.valueOf( + 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(); } - + bufferCompression_ = value.getNumber(); onChanged(); 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() { - + bufferCompression_ = 0; 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); } @@ -660,30 +770,32 @@ 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 { - return new ArrowSerializationOptions(input, extensionRegistry); - } - }; + 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 { + return new ArrowSerializationOptions(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -695,9 +807,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..5f83ffa62b --- /dev/null +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSerializationOptionsOrBuilder.java @@ -0,0 +1,57 @@ +/* + * Copyright 2020 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..6bbd426c70 --- /dev/null +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroProto.java @@ -0,0 +1,80 @@ +/* + * Copyright 2020 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; + + 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\"=\n\010AvroRow" + + "s\022\036\n\026serialized_binary_rows\030\001 \001(\014\022\021\n\trow" + + "_count\030\002 \001(\003B\302\001\n$com.google.cloud.bigque" + + "ry.storage.v1B\tAvroProtoP\001ZGgoogle.golan" + + "g.org/genproto/googleapis/cloud/bigquery" + + "/storage/v1;storage\252\002 Google.Cloud.BigQu" + + "ery.Storage.V1\312\002 Google\\Cloud\\BigQuery\\S" + + "torage\\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", + }); + } + + // @@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 69% 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 1dd66c2b02..6d31557539 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,40 +1,57 @@ +/* + * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AvroRows( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,56 +70,61 @@ private AvroRows( case 0: done = true; break; - case 10: { - - serializedBinaryRows_ = input.readBytes(); - break; - } - case 16: { - - rowCount_ = input.readInt64(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 10: + { + serializedBinaryRows_ = input.readBytes(); + break; + } + case 16: + { + rowCount_ = input.readInt64(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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_; /** + * + * *
    * Binary serialized rows in a block.
    * 
* * bytes serialized_binary_rows = 1; + * * @return The serializedBinaryRows. */ @java.lang.Override @@ -113,11 +135,14 @@ public com.google.protobuf.ByteString getSerializedBinaryRows() { public static final int ROW_COUNT_FIELD_NUMBER = 2; private long rowCount_; /** + * + * *
    * The count of rows in the returning block.
    * 
* * int64 row_count = 2; + * * @return The rowCount. */ @java.lang.Override @@ -126,6 +151,7 @@ public long getRowCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,8 +163,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_); } @@ -155,12 +180,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -170,17 +193,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -195,125 +217,133 @@ 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) + unknownFields.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() @@ -321,16 +351,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -342,9 +371,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 @@ -363,7 +392,8 @@ 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); + com.google.cloud.bigquery.storage.v1.AvroRows result = + new com.google.cloud.bigquery.storage.v1.AvroRows(this); result.serializedBinaryRows_ = serializedBinaryRows_; result.rowCount_ = rowCount_; onBuilt(); @@ -374,38 +404,39 @@ public com.google.cloud.bigquery.storage.v1.AvroRows buildPartial() { 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; @@ -449,13 +480,17 @@ public Builder mergeFrom( return this; } - 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 @@ -463,45 +498,54 @@ 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(); - } - + throw new NullPointerException(); + } + serializedBinaryRows_ = value; onChanged(); return this; } /** + * + * *
      * Binary serialized rows in a block.
      * 
* * bytes serialized_binary_rows = 1; + * * @return This builder for chaining. */ public Builder clearSerializedBinaryRows() { - + serializedBinaryRows_ = getDefaultInstance().getSerializedBinaryRows(); onChanged(); 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 @@ -509,37 +553,43 @@ 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. */ public Builder setRowCount(long value) { - + rowCount_ = value; onChanged(); return this; } /** + * + * *
      * The count of rows in the returning block.
      * 
* * int64 row_count = 2; + * * @return This builder for chaining. */ public Builder clearRowCount() { - + 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); } @@ -549,12 +599,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(); } @@ -563,16 +613,16 @@ 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 { - return new AvroRows(input, extensionRegistry); - } - }; + 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 { + return new AvroRows(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,6 +637,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 ecf32f9105..27cd68e6fc 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,28 +1,50 @@ +/* + * Copyright 2020 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(); /** + * + * *
    * The count of rows in the returning block.
    * 
* * int64 row_count = 2; + * * @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/AvroSchema.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroSchema.java similarity index 68% 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 e3f0717013..0bb1a64fdc 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,40 +1,57 @@ +/* + * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AvroSchema( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,53 +70,59 @@ private AvroSchema( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - schema_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + schema_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -108,30 +131,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 { @@ -140,6 +163,7 @@ public java.lang.String getSchema() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,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 (!getSchemaBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, schema_); } @@ -176,15 +199,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -203,118 +226,127 @@ 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() @@ -322,16 +354,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +372,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 @@ -362,7 +393,8 @@ 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); + com.google.cloud.bigquery.storage.v1.AvroSchema result = + new com.google.cloud.bigquery.storage.v1.AvroSchema(this); result.schema_ = schema_; onBuilt(); return result; @@ -372,38 +404,39 @@ public com.google.cloud.bigquery.storage.v1.AvroSchema buildPartial() { 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; @@ -411,7 +444,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_; onChanged(); @@ -447,19 +481,21 @@ public Builder mergeFrom( 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; @@ -468,21 +504,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 { @@ -490,64 +527,71 @@ 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) { + public Builder setSchema(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + schema_ = value; 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() { - + schema_ = getDefaultInstance().getSchema(); onChanged(); 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) { + public Builder setSchemaBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + schema_ = value; 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); } @@ -557,12 +601,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(); } @@ -571,16 +615,16 @@ 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 { - return new AvroSchema(input, extensionRegistry); - } - }; + 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 { + return new AvroSchema(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -595,6 +639,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..2612720e29 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 2020 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/CreateReadSessionRequest.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/CreateReadSessionRequest.java similarity index 64% 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 3da6750d8e..17d536045d 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,40 +1,57 @@ +/* + * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateReadSessionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,71 +70,82 @@ private CreateReadSessionRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.bigquery.storage.v1.ReadSession.Builder subBuilder = null; - if (readSession_ != null) { - subBuilder = readSession_.toBuilder(); + parent_ = s; + break; } - readSession_ = input.readMessage(com.google.cloud.bigquery.storage.v1.ReadSession.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readSession_); - readSession_ = subBuilder.buildPartial(); - } - - break; - } - case 24: { + case 18: + { + com.google.cloud.bigquery.storage.v1.ReadSession.Builder subBuilder = null; + if (readSession_ != null) { + subBuilder = readSession_.toBuilder(); + } + readSession_ = + input.readMessage( + com.google.cloud.bigquery.storage.v1.ReadSession.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readSession_); + readSession_ = subBuilder.buildPartial(); + } - maxStreamCount_ = input.readInt32(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + case 24: + { + maxStreamCount_ = input.readInt32(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -126,30 +154,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 { @@ -160,11 +190,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 @@ -172,23 +207,34 @@ 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() { @@ -198,6 +244,8 @@ public com.google.cloud.bigquery.storage.v1.ReadSessionOrBuilder getReadSessionO public static final int MAX_STREAM_COUNT_FIELD_NUMBER = 3; 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
@@ -209,6 +257,7 @@ public com.google.cloud.bigquery.storage.v1.ReadSessionOrBuilder getReadSessionO
    * 
* * int32 max_stream_count = 3; + * * @return The maxStreamCount. */ @java.lang.Override @@ -217,6 +266,7 @@ public int getMaxStreamCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -228,8 +278,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 (!getParentBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -252,12 +301,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -267,22 +314,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.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 (getMaxStreamCount() != other.getMaxStreamCount()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -308,117 +353,127 @@ 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() @@ -426,16 +481,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -453,13 +507,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(); } @@ -474,7 +529,8 @@ 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); + com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest result = + new com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest(this); result.parent_ = parent_; if (readSessionBuilder_ == null) { result.readSession_ = readSession_; @@ -490,38 +546,39 @@ public com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest buildPartia 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; @@ -529,7 +586,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_; onChanged(); @@ -559,7 +618,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -571,19 +632,23 @@ public Builder mergeFrom( 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; @@ -592,21 +657,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 { @@ -614,57 +682,70 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -672,39 +753,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 readSessionBuilder_ != null || 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. */ 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) { @@ -720,11 +820,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) { @@ -738,17 +842,23 @@ 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 (readSession_ != null) { readSession_ = - com.google.cloud.bigquery.storage.v1.ReadSession.newBuilder(readSession_).mergeFrom(value).buildPartial(); + com.google.cloud.bigquery.storage.v1.ReadSession.newBuilder(readSession_) + .mergeFrom(value) + .buildPartial(); } else { readSession_ = value; } @@ -760,11 +870,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() { if (readSessionBuilder_ == null) { @@ -778,55 +892,73 @@ 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() { - + onChanged(); 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
@@ -838,6 +970,7 @@ public com.google.cloud.bigquery.storage.v1.ReadSessionOrBuilder getReadSessionO
      * 
* * int32 max_stream_count = 3; + * * @return The maxStreamCount. */ @java.lang.Override @@ -845,6 +978,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
@@ -856,16 +991,19 @@ public int getMaxStreamCount() {
      * 
* * int32 max_stream_count = 3; + * * @param value The maxStreamCount to set. * @return This builder for chaining. */ public Builder setMaxStreamCount(int value) { - + maxStreamCount_ = value; onChanged(); 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
@@ -877,17 +1015,18 @@ public Builder setMaxStreamCount(int value) {
      * 
* * int32 max_stream_count = 3; + * * @return This builder for chaining. */ public Builder clearMaxStreamCount() { - + maxStreamCount_ = 0; 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); } @@ -897,12 +1036,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(); } @@ -911,16 +1051,16 @@ 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 { - return new CreateReadSessionRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateReadSessionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -935,6 +1075,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 55% 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 ed831fb1f2..d522222bc1 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 2020 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
@@ -68,6 +109,7 @@ public interface CreateReadSessionRequestOrBuilder extends
    * 
* * int32 max_stream_count = 3; + * * @return The maxStreamCount. */ int getMaxStreamCount(); 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 66% 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 f48fe91b5f..7829837394 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,22 +1,38 @@ +/* + * Copyright 2020 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 { - /** - * 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,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;
@@ -143,4 +162,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/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/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 66%
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 3a0d94ac7f..2888d7251e 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,40 +1,57 @@
+/*
+ * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ReadRowsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,57 +70,65 @@ private ReadRowsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - readStream_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - offset_ = input.readInt64(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + readStream_ = s; + break; + } + case 16: + { + offset_ = input.readInt64(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -112,29 +137,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 { @@ -145,6 +172,8 @@ public java.lang.String getReadStream() { public static final int OFFSET_FIELD_NUMBER = 2; 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
@@ -152,6 +181,7 @@ public java.lang.String getReadStream() {
    * 
* * int64 offset = 2; + * * @return The offset. */ @java.lang.Override @@ -160,6 +190,7 @@ public long getOffset() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +202,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 (!getReadStreamBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, readStream_); } @@ -192,8 +222,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -203,17 +232,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -228,125 +256,133 @@ 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) + unknownFields.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() @@ -354,16 +390,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -375,9 +410,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 @@ -396,7 +431,8 @@ 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); + com.google.cloud.bigquery.storage.v1.ReadRowsRequest result = + new com.google.cloud.bigquery.storage.v1.ReadRowsRequest(this); result.readStream_ = readStream_; result.offset_ = offset_; onBuilt(); @@ -407,38 +443,39 @@ public com.google.cloud.bigquery.storage.v1.ReadRowsRequest buildPartial() { 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; @@ -446,7 +483,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_; onChanged(); @@ -473,7 +511,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1.ReadRowsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1.ReadRowsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -485,18 +524,22 @@ public Builder mergeFrom( 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; @@ -505,20 +548,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 { @@ -526,61 +572,76 @@ 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) { + public Builder setReadStream(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + readStream_ = value; 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() { - + readStream_ = getDefaultInstance().getReadStream(); 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) = { ... } + * + * * @param value The bytes for readStream to set. * @return This builder for chaining. */ - public Builder setReadStreamBytes( - com.google.protobuf.ByteString value) { + public Builder setReadStreamBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + readStream_ = value; onChanged(); 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
@@ -588,6 +649,7 @@ public Builder setReadStreamBytes(
      * 
* * int64 offset = 2; + * * @return The offset. */ @java.lang.Override @@ -595,6 +657,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
@@ -602,16 +666,19 @@ public long getOffset() {
      * 
* * int64 offset = 2; + * * @param value The offset to set. * @return This builder for chaining. */ public Builder setOffset(long value) { - + offset_ = value; onChanged(); 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
@@ -619,17 +686,18 @@ public Builder setOffset(long value) {
      * 
* * int64 offset = 2; + * * @return This builder for chaining. */ public Builder clearOffset() { - + offset_ = 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); } @@ -639,12 +707,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(); } @@ -653,16 +721,16 @@ 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 { - return new ReadRowsRequest(input, extensionRegistry); - } - }; + 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 { + return new ReadRowsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -677,6 +745,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..ae6058f280 --- /dev/null +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsRequestOrBuilder.java @@ -0,0 +1,69 @@ +/* + * Copyright 2020 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 67% 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 385aab6604..5c4fbc3594 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 2020 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,30 +28,29 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ReadRowsResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -53,134 +69,158 @@ private ReadRowsResponse(
           case 0:
             done = true;
             break;
-          case 18: {
-            com.google.cloud.bigquery.storage.v1.StreamStats.Builder subBuilder = null;
-            if (stats_ != null) {
-              subBuilder = stats_.toBuilder();
+          case 18:
+            {
+              com.google.cloud.bigquery.storage.v1.StreamStats.Builder subBuilder = null;
+              if (stats_ != null) {
+                subBuilder = stats_.toBuilder();
+              }
+              stats_ =
+                  input.readMessage(
+                      com.google.cloud.bigquery.storage.v1.StreamStats.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(stats_);
+                stats_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            stats_ = input.readMessage(com.google.cloud.bigquery.storage.v1.StreamStats.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(stats_);
-              stats_ = subBuilder.buildPartial();
+          case 26:
+            {
+              com.google.cloud.bigquery.storage.v1.AvroRows.Builder subBuilder = null;
+              if (rowsCase_ == 3) {
+                subBuilder = ((com.google.cloud.bigquery.storage.v1.AvroRows) rows_).toBuilder();
+              }
+              rows_ =
+                  input.readMessage(
+                      com.google.cloud.bigquery.storage.v1.AvroRows.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.cloud.bigquery.storage.v1.AvroRows) rows_);
+                rows_ = subBuilder.buildPartial();
+              }
+              rowsCase_ = 3;
+              break;
             }
-
-            break;
-          }
-          case 26: {
-            com.google.cloud.bigquery.storage.v1.AvroRows.Builder subBuilder = null;
-            if (rowsCase_ == 3) {
-              subBuilder = ((com.google.cloud.bigquery.storage.v1.AvroRows) rows_).toBuilder();
+          case 34:
+            {
+              com.google.cloud.bigquery.storage.v1.ArrowRecordBatch.Builder subBuilder = null;
+              if (rowsCase_ == 4) {
+                subBuilder =
+                    ((com.google.cloud.bigquery.storage.v1.ArrowRecordBatch) rows_).toBuilder();
+              }
+              rows_ =
+                  input.readMessage(
+                      com.google.cloud.bigquery.storage.v1.ArrowRecordBatch.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.cloud.bigquery.storage.v1.ArrowRecordBatch) rows_);
+                rows_ = subBuilder.buildPartial();
+              }
+              rowsCase_ = 4;
+              break;
             }
-            rows_ =
-                input.readMessage(com.google.cloud.bigquery.storage.v1.AvroRows.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.bigquery.storage.v1.AvroRows) rows_);
-              rows_ = subBuilder.buildPartial();
+          case 42:
+            {
+              com.google.cloud.bigquery.storage.v1.ThrottleState.Builder subBuilder = null;
+              if (throttleState_ != null) {
+                subBuilder = throttleState_.toBuilder();
+              }
+              throttleState_ =
+                  input.readMessage(
+                      com.google.cloud.bigquery.storage.v1.ThrottleState.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(throttleState_);
+                throttleState_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            rowsCase_ = 3;
-            break;
-          }
-          case 34: {
-            com.google.cloud.bigquery.storage.v1.ArrowRecordBatch.Builder subBuilder = null;
-            if (rowsCase_ == 4) {
-              subBuilder = ((com.google.cloud.bigquery.storage.v1.ArrowRecordBatch) rows_).toBuilder();
+          case 48:
+            {
+              rowCount_ = input.readInt64();
+              break;
             }
-            rows_ =
-                input.readMessage(com.google.cloud.bigquery.storage.v1.ArrowRecordBatch.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.bigquery.storage.v1.ArrowRecordBatch) rows_);
-              rows_ = subBuilder.buildPartial();
+          case 58:
+            {
+              com.google.cloud.bigquery.storage.v1.AvroSchema.Builder subBuilder = null;
+              if (schemaCase_ == 7) {
+                subBuilder =
+                    ((com.google.cloud.bigquery.storage.v1.AvroSchema) schema_).toBuilder();
+              }
+              schema_ =
+                  input.readMessage(
+                      com.google.cloud.bigquery.storage.v1.AvroSchema.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.cloud.bigquery.storage.v1.AvroSchema) schema_);
+                schema_ = subBuilder.buildPartial();
+              }
+              schemaCase_ = 7;
+              break;
             }
-            rowsCase_ = 4;
-            break;
-          }
-          case 42: {
-            com.google.cloud.bigquery.storage.v1.ThrottleState.Builder subBuilder = null;
-            if (throttleState_ != null) {
-              subBuilder = throttleState_.toBuilder();
+          case 66:
+            {
+              com.google.cloud.bigquery.storage.v1.ArrowSchema.Builder subBuilder = null;
+              if (schemaCase_ == 8) {
+                subBuilder =
+                    ((com.google.cloud.bigquery.storage.v1.ArrowSchema) schema_).toBuilder();
+              }
+              schema_ =
+                  input.readMessage(
+                      com.google.cloud.bigquery.storage.v1.ArrowSchema.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.cloud.bigquery.storage.v1.ArrowSchema) schema_);
+                schema_ = subBuilder.buildPartial();
+              }
+              schemaCase_ = 8;
+              break;
             }
-            throttleState_ = input.readMessage(com.google.cloud.bigquery.storage.v1.ThrottleState.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(throttleState_);
-              throttleState_ = subBuilder.buildPartial();
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-
-            break;
-          }
-          case 48: {
-
-            rowCount_ = input.readInt64();
-            break;
-          }
-          case 58: {
-            com.google.cloud.bigquery.storage.v1.AvroSchema.Builder subBuilder = null;
-            if (schemaCase_ == 7) {
-              subBuilder = ((com.google.cloud.bigquery.storage.v1.AvroSchema) schema_).toBuilder();
-            }
-            schema_ =
-                input.readMessage(com.google.cloud.bigquery.storage.v1.AvroSchema.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.bigquery.storage.v1.AvroSchema) schema_);
-              schema_ = subBuilder.buildPartial();
-            }
-            schemaCase_ = 7;
-            break;
-          }
-          case 66: {
-            com.google.cloud.bigquery.storage.v1.ArrowSchema.Builder subBuilder = null;
-            if (schemaCase_ == 8) {
-              subBuilder = ((com.google.cloud.bigquery.storage.v1.ArrowSchema) schema_).toBuilder();
-            }
-            schema_ =
-                input.readMessage(com.google.cloud.bigquery.storage.v1.ArrowSchema.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.bigquery.storage.v1.ArrowSchema) schema_);
-              schema_ = subBuilder.buildPartial();
-            }
-            schemaCase_ = 8;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
-            }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  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;
   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;
     }
@@ -196,32 +236,38 @@ 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;
   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;
     }
@@ -237,30 +283,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 @@ -268,21 +320,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.
    * 
@@ -292,18 +349,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 @@ -311,21 +371,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.
    * 
@@ -333,9 +398,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(); } @@ -343,11 +409,14 @@ public com.google.cloud.bigquery.storage.v1.ArrowRecordBatchOrBuilder getArrowRe public static final int ROW_COUNT_FIELD_NUMBER = 6; private long rowCount_; /** + * + * *
    * Number of serialized rows in the rows block.
    * 
* * int64 row_count = 6; + * * @return The rowCount. */ @java.lang.Override @@ -358,11 +427,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 @@ -370,18 +442,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.
    * 
@@ -396,12 +475,15 @@ public com.google.cloud.bigquery.storage.v1.StreamStatsOrBuilder getStatsOrBuild 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 @@ -409,19 +491,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.
@@ -436,11 +525,16 @@ public com.google.cloud.bigquery.storage.v1.ThrottleStateOrBuilder getThrottleSt
 
   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 @@ -448,42 +542,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 @@ -491,36 +599,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; @@ -532,8 +650,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()); } @@ -565,32 +682,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -600,34 +718,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: @@ -635,12 +749,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: @@ -657,8 +769,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(); @@ -697,96 +808,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.
@@ -794,21 +913,23 @@ 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()
@@ -816,16 +937,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -851,9 +971,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
@@ -872,7 +992,8 @@ 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);
+      com.google.cloud.bigquery.storage.v1.ReadRowsResponse result =
+          new com.google.cloud.bigquery.storage.v1.ReadRowsResponse(this);
       if (rowsCase_ == 3) {
         if (avroRowsBuilder_ == null) {
           result.rows_ = rows_;
@@ -922,38 +1043,39 @@ public com.google.cloud.bigquery.storage.v1.ReadRowsResponse buildPartial() {
     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;
@@ -961,7 +1083,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());
       }
@@ -972,30 +1095,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.unknownFields);
       onChanged();
@@ -1016,7 +1145,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.bigquery.storage.v1.ReadRowsResponse) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.bigquery.storage.v1.ReadRowsResponse) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1025,12 +1155,12 @@ public Builder mergeFrom(
       }
       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() {
@@ -1042,10 +1172,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() {
@@ -1055,15 +1184,20 @@ public Builder clearSchema() {
       return this;
     }
 
-
     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 @@ -1071,11 +1205,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 @@ -1093,6 +1230,8 @@ public com.google.cloud.bigquery.storage.v1.AvroRows getAvroRows() { } } /** + * + * *
      * Serialized row data in AVRO format.
      * 
@@ -1113,6 +1252,8 @@ public Builder setAvroRows(com.google.cloud.bigquery.storage.v1.AvroRows value) return this; } /** + * + * *
      * Serialized row data in AVRO format.
      * 
@@ -1131,6 +1272,8 @@ public Builder setAvroRows( return this; } /** + * + * *
      * Serialized row data in AVRO format.
      * 
@@ -1139,10 +1282,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; } @@ -1157,6 +1303,8 @@ public Builder mergeAvroRows(com.google.cloud.bigquery.storage.v1.AvroRows value return this; } /** + * + * *
      * Serialized row data in AVRO format.
      * 
@@ -1180,6 +1328,8 @@ public Builder clearAvroRows() { return this; } /** + * + * *
      * Serialized row data in AVRO format.
      * 
@@ -1190,6 +1340,8 @@ public com.google.cloud.bigquery.storage.v1.AvroRows.Builder getAvroRowsBuilder( return getAvroRowsFieldBuilder().getBuilder(); } /** + * + * *
      * Serialized row data in AVRO format.
      * 
@@ -1208,6 +1360,8 @@ public com.google.cloud.bigquery.storage.v1.AvroRowsOrBuilder getAvroRowsOrBuild } } /** + * + * *
      * Serialized row data in AVRO format.
      * 
@@ -1215,32 +1369,44 @@ 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()); rows_ = null; } rowsCase_ = 3; - onChanged();; + onChanged(); + ; return avroRowsBuilder_; } 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 @@ -1248,11 +1414,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 @@ -1270,13 +1439,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(); @@ -1290,6 +1462,8 @@ public Builder setArrowRecordBatch(com.google.cloud.bigquery.storage.v1.ArrowRec return this; } /** + * + * *
      * Serialized row data in Arrow RecordBatch format.
      * 
@@ -1308,18 +1482,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; } @@ -1334,6 +1515,8 @@ public Builder mergeArrowRecordBatch(com.google.cloud.bigquery.storage.v1.ArrowR return this; } /** + * + * *
      * Serialized row data in Arrow RecordBatch format.
      * 
@@ -1357,16 +1540,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.
      * 
@@ -1374,7 +1562,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 { @@ -1385,6 +1574,8 @@ public com.google.cloud.bigquery.storage.v1.ArrowRecordBatchOrBuilder getArrowRe } } /** + * + * *
      * Serialized row data in Arrow RecordBatch format.
      * 
@@ -1392,31 +1583,40 @@ 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()); rows_ = null; } rowsCase_ = 4; - onChanged();; + onChanged(); + ; 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 @@ -1424,30 +1624,36 @@ 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. */ public Builder setRowCount(long value) { - + rowCount_ = value; onChanged(); return this; } /** + * + * *
      * Number of serialized rows in the rows block.
      * 
* * int64 row_count = 6; + * * @return This builder for chaining. */ public Builder clearRowCount() { - + rowCount_ = 0L; onChanged(); return this; @@ -1455,34 +1661,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 statsBuilder_ != null || stats_ != null; } /** + * + * *
      * 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.
      * 
@@ -1503,6 +1722,8 @@ public Builder setStats(com.google.cloud.bigquery.storage.v1.StreamStats value) return this; } /** + * + * *
      * Statistics for the stream.
      * 
@@ -1521,6 +1742,8 @@ public Builder setStats( return this; } /** + * + * *
      * Statistics for the stream.
      * 
@@ -1531,7 +1754,9 @@ public Builder mergeStats(com.google.cloud.bigquery.storage.v1.StreamStats value if (statsBuilder_ == null) { if (stats_ != null) { stats_ = - com.google.cloud.bigquery.storage.v1.StreamStats.newBuilder(stats_).mergeFrom(value).buildPartial(); + com.google.cloud.bigquery.storage.v1.StreamStats.newBuilder(stats_) + .mergeFrom(value) + .buildPartial(); } else { stats_ = value; } @@ -1543,6 +1768,8 @@ public Builder mergeStats(com.google.cloud.bigquery.storage.v1.StreamStats value return this; } /** + * + * *
      * Statistics for the stream.
      * 
@@ -1561,6 +1788,8 @@ public Builder clearStats() { return this; } /** + * + * *
      * Statistics for the stream.
      * 
@@ -1568,11 +1797,13 @@ public Builder clearStats() { * .google.cloud.bigquery.storage.v1.StreamStats stats = 2; */ public com.google.cloud.bigquery.storage.v1.StreamStats.Builder getStatsBuilder() { - + onChanged(); return getStatsFieldBuilder().getBuilder(); } /** + * + * *
      * Statistics for the stream.
      * 
@@ -1583,11 +1814,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.
      * 
@@ -1595,14 +1829,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_; @@ -1610,36 +1847,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 throttleStateBuilder_ != null || 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. */ 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.
@@ -1661,6 +1911,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.
@@ -1680,6 +1932,8 @@ public Builder setThrottleState(
       return this;
     }
     /**
+     *
+     *
      * 
      * Throttling state. If unset, the latest response still describes
      * the current throttling status.
@@ -1691,7 +1945,9 @@ public Builder mergeThrottleState(com.google.cloud.bigquery.storage.v1.ThrottleS
       if (throttleStateBuilder_ == null) {
         if (throttleState_ != null) {
           throttleState_ =
-            com.google.cloud.bigquery.storage.v1.ThrottleState.newBuilder(throttleState_).mergeFrom(value).buildPartial();
+              com.google.cloud.bigquery.storage.v1.ThrottleState.newBuilder(throttleState_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           throttleState_ = value;
         }
@@ -1703,6 +1959,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.
@@ -1722,6 +1980,8 @@ public Builder clearThrottleState() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Throttling state. If unset, the latest response still describes
      * the current throttling status.
@@ -1730,11 +1990,13 @@ public Builder clearThrottleState() {
      * .google.cloud.bigquery.storage.v1.ThrottleState throttle_state = 5;
      */
     public com.google.cloud.bigquery.storage.v1.ThrottleState.Builder getThrottleStateBuilder() {
-      
+
       onChanged();
       return getThrottleStateFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Throttling state. If unset, the latest response still describes
      * the current throttling status.
@@ -1746,11 +2008,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.
@@ -1759,27 +2024,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 @@ -1787,11 +2063,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 @@ -1809,11 +2090,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) { @@ -1829,11 +2114,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) { @@ -1847,18 +2136,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; } @@ -1873,11 +2169,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) { @@ -1896,21 +2196,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() { @@ -1924,39 +2232,57 @@ 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()); schema_ = null; } schemaCase_ = 7; - onChanged();; + onChanged(); + ; return avroSchemaBuilder_; } 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 @@ -1964,11 +2290,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 @@ -1986,11 +2317,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) { @@ -2006,11 +2341,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) { @@ -2024,18 +2363,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; } @@ -2050,11 +2396,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) { @@ -2073,21 +2423,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() { @@ -2101,33 +2459,43 @@ 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()); schema_ = null; } schemaCase_ = 8; - onChanged();; + 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); } @@ -2137,12 +2505,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(); } @@ -2151,16 +2519,16 @@ 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 { - return new ReadRowsResponse(input, extensionRegistry); - } - }; + 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 { + return new ReadRowsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2175,6 +2543,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 547f7fccd0..18a490ad63 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 2020 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 67% 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 6931732b95..3ac0174b58 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 2020 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; @@ -28,16 +46,15 @@ private ReadSession() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ReadSession(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ReadSession( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -57,114 +74,137 @@ private ReadSession( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (expireTime_ != null) { - subBuilder = expireTime_.toBuilder(); - } - expireTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(expireTime_); - expireTime_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (expireTime_ != null) { + subBuilder = expireTime_.toBuilder(); + } + expireTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(expireTime_); + expireTime_ = subBuilder.buildPartial(); + } - break; - } - case 24: { - int rawValue = input.readEnum(); - - dataFormat_ = rawValue; - break; - } - case 34: { - com.google.cloud.bigquery.storage.v1.AvroSchema.Builder subBuilder = null; - if (schemaCase_ == 4) { - subBuilder = ((com.google.cloud.bigquery.storage.v1.AvroSchema) schema_).toBuilder(); + break; } - schema_ = - input.readMessage(com.google.cloud.bigquery.storage.v1.AvroSchema.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.bigquery.storage.v1.AvroSchema) schema_); - schema_ = subBuilder.buildPartial(); + case 24: + { + int rawValue = input.readEnum(); + + dataFormat_ = rawValue; + break; } - schemaCase_ = 4; - break; - } - case 42: { - com.google.cloud.bigquery.storage.v1.ArrowSchema.Builder subBuilder = null; - if (schemaCase_ == 5) { - subBuilder = ((com.google.cloud.bigquery.storage.v1.ArrowSchema) schema_).toBuilder(); + case 34: + { + com.google.cloud.bigquery.storage.v1.AvroSchema.Builder subBuilder = null; + if (schemaCase_ == 4) { + subBuilder = + ((com.google.cloud.bigquery.storage.v1.AvroSchema) schema_).toBuilder(); + } + schema_ = + input.readMessage( + com.google.cloud.bigquery.storage.v1.AvroSchema.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.bigquery.storage.v1.AvroSchema) schema_); + schema_ = subBuilder.buildPartial(); + } + schemaCase_ = 4; + break; } - schema_ = - input.readMessage(com.google.cloud.bigquery.storage.v1.ArrowSchema.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.bigquery.storage.v1.ArrowSchema) schema_); - schema_ = subBuilder.buildPartial(); + case 42: + { + com.google.cloud.bigquery.storage.v1.ArrowSchema.Builder subBuilder = null; + if (schemaCase_ == 5) { + subBuilder = + ((com.google.cloud.bigquery.storage.v1.ArrowSchema) schema_).toBuilder(); + } + schema_ = + input.readMessage( + com.google.cloud.bigquery.storage.v1.ArrowSchema.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.bigquery.storage.v1.ArrowSchema) schema_); + schema_ = subBuilder.buildPartial(); + } + schemaCase_ = 5; + break; } - schemaCase_ = 5; - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - table_ = s; - break; - } - case 58: { - com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.Builder subBuilder = null; - if (tableModifiers_ != null) { - subBuilder = tableModifiers_.toBuilder(); - } - tableModifiers_ = input.readMessage(com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tableModifiers_); - tableModifiers_ = subBuilder.buildPartial(); + table_ = s; + break; } + case 58: + { + com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.Builder subBuilder = + null; + if (tableModifiers_ != null) { + subBuilder = tableModifiers_.toBuilder(); + } + tableModifiers_ = + input.readMessage( + com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tableModifiers_); + tableModifiers_ = subBuilder.buildPartial(); + } - break; - } - case 66: { - com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.Builder subBuilder = null; - if (readOptions_ != null) { - subBuilder = readOptions_.toBuilder(); - } - readOptions_ = input.readMessage(com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readOptions_); - readOptions_ = subBuilder.buildPartial(); + break; } + case 66: + { + com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.Builder subBuilder = + null; + if (readOptions_ != null) { + subBuilder = readOptions_.toBuilder(); + } + readOptions_ = + input.readMessage( + com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readOptions_); + readOptions_ = subBuilder.buildPartial(); + } - break; - } - case 82: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - streams_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + break; } - streams_.add( - input.readMessage(com.google.cloud.bigquery.storage.v1.ReadStream.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 82: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + streams_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + streams_.add( + input.readMessage( + com.google.cloud.bigquery.storage.v1.ReadStream.parser(), extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { streams_ = java.util.Collections.unmodifiableList(streams_); @@ -173,42 +213,54 @@ private ReadSession( makeExtensionsImmutable(); } } - 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.
      * 
@@ -218,36 +270,37 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TableModifiers( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -266,59 +319,66 @@ private TableModifiers( case 0: done = true; break; - case 10: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (snapshotTime_ != null) { - subBuilder = snapshotTime_.toBuilder(); - } - snapshotTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(snapshotTime_); - snapshotTime_ = subBuilder.buildPartial(); + case 10: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (snapshotTime_ != null) { + subBuilder = snapshotTime_.toBuilder(); + } + snapshotTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(snapshotTime_); + snapshotTime_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 @@ -326,18 +386,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.
      * 
@@ -350,6 +417,7 @@ public com.google.protobuf.TimestampOrBuilder getSnapshotTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -361,8 +429,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()); } @@ -376,8 +443,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -387,17 +453,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -420,87 +486,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 @@ -510,44 +584,49 @@ 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() + // Construct using + // com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -561,13 +640,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(); } @@ -582,7 +662,8 @@ 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); + com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers result = + new com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers(this); if (snapshotTimeBuilder_ == null) { result.snapshotTime_ = snapshotTime_; } else { @@ -596,46 +677,52 @@ public com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers buildPart 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()); } @@ -658,7 +745,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -670,34 +759,47 @@ public Builder mergeFrom( 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 snapshotTimeBuilder_ != null || snapshotTime_ != null; } /** + * + * *
        * 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.
        * 
@@ -718,14 +820,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(); onChanged(); @@ -736,6 +839,8 @@ public Builder setSnapshotTime( return this; } /** + * + * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -746,7 +851,9 @@ public Builder mergeSnapshotTime(com.google.protobuf.Timestamp value) { if (snapshotTimeBuilder_ == null) { if (snapshotTime_ != null) { snapshotTime_ = - com.google.protobuf.Timestamp.newBuilder(snapshotTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(snapshotTime_) + .mergeFrom(value) + .buildPartial(); } else { snapshotTime_ = value; } @@ -758,6 +865,8 @@ public Builder mergeSnapshotTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -776,6 +885,8 @@ public Builder clearSnapshotTime() { return this; } /** + * + * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -783,11 +894,13 @@ public Builder clearSnapshotTime() { * .google.protobuf.Timestamp snapshot_time = 1; */ public com.google.protobuf.Timestamp.Builder getSnapshotTimeBuilder() { - + onChanged(); return getSnapshotTimeFieldBuilder().getBuilder(); } /** + * + * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -798,11 +911,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.
        * 
@@ -810,18 +926,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) { @@ -834,30 +954,32 @@ 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 { - return new TableModifiers(input, extensionRegistry); - } - }; + 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 { + return new TableModifiers(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -869,17 +991,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 { /** + * + * *
      * 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
@@ -888,11 +1013,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
@@ -901,10 +1028,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
@@ -913,11 +1043,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
@@ -926,13 +1059,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.
@@ -945,10 +1080,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.
@@ -961,56 +1099,76 @@ 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(); - public com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.OutputFormatSerializationOptionsCase getOutputFormatSerializationOptionsCase(); + public 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.EMPTY; rowRestriction_ = ""; @@ -1018,16 +1176,15 @@ private TableReadOptions() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TableReadOptions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TableReadOptions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1047,49 +1204,59 @@ private TableReadOptions( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - selectedFields_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + selectedFields_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + selectedFields_.add(s); + break; } - selectedFields_.add(s); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - rowRestriction_ = s; - break; - } - case 26: { - com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.Builder subBuilder = null; - if (outputFormatSerializationOptionsCase_ == 3) { - subBuilder = ((com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions) outputFormatSerializationOptions_).toBuilder(); + rowRestriction_ = s; + break; } - outputFormatSerializationOptions_ = - input.readMessage(com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions) outputFormatSerializationOptions_); - outputFormatSerializationOptions_ = subBuilder.buildPartial(); + case 26: + { + com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.Builder subBuilder = + null; + if (outputFormatSerializationOptionsCase_ == 3) { + subBuilder = + ((com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions) + outputFormatSerializationOptions_) + .toBuilder(); + } + outputFormatSerializationOptions_ = + input.readMessage( + com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions) + outputFormatSerializationOptions_); + outputFormatSerializationOptions_ = subBuilder.buildPartial(); + } + outputFormatSerializationOptionsCase_ = 3; + break; } - outputFormatSerializationOptionsCase_ = 3; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { selectedFields_ = selectedFields_.getUnmodifiableView(); @@ -1098,27 +1265,33 @@ private TableReadOptions( makeExtensionsImmutable(); } } - 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 outputFormatSerializationOptionsCase_ = 0; 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), OUTPUTFORMATSERIALIZATIONOPTIONS_NOT_SET(0); private final int value; + private OutputFormatSerializationOptionsCase(int value) { this.value = value; } @@ -1134,25 +1307,29 @@ public static OutputFormatSerializationOptionsCase valueOf(int value) { public static OutputFormatSerializationOptionsCase forNumber(int value) { switch (value) { - case 3: return ARROW_SERIALIZATION_OPTIONS; - case 0: return OUTPUTFORMATSERIALIZATIONOPTIONS_NOT_SET; - default: return null; + case 3: + return ARROW_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; private com.google.protobuf.LazyStringList 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
@@ -1161,13 +1338,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_; } /** + * + * *
      * 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
@@ -1176,12 +1355,15 @@ public int getNumber() {
      * 
* * 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
@@ -1190,6 +1372,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. */ @@ -1197,6 +1380,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
@@ -1205,17 +1390,19 @@ 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; private volatile java.lang.Object rowRestriction_; /** + * + * *
      * SQL text filtering statement, similar to a WHERE clause in a query.
      * Aggregates are not supported.
@@ -1228,6 +1415,7 @@ public java.lang.String getSelectedFields(int index) {
      * 
* * string row_restriction = 2; + * * @return The rowRestriction. */ @java.lang.Override @@ -1236,14 +1424,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.
@@ -1256,16 +1445,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 { @@ -1275,11 +1463,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 @@ -1287,36 +1480,50 @@ 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(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1328,8 +1535,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)); } @@ -1337,7 +1543,10 @@ 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_); } unknownFields.writeTo(output); } @@ -1360,8 +1569,11 @@ 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_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1371,22 +1583,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.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 (!getOutputFormatSerializationOptionsCase().equals(other.getOutputFormatSerializationOptionsCase())) return false; + if (!getSelectedFieldsList().equals(other.getSelectedFieldsList())) return false; + if (!getRowRestriction().equals(other.getRowRestriction())) 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 0: default: @@ -1422,87 +1634,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 @@ -1512,44 +1732,49 @@ 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() + // Construct using + // com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1563,14 +1788,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 @@ -1584,7 +1811,8 @@ 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); + com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions result = + new com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { selectedFields_ = selectedFields_.getUnmodifiableView(); @@ -1608,46 +1836,53 @@ public com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions buildPa 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_; @@ -1663,13 +1898,15 @@ public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.ReadSession.TableR onChanged(); } switch (other.getOutputFormatSerializationOptionsCase()) { - case ARROW_SERIALIZATION_OPTIONS: { - mergeArrowSerializationOptions(other.getArrowSerializationOptions()); - break; - } - case OUTPUTFORMATSERIALIZATIONOPTIONS_NOT_SET: { - break; - } + case ARROW_SERIALIZATION_OPTIONS: + { + mergeArrowSerializationOptions(other.getArrowSerializationOptions()); + break; + } + case OUTPUTFORMATSERIALIZATIONOPTIONS_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -1690,7 +1927,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1699,10 +1938,11 @@ public Builder mergeFrom( } return this; } + private int outputFormatSerializationOptionsCase_ = 0; private java.lang.Object outputFormatSerializationOptions_; - public OutputFormatSerializationOptionsCase - getOutputFormatSerializationOptionsCase() { + + public OutputFormatSerializationOptionsCase getOutputFormatSerializationOptionsCase() { return OutputFormatSerializationOptionsCase.forNumber( outputFormatSerializationOptionsCase_); } @@ -1716,14 +1956,18 @@ public Builder clearOutputFormatSerializationOptions() { private int bitField0_; - private com.google.protobuf.LazyStringList selectedFields_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList selectedFields_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureSelectedFieldsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { selectedFields_ = new com.google.protobuf.LazyStringArrayList(selectedFields_); 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
@@ -1732,13 +1976,15 @@ 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() { return selectedFields_.getUnmodifiableView(); } /** + * + * *
        * 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
@@ -1747,12 +1993,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
@@ -1761,6 +2010,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. */ @@ -1768,6 +2018,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
@@ -1776,14 +2028,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
@@ -1792,21 +2046,23 @@ 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) { + public Builder setSelectedFields(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSelectedFieldsIsMutable(); + throw new NullPointerException(); + } + ensureSelectedFieldsIsMutable(); selectedFields_.set(index, value); 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
@@ -1815,20 +2071,22 @@ 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) { + public Builder addSelectedFields(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSelectedFieldsIsMutable(); + throw new NullPointerException(); + } + ensureSelectedFieldsIsMutable(); selectedFields_.add(value); 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
@@ -1837,18 +2095,19 @@ 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_); 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
@@ -1857,6 +2116,7 @@ public Builder addAllSelectedFields(
        * 
* * repeated string selected_fields = 1; + * * @return This builder for chaining. */ public Builder clearSelectedFields() { @@ -1866,6 +2126,8 @@ public Builder clearSelectedFields() { 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
@@ -1874,15 +2136,15 @@ 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) { + public Builder addSelectedFieldsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureSelectedFieldsIsMutable(); selectedFields_.add(value); onChanged(); @@ -1891,6 +2153,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.
@@ -1903,13 +2167,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; @@ -1918,6 +2182,8 @@ public java.lang.String getRowRestriction() { } } /** + * + * *
        * SQL text filtering statement, similar to a WHERE clause in a query.
        * Aggregates are not supported.
@@ -1930,15 +2196,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 { @@ -1946,6 +2211,8 @@ public java.lang.String getRowRestriction() { } } /** + * + * *
        * SQL text filtering statement, similar to a WHERE clause in a query.
        * Aggregates are not supported.
@@ -1958,20 +2225,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) { + public Builder setRowRestriction(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + rowRestriction_ = value; onChanged(); return this; } /** + * + * *
        * SQL text filtering statement, similar to a WHERE clause in a query.
        * Aggregates are not supported.
@@ -1984,15 +2253,18 @@ public Builder setRowRestriction(
        * 
* * string row_restriction = 2; + * * @return This builder for chaining. */ public Builder clearRowRestriction() { - + rowRestriction_ = getDefaultInstance().getRowRestriction(); onChanged(); return this; } /** + * + * *
        * SQL text filtering statement, similar to a WHERE clause in a query.
        * Aggregates are not supported.
@@ -2005,29 +2277,37 @@ 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) { + public Builder setRowRestrictionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + rowRestriction_ = value; onChanged(); return this; } 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 @@ -2035,35 +2315,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(); @@ -2077,11 +2371,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) { @@ -2095,18 +2393,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; } @@ -2121,11 +2430,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) { @@ -2144,58 +2457,84 @@ 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; } outputFormatSerializationOptionsCase_ = 3; - onChanged();; + onChanged(); + ; return arrowSerializationOptionsBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2208,30 +2547,32 @@ 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 { - return new TableReadOptions(input, extensionRegistry); - } - }; + 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 { + return new TableReadOptions(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2243,21 +2584,24 @@ 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; 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; } @@ -2273,32 +2617,38 @@ 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; 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 @@ -2307,30 +2657,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 { @@ -2341,13 +2691,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 @@ -2355,13 +2709,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 @@ -2369,13 +2727,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() { @@ -2385,37 +2746,55 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { public static final int DATA_FORMAT_FIELD_NUMBER = 3; private int dataFormat_; /** + * + * *
    * Immutable. Data format of the output data.
    * 
* - * .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.
    * 
* - * .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() { + @java.lang.Override + public com.google.cloud.bigquery.storage.v1.DataFormat getDataFormat() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.storage.v1.DataFormat result = com.google.cloud.bigquery.storage.v1.DataFormat.valueOf(dataFormat_); + com.google.cloud.bigquery.storage.v1.DataFormat result = + com.google.cloud.bigquery.storage.v1.DataFormat.valueOf(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 @@ -2423,42 +2802,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 @@ -2466,31 +2859,40 @@ 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(); } @@ -2498,12 +2900,17 @@ public com.google.cloud.bigquery.storage.v1.ArrowSchemaOrBuilder getArrowSchemaO public static final int TABLE_FIELD_NUMBER = 6; 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 @@ -2512,30 +2919,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 { @@ -2546,11 +2955,16 @@ 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 @@ -2558,37 +2972,54 @@ 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() { + public com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiersOrBuilder + getTableModifiersOrBuilder() { return getTableModifiers(); } 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 @@ -2596,32 +3027,46 @@ 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() { + public com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptionsOrBuilder + getReadOptionsOrBuilder() { return getReadOptions(); } public static final int STREAMS_FIELD_NUMBER = 10; private java.util.List streams_; /** + * + * *
    * Output only. A list of streams created with the session.
    * At least one stream is created with the session. In the future, larger
@@ -2630,13 +3075,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.
    * At least one stream is created with the session. In the future, larger
@@ -2645,14 +3094,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.
    * At least one stream is created with the session. In the future, larger
@@ -2661,13 +3114,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.
    * At least one stream is created with the session. In the future, larger
@@ -2676,13 +3133,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.
    * At least one stream is created with the session. In the future, larger
@@ -2691,15 +3152,17 @@ 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); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2711,15 +3174,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 (!getNameBytes().isEmpty()) { 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) { @@ -2753,35 +3216,33 @@ 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 (!getTableBytes().isEmpty()) { 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2791,44 +3252,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.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 (!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: @@ -2883,118 +3337,127 @@ 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() @@ -3002,17 +3465,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getStreamsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -3052,9 +3515,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 @@ -3073,7 +3536,8 @@ 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); int from_bitField0_ = bitField0_; result.name_ = name_; if (expireTimeBuilder_ == null) { @@ -3125,38 +3589,39 @@ public com.google.cloud.bigquery.storage.v1.ReadSession buildPartial() { 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; @@ -3164,7 +3629,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_; onChanged(); @@ -3203,26 +3669,30 @@ public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.ReadSession other) 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_); } } } 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.unknownFields); onChanged(); @@ -3252,12 +3722,12 @@ public Builder mergeFrom( } 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() { @@ -3271,19 +3741,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; @@ -3292,21 +3764,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 { @@ -3314,57 +3787,64 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -3372,45 +3852,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 expireTimeBuilder_ != null || 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. */ 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) { @@ -3426,16 +3925,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(); onChanged(); @@ -3446,19 +3948,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 (expireTime_ != null) { expireTime_ = - com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial(); } else { expireTime_ = value; } @@ -3470,13 +3976,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() { if (expireTimeBuilder_ == null) { @@ -3490,54 +4000,70 @@ 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() { - + onChanged(); 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_; @@ -3545,51 +4071,73 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { private int dataFormat_ = 0; /** + * + * *
      * Immutable. Data format of the output data.
      * 
* - * .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.
      * 
* - * .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. */ public Builder setDataFormatValue(int value) { - + dataFormat_ = value; onChanged(); return this; } /** + * + * *
      * Immutable. Data format of the output data.
      * 
* - * .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() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.storage.v1.DataFormat result = com.google.cloud.bigquery.storage.v1.DataFormat.valueOf(dataFormat_); + com.google.cloud.bigquery.storage.v1.DataFormat result = + com.google.cloud.bigquery.storage.v1.DataFormat.valueOf(dataFormat_); return result == null ? com.google.cloud.bigquery.storage.v1.DataFormat.UNRECOGNIZED : result; } /** + * + * *
      * Immutable. Data format of the output data.
      * 
* - * .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. */ @@ -3597,34 +4145,47 @@ public Builder setDataFormat(com.google.cloud.bigquery.storage.v1.DataFormat val if (value == null) { throw new NullPointerException(); } - + dataFormat_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Immutable. Data format of the output data.
      * 
* - * .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() { - + dataFormat_ = 0; onChanged(); return this; } 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 @@ -3632,11 +4193,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 @@ -3654,11 +4220,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) { @@ -3674,11 +4244,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) { @@ -3692,18 +4266,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; } @@ -3718,11 +4299,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) { @@ -3741,21 +4326,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() { @@ -3769,39 +4362,57 @@ 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()); schema_ = null; } schemaCase_ = 4; - onChanged();; + onChanged(); + ; return avroSchemaBuilder_; } 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 @@ -3809,11 +4420,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 @@ -3831,11 +4447,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) { @@ -3851,11 +4471,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) { @@ -3869,18 +4493,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; } @@ -3895,11 +4526,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) { @@ -3918,21 +4553,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() { @@ -3946,46 +4589,60 @@ 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()); schema_ = null; } schemaCase_ = 5; - onChanged();; + onChanged(); + ; return arrowSchemaBuilder_; } 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; @@ -3994,21 +4651,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 { @@ -4016,57 +4676,70 @@ 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) { + public Builder setTable(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + table_ = value; 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() { - + table_ = getDefaultInstance().getTable(); 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) = { ... } + * + * * @param value The bytes for table to set. * @return This builder for chaining. */ - public Builder setTableBytes( - com.google.protobuf.ByteString value) { + public Builder setTableBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + table_ = value; onChanged(); return this; @@ -4074,41 +4747,61 @@ 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 tableModifiersBuilder_ != null || 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. */ 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(); @@ -4122,11 +4815,15 @@ 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) { @@ -4140,17 +4837,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 (tableModifiers_ != null) { tableModifiers_ = - com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.newBuilder(tableModifiers_).mergeFrom(value).buildPartial(); + com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.newBuilder( + tableModifiers_) + .mergeFrom(value) + .buildPartial(); } else { tableModifiers_ = value; } @@ -4162,11 +4867,15 @@ 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() { if (tableModifiersBuilder_ == null) { @@ -4180,48 +4889,66 @@ 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() { + 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_; @@ -4229,41 +4956,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 readOptionsBuilder_ != null || 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. */ 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(); @@ -4277,11 +5024,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) { @@ -4295,17 +5046,25 @@ 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 (readOptions_ != null) { readOptions_ = - com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.newBuilder(readOptions_).mergeFrom(value).buildPartial(); + com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.newBuilder( + readOptions_) + .mergeFrom(value) + .buildPartial(); } else { readOptions_ = value; } @@ -4317,11 +5076,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() { if (readOptionsBuilder_ == null) { @@ -4335,66 +5098,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() { + 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_ & 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.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.
      * At least one stream is created with the session. In the future, larger
@@ -4403,7 +5191,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) { @@ -4413,6 +5203,8 @@ public java.util.List getStream } } /** + * + * *
      * Output only. A list of streams created with the session.
      * At least one stream is created with the session. In the future, larger
@@ -4421,7 +5213,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) { @@ -4431,6 +5225,8 @@ public int getStreamsCount() { } } /** + * + * *
      * Output only. A list of streams created with the session.
      * At least one stream is created with the session. In the future, larger
@@ -4439,7 +5235,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) { @@ -4449,6 +5247,8 @@ public com.google.cloud.bigquery.storage.v1.ReadStream getStreams(int index) { } } /** + * + * *
      * Output only. A list of streams created with the session.
      * At least one stream is created with the session. In the future, larger
@@ -4457,10 +5257,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(); @@ -4474,6 +5275,8 @@ public Builder setStreams( return this; } /** + * + * *
      * Output only. A list of streams created with the session.
      * At least one stream is created with the session. In the future, larger
@@ -4482,7 +5285,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) { @@ -4496,6 +5301,8 @@ public Builder setStreams( return this; } /** + * + * *
      * Output only. A list of streams created with the session.
      * At least one stream is created with the session. In the future, larger
@@ -4504,7 +5311,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) { @@ -4520,6 +5329,8 @@ public Builder addStreams(com.google.cloud.bigquery.storage.v1.ReadStream value) return this; } /** + * + * *
      * Output only. A list of streams created with the session.
      * At least one stream is created with the session. In the future, larger
@@ -4528,10 +5339,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(); @@ -4545,6 +5357,8 @@ public Builder addStreams( return this; } /** + * + * *
      * Output only. A list of streams created with the session.
      * At least one stream is created with the session. In the future, larger
@@ -4553,7 +5367,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) { @@ -4567,6 +5383,8 @@ public Builder addStreams( return this; } /** + * + * *
      * Output only. A list of streams created with the session.
      * At least one stream is created with the session. In the future, larger
@@ -4575,7 +5393,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) { @@ -4589,6 +5409,8 @@ public Builder addStreams( return this; } /** + * + * *
      * Output only. A list of streams created with the session.
      * At least one stream is created with the session. In the future, larger
@@ -4597,14 +5419,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); @@ -4612,6 +5435,8 @@ public Builder addAllStreams( return this; } /** + * + * *
      * Output only. A list of streams created with the session.
      * At least one stream is created with the session. In the future, larger
@@ -4620,7 +5445,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) { @@ -4633,6 +5460,8 @@ public Builder clearStreams() { return this; } /** + * + * *
      * Output only. A list of streams created with the session.
      * At least one stream is created with the session. In the future, larger
@@ -4641,7 +5470,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) { @@ -4654,6 +5485,8 @@ public Builder removeStreams(int index) { return this; } /** + * + * *
      * Output only. A list of streams created with the session.
      * At least one stream is created with the session. In the future, larger
@@ -4662,13 +5495,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.
      * At least one stream is created with the session. In the future, larger
@@ -4677,16 +5513,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.
      * At least one stream is created with the session. In the future, larger
@@ -4695,10 +5535,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 { @@ -4706,6 +5548,8 @@ public com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder getStreamsOrBuil } } /** + * + * *
      * Output only. A list of streams created with the session.
      * At least one stream is created with the session. In the future, larger
@@ -4714,13 +5558,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.
      * At least one stream is created with the session. In the future, larger
@@ -4729,14 +5577,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.
      * At least one stream is created with the session. In the future, larger
@@ -4745,29 +5596,34 @@ 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_ & 0x00000001) != 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_ & 0x00000001) != 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); } @@ -4777,12 +5633,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(); } @@ -4791,16 +5647,16 @@ 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 { - return new ReadSession(input, extensionRegistry); - } - }; + 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 { + return new ReadSession(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4815,6 +5671,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 63% 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 f02584df46..2af6e67b90 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,217 +1,328 @@ +/* + * Copyright 2020 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 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.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.
    * 
* - * .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.
    * At least one stream is created with the session. In the future, larger
@@ -220,11 +331,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.
    * At least one stream is created with the session. In the future, larger
@@ -233,10 +347,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.
    * At least one stream is created with the session. In the future, larger
@@ -245,10 +363,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.
    * At least one stream is created with the session. In the future, larger
@@ -257,11 +379,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.
    * At least one stream is created with the session. In the future, larger
@@ -270,10 +396,11 @@ 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); public 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 70% 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 9bc62effc3..b13a182765 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 2020 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,31 +29,31 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ReadStream(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,53 +72,59 @@ private ReadStream(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              name_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  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;
   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 @@ -110,30 +133,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 { @@ -142,6 +165,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +177,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 (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +201,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -205,97 +228,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
@@ -304,21 +334,23 @@ 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()
@@ -326,16 +358,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -345,9 +376,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
@@ -366,7 +397,8 @@ 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);
+      com.google.cloud.bigquery.storage.v1.ReadStream result =
+          new com.google.cloud.bigquery.storage.v1.ReadStream(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -376,38 +408,39 @@ public com.google.cloud.bigquery.storage.v1.ReadStream buildPartial() {
     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;
@@ -415,7 +448,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_;
         onChanged();
@@ -451,19 +485,21 @@ public Builder mergeFrom(
 
     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; @@ -472,21 +508,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 { @@ -494,64 +531,71 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; 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); } @@ -561,12 +605,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(); } @@ -575,16 +619,16 @@ 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 { - return new ReadStream(input, extensionRegistry); - } - }; + 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 { + return new ReadStream(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -599,6 +643,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..ded71e14ee 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 2020 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/SplitReadStreamRequest.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/SplitReadStreamRequest.java similarity index 67% 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 ca385e2a7c..db31854706 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,40 +1,57 @@ +/* + * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SplitReadStreamRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,57 +70,65 @@ private SplitReadStreamRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 17: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - fraction_ = input.readDouble(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + case 17: + { + fraction_ = input.readDouble(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -112,29 +137,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 { @@ -145,6 +172,8 @@ public java.lang.String getName() { public static final int FRACTION_FIELD_NUMBER = 2; 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
@@ -156,6 +185,7 @@ public java.lang.String getName() {
    * 
* * double fraction = 2; + * * @return The fraction. */ @java.lang.Override @@ -164,6 +194,7 @@ public double getFraction() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,8 +206,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 (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -196,8 +226,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (fraction_ != 0D) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(2, fraction_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, fraction_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -207,18 +236,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,125 +261,137 @@ 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) + unknownFields.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() @@ -359,16 +399,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -380,9 +419,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 @@ -401,7 +440,8 @@ 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); + com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest result = + new com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest(this); result.name_ = name_; result.fraction_ = fraction_; onBuilt(); @@ -412,38 +452,39 @@ public com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest buildPartial( 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; @@ -451,7 +492,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_; onChanged(); @@ -478,7 +520,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -490,18 +533,22 @@ public Builder mergeFrom( 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; @@ -510,20 +557,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 { @@ -531,61 +581,76 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); 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
@@ -597,6 +662,7 @@ public Builder setNameBytes(
      * 
* * double fraction = 2; + * * @return The fraction. */ @java.lang.Override @@ -604,6 +670,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
@@ -615,16 +683,19 @@ public double getFraction() {
      * 
* * double fraction = 2; + * * @param value The fraction to set. * @return This builder for chaining. */ public Builder setFraction(double value) { - + fraction_ = value; onChanged(); 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
@@ -636,17 +707,18 @@ public Builder setFraction(double value) {
      * 
* * double fraction = 2; + * * @return This builder for chaining. */ public Builder clearFraction() { - + fraction_ = 0D; 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); } @@ -656,12 +728,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(); } @@ -670,16 +742,16 @@ 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 { - return new SplitReadStreamRequest(input, extensionRegistry); - } - }; + 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 { + return new SplitReadStreamRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -694,6 +766,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..9a7e2a7913 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 2020 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 71% 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 dbdf1e77e8..66ac9a8907 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,39 +1,55 @@ +/* + * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SplitReadStreamResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,67 +68,77 @@ private SplitReadStreamResponse( case 0: done = true; break; - case 10: { - com.google.cloud.bigquery.storage.v1.ReadStream.Builder subBuilder = null; - if (primaryStream_ != null) { - subBuilder = primaryStream_.toBuilder(); - } - primaryStream_ = input.readMessage(com.google.cloud.bigquery.storage.v1.ReadStream.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(primaryStream_); - primaryStream_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.bigquery.storage.v1.ReadStream.Builder subBuilder = null; + if (primaryStream_ != null) { + subBuilder = primaryStream_.toBuilder(); + } + primaryStream_ = + input.readMessage( + com.google.cloud.bigquery.storage.v1.ReadStream.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(primaryStream_); + primaryStream_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.cloud.bigquery.storage.v1.ReadStream.Builder subBuilder = null; - if (remainderStream_ != null) { - subBuilder = remainderStream_.toBuilder(); - } - remainderStream_ = input.readMessage(com.google.cloud.bigquery.storage.v1.ReadStream.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(remainderStream_); - remainderStream_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.cloud.bigquery.storage.v1.ReadStream.Builder subBuilder = null; + if (remainderStream_ != null) { + subBuilder = remainderStream_.toBuilder(); + } + remainderStream_ = + input.readMessage( + com.google.cloud.bigquery.storage.v1.ReadStream.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(remainderStream_); + remainderStream_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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
@@ -120,6 +146,7 @@ private SplitReadStreamResponse(
    * 
* * .google.cloud.bigquery.storage.v1.ReadStream primary_stream = 1; + * * @return Whether the primaryStream field is set. */ @java.lang.Override @@ -127,6 +154,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
@@ -134,13 +163,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
@@ -157,12 +191,15 @@ public com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder getPrimaryStream
   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 @@ -170,19 +207,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.
@@ -196,6 +240,7 @@ public com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder getRemainderStre
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -207,8 +252,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());
     }
@@ -225,12 +269,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 += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -240,22 +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.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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -282,117 +323,127 @@ 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() @@ -400,16 +451,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -429,13 +479,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(); } @@ -450,7 +501,8 @@ 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); + com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse result = + new com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse(this); if (primaryStreamBuilder_ == null) { result.primaryStream_ = primaryStream_; } else { @@ -469,38 +521,39 @@ public com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse buildPartial 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; @@ -508,7 +561,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()); } @@ -534,7 +589,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -546,8 +602,13 @@ public Builder mergeFrom( 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
@@ -555,12 +616,15 @@ public Builder mergeFrom(
      * 
* * .google.cloud.bigquery.storage.v1.ReadStream primary_stream = 1; + * * @return Whether the primaryStream field is set. */ public boolean hasPrimaryStream() { return primaryStreamBuilder_ != null || primaryStream_ != null; } /** + * + * *
      * Primary stream, which contains the beginning portion of
      * |original_stream|. An empty value indicates that the original stream can no
@@ -568,16 +632,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
@@ -600,6 +669,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
@@ -620,6 +691,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
@@ -632,7 +705,9 @@ public Builder mergePrimaryStream(com.google.cloud.bigquery.storage.v1.ReadStrea
       if (primaryStreamBuilder_ == null) {
         if (primaryStream_ != null) {
           primaryStream_ =
-            com.google.cloud.bigquery.storage.v1.ReadStream.newBuilder(primaryStream_).mergeFrom(value).buildPartial();
+              com.google.cloud.bigquery.storage.v1.ReadStream.newBuilder(primaryStream_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           primaryStream_ = value;
         }
@@ -644,6 +719,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
@@ -664,6 +741,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
@@ -673,11 +752,13 @@ public Builder clearPrimaryStream() {
      * .google.cloud.bigquery.storage.v1.ReadStream primary_stream = 1;
      */
     public com.google.cloud.bigquery.storage.v1.ReadStream.Builder getPrimaryStreamBuilder() {
-      
+
       onChanged();
       return getPrimaryStreamFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Primary stream, which contains the beginning portion of
      * |original_stream|. An empty value indicates that the original stream can no
@@ -690,11 +771,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
@@ -704,14 +788,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_;
@@ -719,36 +806,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 remainderStreamBuilder_ != null || 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. */ 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.
@@ -770,6 +870,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.
@@ -789,6 +891,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.
@@ -800,7 +904,9 @@ public Builder mergeRemainderStream(com.google.cloud.bigquery.storage.v1.ReadStr
       if (remainderStreamBuilder_ == null) {
         if (remainderStream_ != null) {
           remainderStream_ =
-            com.google.cloud.bigquery.storage.v1.ReadStream.newBuilder(remainderStream_).mergeFrom(value).buildPartial();
+              com.google.cloud.bigquery.storage.v1.ReadStream.newBuilder(remainderStream_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           remainderStream_ = value;
         }
@@ -812,6 +918,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.
@@ -831,6 +939,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.
@@ -839,11 +949,13 @@ public Builder clearRemainderStream() {
      * .google.cloud.bigquery.storage.v1.ReadStream remainder_stream = 2;
      */
     public com.google.cloud.bigquery.storage.v1.ReadStream.Builder getRemainderStreamBuilder() {
-      
+
       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.
@@ -855,11 +967,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.
@@ -868,21 +983,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);
     }
 
@@ -892,12 +1010,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();
   }
@@ -906,16 +1025,16 @@ 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 {
-      return new SplitReadStreamResponse(input, extensionRegistry);
-    }
-  };
+  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 {
+          return new SplitReadStreamResponse(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -930,6 +1049,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..282ad5342c 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 2020 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/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..e09d0d6b72
--- /dev/null
+++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StorageProto.java
@@ -0,0 +1,248 @@
+/*
+ * Copyright 2020 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;
+
+  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/stream.proto\"\303\001\n\030CreateReadSessionReq"
+          + "uest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudresou"
+          + "rcemanager.googleapis.com/Project\022H\n\014rea"
+          + "d_session\030\002 \001(\0132-.google.cloud.bigquery."
+          + "storage.v1.ReadSessionB\003\340A\002\022\030\n\020max_strea"
+          + "m_count\030\003 \001(\005\"i\n\017ReadRowsRequest\022F\n\013read"
+          + "_stream\030\001 \001(\tB1\340A\002\372A+\n)bigquerystorage.g"
+          + "oogleapis.com/ReadStream\022\016\n\006offset\030\002 \001(\003"
+          + "\")\n\rThrottleState\022\030\n\020throttle_percent\030\001 "
+          + "\001(\005\"\227\001\n\013StreamStats\022H\n\010progress\030\002 \001(\01326."
+          + "google.cloud.bigquery.storage.v1.StreamS"
+          + "tats.Progress\032>\n\010Progress\022\031\n\021at_response"
+          + "_start\030\001 \001(\001\022\027\n\017at_response_end\030\002 \001(\001\"\347\003"
+          + "\n\020ReadRowsResponse\022?\n\tavro_rows\030\003 \001(\0132*."
+          + "google.cloud.bigquery.storage.v1.AvroRow"
+          + "sH\000\022P\n\022arrow_record_batch\030\004 \001(\01322.google"
+          + ".cloud.bigquery.storage.v1.ArrowRecordBa"
+          + "tchH\000\022\021\n\trow_count\030\006 \001(\003\022<\n\005stats\030\002 \001(\0132"
+          + "-.google.cloud.bigquery.storage.v1.Strea"
+          + "mStats\022G\n\016throttle_state\030\005 \001(\0132/.google."
+          + "cloud.bigquery.storage.v1.ThrottleState\022"
+          + "H\n\013avro_schema\030\007 \001(\0132,.google.cloud.bigq"
+          + "uery.storage.v1.AvroSchemaB\003\340A\003H\001\022J\n\014arr"
+          + "ow_schema\030\010 \001(\0132-.google.cloud.bigquery."
+          + "storage.v1.ArrowSchemaB\003\340A\003H\001B\006\n\004rowsB\010\n"
+          + "\006schema\"k\n\026SplitReadStreamRequest\022?\n\004nam"
+          + "e\030\001 \001(\tB1\340A\002\372A+\n)bigquerystorage.googlea"
+          + "pis.com/ReadStream\022\020\n\010fraction\030\002 \001(\001\"\247\001\n"
+          + "\027SplitReadStreamResponse\022D\n\016primary_stre"
+          + "am\030\001 \001(\0132,.google.cloud.bigquery.storage"
+          + ".v1.ReadStream\022F\n\020remainder_stream\030\002 \001(\013"
+          + "2,.google.cloud.bigquery.storage.v1.Read"
+          + "Stream2\306\006\n\014BigQueryRead\022\351\001\n\021CreateReadSe"
+          + "ssion\022:.google.cloud.bigquery.storage.v1"
+          + ".CreateReadSessionRequest\032-.google.cloud"
+          + ".bigquery.storage.v1.ReadSession\"i\202\323\344\223\002<"
+          + "\"7/v1/{read_session.table=projects/*/dat"
+          + "asets/*/tables/*}:\001*\332A$parent,read_sessi"
+          + "on,max_stream_count\022\317\001\n\010ReadRows\0221.googl"
+          + "e.cloud.bigquery.storage.v1.ReadRowsRequ"
+          + "est\0322.google.cloud.bigquery.storage.v1.R"
+          + "eadRowsResponse\"Z\202\323\344\223\002?\022=/v1/{read_strea"
+          + "m=projects/*/locations/*/sessions/*/stre"
+          + "ams/*}\332A\022read_stream,offset0\001\022\306\001\n\017SplitR"
+          + "eadStream\0228.google.cloud.bigquery.storag"
+          + "e.v1.SplitReadStreamRequest\0329.google.clo"
+          + "ud.bigquery.storage.v1.SplitReadStreamRe"
+          + "sponse\">\202\323\344\223\0028\0226/v1/{name=projects/*/loc"
+          + "ations/*/sessions/*/streams/*}\032\256\001\312A\036bigq"
+          + "uerystorage.googleapis.com\322A\211\001https://ww"
+          + "w.googleapis.com/auth/bigquery,https://w"
+          + "ww.googleapis.com/auth/bigquery.readonly"
+          + ",https://www.googleapis.com/auth/cloud-p"
+          + "latformB\235\002\n$com.google.cloud.bigquery.st"
+          + "orage.v1B\014StorageProtoP\001ZGgoogle.golang."
+          + "org/genproto/googleapis/cloud/bigquery/s"
+          + "torage/v1;storage\252\002 Google.Cloud.BigQuer"
+          + "y.Storage.V1\312\002 Google\\Cloud\\BigQuery\\Sto"
+          + "rage\\V1\352AU\n\035bigquery.googleapis.com/Tabl"
+          + "e\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.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.StreamProto.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",
+            });
+    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",
+            });
+    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.StreamProto.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..4adaa3daf2
--- /dev/null
+++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StreamProto.java
@@ -0,0 +1,172 @@
+/*
+ * Copyright 2020 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;
+
+  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\037google"
+          + "/protobuf/timestamp.proto\"\370\007\n\013ReadSessio"
+          + "n\022\021\n\004name\030\001 \001(\tB\003\340A\003\0224\n\013expire_time\030\002 \001("
+          + "\0132\032.google.protobuf.TimestampB\003\340A\003\022F\n\013da"
+          + "ta_format\030\003 \001(\0162,.google.cloud.bigquery."
+          + "storage.v1.DataFormatB\003\340A\005\022H\n\013avro_schem"
+          + "a\030\004 \001(\0132,.google.cloud.bigquery.storage."
+          + "v1.AvroSchemaB\003\340A\003H\000\022J\n\014arrow_schema\030\005 \001"
+          + "(\0132-.google.cloud.bigquery.storage.v1.Ar"
+          + "rowSchemaB\003\340A\003H\000\0224\n\005table\030\006 \001(\tB%\340A\005\372A\037\n"
+          + "\035bigquery.googleapis.com/Table\022Z\n\017table_"
+          + "modifiers\030\007 \001(\0132<.google.cloud.bigquery."
+          + "storage.v1.ReadSession.TableModifiersB\003\340"
+          + "A\001\022Y\n\014read_options\030\010 \001(\0132>.google.cloud."
+          + "bigquery.storage.v1.ReadSession.TableRea"
+          + "dOptionsB\003\340A\001\022B\n\007streams\030\n \003(\0132,.google."
+          + "cloud.bigquery.storage.v1.ReadStreamB\003\340A"
+          + "\003\032C\n\016TableModifiers\0221\n\rsnapshot_time\030\001 \001"
+          + "(\0132\032.google.protobuf.Timestamp\032\324\001\n\020Table"
+          + "ReadOptions\022\027\n\017selected_fields\030\001 \003(\t\022\027\n\017"
+          + "row_restriction\030\002 \001(\t\022g\n\033arrow_serializa"
+          + "tion_options\030\003 \001(\0132;.google.cloud.bigque"
+          + "ry.storage.v1.ArrowSerializationOptionsB"
+          + "\003\340A\001H\000B%\n#output_format_serialization_op"
+          + "tions:k\352Ah\n*bigquerystorage.googleapis.c"
+          + "om/ReadSession\022:projects/{project}/locat"
+          + "ions/{location}/sessions/{session}B\010\n\006sc"
+          + "hema\"\234\001\n\nReadStream\022\021\n\004name\030\001 \001(\tB\003\340A\003:{"
+          + "\352Ax\n)bigquerystorage.googleapis.com/Read"
+          + "Stream\022Kprojects/{project}/locations/{lo"
+          + "cation}/sessions/{session}/streams/{stre"
+          + "am}*>\n\nDataFormat\022\033\n\027DATA_FORMAT_UNSPECI"
+          + "FIED\020\000\022\010\n\004AVRO\020\001\022\t\n\005ARROW\020\002B\304\001\n$com.goog"
+          + "le.cloud.bigquery.storage.v1B\013StreamProt"
+          + "oP\001ZGgoogle.golang.org/genproto/googleap"
+          + "is/cloud/bigquery/storage/v1;storage\252\002 G"
+          + "oogle.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.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",
+              "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",
+              "OutputFormatSerializationOptions",
+            });
+    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",
+            });
+    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.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 72%
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 aa209a2ffe..e784673caa 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,39 +1,55 @@
+/*
+ * Copyright 2020 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 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private StreamStats( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,56 +68,65 @@ private StreamStats( case 0: done = true; break; - case 18: { - com.google.cloud.bigquery.storage.v1.StreamStats.Progress.Builder subBuilder = null; - if (progress_ != null) { - subBuilder = progress_.toBuilder(); - } - progress_ = input.readMessage(com.google.cloud.bigquery.storage.v1.StreamStats.Progress.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(progress_); - progress_ = subBuilder.buildPartial(); - } + case 18: + { + com.google.cloud.bigquery.storage.v1.StreamStats.Progress.Builder subBuilder = null; + if (progress_ != null) { + subBuilder = progress_.toBuilder(); + } + progress_ = + input.readMessage( + com.google.cloud.bigquery.storage.v1.StreamStats.Progress.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(progress_); + progress_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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
@@ -116,48 +141,49 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Progress( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -176,51 +202,55 @@ private Progress( case 0: done = true; break; - case 9: { - - atResponseStart_ = input.readDouble(); - break; - } - case 17: { - - atResponseEnd_ = input.readDouble(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 9: + { + atResponseStart_ = input.readDouble(); + break; + } + case 17: + { + atResponseEnd_ = input.readDouble(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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_; /** + * + * *
      * 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
@@ -235,6 +265,7 @@ private Progress(
      * 
* * double at_response_start = 1; + * * @return The atResponseStart. */ @java.lang.Override @@ -245,12 +276,15 @@ public double getAtResponseStart() { public static final int AT_RESPONSE_END_FIELD_NUMBER = 2; 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 @@ -259,6 +293,7 @@ public double getAtResponseEnd() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -270,8 +305,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 (atResponseStart_ != 0D) { output.writeDouble(1, atResponseStart_); } @@ -288,12 +322,10 @@ public int getSerializedSize() { size = 0; if (atResponseStart_ != 0D) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(1, atResponseStart_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, atResponseStart_); } if (atResponseEnd_ != 0D) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(2, atResponseEnd_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, atResponseEnd_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -303,19 +335,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -328,98 +359,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) + unknownFields.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 @@ -428,24 +470,25 @@ 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() @@ -453,16 +496,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -474,9 +516,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 @@ -495,7 +537,8 @@ 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); + com.google.cloud.bigquery.storage.v1.StreamStats.Progress result = + new com.google.cloud.bigquery.storage.v1.StreamStats.Progress(this); result.atResponseStart_ = atResponseStart_; result.atResponseEnd_ = atResponseEnd_; onBuilt(); @@ -506,38 +549,41 @@ public com.google.cloud.bigquery.storage.v1.StreamStats.Progress buildPartial() 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; @@ -545,7 +591,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()); } @@ -571,7 +618,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1.StreamStats.Progress) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1.StreamStats.Progress) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -581,8 +629,10 @@ public Builder mergeFrom( return this; } - 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
@@ -597,6 +647,7 @@ public Builder mergeFrom(
        * 
* * double at_response_start = 1; + * * @return The atResponseStart. */ @java.lang.Override @@ -604,6 +655,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
@@ -618,16 +671,19 @@ public double getAtResponseStart() {
        * 
* * double at_response_start = 1; + * * @param value The atResponseStart to set. * @return This builder for chaining. */ public Builder setAtResponseStart(double value) { - + atResponseStart_ = value; onChanged(); 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
@@ -642,23 +698,27 @@ public Builder setAtResponseStart(double value) {
        * 
* * double at_response_start = 1; + * * @return This builder for chaining. */ public Builder clearAtResponseStart() { - + atResponseStart_ = 0D; onChanged(); 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 @@ -666,36 +726,43 @@ 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. */ public Builder setAtResponseEnd(double value) { - + atResponseEnd_ = value; onChanged(); 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() { - + atResponseEnd_ = 0D; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -708,12 +775,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(); } @@ -722,16 +789,16 @@ 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 { - return new Progress(input, extensionRegistry); - } - }; + 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 { + return new Progress(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -746,17 +813,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 @@ -764,18 +833,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.
    * 
@@ -788,6 +864,7 @@ public com.google.cloud.bigquery.storage.v1.StreamStats.ProgressOrBuilder getPro } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -799,8 +876,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()); } @@ -814,8 +890,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -825,17 +900,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -857,118 +932,127 @@ 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 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() @@ -976,16 +1060,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -999,9 +1082,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 @@ -1020,7 +1103,8 @@ 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); + com.google.cloud.bigquery.storage.v1.StreamStats result = + new com.google.cloud.bigquery.storage.v1.StreamStats(this); if (progressBuilder_ == null) { result.progress_ = progress_; } else { @@ -1034,38 +1118,39 @@ public com.google.cloud.bigquery.storage.v1.StreamStats buildPartial() { 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; @@ -1073,7 +1158,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()); } @@ -1108,34 +1194,47 @@ public Builder mergeFrom( 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 progressBuilder_ != null || progress_ != null; } /** + * + * *
      * 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.
      * 
@@ -1156,6 +1255,8 @@ public Builder setProgress(com.google.cloud.bigquery.storage.v1.StreamStats.Prog return this; } /** + * + * *
      * Represents the progress of the current stream.
      * 
@@ -1174,6 +1275,8 @@ public Builder setProgress( return this; } /** + * + * *
      * Represents the progress of the current stream.
      * 
@@ -1184,7 +1287,9 @@ public Builder mergeProgress(com.google.cloud.bigquery.storage.v1.StreamStats.Pr if (progressBuilder_ == null) { if (progress_ != null) { progress_ = - com.google.cloud.bigquery.storage.v1.StreamStats.Progress.newBuilder(progress_).mergeFrom(value).buildPartial(); + com.google.cloud.bigquery.storage.v1.StreamStats.Progress.newBuilder(progress_) + .mergeFrom(value) + .buildPartial(); } else { progress_ = value; } @@ -1196,6 +1301,8 @@ public Builder mergeProgress(com.google.cloud.bigquery.storage.v1.StreamStats.Pr return this; } /** + * + * *
      * Represents the progress of the current stream.
      * 
@@ -1214,6 +1321,8 @@ public Builder clearProgress() { return this; } /** + * + * *
      * Represents the progress of the current stream.
      * 
@@ -1221,26 +1330,32 @@ public Builder clearProgress() { * .google.cloud.bigquery.storage.v1.StreamStats.Progress progress = 2; */ public com.google.cloud.bigquery.storage.v1.StreamStats.Progress.Builder getProgressBuilder() { - + onChanged(); 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.
      * 
@@ -1248,21 +1363,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); } @@ -1272,12 +1390,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(); } @@ -1286,16 +1404,16 @@ 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 { - return new StreamStats(input, extensionRegistry); - } - }; + 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 { + return new StreamStats(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1310,6 +1428,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..aeaa0d4f33 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 2020 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/ThrottleState.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ThrottleState.java similarity index 68% 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 f187573664..87103fd69b 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,39 +1,55 @@ +/* + * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ThrottleState( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,52 +68,57 @@ private ThrottleState( case 0: done = true; break; - case 8: { - - throttlePercent_ = input.readInt32(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 8: + { + throttlePercent_ = input.readInt32(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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_; /** + * + * *
    * 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 @@ -106,6 +127,7 @@ public int getThrottlePercent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,8 +139,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_); } @@ -132,8 +153,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -143,15 +163,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -171,117 +191,126 @@ 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() @@ -289,16 +318,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -308,9 +336,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 @@ -329,7 +357,8 @@ 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); + com.google.cloud.bigquery.storage.v1.ThrottleState result = + new com.google.cloud.bigquery.storage.v1.ThrottleState(this); result.throttlePercent_ = throttlePercent_; onBuilt(); return result; @@ -339,38 +368,39 @@ public com.google.cloud.bigquery.storage.v1.ThrottleState buildPartial() { 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; @@ -378,7 +408,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()); } @@ -401,7 +432,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1.ThrottleState) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1.ThrottleState) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -411,14 +443,17 @@ public Builder mergeFrom( return this; } - 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 @@ -426,39 +461,45 @@ 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. */ public Builder setThrottlePercent(int value) { - + throttlePercent_ = value; onChanged(); 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() { - + throttlePercent_ = 0; 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); } @@ -468,12 +509,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(); } @@ -482,16 +523,16 @@ 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 { - return new ThrottleState(input, extensionRegistry); - } - }; + 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 { + return new ThrottleState(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -506,6 +547,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..2a6497bc37 --- /dev/null +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ThrottleStateOrBuilder.java @@ -0,0 +1,39 @@ +/* + * Copyright 2020 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/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/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/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 66% 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 2d7b087183..278b47a8f7 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 2020 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,61 +20,65 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ArrowSchema( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -78,51 +97,56 @@ private ArrowSchema( case 0: done = true; break; - case 10: { - - serializedSchema_ = input.readBytes(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 10: + { + serializedSchema_ = input.readBytes(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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_; /** + * + * *
      * IPC serialized Arrow schema.
      * 
* * bytes serialized_schema = 1; + * * @return The serializedSchema. */ @java.lang.Override @@ -131,6 +155,7 @@ public com.google.protobuf.ByteString getSerializedSchema() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -142,8 +167,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_); } @@ -157,8 +181,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -168,15 +191,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -196,87 +219,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 @@ -286,44 +317,49 @@ 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() + // Construct using + // com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -333,14 +369,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 @@ -354,7 +392,8 @@ 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); + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema result = + new com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema(this); result.serializedSchema_ = serializedSchema_; onBuilt(); return result; @@ -364,46 +403,53 @@ public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema buildPar 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()); } @@ -426,7 +472,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -436,13 +484,17 @@ public Builder mergeFrom( return this; } - 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 @@ -450,37 +502,44 @@ 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(); - } - + throw new NullPointerException(); + } + serializedSchema_ = value; onChanged(); return this; } /** + * + * *
        * IPC serialized Arrow schema.
        * 
* * bytes serialized_schema = 1; + * * @return This builder for chaining. */ public Builder clearSerializedSchema() { - + serializedSchema_ = getDefaultInstance().getSerializedSchema(); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -493,30 +552,32 @@ 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 { - return new ArrowSchema(input, extensionRegistry); - } - }; + 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 { + return new ArrowSchema(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -528,68 +589,77 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ArrowRecordBatch( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -608,56 +678,61 @@ private ArrowRecordBatch( case 0: done = true; break; - case 10: { - - serializedRecordBatch_ = input.readBytes(); - break; - } - case 16: { - - rowCount_ = input.readInt64(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 10: + { + serializedRecordBatch_ = input.readBytes(); + break; + } + case 16: + { + rowCount_ = input.readInt64(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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_; /** + * + * *
      * IPC serialized Arrow RecordBatch.
      * 
* * bytes serialized_record_batch = 1; + * * @return The serializedRecordBatch. */ @java.lang.Override @@ -668,11 +743,14 @@ public com.google.protobuf.ByteString getSerializedRecordBatch() { public static final int ROW_COUNT_FIELD_NUMBER = 2; private long rowCount_; /** + * + * *
      * The count of rows in the returning block.
      * 
* * int64 row_count = 2; + * * @return The rowCount. */ @java.lang.Override @@ -681,6 +759,7 @@ public long getRowCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -692,8 +771,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_); } @@ -710,12 +788,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -725,17 +801,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -750,95 +825,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) + unknownFields.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 @@ -848,44 +930,50 @@ 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() + // Construct using + // com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -897,19 +985,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); } @@ -918,7 +1009,8 @@ 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); + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch result = + new com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch(this); result.serializedRecordBatch_ = serializedRecordBatch_; result.rowCount_ = rowCount_; onBuilt(); @@ -929,46 +1021,54 @@ public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch bui 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()); } @@ -994,7 +1094,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1004,13 +1106,17 @@ public Builder mergeFrom( return this; } - 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 @@ -1018,45 +1124,54 @@ 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(); - } - + throw new NullPointerException(); + } + serializedRecordBatch_ = value; onChanged(); return this; } /** + * + * *
        * IPC serialized Arrow RecordBatch.
        * 
* * bytes serialized_record_batch = 1; + * * @return This builder for chaining. */ public Builder clearSerializedRecordBatch() { - + serializedRecordBatch_ = getDefaultInstance().getSerializedRecordBatch(); onChanged(); 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 @@ -1064,34 +1179,41 @@ 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. */ public Builder setRowCount(long value) { - + rowCount_ = value; onChanged(); return this; } /** + * + * *
        * The count of rows in the returning block.
        * 
* * int64 row_count = 2; + * * @return This builder for chaining. */ public Builder clearRowCount() { - + rowCount_ = 0L; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1104,30 +1226,33 @@ 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 { - return new ArrowRecordBatch(input, extensionRegistry); - } - }; + 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 { + return new ArrowRecordBatch(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1139,57 +1264,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\205\001\n)com.google.cloud.bigquery.stora" + - "ge.v1beta1B\nArrowProtoZLgoogle.golang.or" + - "g/genproto/googleapis/cloud/bigquery/sto" + - "rage/v1beta1;storageb\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\205\001\n)com.google.cloud.bigquery.stora" + + "ge.v1beta1B\nArrowProtoZLgoogle.golang.or" + + "g/genproto/googleapis/cloud/bigquery/sto" + + "rage/v1beta1;storageb\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 68% 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 39b85fdaf8..80c0618d68 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 2020 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,73 +20,79 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AvroSchema( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -90,53 +111,59 @@ private AvroSchema( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - schema_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + schema_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -145,30 +172,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 { @@ -177,6 +204,7 @@ public java.lang.String getSchema() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -188,8 +216,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 (!getSchemaBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, schema_); } @@ -213,15 +240,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -241,87 +268,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 @@ -331,27 +365,32 @@ 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() @@ -359,16 +398,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -378,13 +416,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(); } @@ -399,7 +438,8 @@ 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); + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema result = + new com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema(this); result.schema_ = schema_; onBuilt(); return result; @@ -409,46 +449,52 @@ public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema buildParti 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_; onChanged(); @@ -472,7 +518,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -484,19 +532,21 @@ public Builder mergeFrom( 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; @@ -505,21 +555,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 { @@ -527,61 +578,69 @@ 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) { + public Builder setSchema(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + schema_ = value; 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() { - + schema_ = getDefaultInstance().getSchema(); onChanged(); 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) { + public Builder setSchemaBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + schema_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -594,30 +653,32 @@ 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 { - return new AvroSchema(input, extensionRegistry); - } - }; + 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 { + return new AvroSchema(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -629,68 +690,77 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AvroRows( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -709,56 +779,61 @@ private AvroRows( case 0: done = true; break; - case 10: { - - serializedBinaryRows_ = input.readBytes(); - break; - } - case 16: { - - rowCount_ = input.readInt64(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 10: + { + serializedBinaryRows_ = input.readBytes(); + break; + } + case 16: + { + rowCount_ = input.readInt64(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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_; /** + * + * *
      * Binary serialized rows in a block.
      * 
* * bytes serialized_binary_rows = 1; + * * @return The serializedBinaryRows. */ @java.lang.Override @@ -769,11 +844,14 @@ public com.google.protobuf.ByteString getSerializedBinaryRows() { public static final int ROW_COUNT_FIELD_NUMBER = 2; private long rowCount_; /** + * + * *
      * The count of rows in the returning block.
      * 
* * int64 row_count = 2; + * * @return The rowCount. */ @java.lang.Override @@ -782,6 +860,7 @@ public long getRowCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -793,8 +872,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_); } @@ -811,12 +889,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -826,17 +902,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -851,95 +926,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) + unknownFields.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 @@ -949,27 +1030,32 @@ 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() @@ -977,16 +1063,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -998,13 +1083,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(); } @@ -1019,7 +1105,8 @@ 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); + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows result = + new com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows(this); result.serializedBinaryRows_ = serializedBinaryRows_; result.rowCount_ = rowCount_; onBuilt(); @@ -1030,38 +1117,41 @@ public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows buildPartial 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; @@ -1069,7 +1159,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()); } @@ -1095,7 +1187,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1105,13 +1199,17 @@ public Builder mergeFrom( return this; } - 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 @@ -1119,45 +1217,54 @@ 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(); - } - + throw new NullPointerException(); + } + serializedBinaryRows_ = value; onChanged(); return this; } /** + * + * *
        * Binary serialized rows in a block.
        * 
* * bytes serialized_binary_rows = 1; + * * @return This builder for chaining. */ public Builder clearSerializedBinaryRows() { - + serializedBinaryRows_ = getDefaultInstance().getSerializedBinaryRows(); onChanged(); 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 @@ -1165,34 +1272,41 @@ 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. */ public Builder setRowCount(long value) { - + rowCount_ = value; onChanged(); return this; } /** + * + * *
        * The count of rows in the returning block.
        * 
* * int64 row_count = 2; + * * @return This builder for chaining. */ public Builder clearRowCount() { - + rowCount_ = 0L; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1205,30 +1319,32 @@ 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 { - return new AvroRows(input, extensionRegistry); - } - }; + 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 { + return new AvroRows(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1240,57 +1356,58 @@ 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\204\001\n)com.google.cl" + - "oud.bigquery.storage.v1beta1B\tAvroProtoZ" + - "Lgoogle.golang.org/genproto/googleapis/c" + - "loud/bigquery/storage/v1beta1;storageb\006p" + - "roto3" + "\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\204\001\n)com.google.cl" + + "oud.bigquery.storage.v1beta1B\tAvroProtoZ" + + "Lgoogle.golang.org/genproto/googleapis/c" + + "loud/bigquery/storage/v1beta1;storageb\006p" + + "roto3" }; - 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 72% 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 6e5b51248a..ef0d0e5184 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 2020 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. 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 the
@@ -27,11 +43,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. 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 the
@@ -40,10 +58,13 @@ public interface TableReadOptionsOrBuilder extends
      * 
* * repeated string selected_fields = 1; + * * @return The count of selectedFields. */ int getSelectedFieldsCount(); /** + * + * *
      * Optional. 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 the
@@ -52,11 +73,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. 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 the
@@ -65,13 +89,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 query. Aggregates are not supported.
@@ -83,10 +109,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 query. Aggregates are not supported.
@@ -98,27 +127,30 @@ 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.EMPTY; rowRestriction_ = ""; @@ -126,16 +158,15 @@ private TableReadOptions() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TableReadOptions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TableReadOptions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -155,35 +186,36 @@ private TableReadOptions( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - selectedFields_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + selectedFields_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + selectedFields_.add(s); + break; } - selectedFields_.add(s); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - rowRestriction_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + rowRestriction_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { selectedFields_ = selectedFields_.getUnmodifiableView(); @@ -192,22 +224,27 @@ private TableReadOptions( makeExtensionsImmutable(); } } - 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; private com.google.protobuf.LazyStringList selectedFields_; /** + * + * *
      * Optional. 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 the
@@ -216,13 +253,15 @@ private TableReadOptions(
      * 
* * 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. 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 the
@@ -231,12 +270,15 @@ private TableReadOptions(
      * 
* * repeated string selected_fields = 1; + * * @return The count of selectedFields. */ public int getSelectedFieldsCount() { return selectedFields_.size(); } /** + * + * *
      * Optional. 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 the
@@ -245,6 +287,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. */ @@ -252,6 +295,8 @@ public java.lang.String getSelectedFields(int index) { return selectedFields_.get(index); } /** + * + * *
      * Optional. 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 the
@@ -260,17 +305,19 @@ 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; private volatile java.lang.Object rowRestriction_; /** + * + * *
      * Optional. SQL text filtering statement, similar to a WHERE clause in
      * a query. Aggregates are not supported.
@@ -282,6 +329,7 @@ public java.lang.String getSelectedFields(int index) {
      * 
* * string row_restriction = 2; + * * @return The rowRestriction. */ @java.lang.Override @@ -290,14 +338,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 query. Aggregates are not supported.
@@ -309,16 +358,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 { @@ -327,6 +375,7 @@ public java.lang.String getRowRestriction() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -338,8 +387,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)); } @@ -374,17 +422,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -408,87 +456,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 @@ -498,44 +554,50 @@ 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() + // Construct using + // com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -547,19 +609,22 @@ public Builder clear() { } @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); } @@ -568,7 +633,8 @@ 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); + com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions result = + new com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { selectedFields_ = selectedFields_.getUnmodifiableView(); @@ -584,46 +650,54 @@ public com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions bu 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_; @@ -657,7 +731,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -666,16 +742,21 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList selectedFields_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList selectedFields_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureSelectedFieldsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { selectedFields_ = new com.google.protobuf.LazyStringArrayList(selectedFields_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
        * Optional. 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 the
@@ -684,13 +765,15 @@ 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() { return selectedFields_.getUnmodifiableView(); } /** + * + * *
        * Optional. 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 the
@@ -699,12 +782,15 @@ private void ensureSelectedFieldsIsMutable() {
        * 
* * repeated string selected_fields = 1; + * * @return The count of selectedFields. */ public int getSelectedFieldsCount() { return selectedFields_.size(); } /** + * + * *
        * Optional. 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 the
@@ -713,6 +799,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. */ @@ -720,6 +807,8 @@ public java.lang.String getSelectedFields(int index) { return selectedFields_.get(index); } /** + * + * *
        * Optional. 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 the
@@ -728,14 +817,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. 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 the
@@ -744,21 +835,23 @@ 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) { + public Builder setSelectedFields(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSelectedFieldsIsMutable(); + throw new NullPointerException(); + } + ensureSelectedFieldsIsMutable(); selectedFields_.set(index, value); onChanged(); return this; } /** + * + * *
        * Optional. 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 the
@@ -767,20 +860,22 @@ 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) { + public Builder addSelectedFields(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSelectedFieldsIsMutable(); + throw new NullPointerException(); + } + ensureSelectedFieldsIsMutable(); selectedFields_.add(value); onChanged(); return this; } /** + * + * *
        * Optional. 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 the
@@ -789,18 +884,19 @@ 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_); onChanged(); return this; } /** + * + * *
        * Optional. 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 the
@@ -809,6 +905,7 @@ public Builder addAllSelectedFields(
        * 
* * repeated string selected_fields = 1; + * * @return This builder for chaining. */ public Builder clearSelectedFields() { @@ -818,6 +915,8 @@ public Builder clearSelectedFields() { return this; } /** + * + * *
        * Optional. 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 the
@@ -826,15 +925,15 @@ 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) { + public Builder addSelectedFieldsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureSelectedFieldsIsMutable(); selectedFields_.add(value); onChanged(); @@ -843,6 +942,8 @@ public Builder addSelectedFieldsBytes( private java.lang.Object rowRestriction_ = ""; /** + * + * *
        * Optional. SQL text filtering statement, similar to a WHERE clause in
        * a query. Aggregates are not supported.
@@ -854,13 +955,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; @@ -869,6 +970,8 @@ public java.lang.String getRowRestriction() { } } /** + * + * *
        * Optional. SQL text filtering statement, similar to a WHERE clause in
        * a query. Aggregates are not supported.
@@ -880,15 +983,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 { @@ -896,6 +998,8 @@ public java.lang.String getRowRestriction() { } } /** + * + * *
        * Optional. SQL text filtering statement, similar to a WHERE clause in
        * a query. Aggregates are not supported.
@@ -907,20 +1011,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) { + public Builder setRowRestriction(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + rowRestriction_ = value; onChanged(); return this; } /** + * + * *
        * Optional. SQL text filtering statement, similar to a WHERE clause in
        * a query. Aggregates are not supported.
@@ -932,15 +1038,18 @@ public Builder setRowRestriction(
        * 
* * string row_restriction = 2; + * * @return This builder for chaining. */ public Builder clearRowRestriction() { - + rowRestriction_ = getDefaultInstance().getRowRestriction(); onChanged(); return this; } /** + * + * *
        * Optional. SQL text filtering statement, similar to a WHERE clause in
        * a query. Aggregates are not supported.
@@ -952,20 +1061,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) { + public Builder setRowRestrictionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + rowRestriction_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -978,30 +1088,33 @@ 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 { - return new TableReadOptions(input, extensionRegistry); - } - }; + 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 { + return new TableReadOptions(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1013,45 +1126,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(\tBy\n)com.google.cloud.bigquery.sto" + - "rage.v1beta1ZLgoogle.golang.org/genproto" + - "/googleapis/cloud/bigquery/storage/v1bet" + - "a1;storageb\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(\tBy\n)com.google.cloud.bigquery.sto" + + "rage.v1beta1ZLgoogle.golang.org/genproto" + + "/googleapis/cloud/bigquery/storage/v1bet" + + "a1;storageb\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 66% 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 58f15fce3c..b937780cad 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 2020 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.
@@ -40,14 +57,14 @@ public enum DataFormat
      * AVRO = 1;
      */
     AVRO(1),
-    /**
-     * ARROW = 3;
-     */
+    /** ARROW = 3; */
     ARROW(3),
     UNRECOGNIZED(-1),
     ;
 
     /**
+     *
+     *
      * 
      * Data format is unspecified.
      * 
@@ -56,6 +73,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.
@@ -64,12 +83,9 @@ public enum DataFormat
      * AVRO = 1;
      */
     public static final int AVRO_VALUE = 1;
-    /**
-     * ARROW = 3;
-     */
+    /** ARROW = 3; */
     public static final int ARROW_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -94,49 +110,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;
@@ -154,15 +172,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.
      * 
@@ -171,6 +192,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
@@ -182,6 +205,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
@@ -198,6 +223,8 @@ public enum ShardingStrategy
     ;
 
     /**
+     *
+     *
      * 
      * Same as LIQUID.
      * 
@@ -206,6 +233,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
@@ -217,6 +246,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
@@ -230,7 +261,6 @@ public enum ShardingStrategy
      */
     public static final int BALANCED_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -255,40 +285,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();
@@ -296,8 +331,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;
@@ -314,64 +348,72 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Stream( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -390,53 +432,59 @@ private Stream( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -445,30 +493,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 { @@ -477,6 +525,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -488,8 +537,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 (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -513,15 +561,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -541,87 +589,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 @@ -631,27 +686,32 @@ 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() @@ -659,16 +719,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -678,9 +737,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 @@ -699,7 +758,8 @@ 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); + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream result = + new com.google.cloud.bigquery.storage.v1beta1.Storage.Stream(this); result.name_ = name_; onBuilt(); return result; @@ -709,38 +769,41 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream buildPartial() { 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; @@ -748,7 +811,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_; onChanged(); @@ -772,7 +836,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1beta1.Storage.Stream) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1beta1.Storage.Stream) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -784,19 +849,21 @@ public Builder mergeFrom( 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; @@ -805,21 +872,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 { @@ -827,61 +895,69 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); onChanged(); 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -894,12 +970,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(); } @@ -908,16 +984,16 @@ 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 { - return new Stream(input, extensionRegistry); - } - }; + 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 { + return new Stream(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -932,32 +1008,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.
      * 
@@ -967,46 +1051,50 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private StreamPosition( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1025,64 +1113,73 @@ private StreamPosition( case 0: done = true; break; - case 10: { - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder subBuilder = null; - if (stream_ != null) { - subBuilder = stream_.toBuilder(); + case 10: + { + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder subBuilder = null; + if (stream_ != null) { + subBuilder = stream_.toBuilder(); + } + stream_ = + input.readMessage( + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(stream_); + stream_ = subBuilder.buildPartial(); + } + + break; } - stream_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(stream_); - stream_ = subBuilder.buildPartial(); + case 16: + { + offset_ = input.readInt64(); + break; } - - break; - } - case 16: { - - offset_ = input.readInt64(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 @@ -1090,18 +1187,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.
      * 
@@ -1116,11 +1220,14 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getStre public static final int OFFSET_FIELD_NUMBER = 2; private long offset_; /** + * + * *
      * Position in the stream.
      * 
* * int64 offset = 2; + * * @return The offset. */ @java.lang.Override @@ -1129,6 +1236,7 @@ public long getOffset() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1140,8 +1248,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()); } @@ -1158,12 +1265,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1173,20 +1278,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1203,95 +1307,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) + unknownFields.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 @@ -1301,44 +1412,49 @@ 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() + // Construct using + // com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1354,14 +1470,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 @@ -1375,7 +1493,8 @@ 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); + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition result = + new com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition(this); if (streamBuilder_ == null) { result.stream_ = stream_; } else { @@ -1390,46 +1509,53 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition buildPar 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()); } @@ -1455,7 +1581,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1467,34 +1595,47 @@ public Builder mergeFrom( 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 streamBuilder_ != null || stream_ != null; } /** + * + * *
        * 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.
        * 
@@ -1515,6 +1656,8 @@ public Builder setStream(com.google.cloud.bigquery.storage.v1beta1.Storage.Strea return this; } /** + * + * *
        * Identifier for a given Stream.
        * 
@@ -1533,6 +1676,8 @@ public Builder setStream( return this; } /** + * + * *
        * Identifier for a given Stream.
        * 
@@ -1543,7 +1688,9 @@ public Builder mergeStream(com.google.cloud.bigquery.storage.v1beta1.Storage.Str if (streamBuilder_ == null) { if (stream_ != null) { stream_ = - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.newBuilder(stream_).mergeFrom(value).buildPartial(); + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.newBuilder(stream_) + .mergeFrom(value) + .buildPartial(); } else { stream_ = value; } @@ -1555,6 +1702,8 @@ public Builder mergeStream(com.google.cloud.bigquery.storage.v1beta1.Storage.Str return this; } /** + * + * *
        * Identifier for a given Stream.
        * 
@@ -1573,6 +1722,8 @@ public Builder clearStream() { return this; } /** + * + * *
        * Identifier for a given Stream.
        * 
@@ -1580,26 +1731,32 @@ public Builder clearStream() { * .google.cloud.bigquery.storage.v1beta1.Stream stream = 1; */ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder getStreamBuilder() { - + onChanged(); 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.
        * 
@@ -1607,26 +1764,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 @@ -1634,34 +1797,41 @@ public long getOffset() { return offset_; } /** + * + * *
        * Position in the stream.
        * 
* * int64 offset = 2; + * * @param value The offset to set. * @return This builder for chaining. */ public Builder setOffset(long value) { - + offset_ = value; onChanged(); return this; } /** + * + * *
        * Position in the stream.
        * 
* * int64 offset = 2; + * * @return This builder for chaining. */ public Builder clearOffset() { - + offset_ = 0L; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1674,30 +1844,32 @@ 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 { - return new StreamPosition(input, extensionRegistry); - } - }; + 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 { + return new StreamPosition(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1709,59 +1881,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.
@@ -1772,69 +1958,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.
      * 
@@ -1843,6 +2050,8 @@ public interface ReadSessionOrBuilder extends */ com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getStreams(int index); /** + * + * *
      * Streams associated with this session.
      * 
@@ -1851,15 +2060,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.
      * 
@@ -1870,74 +2083,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(); @@ -1945,21 +2184,24 @@ com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getStreamsOrBu public 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(); @@ -1968,16 +2210,15 @@ private ReadSession() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ReadSession(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ReadSession( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1997,108 +2238,142 @@ private ReadSession( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (expireTime_ != null) { - subBuilder = expireTime_.toBuilder(); - } - expireTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(expireTime_); - expireTime_ = subBuilder.buildPartial(); - } - - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - streams_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + name_ = s; + break; } - streams_.add( - input.readMessage(com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.parser(), extensionRegistry)); - break; - } - case 42: { - com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.Builder subBuilder = null; - if (schemaCase_ == 5) { - subBuilder = ((com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) schema_).toBuilder(); + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (expireTime_ != null) { + subBuilder = expireTime_.toBuilder(); + } + expireTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(expireTime_); + expireTime_ = subBuilder.buildPartial(); + } + + break; } - schema_ = - input.readMessage(com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) schema_); - schema_ = subBuilder.buildPartial(); + case 34: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + streams_ = + new java.util.ArrayList< + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream>(); + mutable_bitField0_ |= 0x00000001; + } + streams_.add( + input.readMessage( + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.parser(), + extensionRegistry)); + break; } - schemaCase_ = 5; - break; - } - case 50: { - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.Builder subBuilder = null; - if (schemaCase_ == 6) { - subBuilder = ((com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) schema_).toBuilder(); + case 42: + { + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.Builder subBuilder = + null; + if (schemaCase_ == 5) { + subBuilder = + ((com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) schema_) + .toBuilder(); + } + schema_ = + input.readMessage( + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) schema_); + schema_ = subBuilder.buildPartial(); + } + schemaCase_ = 5; + break; } - schema_ = - input.readMessage(com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) schema_); - schema_ = subBuilder.buildPartial(); + case 50: + { + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.Builder + subBuilder = null; + if (schemaCase_ == 6) { + subBuilder = + ((com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) schema_) + .toBuilder(); + } + schema_ = + input.readMessage( + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) schema_); + schema_ = subBuilder.buildPartial(); + } + schemaCase_ = 6; + break; } - schemaCase_ = 6; - break; - } - case 58: { - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.Builder subBuilder = null; - if (tableReference_ != null) { - subBuilder = tableReference_.toBuilder(); + case 58: + { + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.Builder + subBuilder = null; + if (tableReference_ != null) { + subBuilder = tableReference_.toBuilder(); + } + tableReference_ = + input.readMessage( + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tableReference_); + tableReference_ = subBuilder.buildPartial(); + } + + break; } - tableReference_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tableReference_); - tableReference_ = subBuilder.buildPartial(); + case 66: + { + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.Builder + subBuilder = null; + if (tableModifiers_ != null) { + subBuilder = tableModifiers_.toBuilder(); + } + tableModifiers_ = + input.readMessage( + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tableModifiers_); + tableModifiers_ = subBuilder.buildPartial(); + } + + break; } + case 72: + { + int rawValue = input.readEnum(); - break; - } - case 66: { - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.Builder subBuilder = null; - if (tableModifiers_ != null) { - subBuilder = tableModifiers_.toBuilder(); - } - tableModifiers_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tableModifiers_); - tableModifiers_ = subBuilder.buildPartial(); + shardingStrategy_ = rawValue; + break; } - - break; - } - case 72: { - int rawValue = input.readEnum(); - - shardingStrategy_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { streams_ = java.util.Collections.unmodifiableList(streams_); @@ -2107,28 +2382,34 @@ private ReadSession( makeExtensionsImmutable(); } } - 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; 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; } @@ -2144,32 +2425,38 @@ 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; 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 @@ -2178,30 +2465,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 { @@ -2212,12 +2499,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 @@ -2225,12 +2515,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 @@ -2238,6 +2531,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.
@@ -2252,11 +2547,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 @@ -2264,21 +2562,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.
      * 
@@ -2286,20 +2589,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 @@ -2307,21 +2614,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.
      * 
@@ -2329,9 +2641,10 @@ 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(); } @@ -2339,6 +2652,8 @@ public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchemaOrBuilder public static final int STREAMS_FIELD_NUMBER = 4; private java.util.List streams_; /** + * + * *
      * Streams associated with this session.
      * 
@@ -2346,10 +2661,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.
      * 
@@ -2357,11 +2675,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.
      * 
@@ -2373,6 +2694,8 @@ public int getStreamsCount() { return streams_.size(); } /** + * + * *
      * Streams associated with this session.
      * 
@@ -2384,6 +2707,8 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getStreams(int i return streams_.get(index); } /** + * + * *
      * Streams associated with this session.
      * 
@@ -2397,13 +2722,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 @@ -2411,18 +2740,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.
      * 
@@ -2430,18 +2768,23 @@ 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() { + public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReferenceOrBuilder + getTableReferenceOrBuilder() { return getTableReference(); } 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 @@ -2449,18 +2792,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.
      * 
@@ -2468,38 +2820,53 @@ 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() { + public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiersOrBuilder + getTableModifiersOrBuilder() { return getTableModifiers(); } public static final int SHARDING_STRATEGY_FIELD_NUMBER = 9; private int shardingStrategy_; /** + * + * *
      * 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() { + @java.lang.Override + public com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy + getShardingStrategy() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy result = com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.valueOf(shardingStrategy_); - return result == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.UNRECOGNIZED : result; + com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy result = + com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.valueOf( + 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; @@ -2511,8 +2878,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 (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -2523,10 +2889,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()); @@ -2534,7 +2902,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_); } unknownFields.writeTo(output); @@ -2550,32 +2921,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2585,42 +2956,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: @@ -2674,87 +3039,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 @@ -2764,27 +3136,32 @@ 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() @@ -2792,17 +3169,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getStreamsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -2840,13 +3217,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(); } @@ -2861,7 +3239,8 @@ 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); int from_bitField0_ = bitField0_; result.name_ = name_; if (expireTimeBuilder_ == null) { @@ -2912,46 +3291,52 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession buildPartia 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_; onChanged(); @@ -2977,9 +3362,10 @@ public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta1.Storage.ReadS 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_); } @@ -2995,17 +3381,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.unknownFields); onChanged(); @@ -3026,7 +3415,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3035,12 +3426,12 @@ public Builder mergeFrom( } 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() { @@ -3054,19 +3445,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; @@ -3075,21 +3468,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 { @@ -3097,57 +3491,64 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); onChanged(); 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -3155,36 +3556,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 expireTimeBuilder_ != null || 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. */ 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.
@@ -3206,6 +3620,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.
@@ -3213,8 +3629,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();
           onChanged();
@@ -3225,6 +3640,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.
@@ -3236,7 +3653,9 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) {
         if (expireTimeBuilder_ == null) {
           if (expireTime_ != null) {
             expireTime_ =
-              com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial();
+                com.google.protobuf.Timestamp.newBuilder(expireTime_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             expireTime_ = value;
           }
@@ -3248,6 +3667,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.
@@ -3267,6 +3688,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.
@@ -3275,11 +3698,13 @@ public Builder clearExpireTime() {
        * .google.protobuf.Timestamp expire_time = 2;
        */
       public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() {
-        
+
         onChanged();
         return getExpireTimeFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Time at which the session becomes invalid. After this time, subsequent
        * requests to read this Session will return errors.
@@ -3291,11 +3716,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.
@@ -3304,27 +3732,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 @@ -3332,11 +3769,14 @@ public boolean hasAvroSchema() { return schemaCase_ == 5; } /** + * + * *
        * Avro schema.
        * 
* * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 5; + * * @return The avroSchema. */ @java.lang.Override @@ -3345,22 +3785,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(); @@ -3374,6 +3819,8 @@ public Builder setAvroSchema(com.google.cloud.bigquery.storage.v1beta1.AvroProto return this; } /** + * + * *
        * Avro schema.
        * 
@@ -3392,18 +3839,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; } @@ -3418,6 +3873,8 @@ public Builder mergeAvroSchema(com.google.cloud.bigquery.storage.v1beta1.AvroPro return this; } /** + * + * *
        * Avro schema.
        * 
@@ -3441,16 +3898,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.
        * 
@@ -3458,17 +3920,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.
        * 
@@ -3476,32 +3942,45 @@ 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()); schema_ = null; } schemaCase_ = 5; - onChanged();; + onChanged(); + ; return avroSchemaBuilder_; } 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 @@ -3509,11 +3988,14 @@ public boolean hasArrowSchema() { return schemaCase_ == 6; } /** + * + * *
        * Arrow schema.
        * 
* * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 6; + * * @return The arrowSchema. */ @java.lang.Override @@ -3522,22 +4004,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(); @@ -3551,6 +4038,8 @@ public Builder setArrowSchema(com.google.cloud.bigquery.storage.v1beta1.ArrowPro return this; } /** + * + * *
        * Arrow schema.
        * 
@@ -3558,7 +4047,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(); @@ -3569,18 +4059,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; } @@ -3595,6 +4093,8 @@ public Builder mergeArrowSchema(com.google.cloud.bigquery.storage.v1beta1.ArrowP return this; } /** + * + * *
        * Arrow schema.
        * 
@@ -3618,16 +4118,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.
        * 
@@ -3635,17 +4140,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.
        * 
@@ -3653,44 +4162,61 @@ 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()); schema_ = null; } schemaCase_ = 6; - onChanged();; + onChanged(); + ; return arrowSchemaBuilder_; } 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_; /** + * + * *
        * 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 { @@ -3698,6 +4224,8 @@ public java.util.List } } /** + * + * *
        * Streams associated with this session.
        * 
@@ -3712,6 +4240,8 @@ public int getStreamsCount() { } } /** + * + * *
        * Streams associated with this session.
        * 
@@ -3726,6 +4256,8 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getStreams(int i } } /** + * + * *
        * Streams associated with this session.
        * 
@@ -3747,6 +4279,8 @@ public Builder setStreams( return this; } /** + * + * *
        * Streams associated with this session.
        * 
@@ -3754,7 +4288,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()); @@ -3765,6 +4300,8 @@ public Builder setStreams( return this; } /** + * + * *
        * Streams associated with this session.
        * 
@@ -3785,6 +4322,8 @@ public Builder addStreams(com.google.cloud.bigquery.storage.v1beta1.Storage.Stre return this; } /** + * + * *
        * Streams associated with this session.
        * 
@@ -3806,6 +4345,8 @@ public Builder addStreams( return this; } /** + * + * *
        * Streams associated with this session.
        * 
@@ -3824,6 +4365,8 @@ public Builder addStreams( return this; } /** + * + * *
        * Streams associated with this session.
        * 
@@ -3831,7 +4374,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()); @@ -3842,6 +4386,8 @@ public Builder addStreams( return this; } /** + * + * *
        * Streams associated with this session.
        * 
@@ -3849,11 +4395,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); @@ -3861,6 +4407,8 @@ public Builder addAllStreams( return this; } /** + * + * *
        * Streams associated with this session.
        * 
@@ -3878,6 +4426,8 @@ public Builder clearStreams() { return this; } /** + * + * *
        * Streams associated with this session.
        * 
@@ -3895,6 +4445,8 @@ public Builder removeStreams(int index) { return this; } /** + * + * *
        * Streams associated with this session.
        * 
@@ -3906,6 +4458,8 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder getStrea return getStreamsFieldBuilder().getBuilder(index); } /** + * + * *
        * Streams associated with this session.
        * 
@@ -3915,19 +4469,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 { @@ -3935,6 +4493,8 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getStre } } /** + * + * *
        * Streams associated with this session.
        * 
@@ -3942,10 +4502,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.
        * 
@@ -3954,72 +4517,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_ & 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_; } - 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 tableReferenceBuilder_ != null || tableReference_ != null; } /** + * + * *
        * 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(); @@ -4033,6 +4620,8 @@ public Builder setTableReference(com.google.cloud.bigquery.storage.v1beta1.Table return this; } /** + * + * *
        * Table that this ReadSession is reading from.
        * 
@@ -4040,7 +4629,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(); onChanged(); @@ -4051,17 +4641,23 @@ 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 (tableReference_ != null) { tableReference_ = - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.newBuilder(tableReference_).mergeFrom(value).buildPartial(); + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference + .newBuilder(tableReference_) + .mergeFrom(value) + .buildPartial(); } else { tableReference_ = value; } @@ -4073,6 +4669,8 @@ public Builder mergeTableReference(com.google.cloud.bigquery.storage.v1beta1.Tab return this; } /** + * + * *
        * Table that this ReadSession is reading from.
        * 
@@ -4091,33 +4689,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() { + 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.
        * 
@@ -4125,56 +4733,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 tableModifiersBuilder_ != null || 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. */ - 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(); @@ -4188,6 +4818,8 @@ public Builder setTableModifiers(com.google.cloud.bigquery.storage.v1beta1.Table return this; } /** + * + * *
        * Any modifiers which are applied when reading from the specified table.
        * 
@@ -4195,7 +4827,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(); onChanged(); @@ -4206,17 +4839,23 @@ 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 (tableModifiers_ != null) { tableModifiers_ = - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.newBuilder(tableModifiers_).mergeFrom(value).buildPartial(); + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers + .newBuilder(tableModifiers_) + .mergeFrom(value) + .buildPartial(); } else { tableModifiers_ = value; } @@ -4228,6 +4867,8 @@ public Builder mergeTableModifiers(com.google.cloud.bigquery.storage.v1beta1.Tab return this; } /** + * + * *
        * Any modifiers which are applied when reading from the specified table.
        * 
@@ -4246,33 +4887,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() { + 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.
        * 
@@ -4280,14 +4931,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_; @@ -4295,77 +4951,100 @@ 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. */ public Builder setShardingStrategyValue(int value) { - + shardingStrategy_ = value; onChanged(); 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() { + public com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy + getShardingStrategy() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy result = com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.valueOf(shardingStrategy_); - return result == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.UNRECOGNIZED : result; + com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy result = + com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.valueOf( + 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(); } - + shardingStrategy_ = value.getNumber(); onChanged(); 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() { - + shardingStrategy_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4378,30 +5057,32 @@ 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 { - return new ReadSession(input, extensionRegistry); - } - }; + 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 { + return new ReadSession(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4413,95 +5094,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
@@ -4512,78 +5231,102 @@ 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.
      * 
* * .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.
      * 
* * .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.
@@ -4591,15 +5334,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;
@@ -4608,16 +5352,15 @@ private CreateReadSessionRequest() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new CreateReadSessionRequest();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private CreateReadSessionRequest(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -4636,108 +5379,138 @@ private CreateReadSessionRequest(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.Builder subBuilder = null;
-              if (tableReference_ != null) {
-                subBuilder = tableReference_.toBuilder();
+            case 10:
+              {
+                com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.Builder
+                    subBuilder = null;
+                if (tableReference_ != null) {
+                  subBuilder = tableReference_.toBuilder();
+                }
+                tableReference_ =
+                    input.readMessage(
+                        com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference
+                            .parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(tableReference_);
+                  tableReference_ = subBuilder.buildPartial();
+                }
+
+                break;
               }
-              tableReference_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(tableReference_);
-                tableReference_ = subBuilder.buildPartial();
+            case 18:
+              {
+                com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.Builder
+                    subBuilder = null;
+                if (tableModifiers_ != null) {
+                  subBuilder = tableModifiers_.toBuilder();
+                }
+                tableModifiers_ =
+                    input.readMessage(
+                        com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers
+                            .parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(tableModifiers_);
+                  tableModifiers_ = subBuilder.buildPartial();
+                }
+
+                break;
               }
-
-              break;
-            }
-            case 18: {
-              com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.Builder subBuilder = null;
-              if (tableModifiers_ != null) {
-                subBuilder = tableModifiers_.toBuilder();
+            case 24:
+              {
+                requestedStreams_ = input.readInt32();
+                break;
               }
-              tableModifiers_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(tableModifiers_);
-                tableModifiers_ = subBuilder.buildPartial();
+            case 34:
+              {
+                com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.Builder
+                    subBuilder = null;
+                if (readOptions_ != null) {
+                  subBuilder = readOptions_.toBuilder();
+                }
+                readOptions_ =
+                    input.readMessage(
+                        com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions
+                            .parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(readOptions_);
+                  readOptions_ = subBuilder.buildPartial();
+                }
+
+                break;
               }
+            case 40:
+              {
+                int rawValue = input.readEnum();
 
-              break;
-            }
-            case 24: {
-
-              requestedStreams_ = input.readInt32();
-              break;
-            }
-            case 34: {
-              com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.Builder subBuilder = null;
-              if (readOptions_ != null) {
-                subBuilder = readOptions_.toBuilder();
-              }
-              readOptions_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(readOptions_);
-                readOptions_ = subBuilder.buildPartial();
+                format_ = rawValue;
+                break;
               }
+            case 50:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              break;
-            }
-            case 40: {
-              int rawValue = input.readEnum();
+                parent_ = s;
+                break;
+              }
+            case 56:
+              {
+                int rawValue = input.readEnum();
 
-              format_ = rawValue;
-              break;
-            }
-            case 50: {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              parent_ = s;
-              break;
-            }
-            case 56: {
-              int rawValue = input.readEnum();
-
-              shardingStrategy_ = rawValue;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                shardingStrategy_ = rawValue;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    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 @@ -4745,39 +5518,58 @@ 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() { + public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReferenceOrBuilder + getTableReferenceOrBuilder() { return getTableReference(); } public static final int PARENT_FIELD_NUMBER = 6; 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 @@ -4786,31 +5578,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 { @@ -4819,13 +5613,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 @@ -4833,18 +5631,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).
      * 
@@ -4852,13 +5659,16 @@ 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() { + public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiersOrBuilder + getTableModifiersOrBuilder() { return getTableModifiers(); } public static final int REQUESTED_STREAMS_FIELD_NUMBER = 3; 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
@@ -4869,6 +5679,7 @@ public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifi
      * 
* * int32 requested_streams = 3; + * * @return The requestedStreams. */ @java.lang.Override @@ -4879,11 +5690,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 @@ -4891,18 +5705,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).
      * 
@@ -4910,67 +5732,93 @@ 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() { + public com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptionsOrBuilder + getReadOptionsOrBuilder() { return getReadOptions(); } public static final int FORMAT_FIELD_NUMBER = 5; private int format_; /** + * + * *
      * Data output format. Currently default to Avro.
      * 
* * .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.
      * 
* * .google.cloud.bigquery.storage.v1beta1.DataFormat format = 5; + * * @return The format. */ - @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat getFormat() { + @java.lang.Override + public com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat getFormat() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat result = com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat.valueOf(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.valueOf(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_; /** + * + * *
      * 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() { + @java.lang.Override + public com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy + getShardingStrategy() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy result = com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.valueOf(shardingStrategy_); - return result == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.UNRECOGNIZED : result; + com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy result = + com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.valueOf( + 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; @@ -4982,8 +5830,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()); } @@ -4996,13 +5843,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 (!getParentBytes().isEmpty()) { 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_); } unknownFields.writeTo(output); @@ -5015,31 +5867,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 (!getParentBytes().isEmpty()) { 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -5049,31 +5900,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; @@ -5113,88 +5961,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 @@ -5204,6 +6065,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Creates a new read session, which may include additional options such as
      * requested parallelism, projection filters and constraints.
@@ -5211,38 +6074,42 @@ 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()
+      // Construct using
+      // com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -5276,19 +6143,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);
         }
@@ -5296,8 +6166,10 @@ 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);
+      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 (tableReferenceBuilder_ == null) {
           result.tableReference_ = tableReference_;
         } else {
@@ -5325,46 +6197,54 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionReques
       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());
         }
@@ -5402,11 +6282,14 @@ public Builder mergeFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest parsedMessage = null;
+        com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest parsedMessage =
+            null;
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -5416,43 +6299,66 @@ public Builder mergeFrom(
         return this;
       }
 
-      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 tableReferenceBuilder_ != null || 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. */ - 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(); @@ -5466,14 +6372,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(); onChanged(); @@ -5484,17 +6395,25 @@ 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 (tableReference_ != null) { tableReference_ = - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.newBuilder(tableReference_).mergeFrom(value).buildPartial(); + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference + .newBuilder(tableReference_) + .mergeFrom(value) + .buildPartial(); } else { tableReference_ = value; } @@ -5506,11 +6425,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() { if (tableReferenceBuilder_ == null) { @@ -5524,48 +6447,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() { + 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_; @@ -5573,20 +6517,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; @@ -5595,22 +6543,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 { @@ -5618,102 +6569,132 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); 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 tableModifiersBuilder_ != null || tableModifiers_ != null; } /** + * + * *
        * 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(); @@ -5727,6 +6708,8 @@ public Builder setTableModifiers(com.google.cloud.bigquery.storage.v1beta1.Table return this; } /** + * + * *
        * Any modifiers to the Table (e.g. snapshot timestamp).
        * 
@@ -5734,7 +6717,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(); onChanged(); @@ -5745,17 +6729,23 @@ 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 (tableModifiers_ != null) { tableModifiers_ = - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.newBuilder(tableModifiers_).mergeFrom(value).buildPartial(); + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers + .newBuilder(tableModifiers_) + .mergeFrom(value) + .buildPartial(); } else { tableModifiers_ = value; } @@ -5767,6 +6757,8 @@ public Builder mergeTableModifiers(com.google.cloud.bigquery.storage.v1beta1.Tab return this; } /** + * + * *
        * Any modifiers to the Table (e.g. snapshot timestamp).
        * 
@@ -5785,33 +6777,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() { + 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).
        * 
@@ -5819,21 +6821,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
@@ -5844,6 +6853,7 @@ public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifi
        * 
* * int32 requested_streams = 3; + * * @return The requestedStreams. */ @java.lang.Override @@ -5851,6 +6861,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
@@ -5861,16 +6873,19 @@ public int getRequestedStreams() {
        * 
* * int32 requested_streams = 3; + * * @param value The requestedStreams to set. * @return This builder for chaining. */ public Builder setRequestedStreams(int value) { - + requestedStreams_ = value; onChanged(); 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
@@ -5881,10 +6896,11 @@ public Builder setRequestedStreams(int value) {
        * 
* * int32 requested_streams = 3; + * * @return This builder for chaining. */ public Builder clearRequestedStreams() { - + requestedStreams_ = 0; onChanged(); return this; @@ -5892,41 +6908,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 readOptionsBuilder_ != null || readOptions_ != null; } /** + * + * *
        * 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(); @@ -5940,6 +6972,8 @@ public Builder setReadOptions(com.google.cloud.bigquery.storage.v1beta1.ReadOpti return this; } /** + * + * *
        * Read options for this session (e.g. column selection, filters).
        * 
@@ -5947,7 +6981,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(); onChanged(); @@ -5958,17 +6993,23 @@ 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 (readOptions_ != null) { readOptions_ = - com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.newBuilder(readOptions_).mergeFrom(value).buildPartial(); + com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.newBuilder( + readOptions_) + .mergeFrom(value) + .buildPartial(); } else { readOptions_ = value; } @@ -5980,6 +7021,8 @@ public Builder mergeReadOptions(com.google.cloud.bigquery.storage.v1beta1.ReadOp return this; } /** + * + * *
        * Read options for this session (e.g. column selection, filters).
        * 
@@ -5998,33 +7041,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() { + 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).
        * 
@@ -6032,14 +7085,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_; @@ -6047,51 +7103,67 @@ public com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptionsOrB private int format_ = 0; /** + * + * *
        * Data output format. Currently default to Avro.
        * 
* * .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.
        * 
* * .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. */ public Builder setFormatValue(int value) { - + format_ = value; onChanged(); return this; } /** + * + * *
        * Data output format. Currently default to Avro.
        * 
* * .google.cloud.bigquery.storage.v1beta1.DataFormat format = 5; + * * @return The format. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat getFormat() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat result = com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat.valueOf(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.valueOf(format_); + return result == null + ? com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat.UNRECOGNIZED + : result; } /** + * + * *
        * Data output format. Currently default to Avro.
        * 
* * .google.cloud.bigquery.storage.v1beta1.DataFormat format = 5; + * * @param value The format to set. * @return This builder for chaining. */ @@ -6099,21 +7171,24 @@ public Builder setFormat(com.google.cloud.bigquery.storage.v1beta1.Storage.DataF if (value == null) { throw new NullPointerException(); } - + format_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Data output format. Currently default to Avro.
        * 
* * .google.cloud.bigquery.storage.v1beta1.DataFormat format = 5; + * * @return This builder for chaining. */ public Builder clearFormat() { - + format_ = 0; onChanged(); return this; @@ -6121,82 +7196,105 @@ 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. */ public Builder setShardingStrategyValue(int value) { - + shardingStrategy_ = value; onChanged(); 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() { + public com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy + getShardingStrategy() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy result = com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.valueOf(shardingStrategy_); - return result == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.UNRECOGNIZED : result; + com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy result = + com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.valueOf( + 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(); } - + shardingStrategy_ = value.getNumber(); onChanged(); 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() { - + shardingStrategy_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6209,30 +7307,33 @@ 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 { - return new CreateReadSessionRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateReadSessionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6244,80 +7345,97 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ReadRowsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -6336,61 +7454,73 @@ private ReadRowsRequest( case 0: done = true; break; - case 10: { - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.Builder subBuilder = null; - if (readPosition_ != null) { - subBuilder = readPosition_.toBuilder(); - } - readPosition_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readPosition_); - readPosition_ = subBuilder.buildPartial(); + case 10: + { + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.Builder + subBuilder = null; + if (readPosition_ != null) { + subBuilder = readPosition_.toBuilder(); + } + readPosition_ = + input.readMessage( + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readPosition_); + readPosition_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 @@ -6398,34 +7528,47 @@ 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() { + public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPositionOrBuilder + getReadPositionOrBuilder() { return getReadPosition(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6437,8 +7580,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()); } @@ -6452,8 +7594,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -6463,17 +7604,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -6496,87 +7637,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 @@ -6586,44 +7735,49 @@ 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() + // Construct using + // com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -6637,14 +7791,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 @@ -6658,7 +7814,8 @@ 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); + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest result = + new com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest(this); if (readPositionBuilder_ == null) { result.readPosition_ = readPosition_; } else { @@ -6672,46 +7829,53 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest buildPa 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()); } @@ -6734,7 +7898,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -6746,47 +7912,68 @@ public Builder mergeFrom( 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 readPositionBuilder_ != null || 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. */ 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(); @@ -6800,16 +7987,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(); onChanged(); @@ -6820,19 +8012,27 @@ 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 (readPosition_ != null) { readPosition_ = - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.newBuilder(readPosition_).mergeFrom(value).buildPartial(); + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.newBuilder( + readPosition_) + .mergeFrom(value) + .buildPartial(); } else { readPosition_ = value; } @@ -6844,13 +8044,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() { if (readPositionBuilder_ == null) { @@ -6864,58 +8068,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() { + 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) { @@ -6928,30 +8152,32 @@ 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 { - return new ReadRowsRequest(input, extensionRegistry); - } - }; + 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 { + return new ReadRowsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6963,17 +8189,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
@@ -6981,11 +8210,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
@@ -6996,29 +8228,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.
      * 
@@ -7028,6 +8269,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
@@ -7037,41 +8280,43 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private StreamStatus( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -7090,69 +8335,78 @@ private StreamStatus( case 0: done = true; break; - case 8: { - - estimatedRowCount_ = input.readInt64(); - break; - } - case 21: { - - fractionConsumed_ = input.readFloat(); - break; - } - case 24: { - - isSplittable_ = input.readBool(); - break; - } - case 34: { - com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.Builder subBuilder = null; - if (progress_ != null) { - subBuilder = progress_.toBuilder(); + case 8: + { + estimatedRowCount_ = input.readInt64(); + break; } - progress_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(progress_); - progress_ = subBuilder.buildPartial(); + case 21: + { + fractionConsumed_ = input.readFloat(); + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 24: + { + isSplittable_ = input.readBool(); + break; + } + case 34: + { + com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.Builder subBuilder = + null; + if (progress_ != null) { + subBuilder = progress_.toBuilder(); + } + progress_ = + input.readMessage( + com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(progress_); + progress_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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_; /** + * + * *
      * 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
@@ -7160,6 +8414,7 @@ private StreamStatus(
      * 
* * int64 estimated_row_count = 1; + * * @return The estimatedRowCount. */ @java.lang.Override @@ -7170,6 +8425,8 @@ public long getEstimatedRowCount() { public static final int FRACTION_CONSUMED_FIELD_NUMBER = 2; 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
@@ -7180,6 +8437,7 @@ public long getEstimatedRowCount() {
      * 
* * float fraction_consumed = 2; + * * @return The fractionConsumed. */ @java.lang.Override @@ -7190,11 +8448,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 @@ -7202,18 +8463,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.
      * 
@@ -7221,13 +8489,16 @@ 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() { + public com.google.cloud.bigquery.storage.v1beta1.Storage.ProgressOrBuilder + getProgressOrBuilder() { return getProgress(); } public static final int IS_SPLITTABLE_FIELD_NUMBER = 3; 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
@@ -7237,6 +8508,7 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.ProgressOrBuilder getPr
      * 
* * bool is_splittable = 3; + * * @return The isSplittable. */ @java.lang.Override @@ -7245,6 +8517,7 @@ public boolean getIsSplittable() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7256,8 +8529,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_); } @@ -7280,20 +8552,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 (fractionConsumed_ != 0F) { - 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -7303,25 +8571,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -7334,105 +8599,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) + unknownFields.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 @@ -7442,27 +8711,32 @@ 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() @@ -7470,16 +8744,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -7499,13 +8772,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(); } @@ -7520,7 +8794,8 @@ 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); + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus result = + new com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus(this); result.estimatedRowCount_ = estimatedRowCount_; result.fractionConsumed_ = fractionConsumed_; if (progressBuilder_ == null) { @@ -7537,46 +8812,52 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus buildParti 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()); } @@ -7608,7 +8889,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -7618,8 +8901,10 @@ public Builder mergeFrom( return this; } - 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
@@ -7627,6 +8912,7 @@ public Builder mergeFrom(
        * 
* * int64 estimated_row_count = 1; + * * @return The estimatedRowCount. */ @java.lang.Override @@ -7634,6 +8920,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
@@ -7641,16 +8929,19 @@ public long getEstimatedRowCount() {
        * 
* * int64 estimated_row_count = 1; + * * @param value The estimatedRowCount to set. * @return This builder for chaining. */ public Builder setEstimatedRowCount(long value) { - + estimatedRowCount_ = value; onChanged(); 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
@@ -7658,17 +8949,20 @@ public Builder setEstimatedRowCount(long value) {
        * 
* * int64 estimated_row_count = 1; + * * @return This builder for chaining. */ public Builder clearEstimatedRowCount() { - + estimatedRowCount_ = 0L; onChanged(); 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
@@ -7679,6 +8973,7 @@ public Builder clearEstimatedRowCount() {
        * 
* * float fraction_consumed = 2; + * * @return The fractionConsumed. */ @java.lang.Override @@ -7686,6 +8981,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
@@ -7696,16 +8993,19 @@ public float getFractionConsumed() {
        * 
* * float fraction_consumed = 2; + * * @param value The fractionConsumed to set. * @return This builder for chaining. */ public Builder setFractionConsumed(float value) { - + fractionConsumed_ = value; onChanged(); 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
@@ -7716,10 +9016,11 @@ public Builder setFractionConsumed(float value) {
        * 
* * float fraction_consumed = 2; + * * @return This builder for chaining. */ public Builder clearFractionConsumed() { - + fractionConsumed_ = 0F; onChanged(); return this; @@ -7727,34 +9028,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 progressBuilder_ != null || progress_ != null; } /** + * + * *
        * 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.
        * 
@@ -7775,7 +9089,9 @@ public Builder setProgress(com.google.cloud.bigquery.storage.v1beta1.Storage.Pro return this; } /** - *
+       *
+       *
+       * 
        * Represents the progress of the current stream.
        * 
* @@ -7793,17 +9109,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 (progress_ != null) { progress_ = - com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.newBuilder(progress_).mergeFrom(value).buildPartial(); + com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.newBuilder(progress_) + .mergeFrom(value) + .buildPartial(); } else { progress_ = value; } @@ -7815,6 +9136,8 @@ public Builder mergeProgress(com.google.cloud.bigquery.storage.v1beta1.Storage.P return this; } /** + * + * *
        * Represents the progress of the current stream.
        * 
@@ -7833,33 +9156,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() { + 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.
        * 
@@ -7867,21 +9199,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
@@ -7891,6 +9228,7 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.ProgressOrBuilder getPr
        * 
* * bool is_splittable = 3; + * * @return The isSplittable. */ @java.lang.Override @@ -7898,6 +9236,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
@@ -7907,16 +9247,19 @@ public boolean getIsSplittable() {
        * 
* * bool is_splittable = 3; + * * @param value The isSplittable to set. * @return This builder for chaining. */ public Builder setIsSplittable(boolean value) { - + isSplittable_ = value; onChanged(); 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
@@ -7926,14 +9269,16 @@ public Builder setIsSplittable(boolean value) {
        * 
* * bool is_splittable = 3; + * * @return This builder for chaining. */ public Builder clearIsSplittable() { - + isSplittable_ = false; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7946,30 +9291,32 @@ 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 { - return new StreamStatus(input, extensionRegistry); - } - }; + 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 { + return new StreamStatus(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7981,17 +9328,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.
@@ -8005,48 +9355,49 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Progress( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -8065,51 +9416,55 @@ private Progress( case 0: done = true; break; - case 13: { - - atResponseStart_ = input.readFloat(); - break; - } - case 21: { - - atResponseEnd_ = input.readFloat(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 13: + { + atResponseStart_ = input.readFloat(); + break; + } + case 21: + { + atResponseEnd_ = input.readFloat(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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_; /** + * + * *
      * 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.
@@ -8123,6 +9478,7 @@ private Progress(
      * 
* * float at_response_start = 1; + * * @return The atResponseStart. */ @java.lang.Override @@ -8133,12 +9489,15 @@ public float getAtResponseStart() { public static final int AT_RESPONSE_END_FIELD_NUMBER = 2; 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 @@ -8147,6 +9506,7 @@ public float getAtResponseEnd() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -8158,8 +9518,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 (atResponseStart_ != 0F) { output.writeFloat(1, atResponseStart_); } @@ -8176,12 +9535,10 @@ public int getSerializedSize() { size = 0; if (atResponseStart_ != 0F) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(1, atResponseStart_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, atResponseStart_); } if (atResponseEnd_ != 0F) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(2, atResponseEnd_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, atResponseEnd_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -8191,19 +9548,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -8216,98 +9572,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) + unknownFields.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 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 @@ -8316,24 +9677,25 @@ 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() @@ -8341,16 +9703,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -8362,13 +9723,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(); } @@ -8383,7 +9745,8 @@ 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); + com.google.cloud.bigquery.storage.v1beta1.Storage.Progress result = + new com.google.cloud.bigquery.storage.v1beta1.Storage.Progress(this); result.atResponseStart_ = atResponseStart_; result.atResponseEnd_ = atResponseEnd_; onBuilt(); @@ -8394,38 +9757,41 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Progress buildPartial() 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; @@ -8433,7 +9799,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()); } @@ -8459,7 +9827,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1beta1.Storage.Progress) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1beta1.Storage.Progress) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -8469,8 +9838,10 @@ public Builder mergeFrom( return this; } - 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.
@@ -8484,6 +9855,7 @@ public Builder mergeFrom(
        * 
* * float at_response_start = 1; + * * @return The atResponseStart. */ @java.lang.Override @@ -8491,6 +9863,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.
@@ -8504,16 +9878,19 @@ public float getAtResponseStart() {
        * 
* * float at_response_start = 1; + * * @param value The atResponseStart to set. * @return This builder for chaining. */ public Builder setAtResponseStart(float value) { - + atResponseStart_ = value; onChanged(); 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.
@@ -8527,23 +9904,27 @@ public Builder setAtResponseStart(float value) {
        * 
* * float at_response_start = 1; + * * @return This builder for chaining. */ public Builder clearAtResponseStart() { - + atResponseStart_ = 0F; onChanged(); 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 @@ -8551,36 +9932,43 @@ 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. */ public Builder setAtResponseEnd(float value) { - + atResponseEnd_ = value; onChanged(); 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() { - + atResponseEnd_ = 0F; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -8593,12 +9981,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(); } @@ -8607,16 +9996,16 @@ 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 { - return new Progress(input, extensionRegistry); - } - }; + 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 { + return new Progress(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8631,55 +10020,59 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ThrottleStatus( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -8698,52 +10091,57 @@ private ThrottleStatus( case 0: done = true; break; - case 8: { - - throttlePercent_ = input.readInt32(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 8: + { + throttlePercent_ = input.readInt32(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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_; /** + * + * *
      * 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 @@ -8752,6 +10150,7 @@ public int getThrottlePercent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -8763,8 +10162,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_); } @@ -8778,8 +10176,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -8789,15 +10186,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -8817,87 +10214,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 @@ -8907,44 +10312,49 @@ 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() + // Construct using + // com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -8954,14 +10364,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 @@ -8975,7 +10387,8 @@ 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); + com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus result = + new com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus(this); result.throttlePercent_ = throttlePercent_; onBuilt(); return result; @@ -8985,46 +10398,53 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus buildPar 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()); } @@ -9047,7 +10467,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -9057,14 +10479,17 @@ public Builder mergeFrom( return this; } - 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 @@ -9072,36 +10497,43 @@ 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. */ public Builder setThrottlePercent(int value) { - + throttlePercent_ = value; onChanged(); 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() { - + throttlePercent_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -9114,30 +10546,32 @@ 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 { - return new ThrottleStatus(input, extensionRegistry); - } - }; + 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 { + return new ThrottleStatus(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9149,35 +10583,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.
      * 
@@ -9187,33 +10630,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
@@ -9222,29 +10676,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.
      * 
@@ -9254,26 +10717,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.
@@ -9281,11 +10752,15 @@ 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();
 
-    public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse.RowsCase getRowsCase();
+    public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse.RowsCase
+        getRowsCase();
   }
   /**
+   *
+   *
    * 
    * Response from calling `ReadRows` may include row data, progress and
    * throttling information.
@@ -9293,30 +10768,29 @@ 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();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private ReadRowsResponse(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -9335,106 +10809,138 @@ private ReadRowsResponse(
             case 0:
               done = true;
               break;
-            case 18: {
-              com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus.Builder subBuilder = null;
-              if (status_ != null) {
-                subBuilder = status_.toBuilder();
-              }
-              status_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(status_);
-                status_ = subBuilder.buildPartial();
-              }
-
-              break;
-            }
-            case 26: {
-              com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows.Builder subBuilder = null;
-              if (rowsCase_ == 3) {
-                subBuilder = ((com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows) rows_).toBuilder();
+            case 18:
+              {
+                com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus.Builder subBuilder =
+                    null;
+                if (status_ != null) {
+                  subBuilder = status_.toBuilder();
+                }
+                status_ =
+                    input.readMessage(
+                        com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(status_);
+                  status_ = subBuilder.buildPartial();
+                }
+
+                break;
               }
-              rows_ =
-                  input.readMessage(com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows) rows_);
-                rows_ = subBuilder.buildPartial();
+            case 26:
+              {
+                com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows.Builder subBuilder =
+                    null;
+                if (rowsCase_ == 3) {
+                  subBuilder =
+                      ((com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows) rows_)
+                          .toBuilder();
+                }
+                rows_ =
+                    input.readMessage(
+                        com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(
+                      (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows) rows_);
+                  rows_ = subBuilder.buildPartial();
+                }
+                rowsCase_ = 3;
+                break;
               }
-              rowsCase_ = 3;
-              break;
-            }
-            case 34: {
-              com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch.Builder subBuilder = null;
-              if (rowsCase_ == 4) {
-                subBuilder = ((com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch) rows_).toBuilder();
+            case 34:
+              {
+                com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch.Builder
+                    subBuilder = null;
+                if (rowsCase_ == 4) {
+                  subBuilder =
+                      ((com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch)
+                              rows_)
+                          .toBuilder();
+                }
+                rows_ =
+                    input.readMessage(
+                        com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch
+                            .parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(
+                      (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch)
+                          rows_);
+                  rows_ = subBuilder.buildPartial();
+                }
+                rowsCase_ = 4;
+                break;
               }
-              rows_ =
-                  input.readMessage(com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch) rows_);
-                rows_ = subBuilder.buildPartial();
+            case 42:
+              {
+                com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.Builder
+                    subBuilder = null;
+                if (throttleStatus_ != null) {
+                  subBuilder = throttleStatus_.toBuilder();
+                }
+                throttleStatus_ =
+                    input.readMessage(
+                        com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(throttleStatus_);
+                  throttleStatus_ = subBuilder.buildPartial();
+                }
+
+                break;
               }
-              rowsCase_ = 4;
-              break;
-            }
-            case 42: {
-              com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.Builder subBuilder = null;
-              if (throttleStatus_ != null) {
-                subBuilder = throttleStatus_.toBuilder();
+            case 48:
+              {
+                rowCount_ = input.readInt64();
+                break;
               }
-              throttleStatus_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(throttleStatus_);
-                throttleStatus_ = subBuilder.buildPartial();
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-
-              break;
-            }
-            case 48: {
-
-              rowCount_ = input.readInt64();
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    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;
     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;
       }
@@ -9450,30 +10956,36 @@ 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_);
     }
 
     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 @@ -9481,21 +10993,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.
      * 
@@ -9503,20 +11020,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 @@ -9524,21 +11045,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.
      * 
@@ -9546,16 +11074,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_; /** + * + * *
      * 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
@@ -9564,6 +11096,7 @@ public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatchOrBu
      * 
* * int64 row_count = 6; + * * @return The rowCount. */ @java.lang.Override @@ -9574,11 +11107,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 @@ -9586,18 +11122,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.
      * 
@@ -9605,19 +11148,23 @@ 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() { + public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatusOrBuilder + getStatusOrBuilder() { return getStatus(); } 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 @@ -9625,19 +11172,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.
@@ -9646,11 +11200,13 @@ 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() {
+    public com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatusOrBuilder
+        getThrottleStatusOrBuilder() {
       return getThrottleStatus();
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -9662,16 +11218,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());
@@ -9689,24 +11246,23 @@ 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_);
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -9716,34 +11272,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:
@@ -9760,8 +11312,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();
@@ -9788,87 +11339,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
@@ -9878,6 +11437,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Response from calling `ReadRows` may include row data, progress and
      * throttling information.
@@ -9885,38 +11446,41 @@ 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()
+      // Construct using
+      // com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -9940,14 +11504,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
@@ -9961,7 +11527,8 @@ 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);
+        com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse result =
+            new com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse(this);
         if (rowsCase_ == 3) {
           if (avroRowsBuilder_ == null) {
             result.rows_ = rows_;
@@ -9996,46 +11563,53 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse buildP
       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());
         }
@@ -10046,17 +11620,20 @@ 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;
+            }
         }
         this.mergeUnknownFields(other.unknownFields);
         onChanged();
@@ -10077,7 +11654,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -10086,12 +11665,12 @@ public Builder mergeFrom(
         }
         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() {
@@ -10101,15 +11680,20 @@ public Builder clearRows() {
         return this;
       }
 
-
       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 @@ -10117,11 +11701,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 @@ -10139,13 +11726,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(); @@ -10159,6 +11749,8 @@ public Builder setAvroRows(com.google.cloud.bigquery.storage.v1beta1.AvroProto.A return this; } /** + * + * *
        * Serialized row data in AVRO format.
        * 
@@ -10177,18 +11769,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; } @@ -10203,6 +11803,8 @@ public Builder mergeAvroRows(com.google.cloud.bigquery.storage.v1beta1.AvroProto return this; } /** + * + * *
        * Serialized row data in AVRO format.
        * 
@@ -10226,16 +11828,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.
        * 
@@ -10243,7 +11850,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 { @@ -10254,6 +11862,8 @@ public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRowsOrBuilder get } } /** + * + * *
        * Serialized row data in AVRO format.
        * 
@@ -10261,32 +11871,46 @@ 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()); rows_ = null; } rowsCase_ = 3; - onChanged();; + onChanged(); + ; return avroRowsBuilder_; } 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 @@ -10294,35 +11918,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(); @@ -10336,14 +11971,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(); @@ -10354,18 +11993,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; } @@ -10380,11 +12029,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) { @@ -10403,61 +12055,83 @@ 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()); rows_ = null; } rowsCase_ = 4; - onChanged();; + onChanged(); + ; 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
@@ -10466,6 +12140,7 @@ public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatchOrBu
        * 
* * int64 row_count = 6; + * * @return The rowCount. */ @java.lang.Override @@ -10473,6 +12148,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
@@ -10481,16 +12158,19 @@ public long getRowCount() {
        * 
* * int64 row_count = 6; + * * @param value The rowCount to set. * @return This builder for chaining. */ public Builder setRowCount(long value) { - + rowCount_ = value; onChanged(); 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
@@ -10499,10 +12179,11 @@ public Builder setRowCount(long value) {
        * 
* * int64 row_count = 6; + * * @return This builder for chaining. */ public Builder clearRowCount() { - + rowCount_ = 0L; onChanged(); return this; @@ -10510,41 +12191,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 statusBuilder_ != null || status_ != null; } /** + * + * *
        * 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(); @@ -10558,6 +12253,8 @@ public Builder setStatus(com.google.cloud.bigquery.storage.v1beta1.Storage.Strea return this; } /** + * + * *
        * Estimated stream statistics.
        * 
@@ -10576,17 +12273,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 (status_ != null) { status_ = - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus.newBuilder(status_).mergeFrom(value).buildPartial(); + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus.newBuilder(status_) + .mergeFrom(value) + .buildPartial(); } else { status_ = value; } @@ -10598,6 +12300,8 @@ public Builder mergeStatus(com.google.cloud.bigquery.storage.v1beta1.Storage.Str return this; } /** + * + * *
        * Estimated stream statistics.
        * 
@@ -10616,33 +12320,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() { + 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.
        * 
@@ -10650,14 +12363,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_; @@ -10665,36 +12381,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 throttleStatusBuilder_ != null || 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. */ 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.
@@ -10702,7 +12432,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();
@@ -10716,6 +12447,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.
@@ -10724,7 +12457,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();
           onChanged();
@@ -10735,6 +12469,8 @@ public Builder setThrottleStatus(
         return this;
       }
       /**
+       *
+       *
        * 
        * Throttling status. If unset, the latest response still describes
        * the current throttling status.
@@ -10742,11 +12478,15 @@ 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 (throttleStatus_ != null) {
             throttleStatus_ =
-              com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.newBuilder(throttleStatus_).mergeFrom(value).buildPartial();
+                com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.newBuilder(
+                        throttleStatus_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             throttleStatus_ = value;
           }
@@ -10758,6 +12498,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.
@@ -10777,6 +12519,8 @@ public Builder clearThrottleStatus() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Throttling status. If unset, the latest response still describes
        * the current throttling status.
@@ -10784,12 +12528,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() {
+
         onChanged();
         return getThrottleStatusFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Throttling status. If unset, the latest response still describes
        * the current throttling status.
@@ -10797,15 +12544,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.
@@ -10814,18 +12566,22 @@ 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_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -10838,30 +12594,32 @@ 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 {
-        return new ReadRowsResponse(input, extensionRegistry);
-      }
-    };
+    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 {
+            return new ReadRowsResponse(input, extensionRegistry);
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -10873,47 +12631,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
@@ -10921,42 +12696,47 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private BatchCreateReadSessionStreamsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -10975,65 +12755,79 @@ private BatchCreateReadSessionStreamsRequest( case 0: done = true; break; - case 10: { - com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.Builder subBuilder = null; - if (session_ != null) { - subBuilder = session_.toBuilder(); + case 10: + { + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.Builder subBuilder = + null; + if (session_ != null) { + subBuilder = session_.toBuilder(); + } + session_ = + input.readMessage( + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(session_); + session_ = subBuilder.buildPartial(); + } + + break; } - session_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(session_); - session_ = subBuilder.buildPartial(); + case 16: + { + requestedStreams_ = input.readInt32(); + break; } - - break; - } - case 16: { - - requestedStreams_ = input.readInt32(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 @@ -11041,34 +12835,48 @@ 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() { + public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSessionOrBuilder + getSessionOrBuilder() { return getSession(); } public static final int REQUESTED_STREAMS_FIELD_NUMBER = 2; private int requestedStreams_; /** + * + * *
      * Required. Number of new streams requested. Must be positive.
      * Number of added streams may be less than this, see CreateReadSessionRequest
@@ -11076,6 +12884,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 @@ -11084,6 +12893,7 @@ public int getRequestedStreams() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -11095,8 +12905,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()); } @@ -11113,12 +12922,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -11128,20 +12935,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -11164,88 +12973,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 @@ -11255,45 +13090,54 @@ 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() + // Construct using + // com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -11309,19 +13153,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); } @@ -11329,8 +13177,12 @@ 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); + 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 (sessionBuilder_ == null) { result.session_ = session_; } else { @@ -11345,46 +13197,59 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionS 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()); } @@ -11406,11 +13271,15 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest parsedMessage = null; + com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -11422,44 +13291,64 @@ public Builder mergeFrom( 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 sessionBuilder_ != null || 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. */ 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(); @@ -11473,12 +13362,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) { @@ -11492,18 +13385,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 (session_ != null) { session_ = - com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.newBuilder(session_).mergeFrom(value).buildPartial(); + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.newBuilder(session_) + .mergeFrom(value) + .buildPartial(); } else { session_ = value; } @@ -11515,12 +13415,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() { if (sessionBuilder_ == null) { @@ -11534,58 +13438,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() { + 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
@@ -11593,6 +13517,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 @@ -11600,6 +13525,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
@@ -11607,16 +13534,19 @@ public int getRequestedStreams() {
        * 
* * int32 requested_streams = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The requestedStreams to set. * @return This builder for chaining. */ public Builder setRequestedStreams(int value) { - + requestedStreams_ = value; onChanged(); return this; } /** + * + * *
        * Required. Number of new streams requested. Must be positive.
        * Number of added streams may be less than this, see CreateReadSessionRequest
@@ -11624,14 +13554,16 @@ public Builder setRequestedStreams(int value) {
        * 
* * int32 requested_streams = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearRequestedStreams() { - + requestedStreams_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -11644,30 +13576,36 @@ 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 { - return new BatchCreateReadSessionStreamsRequest(input, extensionRegistry); - } - }; + 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 { + return new BatchCreateReadSessionStreamsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -11679,26 +13617,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.
      * 
@@ -11707,6 +13649,8 @@ public interface BatchCreateReadSessionStreamsResponseOrBuilder extends */ com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getStreams(int index); /** + * + * *
      * Newly added streams.
      * 
@@ -11715,15 +13659,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.
      * 
@@ -11734,38 +13682,43 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private BatchCreateReadSessionStreamsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -11785,29 +13738,33 @@ private BatchCreateReadSessionStreamsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - streams_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + streams_ = + new java.util.ArrayList< + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream>(); + mutable_bitField0_ |= 0x00000001; + } + streams_.add( + input.readMessage( + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.parser(), + extensionRegistry)); + break; } - streams_.add( - input.readMessage(com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { streams_ = java.util.Collections.unmodifiableList(streams_); @@ -11816,22 +13773,29 @@ private BatchCreateReadSessionStreamsResponse( makeExtensionsImmutable(); } } - 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; private java.util.List streams_; /** + * + * *
      * Newly added streams.
      * 
@@ -11839,10 +13803,13 @@ private BatchCreateReadSessionStreamsResponse( * 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.
      * 
@@ -11850,11 +13817,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.
      * 
@@ -11866,6 +13836,8 @@ public int getStreamsCount() { return streams_.size(); } /** + * + * *
      * Newly added streams.
      * 
@@ -11877,6 +13849,8 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getStreams(int i return streams_.get(index); } /** + * + * *
      * Newly added streams.
      * 
@@ -11890,6 +13864,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; @@ -11901,8 +13876,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)); } @@ -11916,8 +13890,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -11927,15 +13900,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -11956,88 +13935,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 @@ -12047,46 +14052,56 @@ 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() + // Construct using + // com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getStreamsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -12100,19 +14115,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); } @@ -12120,8 +14139,12 @@ 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); int from_bitField0_ = bitField0_; if (streamsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -12140,46 +14163,59 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionS 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()) { @@ -12198,9 +14234,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_); } @@ -12221,11 +14258,15 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse parsedMessage = null; + com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1beta1.Storage + .BatchCreateReadSessionStreamsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -12234,28 +14275,38 @@ public Builder mergeFrom( } 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 { @@ -12263,6 +14314,8 @@ public java.util.List } } /** + * + * *
        * Newly added streams.
        * 
@@ -12277,6 +14330,8 @@ public int getStreamsCount() { } } /** + * + * *
        * Newly added streams.
        * 
@@ -12291,6 +14346,8 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getStreams(int i } } /** + * + * *
        * Newly added streams.
        * 
@@ -12312,6 +14369,8 @@ public Builder setStreams( return this; } /** + * + * *
        * Newly added streams.
        * 
@@ -12319,7 +14378,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()); @@ -12330,6 +14390,8 @@ public Builder setStreams( return this; } /** + * + * *
        * Newly added streams.
        * 
@@ -12350,6 +14412,8 @@ public Builder addStreams(com.google.cloud.bigquery.storage.v1beta1.Storage.Stre return this; } /** + * + * *
        * Newly added streams.
        * 
@@ -12371,6 +14435,8 @@ public Builder addStreams( return this; } /** + * + * *
        * Newly added streams.
        * 
@@ -12389,6 +14455,8 @@ public Builder addStreams( return this; } /** + * + * *
        * Newly added streams.
        * 
@@ -12396,7 +14464,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()); @@ -12407,6 +14476,8 @@ public Builder addStreams( return this; } /** + * + * *
        * Newly added streams.
        * 
@@ -12414,11 +14485,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); @@ -12426,6 +14497,8 @@ public Builder addAllStreams( return this; } /** + * + * *
        * Newly added streams.
        * 
@@ -12443,6 +14516,8 @@ public Builder clearStreams() { return this; } /** + * + * *
        * Newly added streams.
        * 
@@ -12460,6 +14535,8 @@ public Builder removeStreams(int index) { return this; } /** + * + * *
        * Newly added streams.
        * 
@@ -12471,6 +14548,8 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder getStrea return getStreamsFieldBuilder().getBuilder(index); } /** + * + * *
        * Newly added streams.
        * 
@@ -12480,19 +14559,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 { @@ -12500,6 +14583,8 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getStre } } /** + * + * *
        * Newly added streams.
        * 
@@ -12507,10 +14592,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.
        * 
@@ -12519,34 +14607,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) { @@ -12559,30 +14655,36 @@ 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 { - return new BatchCreateReadSessionStreamsResponse(input, extensionRegistry); - } - }; + 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 { + return new BatchCreateReadSessionStreamsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -12594,74 +14696,90 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private FinalizeStreamRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -12680,59 +14798,71 @@ private FinalizeStreamRequest( case 0: done = true; break; - case 18: { - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder subBuilder = null; - if (stream_ != null) { - subBuilder = stream_.toBuilder(); - } - stream_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(stream_); - stream_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder subBuilder = null; + if (stream_ != null) { + subBuilder = stream_.toBuilder(); + } + stream_ = + input.readMessage( + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(stream_); + stream_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 @@ -12740,23 +14870,34 @@ 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() { @@ -12764,6 +14905,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; @@ -12775,8 +14917,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()); } @@ -12790,8 +14931,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -12801,17 +14941,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -12834,87 +14975,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 @@ -12924,44 +15073,50 @@ 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() + // Construct using + // com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -12975,19 +15130,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); } @@ -12995,8 +15153,10 @@ 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); + 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 (streamBuilder_ == null) { result.stream_ = stream_; } else { @@ -13010,46 +15170,54 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest b 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()); } @@ -13068,11 +15236,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest parsedMessage = null; + com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -13084,39 +15255,58 @@ public Builder mergeFrom( 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 streamBuilder_ != null || 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. */ 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) { @@ -13132,11 +15322,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) { @@ -13150,17 +15344,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 (stream_ != null) { stream_ = - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.newBuilder(stream_).mergeFrom(value).buildPartial(); + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.newBuilder(stream_) + .mergeFrom(value) + .buildPartial(); } else { stream_ = value; } @@ -13172,11 +15372,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() { if (streamBuilder_ == null) { @@ -13190,52 +15394,70 @@ 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() { - + onChanged(); 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) { @@ -13248,30 +15470,33 @@ 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 { - return new FinalizeStreamRequest(input, extensionRegistry); - } - }; + 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 { + return new FinalizeStreamRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -13283,44 +15508,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
@@ -13332,41 +15574,43 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SplitReadStreamRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -13385,64 +15629,76 @@ private SplitReadStreamRequest( case 0: done = true; break; - case 10: { - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder subBuilder = null; - if (originalStream_ != null) { - subBuilder = originalStream_.toBuilder(); + case 10: + { + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder subBuilder = null; + if (originalStream_ != null) { + subBuilder = originalStream_.toBuilder(); + } + originalStream_ = + input.readMessage( + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(originalStream_); + originalStream_ = subBuilder.buildPartial(); + } + + break; } - originalStream_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(originalStream_); - originalStream_ = subBuilder.buildPartial(); + case 21: + { + fraction_ = input.readFloat(); + break; } - - break; - } - case 21: { - - fraction_ = input.readFloat(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 @@ -13450,32 +15706,46 @@ 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() { + public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder + getOriginalStreamOrBuilder() { return getOriginalStream(); } public static final int FRACTION_FIELD_NUMBER = 2; 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
@@ -13487,6 +15757,7 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getOrig
      * 
* * float fraction = 2; + * * @return The fraction. */ @java.lang.Override @@ -13495,6 +15766,7 @@ public float getFraction() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -13506,8 +15778,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()); } @@ -13524,12 +15795,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 (fraction_ != 0F) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize(2, fraction_); + size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, fraction_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -13539,21 +15808,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -13570,95 +15839,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) + unknownFields.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 @@ -13668,44 +15949,50 @@ 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() + // Construct using + // com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -13721,19 +16008,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); } @@ -13741,8 +16031,10 @@ 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); + 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 (originalStreamBuilder_ == null) { result.originalStream_ = originalStream_; } else { @@ -13757,46 +16049,54 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest 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()); } @@ -13818,11 +16118,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest parsedMessage = null; + com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -13834,41 +16137,61 @@ public Builder mergeFrom( 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 originalStreamBuilder_ != null || 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. */ 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(); @@ -13882,11 +16205,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) { @@ -13900,17 +16227,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 (originalStream_ != null) { originalStream_ = - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.newBuilder(originalStream_).mergeFrom(value).buildPartial(); + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.newBuilder(originalStream_) + .mergeFrom(value) + .buildPartial(); } else { originalStream_ = value; } @@ -13922,11 +16256,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() { if (originalStreamBuilder_ == null) { @@ -13940,55 +16278,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() { + 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
@@ -14000,6 +16358,7 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getOrig
        * 
* * float fraction = 2; + * * @return The fraction. */ @java.lang.Override @@ -14007,6 +16366,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
@@ -14018,16 +16379,19 @@ public float getFraction() {
        * 
* * float fraction = 2; + * * @param value The fraction to set. * @return This builder for chaining. */ public Builder setFraction(float value) { - + fraction_ = value; onChanged(); 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
@@ -14039,14 +16403,16 @@ public Builder setFraction(float value) {
        * 
* * float fraction = 2; + * * @return This builder for chaining. */ public Builder clearFraction() { - + fraction_ = 0F; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -14059,30 +16425,33 @@ 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 { - return new SplitReadStreamRequest(input, extensionRegistry); - } - }; + 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 { + return new SplitReadStreamRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -14094,17 +16463,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
@@ -14112,10 +16484,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
@@ -14123,10 +16498,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
@@ -14138,26 +16516,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.
@@ -14168,36 +16554,37 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SplitReadStreamResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -14216,67 +16603,80 @@ private SplitReadStreamResponse( case 0: done = true; break; - case 10: { - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder subBuilder = null; - if (primaryStream_ != null) { - subBuilder = primaryStream_.toBuilder(); - } - primaryStream_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(primaryStream_); - primaryStream_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder subBuilder = null; - if (remainderStream_ != null) { - subBuilder = remainderStream_.toBuilder(); + case 10: + { + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder subBuilder = null; + if (primaryStream_ != null) { + subBuilder = primaryStream_.toBuilder(); + } + primaryStream_ = + input.readMessage( + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(primaryStream_); + primaryStream_ = subBuilder.buildPartial(); + } + + break; } - remainderStream_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(remainderStream_); - remainderStream_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder subBuilder = null; + if (remainderStream_ != null) { + subBuilder = remainderStream_.toBuilder(); + } + remainderStream_ = + input.readMessage( + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(remainderStream_); + remainderStream_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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
@@ -14284,6 +16684,7 @@ private SplitReadStreamResponse(
      * 
* * .google.cloud.bigquery.storage.v1beta1.Stream primary_stream = 1; + * * @return Whether the primaryStream field is set. */ @java.lang.Override @@ -14291,6 +16692,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
@@ -14298,13 +16701,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
@@ -14314,19 +16722,23 @@ 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() {
+    public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder
+        getPrimaryStreamOrBuilder() {
       return getPrimaryStream();
     }
 
     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 @@ -14334,19 +16746,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.
@@ -14355,11 +16774,13 @@ 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() {
+    public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder
+        getRemainderStreamOrBuilder() {
       return getRemainderStream();
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -14371,8 +16792,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());
       }
@@ -14389,12 +16809,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 += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -14404,22 +16822,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 (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -14445,88 +16863,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
@@ -14536,44 +16967,50 @@ 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() + // Construct using + // com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -14593,19 +17030,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); } @@ -14613,8 +17053,10 @@ 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); + 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 (primaryStreamBuilder_ == null) { result.primaryStream_ = primaryStream_; } else { @@ -14633,46 +17075,54 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse 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()); } @@ -14694,11 +17144,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse parsedMessage = null; + com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -14710,8 +17163,13 @@ public Builder mergeFrom( 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
@@ -14719,12 +17177,15 @@ public Builder mergeFrom(
        * 
* * .google.cloud.bigquery.storage.v1beta1.Stream primary_stream = 1; + * * @return Whether the primaryStream field is set. */ public boolean hasPrimaryStream() { return primaryStreamBuilder_ != null || primaryStream_ != null; } /** + * + * *
        * Primary stream, which contains the beginning portion of
        * |original_stream|. An empty value indicates that the original stream can no
@@ -14732,16 +17193,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
@@ -14750,7 +17216,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();
@@ -14764,6 +17231,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
@@ -14784,6 +17253,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
@@ -14792,11 +17263,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 (primaryStream_ != null) {
             primaryStream_ =
-              com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.newBuilder(primaryStream_).mergeFrom(value).buildPartial();
+                com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.newBuilder(primaryStream_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             primaryStream_ = value;
           }
@@ -14808,6 +17282,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
@@ -14828,6 +17304,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
@@ -14836,12 +17314,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() {
+
         onChanged();
         return getPrimaryStreamFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Primary stream, which contains the beginning portion of
        * |original_stream|. An empty value indicates that the original stream can no
@@ -14850,15 +17331,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
@@ -14868,14 +17353,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_;
@@ -14883,36 +17371,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 remainderStreamBuilder_ != null || 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. */ 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.
@@ -14920,7 +17421,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();
@@ -14934,6 +17436,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.
@@ -14953,6 +17457,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.
@@ -14960,11 +17466,15 @@ 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 (remainderStream_ != null) {
             remainderStream_ =
-              com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.newBuilder(remainderStream_).mergeFrom(value).buildPartial();
+                com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.newBuilder(
+                        remainderStream_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             remainderStream_ = value;
           }
@@ -14976,6 +17486,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.
@@ -14995,6 +17507,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.
@@ -15002,12 +17516,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() {
+
         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.
@@ -15015,15 +17532,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.
@@ -15032,18 +17553,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) {
@@ -15056,30 +17581,33 @@ 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 {
-        return new SplitReadStreamResponse(input, extensionRegistry);
-      }
-    };
+    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 {
+            return new SplitReadStreamResponse(input, extensionRegistry);
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -15091,313 +17619,342 @@ 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\"\205\004\n\030CreateReadSessionRequest\022S\n" +
-      "\017table_reference\030\001 \001(\01325.google.cloud.bi" +
-      "gquery.storage.v1beta1.TableReferenceB\003\340" +
-      "A\002\022C\n\006parent\030\006 \001(\tB3\340A\002\372A-\n+cloudresourc" +
-      "emanager.googleapis.com/Project\022N\n\017table" +
-      "_modifiers\030\002 \001(\01325.google.cloud.bigquery" +
-      ".storage.v1beta1.TableModifiers\022\031\n\021reque" +
-      "sted_streams\030\003 \001(\005\022M\n\014read_options\030\004 \001(\013" +
-      "27.google.cloud.bigquery.storage.v1beta1" +
-      ".TableReadOptions\022A\n\006format\030\005 \001(\01621.goog" +
-      "le.cloud.bigquery.storage.v1beta1.DataFo" +
-      "rmat\022R\n\021sharding_strategy\030\007 \001(\01627.google" +
-      ".cloud.bigquery.storage.v1beta1.Sharding" +
-      "Strategy\"d\n\017ReadRowsRequest\022Q\n\rread_posi" +
-      "tion\030\001 \001(\01325.google.cloud.bigquery.stora" +
-      "ge.v1beta1.StreamPositionB\003\340A\002\"\240\001\n\014Strea" +
-      "mStatus\022\033\n\023estimated_row_count\030\001 \001(\003\022\031\n\021" +
-      "fraction_consumed\030\002 \001(\002\022A\n\010progress\030\004 \001(" +
-      "\0132/.google.cloud.bigquery.storage.v1beta" +
-      "1.Progress\022\025\n\ris_splittable\030\003 \001(\010\">\n\010Pro" +
-      "gress\022\031\n\021at_response_start\030\001 \001(\002\022\027\n\017at_r" +
-      "esponse_end\030\002 \001(\002\"*\n\016ThrottleStatus\022\030\n\020t" +
-      "hrottle_percent\030\001 \001(\005\"\337\002\n\020ReadRowsRespon" +
-      "se\022D\n\tavro_rows\030\003 \001(\0132/.google.cloud.big" +
-      "query.storage.v1beta1.AvroRowsH\000\022U\n\022arro" +
-      "w_record_batch\030\004 \001(\01327.google.cloud.bigq" +
-      "uery.storage.v1beta1.ArrowRecordBatchH\000\022" +
-      "\021\n\trow_count\030\006 \001(\003\022C\n\006status\030\002 \001(\01323.goo" +
-      "gle.cloud.bigquery.storage.v1beta1.Strea" +
-      "mStatus\022N\n\017throttle_status\030\005 \001(\01325.googl" +
-      "e.cloud.bigquery.storage.v1beta1.Throttl" +
-      "eStatusB\006\n\004rows\"\220\001\n$BatchCreateReadSessi" +
-      "onStreamsRequest\022H\n\007session\030\001 \001(\01322.goog" +
-      "le.cloud.bigquery.storage.v1beta1.ReadSe" +
-      "ssionB\003\340A\002\022\036\n\021requested_streams\030\002 \001(\005B\003\340" +
-      "A\002\"g\n%BatchCreateReadSessionStreamsRespo" +
-      "nse\022>\n\007streams\030\001 \003(\0132-.google.cloud.bigq" +
-      "uery.storage.v1beta1.Stream\"[\n\025FinalizeS" +
-      "treamRequest\022B\n\006stream\030\002 \001(\0132-.google.cl" +
-      "oud.bigquery.storage.v1beta1.StreamB\003\340A\002" +
-      "\"w\n\026SplitReadStreamRequest\022K\n\017original_s" +
-      "tream\030\001 \001(\0132-.google.cloud.bigquery.stor" +
-      "age.v1beta1.StreamB\003\340A\002\022\020\n\010fraction\030\002 \001(" +
-      "\002\"\251\001\n\027SplitReadStreamResponse\022E\n\016primary" +
-      "_stream\030\001 \001(\0132-.google.cloud.bigquery.st" +
-      "orage.v1beta1.Stream\022G\n\020remainder_stream" +
-      "\030\002 \001(\0132-.google.cloud.bigquery.storage.v" +
-      "1beta1.Stream*>\n\nDataFormat\022\033\n\027DATA_FORM" +
-      "AT_UNSPECIFIED\020\000\022\010\n\004AVRO\020\001\022\t\n\005ARROW\020\003*O\n" +
-      "\020ShardingStrategy\022!\n\035SHARDING_STRATEGY_U" +
-      "NSPECIFIED\020\000\022\n\n\006LIQUID\020\001\022\014\n\010BALANCED\020\0022\353" +
-      "\n\n\017BigQueryStorage\022\263\002\n\021CreateReadSession" +
-      "\022?.google.cloud.bigquery.storage.v1beta1" +
-      ".CreateReadSessionRequest\0322.google.cloud" +
-      ".bigquery.storage.v1beta1.ReadSession\"\250\001" +
-      "\202\323\344\223\002w\"0/v1beta1/{table_reference.projec" +
-      "t_id=projects/*}:\001*Z@\";/v1beta1/{table_r" +
-      "eference.dataset_id=projects/*/datasets/" +
-      "*}:\001*\332A(table_reference,parent,requested" +
-      "_streams\022\320\001\n\010ReadRows\0226.google.cloud.big" +
-      "query.storage.v1beta1.ReadRowsRequest\0327." +
-      "google.cloud.bigquery.storage.v1beta1.Re" +
-      "adRowsResponse\"Q\202\323\344\223\002;\0229/v1beta1/{read_p" +
-      "osition.stream.name=projects/*/streams/*" +
-      "}\332A\rread_position0\001\022\220\002\n\035BatchCreateReadS" +
-      "essionStreams\022K.google.cloud.bigquery.st" +
-      "orage.v1beta1.BatchCreateReadSessionStre" +
-      "amsRequest\032L.google.cloud.bigquery.stora" +
-      "ge.v1beta1.BatchCreateReadSessionStreams" +
-      "Response\"T\202\323\344\223\0022\"-/v1beta1/{session.name" +
-      "=projects/*/sessions/*}:\001*\332A\031session,req" +
-      "uested_streams\022\247\001\n\016FinalizeStream\022<.goog" +
-      "le.cloud.bigquery.storage.v1beta1.Finali" +
-      "zeStreamRequest\032\026.google.protobuf.Empty\"" +
-      "?\202\323\344\223\0020\"+/v1beta1/{stream.name=projects/" +
-      "*/streams/*}:\001*\332A\006stream\022\340\001\n\017SplitReadSt" +
-      "ream\022=.google.cloud.bigquery.storage.v1b" +
-      "eta1.SplitReadStreamRequest\032>.google.clo" +
-      "ud.bigquery.storage.v1beta1.SplitReadStr" +
-      "eamResponse\"N\202\323\344\223\0026\0224/v1beta1/{original_" +
-      "stream.name=projects/*/streams/*}\332A\017orig" +
-      "inal_stream\032\256\001\312A\036bigquerystorage.googlea" +
-      "pis.com\322A\211\001https://www.googleapis.com/au" +
-      "th/bigquery,https://www.googleapis.com/a" +
-      "uth/bigquery.readonly,https://www.google" +
-      "apis.com/auth/cloud-platformBy\n)com.goog" +
-      "le.cloud.bigquery.storage.v1beta1ZLgoogl" +
-      "e.golang.org/genproto/googleapis/cloud/b" +
-      "igquery/storage/v1beta1;storageb\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\"\205\004\n\030CreateReadSessionRequest\022S\n"
+          + "\017table_reference\030\001 \001(\01325.google.cloud.bi"
+          + "gquery.storage.v1beta1.TableReferenceB\003\340"
+          + "A\002\022C\n\006parent\030\006 \001(\tB3\340A\002\372A-\n+cloudresourc"
+          + "emanager.googleapis.com/Project\022N\n\017table"
+          + "_modifiers\030\002 \001(\01325.google.cloud.bigquery"
+          + ".storage.v1beta1.TableModifiers\022\031\n\021reque"
+          + "sted_streams\030\003 \001(\005\022M\n\014read_options\030\004 \001(\013"
+          + "27.google.cloud.bigquery.storage.v1beta1"
+          + ".TableReadOptions\022A\n\006format\030\005 \001(\01621.goog"
+          + "le.cloud.bigquery.storage.v1beta1.DataFo"
+          + "rmat\022R\n\021sharding_strategy\030\007 \001(\01627.google"
+          + ".cloud.bigquery.storage.v1beta1.Sharding"
+          + "Strategy\"d\n\017ReadRowsRequest\022Q\n\rread_posi"
+          + "tion\030\001 \001(\01325.google.cloud.bigquery.stora"
+          + "ge.v1beta1.StreamPositionB\003\340A\002\"\240\001\n\014Strea"
+          + "mStatus\022\033\n\023estimated_row_count\030\001 \001(\003\022\031\n\021"
+          + "fraction_consumed\030\002 \001(\002\022A\n\010progress\030\004 \001("
+          + "\0132/.google.cloud.bigquery.storage.v1beta"
+          + "1.Progress\022\025\n\ris_splittable\030\003 \001(\010\">\n\010Pro"
+          + "gress\022\031\n\021at_response_start\030\001 \001(\002\022\027\n\017at_r"
+          + "esponse_end\030\002 \001(\002\"*\n\016ThrottleStatus\022\030\n\020t"
+          + "hrottle_percent\030\001 \001(\005\"\337\002\n\020ReadRowsRespon"
+          + "se\022D\n\tavro_rows\030\003 \001(\0132/.google.cloud.big"
+          + "query.storage.v1beta1.AvroRowsH\000\022U\n\022arro"
+          + "w_record_batch\030\004 \001(\01327.google.cloud.bigq"
+          + "uery.storage.v1beta1.ArrowRecordBatchH\000\022"
+          + "\021\n\trow_count\030\006 \001(\003\022C\n\006status\030\002 \001(\01323.goo"
+          + "gle.cloud.bigquery.storage.v1beta1.Strea"
+          + "mStatus\022N\n\017throttle_status\030\005 \001(\01325.googl"
+          + "e.cloud.bigquery.storage.v1beta1.Throttl"
+          + "eStatusB\006\n\004rows\"\220\001\n$BatchCreateReadSessi"
+          + "onStreamsRequest\022H\n\007session\030\001 \001(\01322.goog"
+          + "le.cloud.bigquery.storage.v1beta1.ReadSe"
+          + "ssionB\003\340A\002\022\036\n\021requested_streams\030\002 \001(\005B\003\340"
+          + "A\002\"g\n%BatchCreateReadSessionStreamsRespo"
+          + "nse\022>\n\007streams\030\001 \003(\0132-.google.cloud.bigq"
+          + "uery.storage.v1beta1.Stream\"[\n\025FinalizeS"
+          + "treamRequest\022B\n\006stream\030\002 \001(\0132-.google.cl"
+          + "oud.bigquery.storage.v1beta1.StreamB\003\340A\002"
+          + "\"w\n\026SplitReadStreamRequest\022K\n\017original_s"
+          + "tream\030\001 \001(\0132-.google.cloud.bigquery.stor"
+          + "age.v1beta1.StreamB\003\340A\002\022\020\n\010fraction\030\002 \001("
+          + "\002\"\251\001\n\027SplitReadStreamResponse\022E\n\016primary"
+          + "_stream\030\001 \001(\0132-.google.cloud.bigquery.st"
+          + "orage.v1beta1.Stream\022G\n\020remainder_stream"
+          + "\030\002 \001(\0132-.google.cloud.bigquery.storage.v"
+          + "1beta1.Stream*>\n\nDataFormat\022\033\n\027DATA_FORM"
+          + "AT_UNSPECIFIED\020\000\022\010\n\004AVRO\020\001\022\t\n\005ARROW\020\003*O\n"
+          + "\020ShardingStrategy\022!\n\035SHARDING_STRATEGY_U"
+          + "NSPECIFIED\020\000\022\n\n\006LIQUID\020\001\022\014\n\010BALANCED\020\0022\353"
+          + "\n\n\017BigQueryStorage\022\263\002\n\021CreateReadSession"
+          + "\022?.google.cloud.bigquery.storage.v1beta1"
+          + ".CreateReadSessionRequest\0322.google.cloud"
+          + ".bigquery.storage.v1beta1.ReadSession\"\250\001"
+          + "\202\323\344\223\002w\"0/v1beta1/{table_reference.projec"
+          + "t_id=projects/*}:\001*Z@\";/v1beta1/{table_r"
+          + "eference.dataset_id=projects/*/datasets/"
+          + "*}:\001*\332A(table_reference,parent,requested"
+          + "_streams\022\320\001\n\010ReadRows\0226.google.cloud.big"
+          + "query.storage.v1beta1.ReadRowsRequest\0327."
+          + "google.cloud.bigquery.storage.v1beta1.Re"
+          + "adRowsResponse\"Q\202\323\344\223\002;\0229/v1beta1/{read_p"
+          + "osition.stream.name=projects/*/streams/*"
+          + "}\332A\rread_position0\001\022\220\002\n\035BatchCreateReadS"
+          + "essionStreams\022K.google.cloud.bigquery.st"
+          + "orage.v1beta1.BatchCreateReadSessionStre"
+          + "amsRequest\032L.google.cloud.bigquery.stora"
+          + "ge.v1beta1.BatchCreateReadSessionStreams"
+          + "Response\"T\202\323\344\223\0022\"-/v1beta1/{session.name"
+          + "=projects/*/sessions/*}:\001*\332A\031session,req"
+          + "uested_streams\022\247\001\n\016FinalizeStream\022<.goog"
+          + "le.cloud.bigquery.storage.v1beta1.Finali"
+          + "zeStreamRequest\032\026.google.protobuf.Empty\""
+          + "?\202\323\344\223\0020\"+/v1beta1/{stream.name=projects/"
+          + "*/streams/*}:\001*\332A\006stream\022\340\001\n\017SplitReadSt"
+          + "ream\022=.google.cloud.bigquery.storage.v1b"
+          + "eta1.SplitReadStreamRequest\032>.google.clo"
+          + "ud.bigquery.storage.v1beta1.SplitReadStr"
+          + "eamResponse\"N\202\323\344\223\0026\0224/v1beta1/{original_"
+          + "stream.name=projects/*/streams/*}\332A\017orig"
+          + "inal_stream\032\256\001\312A\036bigquerystorage.googlea"
+          + "pis.com\322A\211\001https://www.googleapis.com/au"
+          + "th/bigquery,https://www.googleapis.com/a"
+          + "uth/bigquery.readonly,https://www.google"
+          + "apis.com/auth/cloud-platformBy\n)com.goog"
+          + "le.cloud.bigquery.storage.v1beta1ZLgoogl"
+          + "e.golang.org/genproto/googleapis/cloud/b"
+          + "igquery/storage/v1beta1;storageb\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", "Rows", });
+        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", "Rows",
+            });
     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);
@@ -15407,8 +17964,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 63%
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 89f9434f39..97101d8121 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 2020 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,16 +134,15 @@ private TableReference() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TableReference(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TableReference( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -130,64 +161,73 @@ private TableReference( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - projectId_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + projectId_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - datasetId_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + datasetId_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - tableId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + tableId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; private volatile java.lang.Object projectId_; /** + * + * *
      * The assigned project ID of the project.
      * 
* * string project_id = 1; + * * @return The projectId. */ @java.lang.Override @@ -196,29 +236,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 { @@ -229,11 +269,14 @@ public java.lang.String getProjectId() { public static final int DATASET_ID_FIELD_NUMBER = 2; 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 @@ -242,29 +285,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 { @@ -275,11 +318,14 @@ public java.lang.String getDatasetId() { public static final int TABLE_ID_FIELD_NUMBER = 3; 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 @@ -288,29 +334,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 { @@ -319,6 +365,7 @@ public java.lang.String getTableId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -330,8 +377,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 (!getProjectIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -367,19 +413,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -402,88 +448,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 @@ -493,44 +552,50 @@ 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() + // Construct using + // com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -544,19 +609,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); } @@ -564,8 +632,10 @@ 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); + 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); result.projectId_ = projectId_; result.datasetId_ = datasetId_; result.tableId_ = tableId_; @@ -577,46 +647,55 @@ public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.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_; onChanged(); @@ -644,11 +723,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference parsedMessage = null; + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -660,18 +742,20 @@ public Builder mergeFrom( 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; @@ -680,20 +764,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 { @@ -701,54 +786,61 @@ 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) { + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
        * The assigned project ID of the project.
        * 
* * string project_id = 1; + * * @return This builder for chaining. */ public Builder clearProjectId() { - + projectId_ = getDefaultInstance().getProjectId(); onChanged(); 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) { + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -756,18 +848,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; @@ -776,20 +870,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 { @@ -797,54 +892,61 @@ 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) { + public Builder setDatasetId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + datasetId_ = value; onChanged(); return this; } /** + * + * *
        * The ID of the dataset in the above project.
        * 
* * string dataset_id = 2; + * * @return This builder for chaining. */ public Builder clearDatasetId() { - + datasetId_ = getDefaultInstance().getDatasetId(); onChanged(); 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) { + public Builder setDatasetIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + datasetId_ = value; onChanged(); return this; @@ -852,18 +954,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; @@ -872,20 +976,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 { @@ -893,58 +998,66 @@ 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) { + public Builder setTableId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tableId_ = value; onChanged(); return this; } /** + * + * *
        * The ID of the table in the above dataset.
        * 
* * string table_id = 3; + * * @return This builder for chaining. */ public Builder clearTableId() { - + tableId_ = getDefaultInstance().getTableId(); onChanged(); 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) { + public Builder setTableIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tableId_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -957,30 +1070,34 @@ 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 { - return new TableReference(input, extensionRegistry); - } - }; + 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 { + return new TableReference(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -992,35 +1109,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.
      * 
@@ -1030,36 +1156,37 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TableModifiers( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1078,59 +1205,67 @@ private TableModifiers( case 0: done = true; break; - case 10: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (snapshotTime_ != null) { - subBuilder = snapshotTime_.toBuilder(); + case 10: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (snapshotTime_ != null) { + subBuilder = snapshotTime_.toBuilder(); + } + snapshotTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(snapshotTime_); + snapshotTime_ = subBuilder.buildPartial(); + } + + break; } - snapshotTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(snapshotTime_); - snapshotTime_ = subBuilder.buildPartial(); + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 @@ -1138,18 +1273,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.
      * 
@@ -1162,6 +1304,7 @@ public com.google.protobuf.TimestampOrBuilder getSnapshotTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1173,8 +1316,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()); } @@ -1188,8 +1330,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1199,17 +1340,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1231,88 +1374,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 @@ -1322,44 +1478,50 @@ 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() + // Construct using + // com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1373,19 +1535,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); } @@ -1393,8 +1558,10 @@ 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); + 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 (snapshotTimeBuilder_ == null) { result.snapshotTime_ = snapshotTime_; } else { @@ -1408,46 +1575,55 @@ public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifi 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()); } @@ -1466,11 +1642,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers parsedMessage = null; + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1482,34 +1661,47 @@ public Builder mergeFrom( 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 snapshotTimeBuilder_ != null || snapshotTime_ != null; } /** + * + * *
        * 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.
        * 
@@ -1530,14 +1722,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(); onChanged(); @@ -1548,6 +1741,8 @@ public Builder setSnapshotTime( return this; } /** + * + * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -1558,7 +1753,9 @@ public Builder mergeSnapshotTime(com.google.protobuf.Timestamp value) { if (snapshotTimeBuilder_ == null) { if (snapshotTime_ != null) { snapshotTime_ = - com.google.protobuf.Timestamp.newBuilder(snapshotTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(snapshotTime_) + .mergeFrom(value) + .buildPartial(); } else { snapshotTime_ = value; } @@ -1570,6 +1767,8 @@ public Builder mergeSnapshotTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -1588,6 +1787,8 @@ public Builder clearSnapshotTime() { return this; } /** + * + * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -1595,11 +1796,13 @@ public Builder clearSnapshotTime() { * .google.protobuf.Timestamp snapshot_time = 1; */ public com.google.protobuf.Timestamp.Builder getSnapshotTimeBuilder() { - + onChanged(); return getSnapshotTimeFieldBuilder().getBuilder(); } /** + * + * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -1610,11 +1813,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.
        * 
@@ -1622,18 +1828,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) { @@ -1646,30 +1856,34 @@ 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 { - return new TableModifiers(input, extensionRegistry); - } - }; + 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 { + return new TableModifiers(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1681,62 +1895,65 @@ 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\031google/api/resourc" + - "e.proto\032\037google/protobuf/timestamp.proto" + - "\"J\n\016TableReference\022\022\n\nproject_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\016" + - "TableModifiers\0221\n\rsnapshot_time\030\001 \001(\0132\032." + - "google.protobuf.TimestampB\216\001\n)com.google" + - ".cloud.bigquery.storage.v1beta1B\023TableRe" + - "ferenceProtoZLgoogle.golang.org/genproto" + - "/googleapis/cloud/bigquery/storage/v1bet" + - "a1;storageb\006proto3" + "\n;google/cloud/bigquery/storage/v1beta1/" + + "table_reference.proto\022%google.cloud.bigq" + + "uery.storage.v1beta1\032\031google/api/resourc" + + "e.proto\032\037google/protobuf/timestamp.proto" + + "\"J\n\016TableReference\022\022\n\nproject_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\016" + + "TableModifiers\0221\n\rsnapshot_time\030\001 \001(\0132\032." + + "google.protobuf.TimestampB\216\001\n)com.google" + + ".cloud.bigquery.storage.v1beta1B\023TableRe" + + "ferenceProtoZLgoogle.golang.org/genproto" + + "/googleapis/cloud/bigquery/storage/v1bet" + + "a1;storageb\006proto3" }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + 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.api.ResourceProto.getDescriptor(); 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 71% 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 451633fdf5..602f184958 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 2020 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,16 +44,15 @@ private AppendRowsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AppendRowsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AppendRowsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,100 +71,123 @@ private AppendRowsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - writeStream_ = s; - break; - } - case 18: { - com.google.protobuf.Int64Value.Builder subBuilder = null; - if (offset_ != null) { - subBuilder = offset_.toBuilder(); - } - offset_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(offset_); - offset_ = subBuilder.buildPartial(); + writeStream_ = s; + break; } + case 18: + { + com.google.protobuf.Int64Value.Builder subBuilder = null; + if (offset_ != null) { + subBuilder = offset_.toBuilder(); + } + offset_ = + input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(offset_); + offset_ = subBuilder.buildPartial(); + } - break; - } - case 34: { - com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData.Builder subBuilder = null; - if (rowsCase_ == 4) { - subBuilder = ((com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData) rows_).toBuilder(); + break; } - rows_ = - input.readMessage(com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData) rows_); - rows_ = subBuilder.buildPartial(); + case 34: + { + com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData.Builder + subBuilder = null; + if (rowsCase_ == 4) { + subBuilder = + ((com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData) rows_) + .toBuilder(); + } + rows_ = + input.readMessage( + com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData) rows_); + rows_ = subBuilder.buildPartial(); + } + rowsCase_ = 4; + break; } - rowsCase_ = 4; - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - traceId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + traceId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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.
      * 
@@ -157,24 +197,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.
      * 
@@ -184,36 +232,37 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ProtoData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -232,72 +281,85 @@ private ProtoData( case 0: done = true; break; - case 10: { - com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.Builder subBuilder = null; - if (writerSchema_ != null) { - subBuilder = writerSchema_.toBuilder(); - } - writerSchema_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(writerSchema_); - writerSchema_ = subBuilder.buildPartial(); + case 10: + { + com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.Builder subBuilder = null; + if (writerSchema_ != null) { + subBuilder = writerSchema_.toBuilder(); + } + writerSchema_ = + input.readMessage( + com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(writerSchema_); + writerSchema_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 18: { - com.google.cloud.bigquery.storage.v1beta2.ProtoRows.Builder subBuilder = null; - if (rows_ != null) { - subBuilder = rows_.toBuilder(); + case 18: + { + com.google.cloud.bigquery.storage.v1beta2.ProtoRows.Builder subBuilder = null; + if (rows_ != null) { + subBuilder = rows_.toBuilder(); + } + rows_ = + input.readMessage( + com.google.cloud.bigquery.storage.v1beta2.ProtoRows.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(rows_); + rows_ = subBuilder.buildPartial(); + } + + break; } - rows_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta2.ProtoRows.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(rows_); - rows_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 @@ -305,18 +367,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.
      * 
@@ -324,18 +393,22 @@ 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() { + public com.google.cloud.bigquery.storage.v1beta2.ProtoSchemaOrBuilder + getWriterSchemaOrBuilder() { return getWriterSchema(); } 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 @@ -343,18 +416,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.
      * 
@@ -367,6 +447,7 @@ public com.google.cloud.bigquery.storage.v1beta2.ProtoRowsOrBuilder getRowsOrBui } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -384,8 +465,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()); } @@ -402,12 +482,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -417,22 +495,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -459,87 +536,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 @@ -549,44 +634,50 @@ 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() + // Construct using + // com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -606,19 +697,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); } @@ -627,7 +721,8 @@ 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); + com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData result = + new com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData(this); if (writerSchemaBuilder_ == null) { result.writerSchema_ = writerSchema_; } else { @@ -646,46 +741,54 @@ public com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData bui 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()); } @@ -716,7 +819,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -728,34 +833,47 @@ public Builder mergeFrom( 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 writerSchemaBuilder_ != null || writerSchema_ != null; } /** + * + * *
        * 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.
        * 
@@ -776,6 +894,8 @@ public Builder setWriterSchema(com.google.cloud.bigquery.storage.v1beta2.ProtoSc return this; } /** + * + * *
        * Proto schema used to serialize the data.
        * 
@@ -794,17 +914,22 @@ 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 (writerSchema_ != null) { writerSchema_ = - com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.newBuilder(writerSchema_).mergeFrom(value).buildPartial(); + com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.newBuilder(writerSchema_) + .mergeFrom(value) + .buildPartial(); } else { writerSchema_ = value; } @@ -816,6 +941,8 @@ public Builder mergeWriterSchema(com.google.cloud.bigquery.storage.v1beta2.Proto return this; } /** + * + * *
        * Proto schema used to serialize the data.
        * 
@@ -834,33 +961,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() { + 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.
        * 
@@ -868,14 +1004,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_; @@ -883,34 +1022,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 rowsBuilder_ != null || rows_ != null; } /** + * + * *
        * 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.
        * 
@@ -931,6 +1083,8 @@ public Builder setRows(com.google.cloud.bigquery.storage.v1beta2.ProtoRows value return this; } /** + * + * *
        * Serialized row data in protobuf message format.
        * 
@@ -949,6 +1103,8 @@ public Builder setRows( return this; } /** + * + * *
        * Serialized row data in protobuf message format.
        * 
@@ -959,7 +1115,9 @@ public Builder mergeRows(com.google.cloud.bigquery.storage.v1beta2.ProtoRows val if (rowsBuilder_ == null) { if (rows_ != null) { rows_ = - com.google.cloud.bigquery.storage.v1beta2.ProtoRows.newBuilder(rows_).mergeFrom(value).buildPartial(); + com.google.cloud.bigquery.storage.v1beta2.ProtoRows.newBuilder(rows_) + .mergeFrom(value) + .buildPartial(); } else { rows_ = value; } @@ -971,6 +1129,8 @@ public Builder mergeRows(com.google.cloud.bigquery.storage.v1beta2.ProtoRows val return this; } /** + * + * *
        * Serialized row data in protobuf message format.
        * 
@@ -989,6 +1149,8 @@ public Builder clearRows() { return this; } /** + * + * *
        * Serialized row data in protobuf message format.
        * 
@@ -996,11 +1158,13 @@ public Builder clearRows() { * .google.cloud.bigquery.storage.v1beta2.ProtoRows rows = 2; */ public com.google.cloud.bigquery.storage.v1beta2.ProtoRows.Builder getRowsBuilder() { - + onChanged(); return getRowsFieldBuilder().getBuilder(); } /** + * + * *
        * Serialized row data in protobuf message format.
        * 
@@ -1011,11 +1175,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.
        * 
@@ -1023,18 +1190,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) { @@ -1047,30 +1218,33 @@ 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 { - return new ProtoData(input, extensionRegistry); - } - }; + 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 { + return new ProtoData(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1082,20 +1256,23 @@ 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; 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; } @@ -1111,25 +1288,29 @@ 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; 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
@@ -1138,7 +1319,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 @@ -1147,14 +1331,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
@@ -1163,17 +1348,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 { @@ -1184,6 +1370,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
@@ -1192,6 +1380,7 @@ public java.lang.String getWriteStream() {
    * 
* * .google.protobuf.Int64Value offset = 2; + * * @return Whether the offset field is set. */ @java.lang.Override @@ -1199,6 +1388,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
@@ -1207,6 +1398,7 @@ public boolean hasOffset() {
    * 
* * .google.protobuf.Int64Value offset = 2; + * * @return The offset. */ @java.lang.Override @@ -1214,6 +1406,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
@@ -1230,11 +1424,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 @@ -1242,21 +1439,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.
    * 
@@ -1264,22 +1467,27 @@ 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; 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 @@ -1288,30 +1496,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 { @@ -1320,6 +1528,7 @@ public java.lang.String getTraceId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1337,8 +1546,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 (!getWriteStreamBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, writeStream_); } @@ -1346,7 +1554,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 (!getTraceIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, traceId_); @@ -1364,12 +1573,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 (!getTraceIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, traceId_); @@ -1382,27 +1591,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: @@ -1440,117 +1646,127 @@ 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() @@ -1558,16 +1774,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1587,9 +1802,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 @@ -1608,7 +1823,8 @@ 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); + com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest result = + new com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest(this); result.writeStream_ = writeStream_; if (offsetBuilder_ == null) { result.offset_ = offset_; @@ -1632,38 +1848,39 @@ public com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest buildPartial( 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; @@ -1671,7 +1888,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_; onChanged(); @@ -1684,13 +1902,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.unknownFields); onChanged(); @@ -1716,7 +1936,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1725,12 +1946,12 @@ public Builder mergeFrom( } 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() { @@ -1740,9 +1961,10 @@ public Builder clearRows() { return this; } - 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
@@ -1751,14 +1973,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; @@ -1767,6 +1991,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
@@ -1775,16 +2001,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 { @@ -1792,6 +2019,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
@@ -1800,21 +2029,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) { + public Builder setWriteStream(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + writeStream_ = value; 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
@@ -1823,16 +2056,21 @@ 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() { - + writeStream_ = getDefaultInstance().getWriteStream(); 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
@@ -1841,17 +2079,19 @@ 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) { + public Builder setWriteStreamBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + writeStream_ = value; onChanged(); return this; @@ -1859,8 +2099,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
@@ -1869,12 +2114,15 @@ public Builder setWriteStreamBytes(
      * 
* * .google.protobuf.Int64Value offset = 2; + * * @return Whether the offset field is set. */ public boolean hasOffset() { return offsetBuilder_ != null || 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
@@ -1883,6 +2131,7 @@ public boolean hasOffset() {
      * 
* * .google.protobuf.Int64Value offset = 2; + * * @return The offset. */ public com.google.protobuf.Int64Value getOffset() { @@ -1893,6 +2142,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
@@ -1916,6 +2167,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
@@ -1925,8 +2178,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();
         onChanged();
@@ -1937,6 +2189,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
@@ -1950,7 +2204,7 @@ public Builder mergeOffset(com.google.protobuf.Int64Value value) {
       if (offsetBuilder_ == null) {
         if (offset_ != null) {
           offset_ =
-            com.google.protobuf.Int64Value.newBuilder(offset_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Int64Value.newBuilder(offset_).mergeFrom(value).buildPartial();
         } else {
           offset_ = value;
         }
@@ -1962,6 +2216,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
@@ -1983,6 +2239,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
@@ -1993,11 +2251,13 @@ public Builder clearOffset() {
      * .google.protobuf.Int64Value offset = 2;
      */
     public com.google.protobuf.Int64Value.Builder getOffsetBuilder() {
-      
+
       onChanged();
       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
@@ -2011,11 +2271,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
@@ -2026,27 +2287,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 @@ -2054,11 +2325,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 @@ -2067,22 +2342,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(); @@ -2096,14 +2377,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(); @@ -2114,18 +2399,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; } @@ -2140,11 +2434,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) { @@ -2163,74 +2460,96 @@ 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()); rows_ = null; } rowsCase_ = 4; - onChanged();; + onChanged(); + ; return protoRowsBuilder_; } 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; @@ -2239,21 +2558,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 { @@ -2261,64 +2581,71 @@ 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) { + public Builder setTraceId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + traceId_ = value; 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() { - + traceId_ = getDefaultInstance().getTraceId(); onChanged(); 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) { + public Builder setTraceIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + traceId_ = value; 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); } @@ -2328,12 +2655,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(); } @@ -2342,16 +2669,16 @@ 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 { - return new AppendRowsRequest(input, extensionRegistry); - } - }; + 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 { + return new AppendRowsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2366,6 +2693,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 d42f115212..8b721dcaf2 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 2020 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(); public 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 70% 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 b60453d1fc..d710849ff2 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,39 +1,55 @@ +/* + * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AppendRowsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,104 +68,129 @@ private AppendRowsResponse( case 0: done = true; break; - case 10: { - com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult.Builder subBuilder = null; - if (responseCase_ == 1) { - subBuilder = ((com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult) response_).toBuilder(); - } - response_ = - input.readMessage(com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult) response_); - response_ = subBuilder.buildPartial(); - } - responseCase_ = 1; - break; - } - case 18: { - com.google.rpc.Status.Builder subBuilder = null; - if (responseCase_ == 2) { - subBuilder = ((com.google.rpc.Status) response_).toBuilder(); - } - response_ = - input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.rpc.Status) response_); - response_ = subBuilder.buildPartial(); - } - responseCase_ = 2; - break; - } - case 26: { - com.google.cloud.bigquery.storage.v1beta2.TableSchema.Builder subBuilder = null; - if (updatedSchema_ != null) { - subBuilder = updatedSchema_.toBuilder(); + case 10: + { + com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult.Builder + subBuilder = null; + if (responseCase_ == 1) { + subBuilder = + ((com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult) + response_) + .toBuilder(); + } + response_ = + input.readMessage( + com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult) + response_); + response_ = subBuilder.buildPartial(); + } + responseCase_ = 1; + break; } - updatedSchema_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta2.TableSchema.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updatedSchema_); - updatedSchema_ = subBuilder.buildPartial(); + case 18: + { + com.google.rpc.Status.Builder subBuilder = null; + if (responseCase_ == 2) { + subBuilder = ((com.google.rpc.Status) response_).toBuilder(); + } + response_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.rpc.Status) response_); + response_ = subBuilder.buildPartial(); + } + responseCase_ = 2; + break; } + case 26: + { + com.google.cloud.bigquery.storage.v1beta2.TableSchema.Builder subBuilder = null; + if (updatedSchema_ != null) { + subBuilder = updatedSchema_.toBuilder(); + } + updatedSchema_ = + input.readMessage( + com.google.cloud.bigquery.storage.v1beta2.TableSchema.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updatedSchema_); + updatedSchema_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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.
@@ -160,36 +201,37 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AppendResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -208,60 +250,68 @@ private AppendResult( case 0: done = true; break; - case 10: { - com.google.protobuf.Int64Value.Builder subBuilder = null; - if (offset_ != null) { - subBuilder = offset_.toBuilder(); - } - offset_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(offset_); - offset_ = subBuilder.buildPartial(); + case 10: + { + com.google.protobuf.Int64Value.Builder subBuilder = null; + if (offset_ != null) { + subBuilder = offset_.toBuilder(); + } + offset_ = + input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(offset_); + offset_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 @@ -269,12 +319,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 @@ -282,6 +335,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.
@@ -295,6 +350,7 @@ public com.google.protobuf.Int64ValueOrBuilder getOffsetOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -306,8 +362,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());
       }
@@ -321,8 +376,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 += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -332,17 +386,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 (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -364,88 +419,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
@@ -455,44 +523,50 @@ 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() + // Construct using + // com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -506,19 +580,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); } @@ -526,8 +603,10 @@ 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); + 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 (offsetBuilder_ == null) { result.offset_ = offset_; } else { @@ -541,46 +620,54 @@ public com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult 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()); } @@ -599,11 +686,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult parsedMessage = null; + com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -615,26 +705,35 @@ public Builder mergeFrom( 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 offsetBuilder_ != null || 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. */ public com.google.protobuf.Int64Value getOffset() { @@ -645,6 +744,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.
@@ -666,6 +767,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.
@@ -673,8 +776,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();
           onChanged();
@@ -685,6 +787,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.
@@ -696,7 +800,7 @@ public Builder mergeOffset(com.google.protobuf.Int64Value value) {
         if (offsetBuilder_ == null) {
           if (offset_ != null) {
             offset_ =
-              com.google.protobuf.Int64Value.newBuilder(offset_).mergeFrom(value).buildPartial();
+                com.google.protobuf.Int64Value.newBuilder(offset_).mergeFrom(value).buildPartial();
           } else {
             offset_ = value;
           }
@@ -708,6 +812,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.
@@ -727,6 +833,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.
@@ -735,11 +843,13 @@ public Builder clearOffset() {
        * .google.protobuf.Int64Value offset = 1;
        */
       public com.google.protobuf.Int64Value.Builder getOffsetBuilder() {
-        
+
         onChanged();
         return getOffsetFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * The row offset at which the last append occurred. The offset will not be
        * set if appending using default streams.
@@ -751,11 +861,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.
@@ -764,18 +875,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) {
@@ -788,30 +903,33 @@ 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 {
-        return new AppendResult(input, extensionRegistry);
-      }
-    };
+    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 {
+            return new AppendResult(input, extensionRegistry);
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -823,21 +941,24 @@ 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;
   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;
     }
@@ -853,30 +974,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 @@ -884,37 +1012,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.
@@ -933,6 +1074,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 @@ -940,6 +1082,8 @@ public boolean hasError() { return responseCase_ == 2; } /** + * + * *
    * Error returned when problems were encountered.  If present,
    * it indicates rows were not accepted into the system.
@@ -958,16 +1102,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.
@@ -990,7 +1137,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();
   }
@@ -998,6 +1145,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
@@ -1005,6 +1154,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 @@ -1012,6 +1162,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
@@ -1019,13 +1171,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
@@ -1035,11 +1192,13 @@ 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() {
+  public com.google.cloud.bigquery.storage.v1beta2.TableSchemaOrBuilder
+      getUpdatedSchemaOrBuilder() {
     return getUpdatedSchema();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1051,10 +1210,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_);
@@ -1072,16 +1231,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 += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -1091,27 +1253,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:
@@ -1149,117 +1309,127 @@ 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() @@ -1267,16 +1437,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1292,13 +1461,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(); } @@ -1313,7 +1483,8 @@ 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); + com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse result = + new com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse(this); if (responseCase_ == 1) { if (appendResultBuilder_ == null) { result.response_ = response_; @@ -1342,38 +1513,39 @@ public com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse buildPartial 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; @@ -1381,22 +1553,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.unknownFields); onChanged(); @@ -1417,7 +1594,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1426,12 +1604,12 @@ public Builder mergeFrom( } 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() { @@ -1441,15 +1619,22 @@ public Builder clearResponse() { return this; } - 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 @@ -1457,35 +1642,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(); @@ -1499,14 +1698,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(); @@ -1517,18 +1721,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; } @@ -1543,11 +1758,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) { @@ -1566,62 +1785,90 @@ 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; } responseCase_ = 1; - onChanged();; + onChanged(); + ; return appendResultBuilder_; } 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.
@@ -1640,6 +1887,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 @@ -1647,6 +1895,8 @@ public boolean hasError() { return responseCase_ == 2; } /** + * + * *
      * Error returned when problems were encountered.  If present,
      * it indicates rows were not accepted into the system.
@@ -1665,6 +1915,7 @@ public boolean hasError() {
      * 
* * .google.rpc.Status error = 2; + * * @return The error. */ @java.lang.Override @@ -1682,6 +1933,8 @@ public com.google.rpc.Status getError() { } } /** + * + * *
      * Error returned when problems were encountered.  If present,
      * it indicates rows were not accepted into the system.
@@ -1715,6 +1968,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.
@@ -1734,8 +1989,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();
@@ -1746,6 +2000,8 @@ public Builder setError(
       return this;
     }
     /**
+     *
+     *
      * 
      * Error returned when problems were encountered.  If present,
      * it indicates rows were not accepted into the system.
@@ -1767,10 +2023,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;
         }
@@ -1785,6 +2042,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.
@@ -1821,6 +2080,8 @@ public Builder clearError() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Error returned when problems were encountered.  If present,
      * it indicates rows were not accepted into the system.
@@ -1844,6 +2105,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.
@@ -1875,6 +2138,8 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * Error returned when problems were encountered.  If present,
      * it indicates rows were not accepted into the system.
@@ -1895,28 +2160,35 @@ 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;
-      onChanged();;
+      onChanged();
+      ;
       return errorBuilder_;
     }
 
     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
@@ -1924,12 +2196,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 updatedSchemaBuilder_ != null || 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
@@ -1937,16 +2212,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
@@ -1969,6 +2249,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
@@ -1989,6 +2271,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
@@ -2001,7 +2285,9 @@ public Builder mergeUpdatedSchema(com.google.cloud.bigquery.storage.v1beta2.Tabl
       if (updatedSchemaBuilder_ == null) {
         if (updatedSchema_ != null) {
           updatedSchema_ =
-            com.google.cloud.bigquery.storage.v1beta2.TableSchema.newBuilder(updatedSchema_).mergeFrom(value).buildPartial();
+              com.google.cloud.bigquery.storage.v1beta2.TableSchema.newBuilder(updatedSchema_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           updatedSchema_ = value;
         }
@@ -2013,6 +2299,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
@@ -2033,6 +2321,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
@@ -2042,11 +2332,13 @@ public Builder clearUpdatedSchema() {
      * .google.cloud.bigquery.storage.v1beta2.TableSchema updated_schema = 3;
      */
     public com.google.cloud.bigquery.storage.v1beta2.TableSchema.Builder getUpdatedSchemaBuilder() {
-      
+
       onChanged();
       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
@@ -2055,15 +2347,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
@@ -2073,21 +2369,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);
     }
 
@@ -2097,12 +2396,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();
   }
@@ -2111,16 +2411,16 @@ 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 {
-      return new AppendRowsResponse(input, extensionRegistry);
-    }
-  };
+  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 {
+          return new AppendRowsResponse(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2135,6 +2435,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 83%
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 6eebce822a..5d920cd579 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 2020 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.
@@ -53,10 +83,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.
@@ -75,10 +108,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.
@@ -101,6 +137,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
@@ -108,10 +146,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
@@ -119,10 +160,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
@@ -133,5 +177,6 @@ public interface AppendRowsResponseOrBuilder extends
    */
   com.google.cloud.bigquery.storage.v1beta2.TableSchemaOrBuilder getUpdatedSchemaOrBuilder();
 
-  public com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.ResponseCase getResponseCase();
+  public com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.ResponseCase
+      getResponseCase();
 }
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..83bcf4d703
--- /dev/null
+++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowProto.java
@@ -0,0 +1,95 @@
+/*
+ * Copyright 2020 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\207\001\n)com.google.cloud.bigquery"
+          + ".storage.v1beta2B\nArrowProtoP\001ZLgoogle.g"
+          + "olang.org/genproto/googleapis/cloud/bigq"
+          + "uery/storage/v1beta2;storageb\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 69%
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 0eaf934f06..9d921bed00 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,40 +1,57 @@
+/*
+ * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ArrowRecordBatch( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,51 +70,56 @@ private ArrowRecordBatch( case 0: done = true; break; - case 10: { - - serializedRecordBatch_ = input.readBytes(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 10: + { + serializedRecordBatch_ = input.readBytes(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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_; /** + * + * *
    * IPC-serialized Arrow RecordBatch.
    * 
* * bytes serialized_record_batch = 1; + * * @return The serializedRecordBatch. */ @java.lang.Override @@ -106,6 +128,7 @@ public com.google.protobuf.ByteString getSerializedRecordBatch() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,8 +140,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_); } @@ -132,8 +154,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -143,15 +164,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -171,117 +192,127 @@ 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() @@ -289,16 +320,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -308,9 +338,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 @@ -329,7 +359,8 @@ 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); + com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch result = + new com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch(this); result.serializedRecordBatch_ = serializedRecordBatch_; onBuilt(); return result; @@ -339,38 +370,39 @@ public com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch buildPartial() 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; @@ -378,7 +410,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()); } @@ -401,7 +434,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -411,13 +445,17 @@ public Builder mergeFrom( return this; } - 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 @@ -425,40 +463,46 @@ 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(); - } - + throw new NullPointerException(); + } + serializedRecordBatch_ = value; onChanged(); return this; } /** + * + * *
      * IPC-serialized Arrow RecordBatch.
      * 
* * bytes serialized_record_batch = 1; + * * @return This builder for chaining. */ public Builder clearSerializedRecordBatch() { - + serializedRecordBatch_ = getDefaultInstance().getSerializedRecordBatch(); 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); } @@ -468,12 +512,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(); } @@ -482,16 +526,16 @@ 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 { - return new ArrowRecordBatch(input, extensionRegistry); - } - }; + 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 { + return new ArrowRecordBatch(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -506,6 +550,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..925d8960ed --- /dev/null +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowRecordBatchOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 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 69% 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 83848b32e3..b9d3b96a98 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 2020 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
@@ -14,31 +31,31 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ArrowSchema(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,51 +74,56 @@ private ArrowSchema(
           case 0:
             done = true;
             break;
-          case 10: {
-
-            serializedSchema_ = input.readBytes();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 10:
+            {
+              serializedSchema_ = input.readBytes();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  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_;
   /**
+   *
+   *
    * 
    * IPC serialized Arrow schema.
    * 
* * bytes serialized_schema = 1; + * * @return The serializedSchema. */ @java.lang.Override @@ -110,6 +132,7 @@ public com.google.protobuf.ByteString getSerializedSchema() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -121,8 +144,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_); } @@ -136,8 +158,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -147,15 +168,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -175,96 +196,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
@@ -275,21 +304,23 @@ 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()
@@ -297,16 +328,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -316,9 +346,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
@@ -337,7 +367,8 @@ 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);
+      com.google.cloud.bigquery.storage.v1beta2.ArrowSchema result =
+          new com.google.cloud.bigquery.storage.v1beta2.ArrowSchema(this);
       result.serializedSchema_ = serializedSchema_;
       onBuilt();
       return result;
@@ -347,38 +378,39 @@ public com.google.cloud.bigquery.storage.v1beta2.ArrowSchema buildPartial() {
     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;
@@ -386,7 +418,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());
       }
@@ -409,7 +442,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -421,11 +455,14 @@ public Builder mergeFrom(
 
     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 @@ -433,40 +470,46 @@ 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(); - } - + throw new NullPointerException(); + } + serializedSchema_ = value; onChanged(); return this; } /** + * + * *
      * IPC serialized Arrow schema.
      * 
* * bytes serialized_schema = 1; + * * @return This builder for chaining. */ public Builder clearSerializedSchema() { - + serializedSchema_ = getDefaultInstance().getSerializedSchema(); 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); } @@ -476,12 +519,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(); } @@ -490,16 +533,16 @@ 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 { - return new ArrowSchema(input, extensionRegistry); - } - }; + 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 { + return new ArrowSchema(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -514,6 +557,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..0efaa1b6b1 --- /dev/null +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSchemaOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 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 63% 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 a9a4c5b7aa..3af25b35a2 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,40 +1,57 @@ +/* + * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ArrowSerializationOptions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,54 +70,60 @@ private ArrowSerializationOptions( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); + case 8: + { + int rawValue = input.readEnum(); - format_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + format_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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.
      * 
@@ -109,6 +132,8 @@ public enum Format */ FORMAT_UNSPECIFIED(0), /** + * + * *
      * Use the legacy IPC message format as of Apache Arrow Release 0.14.
      * 
@@ -117,6 +142,8 @@ public enum Format */ ARROW_0_14(1), /** + * + * *
      * Use the message format as of Apache Arrow Release 0.15.
      * 
@@ -128,6 +155,8 @@ public enum Format ; /** + * + * *
      * If unspecied the IPC format as of 0.15 release will be used.
      * 
@@ -136,6 +165,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.
      * 
@@ -144,6 +175,8 @@ public enum Format */ public static final int ARROW_0_14_VALUE = 1; /** + * + * *
      * Use the message format as of Apache Arrow Release 0.15.
      * 
@@ -152,7 +185,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( @@ -177,49 +209,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; @@ -239,31 +273,45 @@ private Format(int value) { public static final int FORMAT_FIELD_NUMBER = 1; private int 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 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() { + @java.lang.Override + public com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format getFormat() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format result = com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format.valueOf(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.valueOf(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; @@ -275,9 +323,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_); } unknownFields.writeTo(output); @@ -289,9 +339,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -301,12 +353,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 (!unknownFields.equals(other.unknownFields)) return false; @@ -328,134 +381,145 @@ 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() + // Construct using + // com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -465,14 +529,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 @@ -486,7 +552,8 @@ 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); + com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions result = + new com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions(this); result.format_ = format_; onBuilt(); return result; @@ -496,46 +563,51 @@ public com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions build 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()); } @@ -558,7 +630,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -570,80 +644,106 @@ public Builder mergeFrom( 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. */ public Builder setFormatValue(int value) { - + format_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format result = com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format.valueOf(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.valueOf( + 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(); } - + format_ = value.getNumber(); onChanged(); 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() { - + format_ = 0; 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); } @@ -653,30 +753,32 @@ 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 { - return new ArrowSerializationOptions(input, extensionRegistry); - } - }; + 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 { + return new ArrowSerializationOptions(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -688,9 +790,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..133e8b1903 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 2020 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..799ef8fad4 --- /dev/null +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroProto.java @@ -0,0 +1,78 @@ +/* + * Copyright 2020 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\206\001\n)com.google.cloud.bigquery.storag" + + "e.v1beta2B\tAvroProtoP\001ZLgoogle.golang.or" + + "g/genproto/googleapis/cloud/bigquery/sto" + + "rage/v1beta2;storageb\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 68% 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 b602fba0dc..d1ba30b290 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,40 +1,57 @@ +/* + * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AvroRows( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,51 +70,56 @@ private AvroRows( case 0: done = true; break; - case 10: { - - serializedBinaryRows_ = input.readBytes(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 10: + { + serializedBinaryRows_ = input.readBytes(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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_; /** + * + * *
    * Binary serialized rows in a block.
    * 
* * bytes serialized_binary_rows = 1; + * * @return The serializedBinaryRows. */ @java.lang.Override @@ -106,6 +128,7 @@ public com.google.protobuf.ByteString getSerializedBinaryRows() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,8 +140,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_); } @@ -132,8 +154,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -143,15 +164,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -171,117 +192,126 @@ 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() @@ -289,16 +319,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -308,9 +337,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 @@ -329,7 +358,8 @@ 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); + com.google.cloud.bigquery.storage.v1beta2.AvroRows result = + new com.google.cloud.bigquery.storage.v1beta2.AvroRows(this); result.serializedBinaryRows_ = serializedBinaryRows_; onBuilt(); return result; @@ -339,38 +369,39 @@ public com.google.cloud.bigquery.storage.v1beta2.AvroRows buildPartial() { 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; @@ -378,7 +409,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()); } @@ -401,7 +433,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.AvroRows) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1beta2.AvroRows) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -411,13 +444,17 @@ public Builder mergeFrom( return this; } - 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 @@ -425,40 +462,46 @@ 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(); - } - + throw new NullPointerException(); + } + serializedBinaryRows_ = value; onChanged(); return this; } /** + * + * *
      * Binary serialized rows in a block.
      * 
* * bytes serialized_binary_rows = 1; + * * @return This builder for chaining. */ public Builder clearSerializedBinaryRows() { - + serializedBinaryRows_ = getDefaultInstance().getSerializedBinaryRows(); 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); } @@ -468,12 +511,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(); } @@ -482,16 +525,16 @@ 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 { - return new AvroRows(input, extensionRegistry); - } - }; + 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 { + return new AvroRows(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -506,6 +549,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..04aefb5227 --- /dev/null +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroRowsOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 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 68% 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 80ddbd6416..d7c995f17c 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,40 +1,57 @@ +/* + * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AvroSchema( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,53 +70,59 @@ private AvroSchema( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - schema_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + schema_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -108,30 +131,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 { @@ -140,6 +163,7 @@ public java.lang.String getSchema() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,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 (!getSchemaBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, schema_); } @@ -176,15 +199,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +227,126 @@ 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() @@ -322,16 +354,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +372,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 @@ -362,7 +393,8 @@ 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); + com.google.cloud.bigquery.storage.v1beta2.AvroSchema result = + new com.google.cloud.bigquery.storage.v1beta2.AvroSchema(this); result.schema_ = schema_; onBuilt(); return result; @@ -372,38 +404,39 @@ public com.google.cloud.bigquery.storage.v1beta2.AvroSchema buildPartial() { 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; @@ -411,7 +444,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_; onChanged(); @@ -435,7 +469,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.AvroSchema) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1beta2.AvroSchema) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,19 +482,21 @@ public Builder mergeFrom( 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; @@ -468,21 +505,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 { @@ -490,64 +528,71 @@ 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) { + public Builder setSchema(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + schema_ = value; 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() { - + schema_ = getDefaultInstance().getSchema(); onChanged(); 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) { + public Builder setSchemaBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + schema_ = value; 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); } @@ -557,12 +602,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(); } @@ -571,16 +616,16 @@ 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 { - return new AvroSchema(input, extensionRegistry); - } - }; + 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 { + return new AvroSchema(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -595,6 +640,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..03ac8890e5 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 2020 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 68% 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 d7e61aa394..fe6826a739 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,24 +1,43 @@ +/* + * Copyright 2020 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.EMPTY; @@ -26,16 +45,15 @@ private BatchCommitWriteStreamsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BatchCommitWriteStreamsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private BatchCommitWriteStreamsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,35 +73,36 @@ private BatchCommitWriteStreamsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - writeStreams_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + parent_ = s; + break; } - writeStreams_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + writeStreams_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + writeStreams_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { writeStreams_ = writeStreams_.getUnmodifiableView(); @@ -92,28 +111,34 @@ private BatchCommitWriteStreamsRequest( makeExtensionsImmutable(); } } - 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; 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 @@ -122,30 +147,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 { @@ -156,34 +181,42 @@ public java.lang.String getParent() { public static final int WRITE_STREAMS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList writeStreams_; /** + * + * *
    * 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. */ @@ -191,20 +224,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; @@ -216,8 +252,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 (!getParentBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -252,17 +287,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -286,134 +321,146 @@ 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() + // Construct using + // com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -425,19 +472,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_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); } @@ -446,7 +496,8 @@ 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); + com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest result = + new com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; if (((bitField0_ & 0x00000001) != 0)) { @@ -462,46 +513,52 @@ public com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest 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_; onChanged(); @@ -535,7 +592,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -544,23 +603,26 @@ public Builder mergeFrom( } 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; @@ -569,21 +631,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 { @@ -591,98 +654,115 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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]; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList writeStreams_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList writeStreams_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureWriteStreamsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { writeStreams_ = new com.google.protobuf.LazyStringArrayList(writeStreams_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * 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_.getUnmodifiableView(); } /** + * + * *
      * 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. */ @@ -690,80 +770,90 @@ 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) { + public Builder setWriteStreams(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureWriteStreamsIsMutable(); + throw new NullPointerException(); + } + ensureWriteStreamsIsMutable(); writeStreams_.set(index, value); 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 writeStreams to add. * @return This builder for chaining. */ - public Builder addWriteStreams( - java.lang.String value) { + public Builder addWriteStreams(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureWriteStreamsIsMutable(); + throw new NullPointerException(); + } + ensureWriteStreamsIsMutable(); writeStreams_.add(value); onChanged(); 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_); 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() { @@ -773,28 +863,30 @@ public Builder clearWriteStreams() { 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) { + public Builder addWriteStreamsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureWriteStreamsIsMutable(); writeStreams_.add(value); 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); } @@ -804,30 +896,33 @@ 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 { - return new BatchCommitWriteStreamsRequest(input, extensionRegistry); - } - }; + 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 { + return new BatchCommitWriteStreamsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -839,9 +934,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..d06e88a517 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 2020 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 74% 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 dbf5ccd4e2..3f30a674f0 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,40 +1,58 @@ +/* + * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private BatchCommitWriteStreamsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,42 +72,48 @@ private BatchCommitWriteStreamsResponse( case 0: done = true; break; - case 10: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (commitTime_ != null) { - subBuilder = commitTime_.toBuilder(); - } - commitTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(commitTime_); - commitTime_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (commitTime_ != null) { + subBuilder = commitTime_.toBuilder(); + } + commitTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(commitTime_); + commitTime_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - streamErrors_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + break; } - streamErrors_.add( - input.readMessage(com.google.cloud.bigquery.storage.v1beta2.StorageError.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + streamErrors_ = + new java.util.ArrayList< + com.google.cloud.bigquery.storage.v1beta2.StorageError>(); + mutable_bitField0_ |= 0x00000001; + } + streamErrors_.add( + input.readMessage( + com.google.cloud.bigquery.storage.v1beta2.StorageError.parser(), + extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { streamErrors_ = java.util.Collections.unmodifiableList(streamErrors_); @@ -98,22 +122,28 @@ private BatchCommitWriteStreamsResponse( makeExtensionsImmutable(); } } - 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.
@@ -121,6 +151,7 @@ private BatchCommitWriteStreamsResponse(
    * 
* * .google.protobuf.Timestamp commit_time = 1; + * * @return Whether the commitTime field is set. */ @java.lang.Override @@ -128,6 +159,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.
@@ -135,6 +168,7 @@ public boolean hasCommitTime() {
    * 
* * .google.protobuf.Timestamp commit_time = 1; + * * @return The commitTime. */ @java.lang.Override @@ -142,6 +176,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.
@@ -158,6 +194,8 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() {
   public static final int STREAM_ERRORS_FIELD_NUMBER = 2;
   private java.util.List streamErrors_;
   /**
+   *
+   *
    * 
    * Stream level error if commit failed. Only streams with error will be in
    * the list.
@@ -169,10 +207,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.
@@ -184,11 +225,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.
@@ -204,6 +247,8 @@ public int getStreamErrorsCount() {
     return streamErrors_.size();
   }
   /**
+   *
+   *
    * 
    * Stream level error if commit failed. Only streams with error will be in
    * the list.
@@ -219,6 +264,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.
@@ -236,6 +283,7 @@ public com.google.cloud.bigquery.storage.v1beta2.StorageErrorOrBuilder getStream
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -247,8 +295,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());
     }
@@ -265,12 +312,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 += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -280,20 +325,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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -319,135 +364,148 @@ 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() + // Construct using + // com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getStreamErrorsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -467,19 +525,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); } @@ -487,8 +548,10 @@ 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); int from_bitField0_ = bitField0_; if (commitTimeBuilder_ == null) { result.commitTime_ = commitTime_; @@ -512,46 +575,52 @@ public com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse 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()); } @@ -573,9 +642,10 @@ public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.BatchCommitWr streamErrorsBuilder_ = null; streamErrors_ = other.streamErrors_; bitField0_ = (bitField0_ & ~0x00000001); - streamErrorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getStreamErrorsFieldBuilder() : null; + streamErrorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getStreamErrorsFieldBuilder() + : null; } else { streamErrorsBuilder_.addAllMessages(other.streamErrors_); } @@ -596,11 +666,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse parsedMessage = null; + com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -609,12 +682,18 @@ public Builder mergeFrom( } 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.
@@ -622,12 +701,15 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.Timestamp commit_time = 1; + * * @return Whether the commitTime field is set. */ public boolean hasCommitTime() { return commitTimeBuilder_ != null || commitTime_ != null; } /** + * + * *
      * The time at which streams were committed in microseconds granularity.
      * This field will only exist when there are no stream errors.
@@ -635,16 +717,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.
@@ -667,6 +754,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.
@@ -675,8 +764,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();
         onChanged();
@@ -687,6 +775,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.
@@ -699,7 +789,7 @@ public Builder mergeCommitTime(com.google.protobuf.Timestamp value) {
       if (commitTimeBuilder_ == null) {
         if (commitTime_ != null) {
           commitTime_ =
-            com.google.protobuf.Timestamp.newBuilder(commitTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(commitTime_).mergeFrom(value).buildPartial();
         } else {
           commitTime_ = value;
         }
@@ -711,6 +801,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.
@@ -731,6 +823,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.
@@ -740,11 +834,13 @@ public Builder clearCommitTime() {
      * .google.protobuf.Timestamp commit_time = 1;
      */
     public com.google.protobuf.Timestamp.Builder getCommitTimeBuilder() {
-      
+
       onChanged();
       return getCommitTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time at which streams were committed in microseconds granularity.
      * This field will only exist when there are no stream errors.
@@ -757,11 +853,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.
@@ -771,32 +870,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_ & 0x00000001) != 0)) {
-        streamErrors_ = new java.util.ArrayList(streamErrors_);
+        streamErrors_ =
+            new java.util.ArrayList(
+                streamErrors_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     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.
@@ -807,7 +917,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 {
@@ -815,6 +926,8 @@ public java.util.List ge
       }
     }
     /**
+     *
+     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -833,6 +946,8 @@ public int getStreamErrorsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -851,6 +966,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.
@@ -876,6 +993,8 @@ public Builder setStreamErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -898,6 +1017,8 @@ public Builder setStreamErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -922,6 +1043,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.
@@ -947,6 +1070,8 @@ public Builder addStreamErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -969,6 +1094,8 @@ public Builder addStreamErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -991,6 +1118,8 @@ public Builder addStreamErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -1002,11 +1131,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);
@@ -1014,6 +1143,8 @@ public Builder addAllStreamErrors(
       return this;
     }
     /**
+     *
+     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -1035,6 +1166,8 @@ public Builder clearStreamErrors() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -1056,6 +1189,8 @@ public Builder removeStreamErrors(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -1071,6 +1206,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.
@@ -1084,11 +1221,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.
@@ -1099,8 +1239,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 {
@@ -1108,6 +1248,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.
@@ -1119,10 +1261,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.
@@ -1135,10 +1279,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.
@@ -1149,27 +1296,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_ & 0x00000001) != 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_ & 0x00000001) != 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);
     }
 
@@ -1179,30 +1329,33 @@ 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 {
-      return new BatchCommitWriteStreamsResponse(input, extensionRegistry);
-    }
-  };
+  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 {
+          return new BatchCommitWriteStreamsResponse(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1214,9 +1367,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..4ee30d3923 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 2020 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 63%
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 17064ae4dd..39a40b8f1c 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,40 +1,57 @@
+/*
+ * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateReadSessionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,71 +70,83 @@ private CreateReadSessionRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.bigquery.storage.v1beta2.ReadSession.Builder subBuilder = null; - if (readSession_ != null) { - subBuilder = readSession_.toBuilder(); + parent_ = s; + break; } - readSession_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta2.ReadSession.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readSession_); - readSession_ = subBuilder.buildPartial(); - } - - break; - } - case 24: { + case 18: + { + com.google.cloud.bigquery.storage.v1beta2.ReadSession.Builder subBuilder = null; + if (readSession_ != null) { + subBuilder = readSession_.toBuilder(); + } + readSession_ = + input.readMessage( + com.google.cloud.bigquery.storage.v1beta2.ReadSession.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readSession_); + readSession_ = subBuilder.buildPartial(); + } - maxStreamCount_ = input.readInt32(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + case 24: + { + maxStreamCount_ = input.readInt32(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -126,30 +155,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 { @@ -160,11 +191,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 @@ -172,23 +208,34 @@ 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() { @@ -198,6 +245,8 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadSessionOrBuilder getReadSes public static final int MAX_STREAM_COUNT_FIELD_NUMBER = 3; 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
@@ -209,6 +258,7 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadSessionOrBuilder getReadSes
    * 
* * int32 max_stream_count = 3; + * * @return The maxStreamCount. */ @java.lang.Override @@ -217,6 +267,7 @@ public int getMaxStreamCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -228,8 +279,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 (!getParentBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -252,12 +302,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -267,22 +315,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -308,134 +354,145 @@ 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() + // Construct using + // com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -453,14 +510,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 @@ -474,7 +533,8 @@ 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); + com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest result = + new com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest(this); result.parent_ = parent_; if (readSessionBuilder_ == null) { result.readSession_ = readSession_; @@ -490,46 +550,51 @@ public com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest buildP 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_; onChanged(); @@ -559,7 +624,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -571,19 +638,23 @@ public Builder mergeFrom( 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; @@ -592,21 +663,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 { @@ -614,57 +688,70 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -672,39 +759,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 readSessionBuilder_ != null || 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. */ 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) { @@ -720,11 +826,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) { @@ -738,17 +848,23 @@ 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 (readSession_ != null) { readSession_ = - com.google.cloud.bigquery.storage.v1beta2.ReadSession.newBuilder(readSession_).mergeFrom(value).buildPartial(); + com.google.cloud.bigquery.storage.v1beta2.ReadSession.newBuilder(readSession_) + .mergeFrom(value) + .buildPartial(); } else { readSession_ = value; } @@ -760,11 +876,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() { if (readSessionBuilder_ == null) { @@ -778,55 +898,74 @@ 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() { - + onChanged(); 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
@@ -838,6 +977,7 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadSessionOrBuilder getReadSes
      * 
* * int32 max_stream_count = 3; + * * @return The maxStreamCount. */ @java.lang.Override @@ -845,6 +985,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
@@ -856,16 +998,19 @@ public int getMaxStreamCount() {
      * 
* * int32 max_stream_count = 3; + * * @param value The maxStreamCount to set. * @return This builder for chaining. */ public Builder setMaxStreamCount(int value) { - + maxStreamCount_ = value; onChanged(); 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
@@ -877,17 +1022,18 @@ public Builder setMaxStreamCount(int value) {
      * 
* * int32 max_stream_count = 3; + * * @return This builder for chaining. */ public Builder clearMaxStreamCount() { - + maxStreamCount_ = 0; 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); } @@ -897,30 +1043,32 @@ 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 { - return new CreateReadSessionRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateReadSessionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -932,9 +1080,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 91c0fe9601..3ce93c86fd 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 2020 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
@@ -68,6 +109,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 61% 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 6b250e54b0..ada2181316 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,40 +1,57 @@ +/* + * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateWriteStreamRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,66 +70,78 @@ private CreateWriteStreamRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.bigquery.storage.v1beta2.WriteStream.Builder subBuilder = null; - if (writeStream_ != null) { - subBuilder = writeStream_.toBuilder(); + parent_ = s; + break; } - writeStream_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta2.WriteStream.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(writeStream_); - writeStream_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.bigquery.storage.v1beta2.WriteStream.Builder subBuilder = null; + if (writeStream_ != null) { + subBuilder = writeStream_.toBuilder(); + } + writeStream_ = + input.readMessage( + com.google.cloud.bigquery.storage.v1beta2.WriteStream.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(writeStream_); + writeStream_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -121,30 +150,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 { @@ -155,11 +186,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 @@ -167,23 +203,34 @@ 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() { @@ -191,6 +238,7 @@ public com.google.cloud.bigquery.storage.v1beta2.WriteStreamOrBuilder getWriteSt } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,8 +250,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 (!getParentBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -223,8 +270,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -234,19 +280,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -271,134 +316,145 @@ 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() + // Construct using + // com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -414,14 +470,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 @@ -435,7 +493,8 @@ 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); + com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest result = + new com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest(this); result.parent_ = parent_; if (writeStreamBuilder_ == null) { result.writeStream_ = writeStream_; @@ -450,46 +509,51 @@ public com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest buildP 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_; onChanged(); @@ -516,7 +580,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -528,19 +594,23 @@ public Builder mergeFrom( 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; @@ -549,21 +619,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 { @@ -571,57 +644,70 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -629,39 +715,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 writeStreamBuilder_ != null || 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. */ 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) { @@ -677,11 +782,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) { @@ -695,17 +804,23 @@ 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 (writeStream_ != null) { writeStream_ = - com.google.cloud.bigquery.storage.v1beta2.WriteStream.newBuilder(writeStream_).mergeFrom(value).buildPartial(); + com.google.cloud.bigquery.storage.v1beta2.WriteStream.newBuilder(writeStream_) + .mergeFrom(value) + .buildPartial(); } else { writeStream_ = value; } @@ -717,11 +832,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() { if (writeStreamBuilder_ == null) { @@ -735,55 +854,72 @@ 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() { - + onChanged(); 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); } @@ -793,30 +929,32 @@ 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 { - return new CreateWriteStreamRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateWriteStreamRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -828,9 +966,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..a3da6246c0 --- /dev/null +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateWriteStreamRequestOrBuilder.java @@ -0,0 +1,97 @@ +/* + * Copyright 2020 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..16f9360238 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 2020 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 62%
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 94e6ca45a1..3cf0043f37 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,40 +1,57 @@
+/*
+ * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private FinalizeWriteStreamRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,53 +70,61 @@ private FinalizeWriteStreamRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -108,30 +133,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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,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 (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,134 +231,145 @@ 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() + // Construct using + // com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,14 +379,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 @@ -362,7 +402,8 @@ 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); + com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest result = + new com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,46 +413,51 @@ public com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest buil 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_; onChanged(); @@ -435,7 +481,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,19 +495,23 @@ public Builder mergeFrom( 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; @@ -468,21 +520,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 { @@ -490,64 +545,77 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; 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); } @@ -557,30 +625,32 @@ 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 { - return new FinalizeWriteStreamRequest(input, extensionRegistry); - } - }; + 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 { + return new FinalizeWriteStreamRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -592,9 +662,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..97b7766ee2 --- /dev/null +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 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 63% 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 9f5ebf3808..96a6e79364 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,39 +1,55 @@ +/* + * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private FinalizeWriteStreamResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,51 +68,56 @@ private FinalizeWriteStreamResponse( case 0: done = true; break; - case 8: { - - rowCount_ = input.readInt64(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 8: + { + rowCount_ = input.readInt64(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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_; /** + * + * *
    * Number of rows in the finalized stream.
    * 
* * int64 row_count = 1; + * * @return The rowCount. */ @java.lang.Override @@ -105,6 +126,7 @@ public long getRowCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -116,8 +138,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_); } @@ -131,8 +152,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -142,15 +162,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -163,142 +183,152 @@ 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) + unknownFields.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() + // Construct using + // com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -308,14 +338,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 @@ -329,7 +361,8 @@ 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); + com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse result = + new com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse(this); result.rowCount_ = rowCount_; onBuilt(); return result; @@ -339,46 +372,51 @@ public com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse bui 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()); } @@ -401,7 +439,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -411,13 +451,16 @@ public Builder mergeFrom( return this; } - private long rowCount_ ; + private long rowCount_; /** + * + * *
      * Number of rows in the finalized stream.
      * 
* * int64 row_count = 1; + * * @return The rowCount. */ @java.lang.Override @@ -425,37 +468,43 @@ 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. */ public Builder setRowCount(long value) { - + rowCount_ = value; onChanged(); return this; } /** + * + * *
      * Number of rows in the finalized stream.
      * 
* * int64 row_count = 1; + * * @return This builder for chaining. */ public Builder clearRowCount() { - + 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); } @@ -465,30 +514,32 @@ 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 { - return new FinalizeWriteStreamResponse(input, extensionRegistry); - } - }; + 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 { + return new FinalizeWriteStreamResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -500,9 +551,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..edde5731e3 --- /dev/null +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamResponseOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 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 68% 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 09ce098192..034c2edb1d 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,40 +1,57 @@ +/* + * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private FlushRowsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,65 +70,75 @@ private FlushRowsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - writeStream_ = s; - break; - } - case 18: { - com.google.protobuf.Int64Value.Builder subBuilder = null; - if (offset_ != null) { - subBuilder = offset_.toBuilder(); + writeStream_ = s; + break; } - offset_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(offset_); - offset_ = subBuilder.buildPartial(); + case 18: + { + com.google.protobuf.Int64Value.Builder subBuilder = null; + if (offset_ != null) { + subBuilder = offset_.toBuilder(); + } + offset_ = + input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(offset_); + offset_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -120,29 +147,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 { @@ -153,12 +182,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 @@ -166,12 +198,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 @@ -179,6 +214,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.
@@ -192,6 +229,7 @@ public com.google.protobuf.Int64ValueOrBuilder getOffsetOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -203,8 +241,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 (!getWriteStreamBytes().isEmpty()) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, writeStream_);
     }
@@ -224,8 +261,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 += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -235,19 +271,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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -272,117 +307,127 @@ 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() @@ -390,16 +435,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -415,9 +459,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 @@ -436,7 +480,8 @@ 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); + com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest result = + new com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest(this); result.writeStream_ = writeStream_; if (offsetBuilder_ == null) { result.offset_ = offset_; @@ -451,38 +496,39 @@ public com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest buildPartial() 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; @@ -490,7 +536,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_; onChanged(); @@ -517,7 +564,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -529,18 +577,22 @@ public Builder mergeFrom( 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; @@ -549,20 +601,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 { @@ -570,54 +625,67 @@ 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) { + public Builder setWriteStream(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + writeStream_ = value; 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() { - + writeStream_ = getDefaultInstance().getWriteStream(); 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) = { ... } + * + * * @param value The bytes for writeStream to set. * @return This builder for chaining. */ - public Builder setWriteStreamBytes( - com.google.protobuf.ByteString value) { + public Builder setWriteStreamBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + writeStream_ = value; onChanged(); return this; @@ -625,26 +693,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 offsetBuilder_ != null || 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. */ public com.google.protobuf.Int64Value getOffset() { @@ -655,6 +732,8 @@ public com.google.protobuf.Int64Value getOffset() { } } /** + * + * *
      * Ending offset of the flush operation. Rows before this offset(including
      * this offset) will be flushed.
@@ -676,6 +755,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.
@@ -683,8 +764,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();
         onChanged();
@@ -695,6 +775,8 @@ public Builder setOffset(
       return this;
     }
     /**
+     *
+     *
      * 
      * Ending offset of the flush operation. Rows before this offset(including
      * this offset) will be flushed.
@@ -706,7 +788,7 @@ public Builder mergeOffset(com.google.protobuf.Int64Value value) {
       if (offsetBuilder_ == null) {
         if (offset_ != null) {
           offset_ =
-            com.google.protobuf.Int64Value.newBuilder(offset_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Int64Value.newBuilder(offset_).mergeFrom(value).buildPartial();
         } else {
           offset_ = value;
         }
@@ -718,6 +800,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.
@@ -737,6 +821,8 @@ public Builder clearOffset() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Ending offset of the flush operation. Rows before this offset(including
      * this offset) will be flushed.
@@ -745,11 +831,13 @@ public Builder clearOffset() {
      * .google.protobuf.Int64Value offset = 2;
      */
     public com.google.protobuf.Int64Value.Builder getOffsetBuilder() {
-      
+
       onChanged();
       return getOffsetFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Ending offset of the flush operation. Rows before this offset(including
      * this offset) will be flushed.
@@ -761,11 +849,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.
@@ -774,21 +863,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);
     }
 
@@ -798,12 +890,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();
   }
@@ -812,16 +904,16 @@ 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 {
-      return new FlushRowsRequest(input, extensionRegistry);
-    }
-  };
+  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 {
+          return new FlushRowsRequest(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -836,6 +928,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..e1491363a4 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 2020 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 68%
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 cbeea1ff03..fbc59ec63f 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,39 +1,55 @@
+/*
+ * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private FlushRowsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,51 +68,56 @@ private FlushRowsResponse( case 0: done = true; break; - case 8: { - - offset_ = input.readInt64(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 8: + { + offset_ = input.readInt64(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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_; /** + * + * *
    * The rows before this offset (including this offset) are flushed.
    * 
* * int64 offset = 1; + * * @return The offset. */ @java.lang.Override @@ -105,6 +126,7 @@ public long getOffset() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -116,8 +138,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_); } @@ -131,8 +152,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -142,15 +162,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -163,125 +183,134 @@ 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) + unknownFields.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() @@ -289,16 +318,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -308,9 +336,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 @@ -329,7 +357,8 @@ 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); + com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse result = + new com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse(this); result.offset_ = offset_; onBuilt(); return result; @@ -339,38 +368,39 @@ public com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse buildPartial( 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; @@ -378,7 +408,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()); } @@ -401,7 +432,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -411,13 +443,16 @@ public Builder mergeFrom( return this; } - 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 @@ -425,37 +460,43 @@ 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. */ public Builder setOffset(long value) { - + offset_ = value; onChanged(); return this; } /** + * + * *
      * The rows before this offset (including this offset) are flushed.
      * 
* * int64 offset = 1; + * * @return This builder for chaining. */ public Builder clearOffset() { - + offset_ = 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); } @@ -465,12 +506,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(); } @@ -479,16 +520,16 @@ 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 { - return new FlushRowsResponse(input, extensionRegistry); - } - }; + 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 { + return new FlushRowsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -503,6 +544,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..4d03275479 --- /dev/null +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsResponseOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 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 64% 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 2ba7f23175..8ea55768ae 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,40 +1,57 @@ +/* + * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetWriteStreamRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,53 +70,61 @@ private GetWriteStreamRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -108,30 +133,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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,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 (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ 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() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +377,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(); } @@ -362,7 +399,8 @@ 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); + com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest result = + new com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,46 +410,50 @@ public com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest buildPart 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_; onChanged(); @@ -435,7 +477,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,19 +491,23 @@ public Builder mergeFrom( 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; @@ -468,21 +516,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 { @@ -490,64 +541,77 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; 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); } @@ -557,30 +621,32 @@ 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 { - return new GetWriteStreamRequest(input, extensionRegistry); - } - }; + 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 { + return new GetWriteStreamRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -592,9 +658,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..737f72b512 --- /dev/null +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/GetWriteStreamRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 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..651b7f8a36 --- /dev/null +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoBufProto.java @@ -0,0 +1,84 @@ +/* + * Copyright 2020 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\212\001\n)com.google.cloud.bigquery.storage.v" + + "1beta2B\rProtoBufProtoP\001ZLgoogle.golang.o" + + "rg/genproto/googleapis/cloud/bigquery/st" + + "orage/v1beta2;storageb\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 71% 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 8da1db75f7..2792f31b13 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,36 +1,49 @@ +/* + * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ProtoRows( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -50,28 +63,28 @@ private ProtoRows( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - serializedRows_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + serializedRows_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + serializedRows_.add(input.readBytes()); + break; } - serializedRows_.add(input.readBytes()); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { serializedRows_ = java.util.Collections.unmodifiableList(serializedRows_); // C @@ -80,22 +93,27 @@ private ProtoRows( makeExtensionsImmutable(); } } - 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; private java.util.List serializedRows_; /** + * + * *
    * A sequence of rows serialized as a Protocol Buffer.
    * See https://developers.google.com/protocol-buffers/docs/overview for more
@@ -103,14 +121,16 @@ private ProtoRows(
    * 
* * 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.
    * See https://developers.google.com/protocol-buffers/docs/overview for more
@@ -118,12 +138,15 @@ private ProtoRows(
    * 
* * 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.
    * See https://developers.google.com/protocol-buffers/docs/overview for more
@@ -131,6 +154,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. */ @@ -139,6 +163,7 @@ public com.google.protobuf.ByteString getSerializedRows(int index) { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -150,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 { for (int i = 0; i < serializedRows_.size(); i++) { output.writeBytes(1, serializedRows_.get(i)); } @@ -167,8 +191,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(); @@ -181,15 +205,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -211,113 +235,118 @@ 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() @@ -325,16 +354,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -344,9 +372,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 @@ -365,7 +393,8 @@ 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); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { serializedRows_ = java.util.Collections.unmodifiableList(serializedRows_); @@ -380,38 +409,39 @@ public com.google.cloud.bigquery.storage.v1beta2.ProtoRows buildPartial() { 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; @@ -419,7 +449,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_; @@ -449,7 +480,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.ProtoRows) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1beta2.ProtoRows) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -458,16 +490,21 @@ public Builder mergeFrom( } 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_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * A sequence of rows serialized as a Protocol Buffer.
      * See https://developers.google.com/protocol-buffers/docs/overview for more
@@ -475,14 +512,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.
      * See https://developers.google.com/protocol-buffers/docs/overview for more
@@ -490,12 +530,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.
      * See https://developers.google.com/protocol-buffers/docs/overview for more
@@ -503,6 +546,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. */ @@ -510,6 +554,8 @@ public com.google.protobuf.ByteString getSerializedRows(int index) { return serializedRows_.get(index); } /** + * + * *
      * A sequence of rows serialized as a Protocol Buffer.
      * See https://developers.google.com/protocol-buffers/docs/overview for more
@@ -517,21 +563,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) { + public Builder setSerializedRows(int index, com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - ensureSerializedRowsIsMutable(); + throw new NullPointerException(); + } + ensureSerializedRowsIsMutable(); serializedRows_.set(index, value); onChanged(); return this; } /** + * + * *
      * A sequence of rows serialized as a Protocol Buffer.
      * See https://developers.google.com/protocol-buffers/docs/overview for more
@@ -539,19 +587,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(); - } - ensureSerializedRowsIsMutable(); + throw new NullPointerException(); + } + ensureSerializedRowsIsMutable(); serializedRows_.add(value); onChanged(); return this; } /** + * + * *
      * A sequence of rows serialized as a Protocol Buffer.
      * See https://developers.google.com/protocol-buffers/docs/overview for more
@@ -559,18 +610,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.
      * See https://developers.google.com/protocol-buffers/docs/overview for more
@@ -578,6 +631,7 @@ public Builder addAllSerializedRows(
      * 
* * repeated bytes serialized_rows = 1; + * * @return This builder for chaining. */ public Builder clearSerializedRows() { @@ -586,9 +640,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); } @@ -598,12 +652,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(); } @@ -612,16 +666,16 @@ 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 { - return new ProtoRows(input, extensionRegistry); - } - }; + 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 { + return new ProtoRows(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -636,6 +690,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 68% 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 9c130fe5f8..1381178f75 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 2020 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.
    * See https://developers.google.com/protocol-buffers/docs/overview for more
@@ -15,10 +33,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.
    * See https://developers.google.com/protocol-buffers/docs/overview for more
@@ -26,10 +47,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.
    * See https://developers.google.com/protocol-buffers/docs/overview for more
@@ -37,6 +61,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 71% 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 f3b7ca4498..3f4c55002a 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,39 +1,55 @@ +/* + * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ProtoSchema( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,54 +68,62 @@ private ProtoSchema( case 0: done = true; break; - case 10: { - com.google.protobuf.DescriptorProtos.DescriptorProto.Builder subBuilder = null; - if (protoDescriptor_ != null) { - subBuilder = protoDescriptor_.toBuilder(); + case 10: + { + com.google.protobuf.DescriptorProtos.DescriptorProto.Builder subBuilder = null; + if (protoDescriptor_ != null) { + subBuilder = protoDescriptor_.toBuilder(); + } + protoDescriptor_ = + input.readMessage( + com.google.protobuf.DescriptorProtos.DescriptorProto.PARSER, + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(protoDescriptor_); + protoDescriptor_ = subBuilder.buildPartial(); + } + + break; } - protoDescriptor_ = input.readMessage(com.google.protobuf.DescriptorProtos.DescriptorProto.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(protoDescriptor_); - protoDescriptor_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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
@@ -107,6 +131,7 @@ private ProtoSchema(
    * 
* * .google.protobuf.DescriptorProto proto_descriptor = 1; + * * @return Whether the protoDescriptor field is set. */ @java.lang.Override @@ -114,6 +139,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
@@ -121,13 +148,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
@@ -137,11 +169,13 @@ public com.google.protobuf.DescriptorProtos.DescriptorProto getProtoDescriptor()
    * .google.protobuf.DescriptorProto proto_descriptor = 1;
    */
   @java.lang.Override
-  public com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder getProtoDescriptorOrBuilder() {
+  public com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder
+      getProtoDescriptorOrBuilder() {
     return getProtoDescriptor();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -159,8 +193,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());
     }
@@ -174,8 +207,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 += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -185,17 +217,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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -218,117 +250,127 @@ 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() @@ -336,16 +378,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -359,9 +400,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 @@ -380,7 +421,8 @@ 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); + com.google.cloud.bigquery.storage.v1beta2.ProtoSchema result = + new com.google.cloud.bigquery.storage.v1beta2.ProtoSchema(this); if (protoDescriptorBuilder_ == null) { result.protoDescriptor_ = protoDescriptor_; } else { @@ -394,38 +436,39 @@ public com.google.cloud.bigquery.storage.v1beta2.ProtoSchema buildPartial() { 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; @@ -433,7 +476,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()); } @@ -461,7 +505,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.ProtoSchema) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1beta2.ProtoSchema) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -473,8 +518,13 @@ public Builder mergeFrom( 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
@@ -482,12 +532,15 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.DescriptorProto proto_descriptor = 1; + * * @return Whether the protoDescriptor field is set. */ public boolean hasProtoDescriptor() { return protoDescriptorBuilder_ != null || 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
@@ -495,16 +548,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
@@ -527,6 +585,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
@@ -547,6 +607,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
@@ -555,11 +617,14 @@ 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 (protoDescriptor_ != null) {
           protoDescriptor_ =
-            com.google.protobuf.DescriptorProtos.DescriptorProto.newBuilder(protoDescriptor_).mergeFrom(value).buildPartial();
+              com.google.protobuf.DescriptorProtos.DescriptorProto.newBuilder(protoDescriptor_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           protoDescriptor_ = value;
         }
@@ -571,6 +636,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
@@ -591,6 +658,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
@@ -599,12 +668,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() {
+
       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
@@ -613,15 +685,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
@@ -631,21 +707,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);
     }
 
@@ -655,12 +734,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();
   }
@@ -669,16 +748,16 @@ 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 {
-      return new ProtoSchema(input, extensionRegistry);
-    }
-  };
+  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 {
+          return new ProtoSchema(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -693,6 +772,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..bc76d4a88e 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 2020 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 66%
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 3c8206a40d..a1283e0a94 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,40 +1,57 @@
+/*
+ * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ReadRowsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,57 +70,65 @@ private ReadRowsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - readStream_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - offset_ = input.readInt64(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + readStream_ = s; + break; + } + case 16: + { + offset_ = input.readInt64(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -112,29 +137,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 { @@ -145,6 +172,8 @@ public java.lang.String getReadStream() { public static final int OFFSET_FIELD_NUMBER = 2; 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
@@ -152,6 +181,7 @@ public java.lang.String getReadStream() {
    * 
* * int64 offset = 2; + * * @return The offset. */ @java.lang.Override @@ -160,6 +190,7 @@ public long getOffset() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +202,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 (!getReadStreamBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, readStream_); } @@ -192,8 +222,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -203,17 +232,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -228,125 +256,134 @@ 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) + unknownFields.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() @@ -354,16 +391,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -375,9 +411,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 @@ -396,7 +432,8 @@ 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); + com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest result = + new com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest(this); result.readStream_ = readStream_; result.offset_ = offset_; onBuilt(); @@ -407,38 +444,39 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest buildPartial() 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; @@ -446,7 +484,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_; onChanged(); @@ -473,7 +512,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -485,18 +525,22 @@ public Builder mergeFrom( 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; @@ -505,20 +549,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 { @@ -526,61 +573,76 @@ 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) { + public Builder setReadStream(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + readStream_ = value; 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() { - + readStream_ = getDefaultInstance().getReadStream(); 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) = { ... } + * + * * @param value The bytes for readStream to set. * @return This builder for chaining. */ - public Builder setReadStreamBytes( - com.google.protobuf.ByteString value) { + public Builder setReadStreamBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + readStream_ = value; onChanged(); 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
@@ -588,6 +650,7 @@ public Builder setReadStreamBytes(
      * 
* * int64 offset = 2; + * * @return The offset. */ @java.lang.Override @@ -595,6 +658,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
@@ -602,16 +667,19 @@ public long getOffset() {
      * 
* * int64 offset = 2; + * * @param value The offset to set. * @return This builder for chaining. */ public Builder setOffset(long value) { - + offset_ = value; onChanged(); 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
@@ -619,17 +687,18 @@ public Builder setOffset(long value) {
      * 
* * int64 offset = 2; + * * @return This builder for chaining. */ public Builder clearOffset() { - + offset_ = 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); } @@ -639,12 +708,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(); } @@ -653,16 +722,16 @@ 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 { - return new ReadRowsRequest(input, extensionRegistry); - } - }; + 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 { + return new ReadRowsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -677,6 +746,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..614fa22b13 --- /dev/null +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsRequestOrBuilder.java @@ -0,0 +1,69 @@ +/* + * Copyright 2020 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 deb8fa591e..e7f68eba50 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 2020 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,30 +28,29 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ReadRowsResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -53,134 +69,167 @@ private ReadRowsResponse(
           case 0:
             done = true;
             break;
-          case 18: {
-            com.google.cloud.bigquery.storage.v1beta2.StreamStats.Builder subBuilder = null;
-            if (stats_ != null) {
-              subBuilder = stats_.toBuilder();
+          case 18:
+            {
+              com.google.cloud.bigquery.storage.v1beta2.StreamStats.Builder subBuilder = null;
+              if (stats_ != null) {
+                subBuilder = stats_.toBuilder();
+              }
+              stats_ =
+                  input.readMessage(
+                      com.google.cloud.bigquery.storage.v1beta2.StreamStats.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(stats_);
+                stats_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            stats_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta2.StreamStats.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(stats_);
-              stats_ = subBuilder.buildPartial();
+          case 26:
+            {
+              com.google.cloud.bigquery.storage.v1beta2.AvroRows.Builder subBuilder = null;
+              if (rowsCase_ == 3) {
+                subBuilder =
+                    ((com.google.cloud.bigquery.storage.v1beta2.AvroRows) rows_).toBuilder();
+              }
+              rows_ =
+                  input.readMessage(
+                      com.google.cloud.bigquery.storage.v1beta2.AvroRows.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.cloud.bigquery.storage.v1beta2.AvroRows) rows_);
+                rows_ = subBuilder.buildPartial();
+              }
+              rowsCase_ = 3;
+              break;
             }
-
-            break;
-          }
-          case 26: {
-            com.google.cloud.bigquery.storage.v1beta2.AvroRows.Builder subBuilder = null;
-            if (rowsCase_ == 3) {
-              subBuilder = ((com.google.cloud.bigquery.storage.v1beta2.AvroRows) rows_).toBuilder();
+          case 34:
+            {
+              com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch.Builder subBuilder = null;
+              if (rowsCase_ == 4) {
+                subBuilder =
+                    ((com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch) rows_)
+                        .toBuilder();
+              }
+              rows_ =
+                  input.readMessage(
+                      com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch) rows_);
+                rows_ = subBuilder.buildPartial();
+              }
+              rowsCase_ = 4;
+              break;
             }
-            rows_ =
-                input.readMessage(com.google.cloud.bigquery.storage.v1beta2.AvroRows.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.bigquery.storage.v1beta2.AvroRows) rows_);
-              rows_ = subBuilder.buildPartial();
+          case 42:
+            {
+              com.google.cloud.bigquery.storage.v1beta2.ThrottleState.Builder subBuilder = null;
+              if (throttleState_ != null) {
+                subBuilder = throttleState_.toBuilder();
+              }
+              throttleState_ =
+                  input.readMessage(
+                      com.google.cloud.bigquery.storage.v1beta2.ThrottleState.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(throttleState_);
+                throttleState_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            rowsCase_ = 3;
-            break;
-          }
-          case 34: {
-            com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch.Builder subBuilder = null;
-            if (rowsCase_ == 4) {
-              subBuilder = ((com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch) rows_).toBuilder();
+          case 48:
+            {
+              rowCount_ = input.readInt64();
+              break;
             }
-            rows_ =
-                input.readMessage(com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch) rows_);
-              rows_ = subBuilder.buildPartial();
+          case 58:
+            {
+              com.google.cloud.bigquery.storage.v1beta2.AvroSchema.Builder subBuilder = null;
+              if (schemaCase_ == 7) {
+                subBuilder =
+                    ((com.google.cloud.bigquery.storage.v1beta2.AvroSchema) schema_).toBuilder();
+              }
+              schema_ =
+                  input.readMessage(
+                      com.google.cloud.bigquery.storage.v1beta2.AvroSchema.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.cloud.bigquery.storage.v1beta2.AvroSchema) schema_);
+                schema_ = subBuilder.buildPartial();
+              }
+              schemaCase_ = 7;
+              break;
             }
-            rowsCase_ = 4;
-            break;
-          }
-          case 42: {
-            com.google.cloud.bigquery.storage.v1beta2.ThrottleState.Builder subBuilder = null;
-            if (throttleState_ != null) {
-              subBuilder = throttleState_.toBuilder();
+          case 66:
+            {
+              com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.Builder subBuilder = null;
+              if (schemaCase_ == 8) {
+                subBuilder =
+                    ((com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) schema_).toBuilder();
+              }
+              schema_ =
+                  input.readMessage(
+                      com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) schema_);
+                schema_ = subBuilder.buildPartial();
+              }
+              schemaCase_ = 8;
+              break;
             }
-            throttleState_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta2.ThrottleState.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(throttleState_);
-              throttleState_ = subBuilder.buildPartial();
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-
-            break;
-          }
-          case 48: {
-
-            rowCount_ = input.readInt64();
-            break;
-          }
-          case 58: {
-            com.google.cloud.bigquery.storage.v1beta2.AvroSchema.Builder subBuilder = null;
-            if (schemaCase_ == 7) {
-              subBuilder = ((com.google.cloud.bigquery.storage.v1beta2.AvroSchema) schema_).toBuilder();
-            }
-            schema_ =
-                input.readMessage(com.google.cloud.bigquery.storage.v1beta2.AvroSchema.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.bigquery.storage.v1beta2.AvroSchema) schema_);
-              schema_ = subBuilder.buildPartial();
-            }
-            schemaCase_ = 7;
-            break;
-          }
-          case 66: {
-            com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.Builder subBuilder = null;
-            if (schemaCase_ == 8) {
-              subBuilder = ((com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) schema_).toBuilder();
-            }
-            schema_ =
-                input.readMessage(com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) schema_);
-              schema_ = subBuilder.buildPartial();
-            }
-            schemaCase_ = 8;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
-            }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  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;
   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;
     }
@@ -196,32 +245,38 @@ 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;
   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;
     }
@@ -237,30 +292,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 @@ -268,21 +329,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.
    * 
@@ -292,18 +358,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 @@ -311,21 +380,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.
    * 
@@ -333,9 +407,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(); } @@ -343,11 +418,14 @@ public com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatchOrBuilder getAr public static final int ROW_COUNT_FIELD_NUMBER = 6; private long rowCount_; /** + * + * *
    * Number of serialized rows in the rows block.
    * 
* * int64 row_count = 6; + * * @return The rowCount. */ @java.lang.Override @@ -358,11 +436,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 @@ -370,18 +451,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.
    * 
@@ -396,12 +484,15 @@ public com.google.cloud.bigquery.storage.v1beta2.StreamStatsOrBuilder getStatsOr 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 @@ -409,19 +500,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.
@@ -430,17 +528,23 @@ 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() {
+  public com.google.cloud.bigquery.storage.v1beta2.ThrottleStateOrBuilder
+      getThrottleStateOrBuilder() {
     return getThrottleState();
   }
 
   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 @@ -448,42 +552,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 @@ -491,36 +609,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; @@ -532,8 +660,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()); } @@ -565,32 +692,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -600,34 +728,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: @@ -635,12 +759,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: @@ -657,8 +779,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(); @@ -697,96 +818,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.
@@ -794,21 +923,23 @@ 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()
@@ -816,16 +947,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -851,9 +981,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
@@ -872,7 +1002,8 @@ 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);
+      com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse result =
+          new com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse(this);
       if (rowsCase_ == 3) {
         if (avroRowsBuilder_ == null) {
           result.rows_ = rows_;
@@ -922,38 +1053,39 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse buildPartial()
     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;
@@ -961,7 +1093,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());
       }
@@ -972,30 +1105,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.unknownFields);
       onChanged();
@@ -1016,7 +1155,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1025,12 +1165,12 @@ public Builder mergeFrom(
       }
       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() {
@@ -1042,10 +1182,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() {
@@ -1055,15 +1194,20 @@ public Builder clearSchema() {
       return this;
     }
 
-
     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 @@ -1071,11 +1215,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 @@ -1093,6 +1240,8 @@ public com.google.cloud.bigquery.storage.v1beta2.AvroRows getAvroRows() { } } /** + * + * *
      * Serialized row data in AVRO format.
      * 
@@ -1113,6 +1262,8 @@ public Builder setAvroRows(com.google.cloud.bigquery.storage.v1beta2.AvroRows va return this; } /** + * + * *
      * Serialized row data in AVRO format.
      * 
@@ -1131,6 +1282,8 @@ public Builder setAvroRows( return this; } /** + * + * *
      * Serialized row data in AVRO format.
      * 
@@ -1139,10 +1292,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; } @@ -1157,6 +1313,8 @@ public Builder mergeAvroRows(com.google.cloud.bigquery.storage.v1beta2.AvroRows return this; } /** + * + * *
      * Serialized row data in AVRO format.
      * 
@@ -1180,6 +1338,8 @@ public Builder clearAvroRows() { return this; } /** + * + * *
      * Serialized row data in AVRO format.
      * 
@@ -1190,6 +1350,8 @@ public com.google.cloud.bigquery.storage.v1beta2.AvroRows.Builder getAvroRowsBui return getAvroRowsFieldBuilder().getBuilder(); } /** + * + * *
      * Serialized row data in AVRO format.
      * 
@@ -1208,6 +1370,8 @@ public com.google.cloud.bigquery.storage.v1beta2.AvroRowsOrBuilder getAvroRowsOr } } /** + * + * *
      * Serialized row data in AVRO format.
      * 
@@ -1215,32 +1379,44 @@ 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()); rows_ = null; } rowsCase_ = 3; - onChanged();; + onChanged(); + ; return avroRowsBuilder_; } 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 @@ -1248,11 +1424,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 @@ -1270,13 +1449,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(); @@ -1290,6 +1472,8 @@ public Builder setArrowRecordBatch(com.google.cloud.bigquery.storage.v1beta2.Arr return this; } /** + * + * *
      * Serialized row data in Arrow RecordBatch format.
      * 
@@ -1308,18 +1492,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; } @@ -1334,6 +1526,8 @@ public Builder mergeArrowRecordBatch(com.google.cloud.bigquery.storage.v1beta2.A return this; } /** + * + * *
      * Serialized row data in Arrow RecordBatch format.
      * 
@@ -1357,16 +1551,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.
      * 
@@ -1374,7 +1573,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 { @@ -1385,6 +1585,8 @@ public com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatchOrBuilder getAr } } /** + * + * *
      * Serialized row data in Arrow RecordBatch format.
      * 
@@ -1392,31 +1594,40 @@ 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()); rows_ = null; } rowsCase_ = 4; - onChanged();; + onChanged(); + ; 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 @@ -1424,30 +1635,36 @@ 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. */ public Builder setRowCount(long value) { - + rowCount_ = value; onChanged(); return this; } /** + * + * *
      * Number of serialized rows in the rows block.
      * 
* * int64 row_count = 6; + * * @return This builder for chaining. */ public Builder clearRowCount() { - + rowCount_ = 0L; onChanged(); return this; @@ -1455,34 +1672,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 statsBuilder_ != null || stats_ != null; } /** + * + * *
      * 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.
      * 
@@ -1503,6 +1733,8 @@ public Builder setStats(com.google.cloud.bigquery.storage.v1beta2.StreamStats va return this; } /** + * + * *
      * Statistics for the stream.
      * 
@@ -1521,6 +1753,8 @@ public Builder setStats( return this; } /** + * + * *
      * Statistics for the stream.
      * 
@@ -1531,7 +1765,9 @@ public Builder mergeStats(com.google.cloud.bigquery.storage.v1beta2.StreamStats if (statsBuilder_ == null) { if (stats_ != null) { stats_ = - com.google.cloud.bigquery.storage.v1beta2.StreamStats.newBuilder(stats_).mergeFrom(value).buildPartial(); + com.google.cloud.bigquery.storage.v1beta2.StreamStats.newBuilder(stats_) + .mergeFrom(value) + .buildPartial(); } else { stats_ = value; } @@ -1543,6 +1779,8 @@ public Builder mergeStats(com.google.cloud.bigquery.storage.v1beta2.StreamStats return this; } /** + * + * *
      * Statistics for the stream.
      * 
@@ -1561,6 +1799,8 @@ public Builder clearStats() { return this; } /** + * + * *
      * Statistics for the stream.
      * 
@@ -1568,11 +1808,13 @@ public Builder clearStats() { * .google.cloud.bigquery.storage.v1beta2.StreamStats stats = 2; */ public com.google.cloud.bigquery.storage.v1beta2.StreamStats.Builder getStatsBuilder() { - + onChanged(); return getStatsFieldBuilder().getBuilder(); } /** + * + * *
      * Statistics for the stream.
      * 
@@ -1583,11 +1825,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.
      * 
@@ -1595,14 +1840,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_; @@ -1610,36 +1858,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 throttleStateBuilder_ != null || 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. */ 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.
@@ -1661,6 +1922,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.
@@ -1680,6 +1943,8 @@ public Builder setThrottleState(
       return this;
     }
     /**
+     *
+     *
      * 
      * Throttling state. If unset, the latest response still describes
      * the current throttling status.
@@ -1687,11 +1952,14 @@ 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 (throttleState_ != null) {
           throttleState_ =
-            com.google.cloud.bigquery.storage.v1beta2.ThrottleState.newBuilder(throttleState_).mergeFrom(value).buildPartial();
+              com.google.cloud.bigquery.storage.v1beta2.ThrottleState.newBuilder(throttleState_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           throttleState_ = value;
         }
@@ -1703,6 +1971,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.
@@ -1722,6 +1992,8 @@ public Builder clearThrottleState() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Throttling state. If unset, the latest response still describes
      * the current throttling status.
@@ -1729,12 +2001,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() {
+
       onChanged();
       return getThrottleStateFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Throttling state. If unset, the latest response still describes
      * the current throttling status.
@@ -1742,15 +2017,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.
@@ -1759,27 +2038,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 @@ -1787,11 +2077,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 @@ -1809,11 +2104,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) { @@ -1829,11 +2128,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) { @@ -1847,18 +2150,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; } @@ -1873,11 +2184,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) { @@ -1896,21 +2211,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() { @@ -1924,39 +2247,57 @@ 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()); schema_ = null; } schemaCase_ = 7; - onChanged();; + onChanged(); + ; return avroSchemaBuilder_; } 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 @@ -1964,11 +2305,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 @@ -1986,11 +2332,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) { @@ -2006,11 +2356,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) { @@ -2024,18 +2378,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; } @@ -2050,11 +2412,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) { @@ -2073,24 +2439,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 { @@ -2101,33 +2476,43 @@ 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()); schema_ = null; } schemaCase_ = 8; - onChanged();; + 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); } @@ -2137,12 +2522,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(); } @@ -2151,16 +2536,16 @@ 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 { - return new ReadRowsResponse(input, extensionRegistry); - } - }; + 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 { + return new ReadRowsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2175,6 +2560,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 aae8074e96..9dac211a11 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 2020 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 67% 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 12fa023006..1ca9b33ac2 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 2020 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,16 +46,15 @@ private ReadSession() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ReadSession(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ReadSession( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -57,114 +74,143 @@ private ReadSession( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (expireTime_ != null) { - subBuilder = expireTime_.toBuilder(); - } - expireTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(expireTime_); - expireTime_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (expireTime_ != null) { + subBuilder = expireTime_.toBuilder(); + } + expireTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(expireTime_); + expireTime_ = subBuilder.buildPartial(); + } - break; - } - case 24: { - int rawValue = input.readEnum(); - - dataFormat_ = rawValue; - break; - } - case 34: { - com.google.cloud.bigquery.storage.v1beta2.AvroSchema.Builder subBuilder = null; - if (schemaCase_ == 4) { - subBuilder = ((com.google.cloud.bigquery.storage.v1beta2.AvroSchema) schema_).toBuilder(); + break; } - schema_ = - input.readMessage(com.google.cloud.bigquery.storage.v1beta2.AvroSchema.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.bigquery.storage.v1beta2.AvroSchema) schema_); - schema_ = subBuilder.buildPartial(); + case 24: + { + int rawValue = input.readEnum(); + + dataFormat_ = rawValue; + break; } - schemaCase_ = 4; - break; - } - case 42: { - com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.Builder subBuilder = null; - if (schemaCase_ == 5) { - subBuilder = ((com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) schema_).toBuilder(); + case 34: + { + com.google.cloud.bigquery.storage.v1beta2.AvroSchema.Builder subBuilder = null; + if (schemaCase_ == 4) { + subBuilder = + ((com.google.cloud.bigquery.storage.v1beta2.AvroSchema) schema_).toBuilder(); + } + schema_ = + input.readMessage( + com.google.cloud.bigquery.storage.v1beta2.AvroSchema.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.bigquery.storage.v1beta2.AvroSchema) schema_); + schema_ = subBuilder.buildPartial(); + } + schemaCase_ = 4; + break; } - schema_ = - input.readMessage(com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) schema_); - schema_ = subBuilder.buildPartial(); + case 42: + { + com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.Builder subBuilder = null; + if (schemaCase_ == 5) { + subBuilder = + ((com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) schema_).toBuilder(); + } + schema_ = + input.readMessage( + com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) schema_); + schema_ = subBuilder.buildPartial(); + } + schemaCase_ = 5; + break; } - schemaCase_ = 5; - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - table_ = s; - break; - } - case 58: { - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.Builder subBuilder = null; - if (tableModifiers_ != null) { - subBuilder = tableModifiers_.toBuilder(); - } - tableModifiers_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tableModifiers_); - tableModifiers_ = subBuilder.buildPartial(); + table_ = s; + break; } + case 58: + { + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.Builder + subBuilder = null; + if (tableModifiers_ != null) { + subBuilder = tableModifiers_.toBuilder(); + } + tableModifiers_ = + input.readMessage( + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tableModifiers_); + tableModifiers_ = subBuilder.buildPartial(); + } - break; - } - case 66: { - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions.Builder subBuilder = null; - if (readOptions_ != null) { - subBuilder = readOptions_.toBuilder(); - } - readOptions_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(readOptions_); - readOptions_ = subBuilder.buildPartial(); + break; } + case 66: + { + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions.Builder + subBuilder = null; + if (readOptions_ != null) { + subBuilder = readOptions_.toBuilder(); + } + readOptions_ = + input.readMessage( + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(readOptions_); + readOptions_ = subBuilder.buildPartial(); + } - break; - } - case 82: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - streams_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + break; } - streams_.add( - input.readMessage(com.google.cloud.bigquery.storage.v1beta2.ReadStream.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 82: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + streams_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + streams_.add( + input.readMessage( + com.google.cloud.bigquery.storage.v1beta2.ReadStream.parser(), + extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { streams_ = java.util.Collections.unmodifiableList(streams_); @@ -173,42 +219,54 @@ private ReadSession( makeExtensionsImmutable(); } } - 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.
      * 
@@ -218,36 +276,37 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TableModifiers( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -266,59 +325,66 @@ private TableModifiers( case 0: done = true; break; - case 10: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (snapshotTime_ != null) { - subBuilder = snapshotTime_.toBuilder(); + case 10: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (snapshotTime_ != null) { + subBuilder = snapshotTime_.toBuilder(); + } + snapshotTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(snapshotTime_); + snapshotTime_ = subBuilder.buildPartial(); + } + + break; } - snapshotTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(snapshotTime_); - snapshotTime_ = subBuilder.buildPartial(); + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 @@ -326,18 +392,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.
      * 
@@ -350,6 +423,7 @@ public com.google.protobuf.TimestampOrBuilder getSnapshotTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -361,8 +435,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()); } @@ -376,8 +449,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -387,17 +459,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -420,87 +492,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 @@ -510,44 +590,49 @@ 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() + // Construct using + // com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -561,19 +646,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); } @@ -582,7 +670,8 @@ 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); + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers result = + new com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers(this); if (snapshotTimeBuilder_ == null) { result.snapshotTime_ = snapshotTime_; } else { @@ -596,46 +685,53 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers buil 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()); } @@ -658,7 +754,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -670,34 +768,47 @@ public Builder mergeFrom( 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 snapshotTimeBuilder_ != null || snapshotTime_ != null; } /** + * + * *
        * 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.
        * 
@@ -718,14 +829,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(); onChanged(); @@ -736,6 +848,8 @@ public Builder setSnapshotTime( return this; } /** + * + * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -746,7 +860,9 @@ public Builder mergeSnapshotTime(com.google.protobuf.Timestamp value) { if (snapshotTimeBuilder_ == null) { if (snapshotTime_ != null) { snapshotTime_ = - com.google.protobuf.Timestamp.newBuilder(snapshotTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(snapshotTime_) + .mergeFrom(value) + .buildPartial(); } else { snapshotTime_ = value; } @@ -758,6 +874,8 @@ public Builder mergeSnapshotTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -776,6 +894,8 @@ public Builder clearSnapshotTime() { return this; } /** + * + * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -783,11 +903,13 @@ public Builder clearSnapshotTime() { * .google.protobuf.Timestamp snapshot_time = 1; */ public com.google.protobuf.Timestamp.Builder getSnapshotTimeBuilder() { - + onChanged(); return getSnapshotTimeFieldBuilder().getBuilder(); } /** + * + * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -798,11 +920,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.
        * 
@@ -810,18 +935,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) { @@ -834,30 +963,32 @@ 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 { - return new TableModifiers(input, extensionRegistry); - } - }; + 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 { + return new TableModifiers(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -869,17 +1000,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
@@ -888,11 +1022,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
@@ -901,10 +1037,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
@@ -913,11 +1052,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
@@ -926,13 +1068,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.
@@ -945,10 +1089,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.
@@ -961,54 +1108,73 @@ 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.EMPTY; rowRestriction_ = ""; @@ -1016,16 +1182,15 @@ private TableReadOptions() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TableReadOptions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TableReadOptions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1045,48 +1210,55 @@ private TableReadOptions( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - selectedFields_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + selectedFields_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + selectedFields_.add(s); + break; } - selectedFields_.add(s); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - rowRestriction_ = s; - break; - } - case 26: { - com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Builder subBuilder = null; - if (arrowSerializationOptions_ != null) { - subBuilder = arrowSerializationOptions_.toBuilder(); + rowRestriction_ = s; + break; } - arrowSerializationOptions_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(arrowSerializationOptions_); - arrowSerializationOptions_ = subBuilder.buildPartial(); + case 26: + { + com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Builder + subBuilder = null; + if (arrowSerializationOptions_ != null) { + subBuilder = arrowSerializationOptions_.toBuilder(); + } + arrowSerializationOptions_ = + input.readMessage( + com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(arrowSerializationOptions_); + arrowSerializationOptions_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { selectedFields_ = selectedFields_.getUnmodifiableView(); @@ -1095,22 +1267,27 @@ private TableReadOptions( makeExtensionsImmutable(); } } - 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; private com.google.protobuf.LazyStringList 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
@@ -1119,13 +1296,15 @@ private TableReadOptions(
      * 
* * 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
@@ -1134,12 +1313,15 @@ private TableReadOptions(
      * 
* * 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
@@ -1148,6 +1330,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. */ @@ -1155,6 +1338,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
@@ -1163,17 +1348,19 @@ 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; private volatile java.lang.Object rowRestriction_; /** + * + * *
      * SQL text filtering statement, similar to a WHERE clause in a query.
      * Aggregates are not supported.
@@ -1186,6 +1373,7 @@ public java.lang.String getSelectedFields(int index) {
      * 
* * string row_restriction = 2; + * * @return The rowRestriction. */ @java.lang.Override @@ -1194,14 +1382,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.
@@ -1214,16 +1403,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 { @@ -1232,13 +1420,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 @@ -1246,30 +1440,44 @@ 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() { + public com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptionsOrBuilder + getArrowSerializationOptionsOrBuilder() { return getArrowSerializationOptions(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1281,8 +1489,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)); } @@ -1313,8 +1520,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1324,21 +1532,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1367,87 +1575,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 @@ -1457,44 +1673,50 @@ 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() + // Construct using + // com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1512,19 +1734,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); } @@ -1533,7 +1758,8 @@ 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); + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions result = + new com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { selectedFields_ = selectedFields_.getUnmodifiableView(); @@ -1554,46 +1780,54 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions bu 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_; @@ -1630,7 +1864,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1639,16 +1875,21 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList selectedFields_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList selectedFields_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureSelectedFieldsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { selectedFields_ = new com.google.protobuf.LazyStringArrayList(selectedFields_); 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
@@ -1657,13 +1898,15 @@ 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() { return selectedFields_.getUnmodifiableView(); } /** + * + * *
        * 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
@@ -1672,12 +1915,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
@@ -1686,6 +1932,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. */ @@ -1693,6 +1940,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
@@ -1701,14 +1950,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
@@ -1717,21 +1968,23 @@ 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) { + public Builder setSelectedFields(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSelectedFieldsIsMutable(); + throw new NullPointerException(); + } + ensureSelectedFieldsIsMutable(); selectedFields_.set(index, value); 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
@@ -1740,20 +1993,22 @@ 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) { + public Builder addSelectedFields(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSelectedFieldsIsMutable(); + throw new NullPointerException(); + } + ensureSelectedFieldsIsMutable(); selectedFields_.add(value); 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
@@ -1762,18 +2017,19 @@ 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_); 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
@@ -1782,6 +2038,7 @@ public Builder addAllSelectedFields(
        * 
* * repeated string selected_fields = 1; + * * @return This builder for chaining. */ public Builder clearSelectedFields() { @@ -1791,6 +2048,8 @@ public Builder clearSelectedFields() { 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
@@ -1799,15 +2058,15 @@ 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) { + public Builder addSelectedFieldsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureSelectedFieldsIsMutable(); selectedFields_.add(value); onChanged(); @@ -1816,6 +2075,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.
@@ -1828,13 +2089,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; @@ -1843,6 +2104,8 @@ public java.lang.String getRowRestriction() { } } /** + * + * *
        * SQL text filtering statement, similar to a WHERE clause in a query.
        * Aggregates are not supported.
@@ -1855,15 +2118,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 { @@ -1871,6 +2133,8 @@ public java.lang.String getRowRestriction() { } } /** + * + * *
        * SQL text filtering statement, similar to a WHERE clause in a query.
        * Aggregates are not supported.
@@ -1883,20 +2147,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) { + public Builder setRowRestriction(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + rowRestriction_ = value; onChanged(); return this; } /** + * + * *
        * SQL text filtering statement, similar to a WHERE clause in a query.
        * Aggregates are not supported.
@@ -1909,15 +2175,18 @@ public Builder setRowRestriction(
        * 
* * string row_restriction = 2; + * * @return This builder for chaining. */ public Builder clearRowRestriction() { - + rowRestriction_ = getDefaultInstance().getRowRestriction(); onChanged(); return this; } /** + * + * *
        * SQL text filtering statement, similar to a WHERE clause in a query.
        * Aggregates are not supported.
@@ -1930,58 +2199,81 @@ 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) { + public Builder setRowRestrictionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + rowRestriction_ = value; onChanged(); 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 arrowSerializationOptionsBuilder_ != null || 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. */ - 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(); @@ -1995,14 +2287,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(); onChanged(); @@ -2013,17 +2310,25 @@ 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 (arrowSerializationOptions_ != null) { arrowSerializationOptions_ = - com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.newBuilder(arrowSerializationOptions_).mergeFrom(value).buildPartial(); + com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.newBuilder( + arrowSerializationOptions_) + .mergeFrom(value) + .buildPartial(); } else { arrowSerializationOptions_ = value; } @@ -2035,11 +2340,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() { if (arrowSerializationOptionsBuilder_ == null) { @@ -2053,52 +2362,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() { + 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) { @@ -2111,30 +2440,33 @@ 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 { - return new TableReadOptions(input, extensionRegistry); - } - }; + 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 { + return new TableReadOptions(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2146,21 +2478,24 @@ 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; 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; } @@ -2176,32 +2511,38 @@ 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; 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 @@ -2210,30 +2551,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 { @@ -2244,13 +2585,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 @@ -2258,13 +2603,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 @@ -2272,13 +2621,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() { @@ -2288,37 +2640,57 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { public static final int DATA_FORMAT_FIELD_NUMBER = 3; private int 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 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() { + @java.lang.Override + public com.google.cloud.bigquery.storage.v1beta2.DataFormat getDataFormat() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.storage.v1beta2.DataFormat result = com.google.cloud.bigquery.storage.v1beta2.DataFormat.valueOf(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.valueOf(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 @@ -2326,42 +2698,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 @@ -2369,31 +2755,40 @@ 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(); } @@ -2401,12 +2796,17 @@ public com.google.cloud.bigquery.storage.v1beta2.ArrowSchemaOrBuilder getArrowSc public static final int TABLE_FIELD_NUMBER = 6; 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 @@ -2415,30 +2815,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 { @@ -2449,11 +2851,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 @@ -2461,37 +2868,54 @@ 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() { + public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiersOrBuilder + getTableModifiersOrBuilder() { return getTableModifiers(); } 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 @@ -2499,32 +2923,47 @@ 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() { + public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptionsOrBuilder + getReadOptionsOrBuilder() { return getReadOptions(); } public static final int STREAMS_FIELD_NUMBER = 10; private java.util.List streams_; /** + * + * *
    * Output only. A list of streams created with the session.
    * At least one stream is created with the session. In the future, larger
@@ -2533,13 +2972,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.
    * At least one stream is created with the session. In the future, larger
@@ -2548,14 +2991,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.
    * At least one stream is created with the session. In the future, larger
@@ -2564,13 +3011,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.
    * At least one stream is created with the session. In the future, larger
@@ -2579,13 +3030,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.
    * At least one stream is created with the session. In the future, larger
@@ -2594,7 +3049,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( @@ -2603,6 +3060,7 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder getStreamsO } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2614,15 +3072,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 (!getNameBytes().isEmpty()) { 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) { @@ -2656,35 +3115,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 (!getTableBytes().isEmpty()) { 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2694,44 +3152,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: @@ -2787,117 +3238,127 @@ 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() @@ -2905,17 +3366,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getStreamsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -2955,9 +3416,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 @@ -2976,7 +3437,8 @@ 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); int from_bitField0_ = bitField0_; result.name_ = name_; if (expireTimeBuilder_ == null) { @@ -3028,38 +3490,39 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadSession buildPartial() { 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; @@ -3067,7 +3530,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_; onChanged(); @@ -3106,26 +3570,30 @@ public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.ReadSession o 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_); } } } 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.unknownFields); onChanged(); @@ -3146,7 +3614,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.ReadSession) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1beta2.ReadSession) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3155,12 +3624,12 @@ public Builder mergeFrom( } 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() { @@ -3174,19 +3643,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; @@ -3195,21 +3666,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 { @@ -3217,57 +3689,64 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -3275,45 +3754,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 expireTimeBuilder_ != null || 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. */ 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) { @@ -3329,16 +3827,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(); onChanged(); @@ -3349,19 +3850,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 (expireTime_ != null) { expireTime_ = - com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial(); } else { expireTime_ = value; } @@ -3373,13 +3878,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() { if (expireTimeBuilder_ == null) { @@ -3393,54 +3902,70 @@ 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() { - + onChanged(); 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_; @@ -3448,51 +3973,75 @@ 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. */ public Builder setDataFormatValue(int value) { - + dataFormat_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.storage.v1beta2.DataFormat result = com.google.cloud.bigquery.storage.v1beta2.DataFormat.valueOf(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.valueOf(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. */ @@ -3500,34 +4049,47 @@ public Builder setDataFormat(com.google.cloud.bigquery.storage.v1beta2.DataForma if (value == null) { throw new NullPointerException(); } - + dataFormat_ = value.getNumber(); onChanged(); 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() { - + dataFormat_ = 0; onChanged(); return this; } 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 @@ -3535,11 +4097,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 @@ -3557,11 +4124,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) { @@ -3577,11 +4148,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) { @@ -3595,18 +4170,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; } @@ -3621,11 +4204,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) { @@ -3644,21 +4231,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() { @@ -3672,39 +4267,57 @@ 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()); schema_ = null; } schemaCase_ = 4; - onChanged();; + onChanged(); + ; return avroSchemaBuilder_; } 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 @@ -3712,11 +4325,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 @@ -3734,11 +4352,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) { @@ -3754,11 +4376,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) { @@ -3772,18 +4398,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; } @@ -3798,11 +4432,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) { @@ -3821,24 +4459,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 { @@ -3849,46 +4496,60 @@ 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()); schema_ = null; } schemaCase_ = 5; - onChanged();; + onChanged(); + ; return arrowSchemaBuilder_; } 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; @@ -3897,21 +4558,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 { @@ -3919,57 +4583,70 @@ 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) { + public Builder setTable(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + table_ = value; 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() { - + table_ = getDefaultInstance().getTable(); 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) = { ... } + * + * * @param value The bytes for table to set. * @return This builder for chaining. */ - public Builder setTableBytes( - com.google.protobuf.ByteString value) { + public Builder setTableBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + table_ = value; onChanged(); return this; @@ -3977,41 +4654,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 tableModifiersBuilder_ != null || 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. */ - 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(); @@ -4025,14 +4724,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(); onChanged(); @@ -4043,17 +4747,25 @@ 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 (tableModifiers_ != null) { tableModifiers_ = - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.newBuilder(tableModifiers_).mergeFrom(value).buildPartial(); + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.newBuilder( + tableModifiers_) + .mergeFrom(value) + .buildPartial(); } else { tableModifiers_ = value; } @@ -4065,11 +4777,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() { if (tableModifiersBuilder_ == null) { @@ -4083,48 +4799,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() { + 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_; @@ -4132,41 +4867,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 readOptionsBuilder_ != null || 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. */ 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(); @@ -4180,14 +4936,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(); onChanged(); @@ -4198,17 +4959,25 @@ 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 (readOptions_ != null) { readOptions_ = - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions.newBuilder(readOptions_).mergeFrom(value).buildPartial(); + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions.newBuilder( + readOptions_) + .mergeFrom(value) + .buildPartial(); } else { readOptions_ = value; } @@ -4220,11 +4989,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() { if (readOptionsBuilder_ == null) { @@ -4238,66 +5011,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() { + 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_ & 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.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.
      * At least one stream is created with the session. In the future, larger
@@ -4306,7 +5105,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) { @@ -4316,6 +5117,8 @@ public java.util.List getS } } /** + * + * *
      * Output only. A list of streams created with the session.
      * At least one stream is created with the session. In the future, larger
@@ -4324,7 +5127,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) { @@ -4334,6 +5139,8 @@ public int getStreamsCount() { } } /** + * + * *
      * Output only. A list of streams created with the session.
      * At least one stream is created with the session. In the future, larger
@@ -4342,7 +5149,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) { @@ -4352,6 +5161,8 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadStream getStreams(int index } } /** + * + * *
      * Output only. A list of streams created with the session.
      * At least one stream is created with the session. In the future, larger
@@ -4360,7 +5171,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) { @@ -4377,6 +5190,8 @@ public Builder setStreams( return this; } /** + * + * *
      * Output only. A list of streams created with the session.
      * At least one stream is created with the session. In the future, larger
@@ -4385,7 +5200,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) { @@ -4399,6 +5216,8 @@ public Builder setStreams( return this; } /** + * + * *
      * Output only. A list of streams created with the session.
      * At least one stream is created with the session. In the future, larger
@@ -4407,7 +5226,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) { @@ -4423,6 +5244,8 @@ public Builder addStreams(com.google.cloud.bigquery.storage.v1beta2.ReadStream v return this; } /** + * + * *
      * Output only. A list of streams created with the session.
      * At least one stream is created with the session. In the future, larger
@@ -4431,7 +5254,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) { @@ -4448,6 +5273,8 @@ public Builder addStreams( return this; } /** + * + * *
      * Output only. A list of streams created with the session.
      * At least one stream is created with the session. In the future, larger
@@ -4456,7 +5283,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) { @@ -4470,6 +5299,8 @@ public Builder addStreams( return this; } /** + * + * *
      * Output only. A list of streams created with the session.
      * At least one stream is created with the session. In the future, larger
@@ -4478,7 +5309,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) { @@ -4492,6 +5325,8 @@ public Builder addStreams( return this; } /** + * + * *
      * Output only. A list of streams created with the session.
      * At least one stream is created with the session. In the future, larger
@@ -4500,14 +5335,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); @@ -4515,6 +5351,8 @@ public Builder addAllStreams( return this; } /** + * + * *
      * Output only. A list of streams created with the session.
      * At least one stream is created with the session. In the future, larger
@@ -4523,7 +5361,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) { @@ -4536,6 +5376,8 @@ public Builder clearStreams() { return this; } /** + * + * *
      * Output only. A list of streams created with the session.
      * At least one stream is created with the session. In the future, larger
@@ -4544,7 +5386,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) { @@ -4557,6 +5401,8 @@ public Builder removeStreams(int index) { return this; } /** + * + * *
      * Output only. A list of streams created with the session.
      * At least one stream is created with the session. In the future, larger
@@ -4565,13 +5411,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.
      * At least one stream is created with the session. In the future, larger
@@ -4580,16 +5430,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.
      * At least one stream is created with the session. In the future, larger
@@ -4598,10 +5453,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 { @@ -4609,6 +5466,8 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder getStreamsO } } /** + * + * *
      * Output only. A list of streams created with the session.
      * At least one stream is created with the session. In the future, larger
@@ -4617,13 +5476,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.
      * At least one stream is created with the session. In the future, larger
@@ -4632,14 +5495,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.
      * At least one stream is created with the session. In the future, larger
@@ -4648,29 +5516,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_ & 0x00000001) != 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_ & 0x00000001) != 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); } @@ -4680,12 +5553,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(); } @@ -4694,16 +5567,16 @@ 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 { - return new ReadSession(input, extensionRegistry); - } - }; + 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 { + return new ReadSession(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4718,6 +5591,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 58ad2383b3..1fce122602 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 2020 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.
    * At least one stream is created with the session. In the future, larger
@@ -220,11 +331,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.
    * At least one stream is created with the session. In the future, larger
@@ -233,10 +347,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.
    * At least one stream is created with the session. In the future, larger
@@ -245,10 +363,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.
    * At least one stream is created with the session. In the future, larger
@@ -257,11 +379,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.
    * At least one stream is created with the session. In the future, larger
@@ -270,10 +396,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); public 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 70% 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 74e6387dfc..836ffd3fdf 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 2020 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,31 +29,31 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ReadStream(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,53 +72,59 @@ private ReadStream(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              name_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  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;
   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 @@ -110,30 +133,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 { @@ -142,6 +165,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +177,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 (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +201,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,96 +229,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
@@ -304,21 +334,23 @@ 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()
@@ -326,16 +358,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -345,9 +376,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
@@ -366,7 +397,8 @@ 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);
+      com.google.cloud.bigquery.storage.v1beta2.ReadStream result =
+          new com.google.cloud.bigquery.storage.v1beta2.ReadStream(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -376,38 +408,39 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadStream buildPartial() {
     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;
@@ -415,7 +448,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_;
         onChanged();
@@ -439,7 +473,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.ReadStream) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.bigquery.storage.v1beta2.ReadStream) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -451,19 +486,21 @@ public Builder mergeFrom(
 
     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; @@ -472,21 +509,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 { @@ -494,64 +532,71 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; 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); } @@ -561,12 +606,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(); } @@ -575,16 +620,16 @@ 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 { - return new ReadStream(input, extensionRegistry); - } - }; + 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 { + return new ReadStream(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -599,6 +644,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..0f2f0660af 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 2020 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 66% 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 947bb3f63b..ed72a44597 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,40 +1,57 @@ +/* + * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SplitReadStreamRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,57 +70,65 @@ private SplitReadStreamRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 17: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - fraction_ = input.readDouble(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + case 17: + { + fraction_ = input.readDouble(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -112,29 +137,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 { @@ -145,6 +172,8 @@ public java.lang.String getName() { public static final int FRACTION_FIELD_NUMBER = 2; 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
@@ -156,6 +185,7 @@ public java.lang.String getName() {
    * 
* * double fraction = 2; + * * @return The fraction. */ @java.lang.Override @@ -164,6 +194,7 @@ public double getFraction() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,8 +206,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 (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -196,8 +226,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (fraction_ != 0D) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(2, fraction_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, fraction_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -207,18 +236,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,125 +261,137 @@ 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) + unknownFields.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() @@ -359,16 +399,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -380,13 +419,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(); } @@ -401,7 +441,8 @@ 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); + com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest result = + new com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest(this); result.name_ = name_; result.fraction_ = fraction_; onBuilt(); @@ -412,46 +453,50 @@ public com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest buildPar 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_; onChanged(); @@ -478,7 +523,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -490,18 +537,22 @@ public Builder mergeFrom( 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; @@ -510,20 +561,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 { @@ -531,61 +585,76 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); 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
@@ -597,6 +666,7 @@ public Builder setNameBytes(
      * 
* * double fraction = 2; + * * @return The fraction. */ @java.lang.Override @@ -604,6 +674,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
@@ -615,16 +687,19 @@ public double getFraction() {
      * 
* * double fraction = 2; + * * @param value The fraction to set. * @return This builder for chaining. */ public Builder setFraction(double value) { - + fraction_ = value; onChanged(); 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
@@ -636,17 +711,18 @@ public Builder setFraction(double value) {
      * 
* * double fraction = 2; + * * @return This builder for chaining. */ public Builder clearFraction() { - + fraction_ = 0D; 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); } @@ -656,30 +732,32 @@ 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 { - return new SplitReadStreamRequest(input, extensionRegistry); - } - }; + 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 { + return new SplitReadStreamRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -691,9 +769,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..3a8f4fb7de 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 2020 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 69% 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 c857d272a4..123c3db1f8 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,35 +1,47 @@ +/* + * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SplitReadStreamResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -48,67 +60,79 @@ private SplitReadStreamResponse( case 0: done = true; break; - case 10: { - com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder subBuilder = null; - if (primaryStream_ != null) { - subBuilder = primaryStream_.toBuilder(); - } - primaryStream_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta2.ReadStream.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(primaryStream_); - primaryStream_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder subBuilder = null; + if (primaryStream_ != null) { + subBuilder = primaryStream_.toBuilder(); + } + primaryStream_ = + input.readMessage( + com.google.cloud.bigquery.storage.v1beta2.ReadStream.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(primaryStream_); + primaryStream_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder subBuilder = null; - if (remainderStream_ != null) { - subBuilder = remainderStream_.toBuilder(); - } - remainderStream_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta2.ReadStream.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(remainderStream_); - remainderStream_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder subBuilder = null; + if (remainderStream_ != null) { + subBuilder = remainderStream_.toBuilder(); + } + remainderStream_ = + input.readMessage( + com.google.cloud.bigquery.storage.v1beta2.ReadStream.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(remainderStream_); + remainderStream_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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
@@ -116,6 +140,7 @@ private SplitReadStreamResponse(
    * 
* * .google.cloud.bigquery.storage.v1beta2.ReadStream primary_stream = 1; + * * @return Whether the primaryStream field is set. */ @java.lang.Override @@ -123,6 +148,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
@@ -130,13 +157,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
@@ -153,12 +185,15 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder getPrimaryS
   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 @@ -166,19 +201,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.
@@ -187,11 +229,13 @@ 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() {
+  public com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder
+      getRemainderStreamOrBuilder() {
     return getRemainderStream();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -203,8 +247,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());
     }
@@ -221,12 +264,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 += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -236,22 +277,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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -278,130 +318,137 @@ 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()
+    // Construct using
+    // com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -421,13 +468,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();
     }
 
@@ -442,7 +490,8 @@ 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);
+      com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse result =
+          new com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse(this);
       if (primaryStreamBuilder_ == null) {
         result.primaryStream_ = primaryStream_;
       } else {
@@ -461,46 +510,50 @@ public com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse buildPa
     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());
       }
@@ -526,7 +579,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -538,8 +593,13 @@ public Builder mergeFrom(
 
     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
@@ -547,12 +607,15 @@ public Builder mergeFrom(
      * 
* * .google.cloud.bigquery.storage.v1beta2.ReadStream primary_stream = 1; + * * @return Whether the primaryStream field is set. */ public boolean hasPrimaryStream() { return primaryStreamBuilder_ != null || primaryStream_ != null; } /** + * + * *
      * Primary stream, which contains the beginning portion of
      * |original_stream|. An empty value indicates that the original stream can no
@@ -560,16 +623,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
@@ -592,6 +660,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
@@ -612,6 +682,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
@@ -624,7 +696,9 @@ public Builder mergePrimaryStream(com.google.cloud.bigquery.storage.v1beta2.Read
       if (primaryStreamBuilder_ == null) {
         if (primaryStream_ != null) {
           primaryStream_ =
-            com.google.cloud.bigquery.storage.v1beta2.ReadStream.newBuilder(primaryStream_).mergeFrom(value).buildPartial();
+              com.google.cloud.bigquery.storage.v1beta2.ReadStream.newBuilder(primaryStream_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           primaryStream_ = value;
         }
@@ -636,6 +710,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
@@ -656,6 +732,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
@@ -665,11 +743,13 @@ public Builder clearPrimaryStream() {
      * .google.cloud.bigquery.storage.v1beta2.ReadStream primary_stream = 1;
      */
     public com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder getPrimaryStreamBuilder() {
-      
+
       onChanged();
       return getPrimaryStreamFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Primary stream, which contains the beginning portion of
      * |original_stream|. An empty value indicates that the original stream can no
@@ -678,15 +758,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
@@ -696,14 +780,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_;
@@ -711,36 +798,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 remainderStreamBuilder_ != null || 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. */ 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.
@@ -762,6 +862,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.
@@ -781,6 +883,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.
@@ -788,11 +892,14 @@ 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 (remainderStream_ != null) {
           remainderStream_ =
-            com.google.cloud.bigquery.storage.v1beta2.ReadStream.newBuilder(remainderStream_).mergeFrom(value).buildPartial();
+              com.google.cloud.bigquery.storage.v1beta2.ReadStream.newBuilder(remainderStream_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           remainderStream_ = value;
         }
@@ -804,6 +911,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.
@@ -823,6 +932,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.
@@ -830,12 +941,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() {
+
       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.
@@ -843,15 +957,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.
@@ -860,21 +978,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);
     }
 
@@ -884,30 +1005,32 @@ 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 {
-      return new SplitReadStreamResponse(input, extensionRegistry);
-    }
-  };
+  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 {
+          return new SplitReadStreamResponse(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -919,9 +1042,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..adb37ece00 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 2020 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 71%
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 9c71439f1c..9b99d67ed4 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 2020 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,16 +48,15 @@ private StorageError() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new StorageError();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private StorageError(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -58,66 +75,74 @@ private StorageError(
           case 0:
             done = true;
             break;
-          case 8: {
-            int rawValue = input.readEnum();
+          case 8:
+            {
+              int rawValue = input.readEnum();
 
-            code_ = rawValue;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              code_ = rawValue;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            entity_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+              entity_ = s;
+              break;
+            }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            errorMessage_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              errorMessage_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  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.
      * 
@@ -126,6 +151,8 @@ public enum StorageErrorCode */ STORAGE_ERROR_CODE_UNSPECIFIED(0), /** + * + * *
      * Table is not found in the system.
      * 
@@ -134,6 +161,8 @@ public enum StorageErrorCode */ TABLE_NOT_FOUND(1), /** + * + * *
      * Stream is already committed.
      * 
@@ -142,6 +171,8 @@ public enum StorageErrorCode */ STREAM_ALREADY_COMMITTED(2), /** + * + * *
      * Stream is not found.
      * 
@@ -150,6 +181,8 @@ public enum StorageErrorCode */ STREAM_NOT_FOUND(3), /** + * + * *
      * Invalid Stream type.
      * For example, you try to commit a stream that is not pending.
@@ -159,6 +192,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
@@ -169,6 +204,8 @@ public enum StorageErrorCode
      */
     INVALID_STREAM_STATE(5),
     /**
+     *
+     *
      * 
      * Stream is finalized.
      * 
@@ -180,6 +217,8 @@ public enum StorageErrorCode ; /** + * + * *
      * Default error.
      * 
@@ -188,6 +227,8 @@ public enum StorageErrorCode */ public static final int STORAGE_ERROR_CODE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Table is not found in the system.
      * 
@@ -196,6 +237,8 @@ public enum StorageErrorCode */ public static final int TABLE_NOT_FOUND_VALUE = 1; /** + * + * *
      * Stream is already committed.
      * 
@@ -204,6 +247,8 @@ public enum StorageErrorCode */ public static final int STREAM_ALREADY_COMMITTED_VALUE = 2; /** + * + * *
      * Stream is not found.
      * 
@@ -212,6 +257,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.
@@ -221,6 +268,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
@@ -231,6 +280,8 @@ public enum StorageErrorCode
      */
     public static final int INVALID_STREAM_STATE_VALUE = 5;
     /**
+     *
+     *
      * 
      * Stream is finalized.
      * 
@@ -239,7 +290,6 @@ public enum StorageErrorCode */ public static final int STREAM_FINALIZED_VALUE = 6; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -264,44 +314,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(); @@ -309,8 +368,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; @@ -330,38 +388,52 @@ private StorageErrorCode(int value) { public static final int CODE_FIELD_NUMBER = 1; private int code_; /** + * + * *
    * 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() { + @java.lang.Override + public com.google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode getCode() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode result = com.google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode.valueOf(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.valueOf(code_); + return result == null + ? com.google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode.UNRECOGNIZED + : result; } public static final int ENTITY_FIELD_NUMBER = 2; private volatile java.lang.Object entity_; /** + * + * *
    * Name of the failed entity.
    * 
* * string entity = 2; + * * @return The entity. */ @java.lang.Override @@ -370,29 +442,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 { @@ -403,11 +475,14 @@ public java.lang.String getEntity() { public static final int ERROR_MESSAGE_FIELD_NUMBER = 3; private volatile java.lang.Object errorMessage_; /** + * + * *
    * Message that describes the error.
    * 
* * string error_message = 3; + * * @return The errorMessage. */ @java.lang.Override @@ -416,29 +491,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 { @@ -447,6 +522,7 @@ public java.lang.String getErrorMessage() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -458,9 +534,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 (!getEntityBytes().isEmpty()) { @@ -478,9 +556,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 (!getEntityBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, entity_); @@ -496,18 +576,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -531,96 +610,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
@@ -630,21 +717,23 @@ 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()
@@ -652,16 +741,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -675,9 +763,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
@@ -696,7 +784,8 @@ 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);
+      com.google.cloud.bigquery.storage.v1beta2.StorageError result =
+          new com.google.cloud.bigquery.storage.v1beta2.StorageError(this);
       result.code_ = code_;
       result.entity_ = entity_;
       result.errorMessage_ = errorMessage_;
@@ -708,38 +797,39 @@ public com.google.cloud.bigquery.storage.v1beta2.StorageError buildPartial() {
     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;
@@ -747,7 +837,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());
       }
@@ -778,7 +869,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.StorageError) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.bigquery.storage.v1beta2.StorageError) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -790,73 +882,93 @@ public Builder mergeFrom(
 
     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. */ public Builder setCodeValue(int value) { - + code_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode result = com.google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode.valueOf(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.valueOf(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(); } - + code_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * BigQuery Storage specific error code.
      * 
* * .google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode code = 1; + * * @return This builder for chaining. */ public Builder clearCode() { - + code_ = 0; onChanged(); return this; @@ -864,18 +976,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; @@ -884,20 +998,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 { @@ -905,54 +1020,61 @@ 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) { + public Builder setEntity(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + entity_ = value; onChanged(); return this; } /** + * + * *
      * Name of the failed entity.
      * 
* * string entity = 2; + * * @return This builder for chaining. */ public Builder clearEntity() { - + entity_ = getDefaultInstance().getEntity(); onChanged(); 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) { + public Builder setEntityBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + entity_ = value; onChanged(); return this; @@ -960,18 +1082,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; @@ -980,20 +1104,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 { @@ -1001,61 +1126,68 @@ 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) { + public Builder setErrorMessage(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + errorMessage_ = value; onChanged(); return this; } /** + * + * *
      * Message that describes the error.
      * 
* * string error_message = 3; + * * @return This builder for chaining. */ public Builder clearErrorMessage() { - + errorMessage_ = getDefaultInstance().getErrorMessage(); onChanged(); 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) { + public Builder setErrorMessageBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + errorMessage_ = value; 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); } @@ -1065,12 +1197,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(); } @@ -1079,16 +1211,16 @@ 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 { - return new StorageError(input, extensionRegistry); - } - }; + 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 { + return new StorageError(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1103,6 +1235,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..24f7a8eb5e 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 2020 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..001235ba5a --- /dev/null +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StorageProto.java @@ -0,0 +1,507 @@ +/* + * Copyright 2020 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\"\310\001\n\030" + + "CreateReadSessionRequest\022C\n\006parent\030\001 \001(\t" + + "B3\340A\002\372A-\n+cloudresourcemanager.googleapi" + + "s.com/Project\022M\n\014read_session\030\002 \001(\01322.go" + + "ogle.cloud.bigquery.storage.v1beta2.Read" + + "SessionB\003\340A\002\022\030\n\020max_stream_count\030\003 \001(\005\"i" + + "\n\017ReadRowsRequest\022F\n\013read_stream\030\001 \001(\tB1" + + "\340A\002\372A+\n)bigquerystorage.googleapis.com/R" + + "eadStream\022\016\n\006offset\030\002 \001(\003\")\n\rThrottleSta" + + "te\022\030\n\020throttle_percent\030\001 \001(\005\"\234\001\n\013StreamS" + + "tats\022M\n\010progress\030\002 \001(\0132;.google.cloud.bi" + + "gquery.storage.v1beta2.StreamStats.Progr" + + "ess\032>\n\010Progress\022\031\n\021at_response_start\030\001 \001" + + "(\001\022\027\n\017at_response_end\030\002 \001(\001\"\205\004\n\020ReadRows" + + "Response\022D\n\tavro_rows\030\003 \001(\0132/.google.clo" + + "ud.bigquery.storage.v1beta2.AvroRowsH\000\022U" + + "\n\022arrow_record_batch\030\004 \001(\01327.google.clou" + + "d.bigquery.storage.v1beta2.ArrowRecordBa" + + "tchH\000\022\021\n\trow_count\030\006 \001(\003\022A\n\005stats\030\002 \001(\0132" + + "2.google.cloud.bigquery.storage.v1beta2." + + "StreamStats\022L\n\016throttle_state\030\005 \001(\01324.go" + + "ogle.cloud.bigquery.storage.v1beta2.Thro" + + "ttleState\022M\n\013avro_schema\030\007 \001(\01321.google." + + "cloud.bigquery.storage.v1beta2.AvroSchem" + + "aB\003\340A\003H\001\022O\n\014arrow_schema\030\010 \001(\01322.google." + + "cloud.bigquery.storage.v1beta2.ArrowSche" + + "maB\003\340A\003H\001B\006\n\004rowsB\010\n\006schema\"k\n\026SplitRead" + + "StreamRequest\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n)big" + + "querystorage.googleapis.com/ReadStream\022\020" + + "\n\010fraction\030\002 \001(\001\"\261\001\n\027SplitReadStreamResp" + + "onse\022I\n\016primary_stream\030\001 \001(\01321.google.cl" + + "oud.bigquery.storage.v1beta2.ReadStream\022" + + "K\n\020remainder_stream\030\002 \001(\01321.google.cloud" + + ".bigquery.storage.v1beta2.ReadStream\"\240\001\n" + + "\030CreateWriteStreamRequest\0225\n\006parent\030\001 \001(" + + "\tB%\340A\002\372A\037\n\035bigquery.googleapis.com/Table" + + "\022M\n\014write_stream\030\002 \001(\01322.google.cloud.bi" + + "gquery.storage.v1beta2.WriteStreamB\003\340A\002\"" + + "\227\003\n\021AppendRowsRequest\022H\n\014write_stream\030\001 " + + "\001(\tB2\340A\002\372A,\n*bigquerystorage.googleapis." + + "com/WriteStream\022+\n\006offset\030\002 \001(\0132\033.google" + + ".protobuf.Int64Value\022X\n\nproto_rows\030\004 \001(\013" + + "2B.google.cloud.bigquery.storage.v1beta2" + + ".AppendRowsRequest.ProtoDataH\000\022\020\n\010trace_" + + "id\030\006 \001(\t\032\226\001\n\tProtoData\022I\n\rwriter_schema\030" + + "\001 \001(\01322.google.cloud.bigquery.storage.v1" + + "beta2.ProtoSchema\022>\n\004rows\030\002 \001(\01320.google" + + ".cloud.bigquery.storage.v1beta2.ProtoRow" + + "sB\006\n\004rows\"\257\002\n\022AppendRowsResponse\022_\n\rappe" + + "nd_result\030\001 \001(\0132F.google.cloud.bigquery." + + "storage.v1beta2.AppendRowsResponse.Appen" + + "dResultH\000\022#\n\005error\030\002 \001(\0132\022.google.rpc.St" + + "atusH\000\022J\n\016updated_schema\030\003 \001(\01322.google." + + "cloud.bigquery.storage.v1beta2.TableSche" + + "ma\032;\n\014AppendResult\022+\n\006offset\030\001 \001(\0132\033.goo" + + "gle.protobuf.Int64ValueB\n\n\010response\"Y\n\025G" + + "etWriteStreamRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372" + + "A,\n*bigquerystorage.googleapis.com/Write" + + "Stream\"Q\n\036BatchCommitWriteStreamsRequest" + + "\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\032\n\rwrite_streams\030\002" + + " \003(\tB\003\340A\002\"\236\001\n\037BatchCommitWriteStreamsRes" + + "ponse\022/\n\013commit_time\030\001 \001(\0132\032.google.prot" + + "obuf.Timestamp\022J\n\rstream_errors\030\002 \003(\01323." + + "google.cloud.bigquery.storage.v1beta2.St" + + "orageError\"^\n\032FinalizeWriteStreamRequest" + + "\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*bigquerystorage." + + "googleapis.com/WriteStream\"0\n\033FinalizeWr" + + "iteStreamResponse\022\021\n\trow_count\030\001 \001(\003\"\211\001\n" + + "\020FlushRowsRequest\022H\n\014write_stream\030\001 \001(\tB" + + "2\340A\002\372A,\n*bigquerystorage.googleapis.com/" + + "WriteStream\022+\n\006offset\030\002 \001(\0132\033.google.pro" + + "tobuf.Int64Value\"#\n\021FlushRowsResponse\022\016\n" + + "\006offset\030\001 \001(\003\"\324\002\n\014StorageError\022R\n\004code\030\001" + + " \001(\0162D.google.cloud.bigquery.storage.v1b" + + "eta2.StorageError.StorageErrorCode\022\016\n\006en" + + "tity\030\002 \001(\t\022\025\n\rerror_message\030\003 \001(\t\"\310\001\n\020St" + + "orageErrorCode\022\"\n\036STORAGE_ERROR_CODE_UNS" + + "PECIFIED\020\000\022\023\n\017TABLE_NOT_FOUND\020\001\022\034\n\030STREA" + + "M_ALREADY_COMMITTED\020\002\022\024\n\020STREAM_NOT_FOUN" + + "D\020\003\022\027\n\023INVALID_STREAM_TYPE\020\004\022\030\n\024INVALID_" + + "STREAM_STATE\020\005\022\024\n\020STREAM_FINALIZED\020\0062\363\006\n" + + "\014BigQueryRead\022\370\001\n\021CreateReadSession\022?.go" + + "ogle.cloud.bigquery.storage.v1beta2.Crea" + + "teReadSessionRequest\0322.google.cloud.bigq" + + "uery.storage.v1beta2.ReadSession\"n\202\323\344\223\002A" + + "\".google.cloud.bigquery.sto" + + "rage.v1beta2.SplitReadStreamResponse\"C\202\323" + + "\344\223\002=\022;/v1beta2/{name=projects/*/location" + + "s/*/sessions/*/streams/*}\032\256\001\312A\036bigquerys" + + "torage.googleapis.com\322A\211\001https://www.goo" + + "gleapis.com/auth/bigquery,https://www.go" + + "ogleapis.com/auth/bigquery.readonly,http" + + "s://www.googleapis.com/auth/cloud-platfo" + + "rm2\226\014\n\rBigQueryWrite\022\346\001\n\021CreateWriteStre" + + "am\022?.google.cloud.bigquery.storage.v1bet" + + "a2.CreateWriteStreamRequest\0322.google.clo" + + "ud.bigquery.storage.v1beta2.WriteStream\"" + + "\\\202\323\344\223\002@\"0/v1beta2/{parent=projects/*/dat" + + "asets/*/tables/*}:\014write_stream\332A\023parent" + + ",write_stream\022\341\001\n\nAppendRows\0228.google.cl" + + "oud.bigquery.storage.v1beta2.AppendRowsR" + + "equest\0329.google.cloud.bigquery.storage.v" + + "1beta2.AppendRowsResponse\"Z\202\323\344\223\002E\"@/v1be" + + "ta2/{write_stream=projects/*/datasets/*/" + + "tables/*/streams/*}:\001*\332A\014write_stream(\0010" + + "\001\022\316\001\n\016GetWriteStream\022<.google.cloud.bigq" + + "uery.storage.v1beta2.GetWriteStreamReque" + + "st\0322.google.cloud.bigquery.storage.v1bet" + + "a2.WriteStream\"J\202\323\344\223\002=\"8/v1beta2/{name=p" + + "rojects/*/datasets/*/tables/*/streams/*}" + + ":\001*\332A\004name\022\350\001\n\023FinalizeWriteStream\022A.goo" + + "gle.cloud.bigquery.storage.v1beta2.Final" + + "izeWriteStreamRequest\032B.google.cloud.big" + + "query.storage.v1beta2.FinalizeWriteStrea" + + "mResponse\"J\202\323\344\223\002=\"8/v1beta2/{name=projec" + + "ts/*/datasets/*/tables/*/streams/*}:\001*\332A" + + "\004name\022\353\001\n\027BatchCommitWriteStreams\022E.goog" + + "le.cloud.bigquery.storage.v1beta2.BatchC" + + "ommitWriteStreamsRequest\032F.google.cloud." + + "bigquery.storage.v1beta2.BatchCommitWrit" + + "eStreamsResponse\"A\202\323\344\223\0022\0220/v1beta2/{pare" + + "nt=projects/*/datasets/*/tables/*}\332A\006par" + + "ent\022\332\001\n\tFlushRows\0227.google.cloud.bigquer" + + "y.storage.v1beta2.FlushRowsRequest\0328.goo" + + "gle.cloud.bigquery.storage.v1beta2.Flush" + + "RowsResponse\"Z\202\323\344\223\002E\"@/v1beta2/{write_st" + + "ream=projects/*/datasets/*/tables/*/stre" + + "ams/*}:\001*\332A\014write_stream\032\260\001\312A\036bigqueryst" + + "orage.googleapis.com\322A\213\001https://www.goog" + + "leapis.com/auth/bigquery,https://www.goo" + + "gleapis.com/auth/bigquery.insertdata,htt" + + "ps://www.googleapis.com/auth/cloud-platf" + + "ormB\211\001\n)com.google.cloud.bigquery.storag" + + "e.v1beta2B\014StorageProtoP\001ZLgoogle.golang" + + ".org/genproto/googleapis/cloud/bigquery/" + + "storage/v1beta2;storageb\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..c4a2531dcf --- /dev/null +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StreamProto.java @@ -0,0 +1,199 @@ +/* + * Copyright 2020 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\"\362\007\n\013ReadSession\022\021\n\004name" + + "\030\001 \001(\tB\003\340A\003\0224\n\013expire_time\030\002 \001(\0132\032.googl" + + "e.protobuf.TimestampB\003\340A\003\022K\n\013data_format" + + "\030\003 \001(\01621.google.cloud.bigquery.storage.v" + + "1beta2.DataFormatB\003\340A\005\022M\n\013avro_schema\030\004 " + + "\001(\01321.google.cloud.bigquery.storage.v1be" + + "ta2.AvroSchemaB\003\340A\003H\000\022O\n\014arrow_schema\030\005 " + + "\001(\01322.google.cloud.bigquery.storage.v1be" + + "ta2.ArrowSchemaB\003\340A\003H\000\0224\n\005table\030\006 \001(\tB%\340" + + "A\005\372A\037\n\035bigquery.googleapis.com/Table\022_\n\017" + + "table_modifiers\030\007 \001(\0132A.google.cloud.big" + + "query.storage.v1beta2.ReadSession.TableM" + + "odifiersB\003\340A\001\022^\n\014read_options\030\010 \001(\0132C.go" + + "ogle.cloud.bigquery.storage.v1beta2.Read" + + "Session.TableReadOptionsB\003\340A\001\022G\n\007streams" + + "\030\n \003(\01321.google.cloud.bigquery.storage.v" + + "1beta2.ReadStreamB\003\340A\003\032C\n\016TableModifiers" + + "\0221\n\rsnapshot_time\030\001 \001(\0132\032.google.protobu" + + "f.Timestamp\032\260\001\n\020TableReadOptions\022\027\n\017sele" + + "cted_fields\030\001 \003(\t\022\027\n\017row_restriction\030\002 \001" + + "(\t\022j\n\033arrow_serialization_options\030\003 \001(\0132" + + "@.google.cloud.bigquery.storage.v1beta2." + + "ArrowSerializationOptionsB\003\340A\001:k\352Ah\n*big" + + "querystorage.googleapis.com/ReadSession\022" + + ":projects/{project}/locations/{location}" + + "/sessions/{session}B\010\n\006schema\"\234\001\n\nReadSt" + + "ream\022\021\n\004name\030\001 \001(\tB\003\340A\003:{\352Ax\n)bigqueryst" + + "orage.googleapis.com/ReadStream\022Kproject" + + "s/{project}/locations/{location}/session" + + "s/{session}/streams/{stream}\"\347\003\n\013WriteSt" + + "ream\022\021\n\004name\030\001 \001(\tB\003\340A\003\022J\n\004type\030\002 \001(\01627." + + "google.cloud.bigquery.storage.v1beta2.Wr" + + "iteStream.TypeB\003\340A\005\0224\n\013create_time\030\003 \001(\013" + + "2\032.google.protobuf.TimestampB\003\340A\003\0224\n\013com" + + "mit_time\030\004 \001(\0132\032.google.protobuf.Timesta" + + "mpB\003\340A\003\022M\n\014table_schema\030\005 \001(\01322.google.c" + + "loud.bigquery.storage.v1beta2.TableSchem" + + "aB\003\340A\003\"F\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\r\n\t" + + "COMMITTED\020\001\022\013\n\007PENDING\020\002\022\014\n\010BUFFERED\020\003:v" + + "\352As\n*bigquerystorage.googleapis.com/Writ" + + "eStream\022Eprojects/{project}/datasets/{da" + + "taset}/tables/{table}/streams/{stream}*>" + + "\n\nDataFormat\022\033\n\027DATA_FORMAT_UNSPECIFIED\020" + + "\000\022\010\n\004AVRO\020\001\022\t\n\005ARROW\020\002B\340\001\n)com.google.cl" + + "oud.bigquery.storage.v1beta2B\013StreamProt" + + "oP\001ZLgoogle.golang.org/genproto/googleap" + + "is/cloud/bigquery/storage/v1beta2;storag" + + "e\352AU\n\035bigquery.googleapis.com/Table\0224pro" + + "jects/{project}/datasets/{dataset}/table" + + "s/{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 71% 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 a570f0d404..b58edc9933 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,39 +1,55 @@ +/* + * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private StreamStats( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,56 +68,66 @@ private StreamStats( case 0: done = true; break; - case 18: { - com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.Builder subBuilder = null; - if (progress_ != null) { - subBuilder = progress_.toBuilder(); - } - progress_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(progress_); - progress_ = subBuilder.buildPartial(); - } + case 18: + { + com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.Builder subBuilder = + null; + if (progress_ != null) { + subBuilder = progress_.toBuilder(); + } + progress_ = + input.readMessage( + com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(progress_); + progress_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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
@@ -116,48 +142,49 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Progress( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -176,51 +203,55 @@ private Progress( case 0: done = true; break; - case 9: { - - atResponseStart_ = input.readDouble(); - break; - } - case 17: { - - atResponseEnd_ = input.readDouble(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 9: + { + atResponseStart_ = input.readDouble(); + break; + } + case 17: + { + atResponseEnd_ = input.readDouble(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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_; /** + * + * *
      * 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
@@ -235,6 +266,7 @@ private Progress(
      * 
* * double at_response_start = 1; + * * @return The atResponseStart. */ @java.lang.Override @@ -245,12 +277,15 @@ public double getAtResponseStart() { public static final int AT_RESPONSE_END_FIELD_NUMBER = 2; 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 @@ -259,6 +294,7 @@ public double getAtResponseEnd() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -270,8 +306,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 (atResponseStart_ != 0D) { output.writeDouble(1, atResponseStart_); } @@ -288,12 +323,10 @@ public int getSerializedSize() { size = 0; if (atResponseStart_ != 0D) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(1, atResponseStart_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, atResponseStart_); } if (atResponseEnd_ != 0D) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(2, atResponseEnd_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, atResponseEnd_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -303,19 +336,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -328,98 +360,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) + unknownFields.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 @@ -428,24 +471,25 @@ 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() @@ -453,16 +497,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -474,13 +517,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(); } @@ -495,7 +539,8 @@ 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); + com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress result = + new com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress(this); result.atResponseStart_ = atResponseStart_; result.atResponseEnd_ = atResponseEnd_; onBuilt(); @@ -506,46 +551,52 @@ public com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress buildParti 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()); } @@ -571,7 +622,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -581,8 +634,10 @@ public Builder mergeFrom( return this; } - 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
@@ -597,6 +652,7 @@ public Builder mergeFrom(
        * 
* * double at_response_start = 1; + * * @return The atResponseStart. */ @java.lang.Override @@ -604,6 +660,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
@@ -618,16 +676,19 @@ public double getAtResponseStart() {
        * 
* * double at_response_start = 1; + * * @param value The atResponseStart to set. * @return This builder for chaining. */ public Builder setAtResponseStart(double value) { - + atResponseStart_ = value; onChanged(); 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
@@ -642,23 +703,27 @@ public Builder setAtResponseStart(double value) {
        * 
* * double at_response_start = 1; + * * @return This builder for chaining. */ public Builder clearAtResponseStart() { - + atResponseStart_ = 0D; onChanged(); 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 @@ -666,36 +731,43 @@ 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. */ public Builder setAtResponseEnd(double value) { - + atResponseEnd_ = value; onChanged(); 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() { - + atResponseEnd_ = 0D; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -708,30 +780,32 @@ 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 { - return new Progress(input, extensionRegistry); - } - }; + 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 { + return new Progress(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -743,20 +817,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 @@ -764,18 +841,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.
    * 
@@ -783,11 +867,13 @@ 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() { + public com.google.cloud.bigquery.storage.v1beta2.StreamStats.ProgressOrBuilder + getProgressOrBuilder() { return getProgress(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -799,8 +885,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()); } @@ -814,8 +899,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -825,17 +909,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -858,117 +942,127 @@ 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() @@ -976,16 +1070,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -999,9 +1092,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 @@ -1020,7 +1113,8 @@ 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); + com.google.cloud.bigquery.storage.v1beta2.StreamStats result = + new com.google.cloud.bigquery.storage.v1beta2.StreamStats(this); if (progressBuilder_ == null) { result.progress_ = progress_; } else { @@ -1034,38 +1128,39 @@ public com.google.cloud.bigquery.storage.v1beta2.StreamStats buildPartial() { 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; @@ -1073,7 +1168,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()); } @@ -1096,7 +1192,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.StreamStats) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1beta2.StreamStats) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1108,41 +1205,55 @@ public Builder mergeFrom( 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 progressBuilder_ != null || progress_ != null; } /** + * + * *
      * 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(); @@ -1156,6 +1267,8 @@ public Builder setProgress(com.google.cloud.bigquery.storage.v1beta2.StreamStats return this; } /** + * + * *
      * Represents the progress of the current stream.
      * 
@@ -1174,17 +1287,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 (progress_ != null) { progress_ = - com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.newBuilder(progress_).mergeFrom(value).buildPartial(); + com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.newBuilder(progress_) + .mergeFrom(value) + .buildPartial(); } else { progress_ = value; } @@ -1196,6 +1314,8 @@ public Builder mergeProgress(com.google.cloud.bigquery.storage.v1beta2.StreamSta return this; } /** + * + * *
      * Represents the progress of the current stream.
      * 
@@ -1214,33 +1334,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() { + 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.
      * 
@@ -1248,21 +1377,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); } @@ -1272,12 +1404,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(); } @@ -1286,16 +1418,16 @@ 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 { - return new StreamStats(input, extensionRegistry); - } - }; + 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 { + return new StreamStats(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1310,6 +1442,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..ed9f32db50 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 2020 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 66% 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 008d2029ec..9814346e7d 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 2020 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,16 +47,15 @@ private TableFieldSchema() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TableFieldSchema(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TableFieldSchema( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -58,53 +75,61 @@ private TableFieldSchema( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - type_ = rawValue; - break; - } - case 24: { - int rawValue = input.readEnum(); + type_ = rawValue; + break; + } + case 24: + { + int rawValue = input.readEnum(); - mode_ = rawValue; - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - fields_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + mode_ = rawValue; + break; } - fields_.add( - input.readMessage(com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.parser(), extensionRegistry)); - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); + case 34: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + fields_ = + new java.util.ArrayList< + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema>(); + mutable_bitField0_ |= 0x00000001; + } + fields_.add( + input.readMessage( + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.parser(), + extensionRegistry)); + break; + } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + description_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { fields_ = java.util.Collections.unmodifiableList(fields_); @@ -113,25 +138,27 @@ private TableFieldSchema( makeExtensionsImmutable(); } } - 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
      * 
@@ -140,6 +167,8 @@ public enum Type */ TYPE_UNSPECIFIED(0), /** + * + * *
      * 64K, UTF8
      * 
@@ -148,6 +177,8 @@ public enum Type */ STRING(1), /** + * + * *
      * 64-bit signed
      * 
@@ -156,6 +187,8 @@ public enum Type */ INT64(2), /** + * + * *
      * 64-bit IEEE floating point
      * 
@@ -164,6 +197,8 @@ public enum Type */ DOUBLE(3), /** + * + * *
      * Aggregate type
      * 
@@ -172,6 +207,8 @@ public enum Type */ STRUCT(4), /** + * + * *
      * 64K, Binary
      * 
@@ -180,6 +217,8 @@ public enum Type */ BYTES(5), /** + * + * *
      * 2-valued
      * 
@@ -188,6 +227,8 @@ public enum Type */ BOOL(6), /** + * + * *
      * 64-bit signed usec since UTC epoch
      * 
@@ -196,6 +237,8 @@ public enum Type */ TIMESTAMP(7), /** + * + * *
      * Civil date - Year, Month, Day
      * 
@@ -204,6 +247,8 @@ public enum Type */ DATE(8), /** + * + * *
      * Civil time - Hour, Minute, Second, Microseconds
      * 
@@ -212,6 +257,8 @@ public enum Type */ TIME(9), /** + * + * *
      * Combination of civil date and civil time
      * 
@@ -220,6 +267,8 @@ public enum Type */ DATETIME(10), /** + * + * *
      * Geography object
      * 
@@ -228,6 +277,8 @@ public enum Type */ GEOGRAPHY(11), /** + * + * *
      * Numeric value
      * 
@@ -236,6 +287,8 @@ public enum Type */ NUMERIC(12), /** + * + * *
      * BigNumeric value
      * 
@@ -244,6 +297,8 @@ public enum Type */ BIGNUMERIC(13), /** + * + * *
      * Interval
      * 
@@ -252,6 +307,8 @@ public enum Type */ INTERVAL(14), /** + * + * *
      * JSON, String
      * 
@@ -263,6 +320,8 @@ public enum Type ; /** + * + * *
      * Illegal value
      * 
@@ -271,6 +330,8 @@ public enum Type */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * 64K, UTF8
      * 
@@ -279,6 +340,8 @@ public enum Type */ public static final int STRING_VALUE = 1; /** + * + * *
      * 64-bit signed
      * 
@@ -287,6 +350,8 @@ public enum Type */ public static final int INT64_VALUE = 2; /** + * + * *
      * 64-bit IEEE floating point
      * 
@@ -295,6 +360,8 @@ public enum Type */ public static final int DOUBLE_VALUE = 3; /** + * + * *
      * Aggregate type
      * 
@@ -303,6 +370,8 @@ public enum Type */ public static final int STRUCT_VALUE = 4; /** + * + * *
      * 64K, Binary
      * 
@@ -311,6 +380,8 @@ public enum Type */ public static final int BYTES_VALUE = 5; /** + * + * *
      * 2-valued
      * 
@@ -319,6 +390,8 @@ public enum Type */ public static final int BOOL_VALUE = 6; /** + * + * *
      * 64-bit signed usec since UTC epoch
      * 
@@ -327,6 +400,8 @@ public enum Type */ public static final int TIMESTAMP_VALUE = 7; /** + * + * *
      * Civil date - Year, Month, Day
      * 
@@ -335,6 +410,8 @@ public enum Type */ public static final int DATE_VALUE = 8; /** + * + * *
      * Civil time - Hour, Minute, Second, Microseconds
      * 
@@ -343,6 +420,8 @@ public enum Type */ public static final int TIME_VALUE = 9; /** + * + * *
      * Combination of civil date and civil time
      * 
@@ -351,6 +430,8 @@ public enum Type */ public static final int DATETIME_VALUE = 10; /** + * + * *
      * Geography object
      * 
@@ -359,6 +440,8 @@ public enum Type */ public static final int GEOGRAPHY_VALUE = 11; /** + * + * *
      * Numeric value
      * 
@@ -367,6 +450,8 @@ public enum Type */ public static final int NUMERIC_VALUE = 12; /** + * + * *
      * BigNumeric value
      * 
@@ -375,6 +460,8 @@ public enum Type */ public static final int BIGNUMERIC_VALUE = 13; /** + * + * *
      * Interval
      * 
@@ -383,6 +470,8 @@ public enum Type */ public static final int INTERVAL_VALUE = 14; /** + * + * *
      * JSON, String
      * 
@@ -391,7 +480,6 @@ public enum Type */ public static final int JSON_VALUE = 15; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -416,62 +504,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; @@ -488,12 +591,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
      * 
@@ -501,22 +603,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
      * 
@@ -524,20 +622,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( @@ -562,50 +653,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; @@ -625,6 +719,8 @@ private Mode(int value) { public static final int NAME_FIELD_NUMBER = 1; 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
@@ -632,6 +728,7 @@ private Mode(int value) {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -640,14 +737,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
@@ -655,16 +753,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 { @@ -675,110 +772,162 @@ public java.lang.String getName() { public static final int TYPE_FIELD_NUMBER = 2; private int 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 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() { + @java.lang.Override + public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type result = com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type.valueOf(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.valueOf(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_; /** + * + * *
    * 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() { + @java.lang.Override + public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode getMode() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode result = com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode.valueOf(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.valueOf(mode_); + return result == null + ? com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode.UNRECOGNIZED + : result; } public static final int FIELDS_FIELD_NUMBER = 4; 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( @@ -789,11 +938,14 @@ public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchemaOrBuilder getFi public static final int DESCRIPTION_FIELD_NUMBER = 6; 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 @@ -802,29 +954,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 { @@ -833,6 +985,7 @@ public java.lang.String getDescription() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -844,15 +997,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 (!getNameBytes().isEmpty()) { 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++) { @@ -873,17 +1029,18 @@ public int getSerializedSize() { if (!getNameBytes().isEmpty()) { 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 (!getDescriptionBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, description_); @@ -896,21 +1053,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -940,117 +1095,127 @@ 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() @@ -1058,17 +1223,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getFieldsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -1090,9 +1255,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 @@ -1111,7 +1276,8 @@ 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); int from_bitField0_ = bitField0_; result.name_ = name_; result.type_ = type_; @@ -1134,38 +1300,39 @@ public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema buildPartial() 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; @@ -1173,7 +1340,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_; onChanged(); @@ -1202,9 +1370,10 @@ public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.TableFieldSch 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_); } @@ -1233,7 +1402,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1242,10 +1412,13 @@ public Builder mergeFrom( } 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
@@ -1253,13 +1426,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; @@ -1268,6 +1441,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
@@ -1275,15 +1450,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 { @@ -1291,6 +1465,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
@@ -1298,20 +1474,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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
@@ -1319,15 +1497,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); 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
@@ -1335,16 +1516,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1352,51 +1533,75 @@ 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. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type result = com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type.valueOf(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.valueOf(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. */ @@ -1404,21 +1609,26 @@ public Builder setType(com.google.cloud.bigquery.storage.v1beta2.TableFieldSchem if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); 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() { - + type_ = 0; onChanged(); return this; @@ -1426,51 +1636,75 @@ 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. */ public Builder setModeValue(int value) { - + mode_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode result = com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode.valueOf(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.valueOf(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. */ @@ -1478,46 +1712,62 @@ public Builder setMode(com.google.cloud.bigquery.storage.v1beta2.TableFieldSchem if (value == null) { throw new NullPointerException(); } - + mode_ = value.getNumber(); onChanged(); 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() { - + mode_ = 0; onChanged(); return this; } 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_; /** + * + * *
      * 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 { @@ -1525,11 +1775,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) { @@ -1539,11 +1793,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) { @@ -1553,11 +1811,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) { @@ -1574,14 +1836,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()); @@ -1592,11 +1859,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) { @@ -1612,11 +1883,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) { @@ -1633,11 +1908,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) { @@ -1651,14 +1930,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()); @@ -1669,18 +1953,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); @@ -1688,11 +1976,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) { @@ -1705,11 +1997,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) { @@ -1722,39 +2018,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 { @@ -1762,49 +2072,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_ & 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_; @@ -1812,18 +2140,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; @@ -1832,20 +2162,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 { @@ -1853,61 +2184,68 @@ 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) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; 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() { - + description_ = getDefaultInstance().getDescription(); onChanged(); 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) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; 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); } @@ -1917,12 +2255,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(); } @@ -1931,16 +2269,16 @@ 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 { - return new TableFieldSchema(input, extensionRegistry); - } - }; + 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 { + return new TableFieldSchema(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1955,6 +2293,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..90055b13d4 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 2020 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..29abed0789 --- /dev/null +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableProto.java @@ -0,0 +1,103 @@ +/* + * Copyright 2020 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\"\317\004\n\020TableFieldSchema\022\021\n\004name" + + "\030\001 \001(\tB\003\340A\002\022O\n\004type\030\002 \001(\0162<.google.cloud" + + ".bigquery.storage.v1beta2.TableFieldSche" + + "ma.TypeB\003\340A\002\022O\n\004mode\030\003 \001(\0162<.google.clou" + + "d.bigquery.storage.v1beta2.TableFieldSch" + + "ema.ModeB\003\340A\001\022L\n\006fields\030\004 \003(\01327.google.c" + + "loud.bigquery.storage.v1beta2.TableField" + + "SchemaB\003\340A\001\022\030\n\013description\030\006 \001(\tB\003\340A\001\"\325\001" + + "\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\n\n\006STRING\020\001" + + "\022\t\n\005INT64\020\002\022\n\n\006DOUBLE\020\003\022\n\n\006STRUCT\020\004\022\t\n\005B" + + "YTES\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\tGEOGRAPHY\020\013" + + "\022\013\n\007NUMERIC\020\014\022\016\n\nBIGNUMERIC\020\r\022\014\n\010INTERVA" + + "L\020\016\022\010\n\004JSON\020\017\"F\n\004Mode\022\024\n\020MODE_UNSPECIFIE" + + "D\020\000\022\014\n\010NULLABLE\020\001\022\014\n\010REQUIRED\020\002\022\014\n\010REPEA" + + "TED\020\003B\207\001\n)com.google.cloud.bigquery.stor" + + "age.v1beta2B\nTableProtoP\001ZLgoogle.golang" + + ".org/genproto/googleapis/cloud/bigquery/" + + "storage/v1beta2;storageb\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 72% 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 32f401aeaf..0bc271922b 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,40 +1,57 @@ +/* + * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private TableSchema( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,29 +71,33 @@ private TableSchema( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - fields_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + fields_ = + new java.util.ArrayList< + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema>(); + mutable_bitField0_ |= 0x00000001; + } + fields_.add( + input.readMessage( + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.parser(), + extensionRegistry)); + break; } - fields_.add( - input.readMessage(com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { fields_ = java.util.Collections.unmodifiableList(fields_); @@ -85,22 +106,27 @@ private TableSchema( makeExtensionsImmutable(); } } - 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; private java.util.List fields_; /** + * + * *
    * Describes the fields in a table.
    * 
@@ -108,10 +134,13 @@ private TableSchema( * 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.
    * 
@@ -119,11 +148,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.
    * 
@@ -135,6 +167,8 @@ public int getFieldsCount() { return fields_.size(); } /** + * + * *
    * Describes the fields in a table.
    * 
@@ -146,6 +180,8 @@ public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema getFields(int return fields_.get(index); } /** + * + * *
    * Describes the fields in a table.
    * 
@@ -159,6 +195,7 @@ public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchemaOrBuilder getFi } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -170,8 +207,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)); } @@ -185,8 +221,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -196,15 +231,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -226,117 +261,127 @@ 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() @@ -344,17 +389,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getFieldsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -368,9 +413,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 @@ -389,7 +434,8 @@ 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); int from_bitField0_ = bitField0_; if (fieldsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -408,38 +454,39 @@ public com.google.cloud.bigquery.storage.v1beta2.TableSchema buildPartial() { 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; @@ -447,7 +494,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()) { @@ -466,9 +514,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_); } @@ -493,7 +542,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.TableSchema) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1beta2.TableSchema) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -502,28 +552,38 @@ public Builder mergeFrom( } 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 { @@ -531,6 +591,8 @@ public java.util.List * Describes the fields in a table. *
@@ -545,6 +607,8 @@ public int getFieldsCount() { } } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -559,6 +623,8 @@ public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema getFields(int } } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -580,6 +646,8 @@ public Builder setFields( return this; } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -587,7 +655,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()); @@ -598,6 +667,8 @@ public Builder setFields( return this; } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -618,6 +689,8 @@ public Builder addFields(com.google.cloud.bigquery.storage.v1beta2.TableFieldSch return this; } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -639,6 +712,8 @@ public Builder addFields( return this; } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -657,6 +732,8 @@ public Builder addFields( return this; } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -664,7 +741,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()); @@ -675,6 +753,8 @@ public Builder addFields( return this; } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -682,11 +762,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); @@ -694,6 +774,8 @@ public Builder addAllFields( return this; } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -711,6 +793,8 @@ public Builder clearFields() { return this; } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -728,6 +812,8 @@ public Builder removeFields(int index) { return this; } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -739,6 +825,8 @@ public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Builder getFie return getFieldsFieldBuilder().getBuilder(index); } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -748,19 +836,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 { @@ -768,6 +860,8 @@ public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchemaOrBuilder getFi } } /** + * + * *
      * Describes the fields in a table.
      * 
@@ -775,10 +869,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.
      * 
@@ -787,37 +884,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); } @@ -827,12 +931,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(); } @@ -841,16 +945,16 @@ 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 { - return new TableSchema(input, extensionRegistry); - } - }; + 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 { + return new TableSchema(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -865,6 +969,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..6f06a3c9f4 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 2020 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 69% 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 d8ee1ca204..53d098c351 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,39 +1,55 @@ +/* + * Copyright 2020 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ThrottleState( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,52 +68,57 @@ private ThrottleState( case 0: done = true; break; - case 8: { - - throttlePercent_ = input.readInt32(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 8: + { + throttlePercent_ = input.readInt32(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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_; /** + * + * *
    * 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 @@ -106,6 +127,7 @@ public int getThrottlePercent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,8 +139,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_); } @@ -132,8 +153,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -143,15 +163,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -171,117 +191,127 @@ 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() @@ -289,16 +319,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -308,9 +337,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 @@ -329,7 +358,8 @@ 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); + com.google.cloud.bigquery.storage.v1beta2.ThrottleState result = + new com.google.cloud.bigquery.storage.v1beta2.ThrottleState(this); result.throttlePercent_ = throttlePercent_; onBuilt(); return result; @@ -339,38 +369,39 @@ public com.google.cloud.bigquery.storage.v1beta2.ThrottleState buildPartial() { 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; @@ -378,7 +409,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()); } @@ -401,7 +433,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.ThrottleState) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1beta2.ThrottleState) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -411,14 +444,17 @@ public Builder mergeFrom( return this; } - 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 @@ -426,39 +462,45 @@ 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. */ public Builder setThrottlePercent(int value) { - + throttlePercent_ = value; onChanged(); 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() { - + throttlePercent_ = 0; 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); } @@ -468,12 +510,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(); } @@ -482,16 +524,16 @@ 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 { - return new ThrottleState(input, extensionRegistry); - } - }; + 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 { + return new ThrottleState(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -506,6 +548,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..cf416b5ef5 --- /dev/null +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ThrottleStateOrBuilder.java @@ -0,0 +1,39 @@ +/* + * Copyright 2020 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 4c6f7339cc..a06a4952ee 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 2020 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,16 +44,15 @@ private WriteStream() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new WriteStream(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private WriteStream( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,99 +71,114 @@ private WriteStream( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); - - type_ = rawValue; - break; - } - case 26: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 16: + { + int rawValue = input.readEnum(); - break; - } - case 34: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (commitTime_ != null) { - subBuilder = commitTime_.toBuilder(); + type_ = rawValue; + break; } - commitTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(commitTime_); - commitTime_ = subBuilder.buildPartial(); + case 26: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 42: { - com.google.cloud.bigquery.storage.v1beta2.TableSchema.Builder subBuilder = null; - if (tableSchema_ != null) { - subBuilder = tableSchema_.toBuilder(); + case 34: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (commitTime_ != null) { + subBuilder = commitTime_.toBuilder(); + } + commitTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(commitTime_); + commitTime_ = subBuilder.buildPartial(); + } + + break; } - tableSchema_ = input.readMessage(com.google.cloud.bigquery.storage.v1beta2.TableSchema.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tableSchema_); - tableSchema_ = subBuilder.buildPartial(); + case 42: + { + com.google.cloud.bigquery.storage.v1beta2.TableSchema.Builder subBuilder = null; + if (tableSchema_ != null) { + subBuilder = tableSchema_.toBuilder(); + } + tableSchema_ = + input.readMessage( + com.google.cloud.bigquery.storage.v1beta2.TableSchema.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tableSchema_); + tableSchema_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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.
      * 
@@ -155,6 +187,8 @@ public enum Type */ TYPE_UNSPECIFIED(0), /** + * + * *
      * Data will commit automatically and appear as soon as the write is
      * acknowledged.
@@ -164,6 +198,8 @@ public enum Type
      */
     COMMITTED(1),
     /**
+     *
+     *
      * 
      * Data is invisible until the stream is committed.
      * 
@@ -172,6 +208,8 @@ public enum Type */ PENDING(2), /** + * + * *
      * Data is only visible up to the offset to which it was flushed.
      * 
@@ -183,6 +221,8 @@ public enum Type ; /** + * + * *
      * Unknown type.
      * 
@@ -191,6 +231,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.
@@ -200,6 +242,8 @@ public enum Type
      */
     public static final int COMMITTED_VALUE = 1;
     /**
+     *
+     *
      * 
      * Data is invisible until the stream is committed.
      * 
@@ -208,6 +252,8 @@ public enum Type */ public static final int PENDING_VALUE = 2; /** + * + * *
      * Data is only visible up to the offset to which it was flushed.
      * 
@@ -216,7 +262,6 @@ public enum Type */ public static final int BUFFERED_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -241,50 +286,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; @@ -304,12 +352,15 @@ private Type(int value) { public static final int NAME_FIELD_NUMBER = 1; 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 @@ -318,30 +369,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 { @@ -352,39 +403,58 @@ public java.lang.String getName() { public static final int TYPE_FIELD_NUMBER = 2; private int 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 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() { + @java.lang.Override + public com.google.cloud.bigquery.storage.v1beta2.WriteStream.Type getType() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.storage.v1beta2.WriteStream.Type result = com.google.cloud.bigquery.storage.v1beta2.WriteStream.Type.valueOf(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.valueOf(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 @@ -392,12 +462,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 @@ -405,12 +479,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() { @@ -420,6 +497,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
@@ -427,7 +506,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 @@ -435,6 +516,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
@@ -442,7 +525,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 @@ -450,6 +535,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
@@ -457,7 +544,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() { @@ -467,6 +555,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
@@ -474,7 +564,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 @@ -482,6 +575,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
@@ -489,14 +584,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
@@ -504,7 +606,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]; + * */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.TableSchemaOrBuilder getTableSchemaOrBuilder() { @@ -512,6 +616,7 @@ public com.google.cloud.bigquery.storage.v1beta2.TableSchemaOrBuilder getTableSc } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -523,12 +628,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 (!getNameBytes().isEmpty()) { 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) { @@ -552,21 +658,19 @@ public int getSerializedSize() { if (!getNameBytes().isEmpty()) { 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -576,30 +680,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -634,117 +735,127 @@ 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() @@ -752,16 +863,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -791,9 +901,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 @@ -812,7 +922,8 @@ 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); + com.google.cloud.bigquery.storage.v1beta2.WriteStream result = + new com.google.cloud.bigquery.storage.v1beta2.WriteStream(this); result.name_ = name_; result.type_ = type_; if (createTimeBuilder_ == null) { @@ -838,38 +949,39 @@ public com.google.cloud.bigquery.storage.v1beta2.WriteStream buildPartial() { 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; @@ -877,7 +989,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_; onChanged(); @@ -913,7 +1026,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.bigquery.storage.v1beta2.WriteStream) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.bigquery.storage.v1beta2.WriteStream) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -925,19 +1039,21 @@ public Builder mergeFrom( 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; @@ -946,21 +1062,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 { @@ -968,57 +1085,64 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1026,51 +1150,75 @@ 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. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.bigquery.storage.v1beta2.WriteStream.Type result = com.google.cloud.bigquery.storage.v1beta2.WriteStream.Type.valueOf(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.valueOf(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. */ @@ -1078,21 +1226,26 @@ public Builder setType(com.google.cloud.bigquery.storage.v1beta2.WriteStream.Typ if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); 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() { - + type_ = 0; onChanged(); return this; @@ -1100,42 +1253,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 createTimeBuilder_ != null || 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. */ 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) { @@ -1151,15 +1323,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(); onChanged(); @@ -1170,18 +1345,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1193,12 +1372,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() { if (createTimeBuilder_ == null) { @@ -1212,51 +1395,67 @@ 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() { - + onChanged(); 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_; @@ -1264,8 +1463,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
@@ -1273,13 +1477,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 commitTimeBuilder_ != null || 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
@@ -1287,17 +1496,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
@@ -1305,7 +1521,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) { @@ -1321,6 +1539,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
@@ -1328,10 +1548,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(); onChanged(); @@ -1342,6 +1563,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
@@ -1349,13 +1572,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 (commitTime_ != null) { commitTime_ = - com.google.protobuf.Timestamp.newBuilder(commitTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(commitTime_).mergeFrom(value).buildPartial(); } else { commitTime_ = value; } @@ -1367,6 +1592,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
@@ -1374,7 +1601,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() { if (commitTimeBuilder_ == null) { @@ -1388,6 +1617,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
@@ -1395,14 +1626,18 @@ 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() { - + onChanged(); 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
@@ -1410,17 +1645,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
@@ -1428,17 +1668,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_; @@ -1446,8 +1691,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
@@ -1455,13 +1705,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 tableSchemaBuilder_ != null || tableSchema_ != null; } /** + * + * *
      * Output only. The schema of the destination table. It is only returned in
      * `CreateWriteStream` response. Caller should generate data that's
@@ -1469,17 +1724,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
@@ -1487,7 +1749,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) { @@ -1503,6 +1767,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
@@ -1510,7 +1776,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) { @@ -1524,6 +1792,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
@@ -1531,13 +1801,17 @@ 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 (tableSchema_ != null) { tableSchema_ = - com.google.cloud.bigquery.storage.v1beta2.TableSchema.newBuilder(tableSchema_).mergeFrom(value).buildPartial(); + com.google.cloud.bigquery.storage.v1beta2.TableSchema.newBuilder(tableSchema_) + .mergeFrom(value) + .buildPartial(); } else { tableSchema_ = value; } @@ -1549,6 +1823,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
@@ -1556,7 +1832,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() { if (tableSchemaBuilder_ == null) { @@ -1570,6 +1848,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
@@ -1577,14 +1857,18 @@ 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() { - + onChanged(); return getTableSchemaFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The schema of the destination table. It is only returned in
      * `CreateWriteStream` response. Caller should generate data that's
@@ -1592,17 +1876,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
@@ -1610,24 +1900,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); } @@ -1637,12 +1932,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(); } @@ -1651,16 +1946,16 @@ 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 { - return new WriteStream(input, extensionRegistry); - } - }; + 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 { + return new WriteStream(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1675,6 +1970,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..ec38e1c726 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 2020 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