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 227edaa507..0000000000 --- a/grpc-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteGrpc.java +++ /dev/null @@ -1,1084 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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.
- * The [google.cloud.bigquery.storage.v1
- *   API](/bigquery/docs/reference/storage/rpc/google.cloud.bigquery.storage.v1)
- *   should be used instead of the v1beta2 API for BigQueryWrite operations.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/bigquery/storage/v1beta2/storage.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class BigQueryWriteGrpc { - - private BigQueryWriteGrpc() {} - - public static final java.lang.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.
-   * The [google.cloud.bigquery.storage.v1
-   *   API](/bigquery/docs/reference/storage/rpc/google.cloud.bigquery.storage.v1)
-   *   should be used instead of the v1beta2 API for BigQueryWrite operations.
-   * 
- */ - public interface AsyncService { - - /** - * - * - *
-     * Creates a write stream to the given table.
-     * Additionally, every table has a special COMMITTED stream named '_default'
-     * to which data can be written. This stream doesn't need to be created using
-     * CreateWriteStream. It is a stream that can be used simultaneously by any
-     * number of clients. Data written to this stream is considered committed as
-     * soon as an acknowledgement is received.
-     * 
- */ - default void createWriteStream( - com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateWriteStreamMethod(), responseObserver); - } - - /** - * - * - *
-     * Appends data to the given stream.
-     * If `offset` is specified, the `offset` is checked against the end of
-     * stream. The server returns `OUT_OF_RANGE` in `AppendRowsResponse` if an
-     * attempt is made to append to an offset beyond the current end of the stream
-     * or `ALREADY_EXISTS` if user provids an `offset` that has already been
-     * written to. User can retry with adjusted offset within the same RPC
-     * stream. If `offset` is not specified, append happens at the end of the
-     * stream.
-     * The response contains the offset at which the append happened. Responses
-     * are received in the same order in which requests are sent. There will be
-     * one response for each successful request. If the `offset` is not set in
-     * response, it means append didn't happen due to some errors. If one request
-     * fails, all the subsequent requests will also fail until a success request
-     * is made again.
-     * If the stream is of `PENDING` type, data will only be available for read
-     * operations after the stream is committed.
-     * 
- */ - default io.grpc.stub.StreamObserver - appendRows( - io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse> - responseObserver) { - return io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall( - getAppendRowsMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a write stream.
-     * 
- */ - default void getWriteStream( - com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetWriteStreamMethod(), responseObserver); - } - - /** - * - * - *
-     * Finalize a write stream so that no new data can be appended to the
-     * stream. Finalize is not supported on the '_default' stream.
-     * 
- */ - default void finalizeWriteStream( - com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getFinalizeWriteStreamMethod(), responseObserver); - } - - /** - * - * - *
-     * Atomically commits a group of `PENDING` streams that belong to the same
-     * `parent` table.
-     * Streams must be finalized before commit and cannot be committed multiple
-     * times. Once a stream is committed, data in the stream becomes available
-     * for read operations.
-     * 
- */ - default void batchCommitWriteStreams( - com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getBatchCommitWriteStreamsMethod(), responseObserver); - } - - /** - * - * - *
-     * Flushes rows to a BUFFERED stream.
-     * If users are appending rows to BUFFERED stream, flush operation is
-     * required in order for the rows to become available for reading. A
-     * Flush operation flushes up to any previously flushed offset in a BUFFERED
-     * stream, to the offset specified in the request.
-     * Flush is not supported on the _default stream, since it is not BUFFERED.
-     * 
- */ - default void flushRows( - com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFlushRowsMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service BigQueryWrite. - * - *
-   * BigQuery Write API.
-   * The Write API can be used to write data to BigQuery.
-   * The [google.cloud.bigquery.storage.v1
-   *   API](/bigquery/docs/reference/storage/rpc/google.cloud.bigquery.storage.v1)
-   *   should be used instead of the v1beta2 API for BigQueryWrite operations.
-   * 
- */ - public abstract static class BigQueryWriteImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return BigQueryWriteGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service BigQueryWrite. - * - *
-   * BigQuery Write API.
-   * The Write API can be used to write data to BigQuery.
-   * The [google.cloud.bigquery.storage.v1
-   *   API](/bigquery/docs/reference/storage/rpc/google.cloud.bigquery.storage.v1)
-   *   should be used instead of the v1beta2 API for BigQueryWrite operations.
-   * 
- */ - public static final class BigQueryWriteStub - extends io.grpc.stub.AbstractAsyncStub { - private BigQueryWriteStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected BigQueryWriteStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BigQueryWriteStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a write stream to the given table.
-     * Additionally, every table has a special COMMITTED stream named '_default'
-     * to which data can be written. This stream doesn't need to be created using
-     * CreateWriteStream. It is a stream that can be used simultaneously by any
-     * number of clients. Data written to this stream is considered committed as
-     * soon as an acknowledgement is received.
-     * 
- */ - public void createWriteStream( - com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateWriteStreamMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Appends data to the given stream.
-     * If `offset` is specified, the `offset` is checked against the end of
-     * stream. The server returns `OUT_OF_RANGE` in `AppendRowsResponse` if an
-     * attempt is made to append to an offset beyond the current end of the stream
-     * or `ALREADY_EXISTS` if user provids an `offset` that has already been
-     * written to. User can retry with adjusted offset within the same RPC
-     * stream. If `offset` is not specified, append happens at the end of the
-     * stream.
-     * The response contains the offset at which the append happened. Responses
-     * are received in the same order in which requests are sent. There will be
-     * one response for each successful request. If the `offset` is not set in
-     * response, it means append didn't happen due to some errors. If one request
-     * fails, all the subsequent requests will also fail until a success request
-     * is made again.
-     * If the stream is of `PENDING` type, data will only be available for read
-     * operations after the stream is committed.
-     * 
- */ - public io.grpc.stub.StreamObserver - appendRows( - io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse> - responseObserver) { - return io.grpc.stub.ClientCalls.asyncBidiStreamingCall( - getChannel().newCall(getAppendRowsMethod(), getCallOptions()), responseObserver); - } - - /** - * - * - *
-     * Gets a write stream.
-     * 
- */ - public void getWriteStream( - com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetWriteStreamMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Finalize a write stream so that no new data can be appended to the
-     * stream. Finalize is not supported on the '_default' stream.
-     * 
- */ - public void finalizeWriteStream( - com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getFinalizeWriteStreamMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Atomically commits a group of `PENDING` streams that belong to the same
-     * `parent` table.
-     * Streams must be finalized before commit and cannot be committed multiple
-     * times. Once a stream is committed, data in the stream becomes available
-     * for read operations.
-     * 
- */ - public void batchCommitWriteStreams( - com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchCommitWriteStreamsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Flushes rows to a BUFFERED stream.
-     * If users are appending rows to BUFFERED stream, flush operation is
-     * required in order for the rows to become available for reading. A
-     * Flush operation flushes up to any previously flushed offset in a BUFFERED
-     * stream, to the offset specified in the request.
-     * Flush is not supported on the _default stream, since it is not BUFFERED.
-     * 
- */ - public void flushRows( - com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getFlushRowsMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service BigQueryWrite. - * - *
-   * BigQuery Write API.
-   * The Write API can be used to write data to BigQuery.
-   * The [google.cloud.bigquery.storage.v1
-   *   API](/bigquery/docs/reference/storage/rpc/google.cloud.bigquery.storage.v1)
-   *   should be used instead of the v1beta2 API for BigQueryWrite operations.
-   * 
- */ - public static final class BigQueryWriteBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private BigQueryWriteBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected BigQueryWriteBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BigQueryWriteBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a write stream to the given table.
-     * Additionally, every table has a special COMMITTED stream named '_default'
-     * to which data can be written. This stream doesn't need to be created using
-     * CreateWriteStream. It is a stream that can be used simultaneously by any
-     * number of clients. Data written to this stream is considered committed as
-     * soon as an acknowledgement is received.
-     * 
- */ - public com.google.cloud.bigquery.storage.v1beta2.WriteStream createWriteStream( - com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateWriteStreamMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a write stream.
-     * 
- */ - public com.google.cloud.bigquery.storage.v1beta2.WriteStream getWriteStream( - com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetWriteStreamMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Finalize a write stream so that no new data can be appended to the
-     * stream. Finalize is not supported on the '_default' stream.
-     * 
- */ - public com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse - finalizeWriteStream( - com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getFinalizeWriteStreamMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Atomically commits a group of `PENDING` streams that belong to the same
-     * `parent` table.
-     * Streams must be finalized before commit and cannot be committed multiple
-     * times. Once a stream is committed, data in the stream becomes available
-     * for read operations.
-     * 
- */ - public com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse - batchCommitWriteStreams( - com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchCommitWriteStreamsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Flushes rows to a BUFFERED stream.
-     * If users are appending rows to BUFFERED stream, flush operation is
-     * required in order for the rows to become available for reading. A
-     * Flush operation flushes up to any previously flushed offset in a BUFFERED
-     * stream, to the offset specified in the request.
-     * Flush is not supported on the _default stream, since it is not BUFFERED.
-     * 
- */ - public com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse flushRows( - com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getFlushRowsMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service BigQueryWrite. - * - *
-   * BigQuery Write API.
-   * The Write API can be used to write data to BigQuery.
-   * The [google.cloud.bigquery.storage.v1
-   *   API](/bigquery/docs/reference/storage/rpc/google.cloud.bigquery.storage.v1)
-   *   should be used instead of the v1beta2 API for BigQueryWrite operations.
-   * 
- */ - public static final class BigQueryWriteFutureStub - extends io.grpc.stub.AbstractFutureStub { - private BigQueryWriteFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected BigQueryWriteFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BigQueryWriteFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a write stream to the given table.
-     * Additionally, every table has a special COMMITTED stream named '_default'
-     * to which data can be written. This stream doesn't need to be created using
-     * CreateWriteStream. It is a stream that can be used simultaneously by any
-     * number of clients. Data written to this stream is considered committed as
-     * soon as an acknowledgement is received.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.bigquery.storage.v1beta2.WriteStream> - createWriteStream( - com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateWriteStreamMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a write stream.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.bigquery.storage.v1beta2.WriteStream> - getWriteStream(com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetWriteStreamMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Finalize a write stream so that no new data can be appended to the
-     * stream. Finalize is not supported on the '_default' stream.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse> - finalizeWriteStream( - com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getFinalizeWriteStreamMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Atomically commits a group of `PENDING` streams that belong to the same
-     * `parent` table.
-     * Streams must be finalized before commit and cannot be committed multiple
-     * times. Once a stream is committed, data in the stream becomes available
-     * for read operations.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse> - batchCommitWriteStreams( - com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchCommitWriteStreamsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Flushes rows to a BUFFERED stream.
-     * If users are appending rows to BUFFERED stream, flush operation is
-     * required in order for the rows to become available for reading. A
-     * Flush operation flushes up to any previously flushed offset in a BUFFERED
-     * stream, to the offset specified in the request.
-     * Flush is not supported on the _default stream, since it is not BUFFERED.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse> - flushRows(com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getFlushRowsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_WRITE_STREAM = 0; - private static final int METHODID_GET_WRITE_STREAM = 1; - private static final int METHODID_FINALIZE_WRITE_STREAM = 2; - private static final int METHODID_BATCH_COMMIT_WRITE_STREAMS = 3; - private static final int METHODID_FLUSH_ROWS = 4; - private static final int METHODID_APPEND_ROWS = 5; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_WRITE_STREAM: - serviceImpl.createWriteStream( - (com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_WRITE_STREAM: - serviceImpl.getWriteStream( - (com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_FINALIZE_WRITE_STREAM: - serviceImpl.finalizeWriteStream( - (com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse>) - responseObserver); - break; - case METHODID_BATCH_COMMIT_WRITE_STREAMS: - serviceImpl.batchCommitWriteStreams( - (com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse>) - responseObserver); - break; - case METHODID_FLUSH_ROWS: - serviceImpl.flushRows( - (com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse>) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_APPEND_ROWS: - return (io.grpc.stub.StreamObserver) - serviceImpl.appendRows( - (io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse>) - responseObserver); - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateWriteStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest, - com.google.cloud.bigquery.storage.v1beta2.WriteStream>( - service, METHODID_CREATE_WRITE_STREAM))) - .addMethod( - getAppendRowsMethod(), - io.grpc.stub.ServerCalls.asyncBidiStreamingCall( - new MethodHandlers< - com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest, - com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse>( - service, METHODID_APPEND_ROWS))) - .addMethod( - getGetWriteStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest, - com.google.cloud.bigquery.storage.v1beta2.WriteStream>( - service, METHODID_GET_WRITE_STREAM))) - .addMethod( - getFinalizeWriteStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest, - com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse>( - service, METHODID_FINALIZE_WRITE_STREAM))) - .addMethod( - getBatchCommitWriteStreamsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest, - com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse>( - service, METHODID_BATCH_COMMIT_WRITE_STREAMS))) - .addMethod( - getFlushRowsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest, - com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse>( - service, METHODID_FLUSH_ROWS))) - .build(); - } - - private abstract static class BigQueryWriteBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - BigQueryWriteBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("BigQueryWrite"); - } - } - - private static final class BigQueryWriteFileDescriptorSupplier - extends BigQueryWriteBaseDescriptorSupplier { - BigQueryWriteFileDescriptorSupplier() {} - } - - private static final class BigQueryWriteMethodDescriptorSupplier - extends BigQueryWriteBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final java.lang.String methodName; - - BigQueryWriteMethodDescriptorSupplier(java.lang.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 99% 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 0dbd4b47fa..35a779668b 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 @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. 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 98% 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 a24fe3d332..de62fcc3c2 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 @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -17,7 +17,6 @@ package com.google.cloud.bigquery.storage.v1; import com.google.api.core.ApiFunction; -import com.google.api.core.BetaApi; import com.google.api.gax.core.GoogleCredentialsProvider; import com.google.api.gax.core.InstantiatingExecutorProvider; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; @@ -25,6 +24,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; @@ -123,7 +123,6 @@ public static TransportChannelProvider defaultTransportChannelProvider() { return BigQueryReadStubSettings.defaultTransportChannelProvider(); } - @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { return BigQueryReadStubSettings.defaultApiClientHeaderProviderBuilder(); } diff --git a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryWriteClient.java b/owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryWriteClient.java similarity index 99% rename from google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryWriteClient.java rename to owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryWriteClient.java index d21b636291..09adba70d9 100644 --- a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryWriteClient.java +++ b/owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryWriteClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryWriteSettings.java b/owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryWriteSettings.java similarity index 98% rename from google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryWriteSettings.java rename to owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryWriteSettings.java index 58b5f8f2fa..0944e3822a 100644 --- a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryWriteSettings.java +++ b/owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryWriteSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -17,7 +17,6 @@ package com.google.cloud.bigquery.storage.v1; import com.google.api.core.ApiFunction; -import com.google.api.core.BetaApi; import com.google.api.gax.core.GoogleCredentialsProvider; import com.google.api.gax.core.InstantiatingExecutorProvider; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; @@ -25,6 +24,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.v1.stub.BigQueryWriteStubSettings; @@ -138,7 +138,6 @@ public static TransportChannelProvider defaultTransportChannelProvider() { return BigQueryWriteStubSettings.defaultTransportChannelProvider(); } - @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { return BigQueryWriteStubSettings.defaultApiClientHeaderProviderBuilder(); } 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 99% 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 index e2698c830f..8281554e3a 100644 --- 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 @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. 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 98% 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 index edec56add3..2c5b84abbb 100644 --- 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 @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. 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..9b996e82f1 --- /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,390 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.gax.core.GaxProperties; +import com.google.api.gax.core.GoogleCredentialsProvider; +import com.google.api.gax.core.InstantiatingExecutorProvider; +import com.google.api.gax.grpc.GaxGrpcProperties; +import com.google.api.gax.grpc.GrpcTransportChannel; +import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.retrying.RetrySettings; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.ServerStreamingCallSettings; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.StubSettings; +import com.google.api.gax.rpc.TransportChannelProvider; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest; +import com.google.cloud.bigquery.storage.v1.ReadRowsRequest; +import com.google.cloud.bigquery.storage.v1.ReadRowsResponse; +import com.google.cloud.bigquery.storage.v1.ReadSession; +import com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest; +import com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse; +import com.google.common.collect.ImmutableList; +import com.google.common.collect.ImmutableMap; +import com.google.common.collect.ImmutableSet; +import com.google.common.collect.Lists; +import java.io.IOException; +import java.util.List; +import javax.annotation.Generated; +import org.threeten.bp.Duration; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Settings class to configure an instance of {@link BigQueryReadStub}. + * + *

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

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

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

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

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * BigQueryReadStubSettings.Builder baseBigQueryReadSettingsBuilder =
+ *     BigQueryReadStubSettings.newBuilder();
+ * baseBigQueryReadSettingsBuilder
+ *     .createReadSessionSettings()
+ *     .setRetrySettings(
+ *         baseBigQueryReadSettingsBuilder
+ *             .createReadSessionSettings()
+ *             .getRetrySettings()
+ *             .toBuilder()
+ *             .setTotalTimeout(Duration.ofSeconds(30))
+ *             .build());
+ * BigQueryReadStubSettings baseBigQueryReadSettings = baseBigQueryReadSettingsBuilder.build();
+ * }
+ */ +@Generated("by gapic-generator-java") +public class BigQueryReadStubSettings extends StubSettings { + /** The default scopes of the service. */ + private static final ImmutableList DEFAULT_SERVICE_SCOPES = + ImmutableList.builder() + .add("https://www.googleapis.com/auth/bigquery") + .add("https://www.googleapis.com/auth/cloud-platform") + .build(); + + private final UnaryCallSettings createReadSessionSettings; + private final ServerStreamingCallSettings readRowsSettings; + private final UnaryCallSettings + splitReadStreamSettings; + + /** Returns the object with the settings used for calls to createReadSession. */ + public UnaryCallSettings createReadSessionSettings() { + return createReadSessionSettings; + } + + /** Returns the object with the settings used for calls to readRows. */ + public ServerStreamingCallSettings readRowsSettings() { + return readRowsSettings; + } + + /** Returns the object with the settings used for calls to splitReadStream. */ + public UnaryCallSettings + splitReadStreamSettings() { + return splitReadStreamSettings; + } + + public BigQueryReadStub createStub() throws IOException { + if (getTransportChannelProvider() + .getTransportName() + .equals(GrpcTransportChannel.getGrpcTransportName())) { + return GrpcBigQueryReadStub.create(this); + } + throw new UnsupportedOperationException( + String.format( + "Transport not supported: %s", getTransportChannelProvider().getTransportName())); + } + + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + + /** Returns the default service name. */ + @Override + public String getServiceName() { + return "bigquerystorage"; + } + + /** 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(); + } + + 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.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; + } + + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + + @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/BigQueryWriteStub.java b/owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/BigQueryWriteStub.java similarity index 99% rename from google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/BigQueryWriteStub.java rename to owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/BigQueryWriteStub.java index c4edd05438..f73cfde60a 100644 --- a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/BigQueryWriteStub.java +++ b/owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/BigQueryWriteStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/BigQueryWriteStubSettings.java b/owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/BigQueryWriteStubSettings.java similarity index 99% rename from google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/BigQueryWriteStubSettings.java rename to owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/BigQueryWriteStubSettings.java index 6e4a1f0200..4818f07000 100644 --- a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/BigQueryWriteStubSettings.java +++ b/owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/BigQueryWriteStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -17,7 +17,6 @@ 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; @@ -204,7 +203,6 @@ 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( 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 99% 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 index 098e7da3f4..348cf8da8e 100644 --- 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 @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. 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 311064c87b..04cd661887 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 @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -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/main/java/com/google/cloud/bigquery/storage/v1/stub/GrpcBigQueryWriteCallableFactory.java b/owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/GrpcBigQueryWriteCallableFactory.java similarity index 99% rename from google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/GrpcBigQueryWriteCallableFactory.java rename to owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/GrpcBigQueryWriteCallableFactory.java index d5ac9653a9..38798eaa06 100644 --- a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/GrpcBigQueryWriteCallableFactory.java +++ b/owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/GrpcBigQueryWriteCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/GrpcBigQueryWriteStub.java b/owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/GrpcBigQueryWriteStub.java similarity index 99% rename from google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/GrpcBigQueryWriteStub.java rename to owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/GrpcBigQueryWriteStub.java index 04f22270d1..b976b800c4 100644 --- a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/GrpcBigQueryWriteStub.java +++ b/owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/GrpcBigQueryWriteStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -39,6 +39,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/owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/resources/META-INF/native-image/com.google.cloud.bigquery.storage.v1/reflect-config.json b/owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/resources/META-INF/native-image/com.google.cloud.bigquery.storage.v1/reflect-config.json new file mode 100644 index 0000000000..b336913805 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-bigquerystorage/src/main/resources/META-INF/native-image/com.google.cloud.bigquery.storage.v1/reflect-config.json @@ -0,0 +1,2108 @@ +[ + { + "name": "com.google.api.ClientLibraryDestination", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ClientLibraryOrganization", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ClientLibrarySettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ClientLibrarySettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CommonLanguageSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CommonLanguageSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CppSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CppSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CustomHttpPattern", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CustomHttpPattern$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.DotnetSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.DotnetSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.FieldBehavior", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.GoSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.GoSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.Http", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.Http$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.HttpRule", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.HttpRule$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.JavaSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.JavaSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.LaunchStage", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.MethodSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.MethodSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.MethodSettings$LongRunning", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.MethodSettings$LongRunning$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.NodeSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.NodeSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PhpSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PhpSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.Publishing", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.Publishing$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PythonSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PythonSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceDescriptor", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceDescriptor$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceDescriptor$History", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceDescriptor$Style", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceReference", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceReference$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.RubySettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.RubySettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.AppendRowsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.AppendRowsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.AppendRowsRequest$MissingValueInterpretation", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.AppendRowsRequest$ProtoData", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.AppendRowsRequest$ProtoData$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.AppendRowsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.AppendRowsResponse$AppendResult", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.AppendRowsResponse$AppendResult$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.AppendRowsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.ArrowRecordBatch", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.ArrowRecordBatch$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.ArrowSchema", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.ArrowSchema$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions$CompressionCodec", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.AvroRows", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.AvroRows$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.AvroSchema", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.AvroSchema$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.AvroSerializationOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.AvroSerializationOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.DataFormat", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.FlushRowsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.FlushRowsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.FlushRowsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.FlushRowsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.ProtoRows", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.ProtoRows$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.ProtoSchema", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.ProtoSchema$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.ReadRowsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.ReadRowsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.ReadRowsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.ReadRowsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.ReadSession", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.ReadSession$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.ReadSession$TableModifiers", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.ReadSession$TableModifiers$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.ReadSession$TableReadOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.ReadSession$TableReadOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.ReadSession$TableReadOptions$ResponseCompressionCodec", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.ReadStream", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.ReadStream$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.RowError", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.RowError$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.RowError$RowErrorCode", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.StorageError", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.StorageError$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.StorageError$StorageErrorCode", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.StreamStats", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.StreamStats$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.StreamStats$Progress", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.StreamStats$Progress$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.TableFieldSchema", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.TableFieldSchema$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.TableFieldSchema$Mode", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.TableFieldSchema$Type", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.TableSchema", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.TableSchema$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.ThrottleState", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.ThrottleState$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.WriteStream", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.WriteStream$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.WriteStream$Type", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.WriteStream$WriteMode", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1.WriteStreamView", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Any", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Any$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.BoolValue", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.BoolValue$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.BytesValue", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.BytesValue$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ExtensionRange", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ExtensionRange$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ReservedRange", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ReservedRange$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$Edition", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto$EnumReservedRange", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto$EnumReservedRange$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumValueDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumValueDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumValueOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumValueOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$Declaration", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$Declaration$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$VerificationState", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$EnumType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$FieldPresence", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$JsonFormat", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$MessageEncoding", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$RepeatedFieldEncoding", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$Utf8Validation", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults$FeatureSetEditionDefault", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults$FeatureSetEditionDefault$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto$Label", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto$Type", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$CType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$EditionDefault", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$EditionDefault$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$JSType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$OptionRetention", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$OptionTargetType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileDescriptorSet", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileDescriptorSet$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileOptions$OptimizeMode", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Annotation", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Annotation$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Annotation$Semantic", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MessageOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MessageOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodOptions$IdempotencyLevel", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$OneofDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$OneofDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$OneofOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$OneofOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ServiceDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ServiceDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ServiceOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ServiceOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo$Location", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo$Location$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption$NamePart", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption$NamePart$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DoubleValue", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DoubleValue$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Duration", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Duration$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.FloatValue", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.FloatValue$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Int32Value", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Int32Value$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Int64Value", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Int64Value$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.StringValue", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.StringValue$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Timestamp", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Timestamp$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.UInt32Value", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.UInt32Value$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.UInt64Value", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.UInt64Value$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.rpc.Status", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.rpc.Status$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + } +] \ No newline at end of file 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 99% 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 index b915c57cec..202f6daa07 100644 --- 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 @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/BigQueryWriteClientTest.java b/owl-bot-staging/v1/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/BigQueryWriteClientTest.java similarity index 99% rename from google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/BigQueryWriteClientTest.java rename to owl-bot-staging/v1/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/BigQueryWriteClientTest.java index eb291030d4..7b2f26234b 100644 --- a/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/BigQueryWriteClientTest.java +++ b/owl-bot-staging/v1/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/BigQueryWriteClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. 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 98% 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 index 399809b1b4..e83088bf56 100644 --- 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 @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. 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 99% 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 index 658244ff5c..2c01de51da 100644 --- 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 @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/MockBigQueryWrite.java b/owl-bot-staging/v1/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/MockBigQueryWrite.java similarity index 98% rename from google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/MockBigQueryWrite.java rename to owl-bot-staging/v1/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/MockBigQueryWrite.java index 2128715b12..0887b0966d 100644 --- a/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/MockBigQueryWrite.java +++ b/owl-bot-staging/v1/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/MockBigQueryWrite.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/MockBigQueryWriteImpl.java b/owl-bot-staging/v1/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/MockBigQueryWriteImpl.java similarity index 99% rename from google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/MockBigQueryWriteImpl.java rename to owl-bot-staging/v1/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/MockBigQueryWriteImpl.java index cadc196f5c..35363022ed 100644 --- a/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/MockBigQueryWriteImpl.java +++ b/owl-bot-staging/v1/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1/MockBigQueryWriteImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. 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 60% 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 50f04fc7c0..fecf39c887 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 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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.
@@ -33,194 +16,147 @@ public final class BigQueryReadGrpc {
 
   private BigQueryReadGrpc() {}
 
-  public static final java.lang.String SERVICE_NAME =
-      "google.cloud.bigquery.storage.v1.BigQueryRead";
+  public static final java.lang.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.
@@ -229,8 +165,6 @@ public BigQueryReadFutureStub newStub(
   public interface AsyncService {
 
     /**
-     *
-     *
      * 
      * Creates a new read session. A read session divides the contents of a
      * BigQuery table into one or more streams, which can then be used to read
@@ -250,17 +184,12 @@ public interface AsyncService {
      * not require manual clean-up by the caller.
      * 
*/ - default void createReadSession( - com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateReadSessionMethod(), responseObserver); + default void createReadSession(com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateReadSessionMethod(), responseObserver); } /** - * - * *
      * Reads rows from the stream in the format prescribed by the ReadSession.
      * Each response contains one or more table rows, up to a maximum of 100 MiB
@@ -270,16 +199,12 @@ default void createReadSession(
      * state of the stream.
      * 
*/ - default void readRows( - com.google.cloud.bigquery.storage.v1.ReadRowsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + default void readRows(com.google.cloud.bigquery.storage.v1.ReadRowsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getReadRowsMethod(), responseObserver); } /** - * - * *
      * Splits a given `ReadStream` into two `ReadStream` objects. These
      * `ReadStream` objects are referred to as the primary and the residual
@@ -294,35 +219,29 @@ default void readRows(
      * completion.
      * 
*/ - default void splitReadStream( - com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSplitReadStreamMethod(), responseObserver); + default void splitReadStream(com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSplitReadStreamMethod(), responseObserver); } } /** * Base class for the server implementation of the service BigQueryRead. - * *
    * BigQuery Read API.
    * The Read API can be used to read data from BigQuery.
    * 
*/ - public abstract static class BigQueryReadImplBase + public static abstract class BigQueryReadImplBase implements io.grpc.BindableService, AsyncService { - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return BigQueryReadGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service BigQueryRead. - * *
    * BigQuery Read API.
    * The Read API can be used to read data from BigQuery.
@@ -330,18 +249,18 @@ public final io.grpc.ServerServiceDefinition bindService() {
    */
   public static final class BigQueryReadStub
       extends io.grpc.stub.AbstractAsyncStub {
-    private BigQueryReadStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private BigQueryReadStub(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
     @java.lang.Override
-    protected BigQueryReadStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    protected BigQueryReadStub build(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       return new BigQueryReadStub(channel, callOptions);
     }
 
     /**
-     *
-     *
      * 
      * Creates a new read session. A read session divides the contents of a
      * BigQuery table into one or more streams, which can then be used to read
@@ -361,19 +280,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
@@ -383,17 +296,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
@@ -408,20 +317,15 @@ 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); } } /** * A stub to allow clients to do synchronous rpc calls to service BigQueryRead. - * *
    * BigQuery Read API.
    * The Read API can be used to read data from BigQuery.
@@ -429,7 +333,8 @@ public void splitReadStream(
    */
   public static final class BigQueryReadBlockingStub
       extends io.grpc.stub.AbstractBlockingStub {
-    private BigQueryReadBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private BigQueryReadBlockingStub(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
@@ -440,8 +345,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
@@ -461,15 +364,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
@@ -486,8 +386,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
@@ -502,8 +400,7 @@ 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); } @@ -511,7 +408,6 @@ public com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse splitReadStr /** * A stub to allow clients to do ListenableFuture-style rpc calls to service BigQueryRead. - * *
    * BigQuery Read API.
    * The Read API can be used to read data from BigQuery.
@@ -519,7 +415,8 @@ public com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse splitReadStr
    */
   public static final class BigQueryReadFutureStub
       extends io.grpc.stub.AbstractFutureStub {
-    private BigQueryReadFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private BigQueryReadFutureStub(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
@@ -530,8 +427,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
@@ -551,16 +446,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
@@ -575,9 +467,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); } @@ -587,11 +478,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 AsyncService serviceImpl; private final int methodId; @@ -605,23 +496,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(); @@ -642,32 +526,31 @@ public io.grpc.stub.StreamObserver invoke( public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getCreateReadSessionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest, - com.google.cloud.bigquery.storage.v1.ReadSession>( - service, METHODID_CREATE_READ_SESSION))) + getCreateReadSessionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest, + com.google.cloud.bigquery.storage.v1.ReadSession>( + service, METHODID_CREATE_READ_SESSION))) .addMethod( - getReadRowsMethod(), - io.grpc.stub.ServerCalls.asyncServerStreamingCall( - new MethodHandlers< - com.google.cloud.bigquery.storage.v1.ReadRowsRequest, - com.google.cloud.bigquery.storage.v1.ReadRowsResponse>( - service, METHODID_READ_ROWS))) + getReadRowsMethod(), + io.grpc.stub.ServerCalls.asyncServerStreamingCall( + new MethodHandlers< + com.google.cloud.bigquery.storage.v1.ReadRowsRequest, + com.google.cloud.bigquery.storage.v1.ReadRowsResponse>( + service, METHODID_READ_ROWS))) .addMethod( - getSplitReadStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest, - com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse>( - service, METHODID_SPLIT_READ_STREAM))) + getSplitReadStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest, + com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse>( + service, METHODID_SPLIT_READ_STREAM))) .build(); } - private 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 @@ -709,14 +592,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/grpc-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryWriteGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryWriteGrpc.java similarity index 50% rename from grpc-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryWriteGrpc.java rename to owl-bot-staging/v1/grpc-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryWriteGrpc.java index d1de373dd2..d9d573129a 100644 --- a/grpc-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryWriteGrpc.java +++ b/owl-bot-staging/v1/grpc-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BigQueryWriteGrpc.java @@ -1,25 +1,8 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ package com.google.cloud.bigquery.storage.v1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *
  * BigQuery Write API.
  * The Write API can be used to write data to BigQuery.
@@ -35,339 +18,240 @@ public final class BigQueryWriteGrpc {
 
   private BigQueryWriteGrpc() {}
 
-  public static final java.lang.String SERVICE_NAME =
-      "google.cloud.bigquery.storage.v1.BigQueryWrite";
+  public static final java.lang.String SERVICE_NAME = "google.cloud.bigquery.storage.v1.BigQueryWrite";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest,
-          com.google.cloud.bigquery.storage.v1.WriteStream>
-      getCreateWriteStreamMethod;
+  private static volatile io.grpc.MethodDescriptor getCreateWriteStreamMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateWriteStream",
       requestType = com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest.class,
       responseType = com.google.cloud.bigquery.storage.v1.WriteStream.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest,
-          com.google.cloud.bigquery.storage.v1.WriteStream>
-      getCreateWriteStreamMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest,
-            com.google.cloud.bigquery.storage.v1.WriteStream>
-        getCreateWriteStreamMethod;
+  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.v1.CreateWriteStreamRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.bigquery.storage.v1.WriteStream
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new BigQueryWriteMethodDescriptorSupplier("CreateWriteStream"))
-                      .build();
+          BigQueryWriteGrpc.getCreateWriteStreamMethod = getCreateWriteStreamMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateWriteStream"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.bigquery.storage.v1.WriteStream.getDefaultInstance()))
+              .setSchemaDescriptor(new BigQueryWriteMethodDescriptorSupplier("CreateWriteStream"))
+              .build();
         }
       }
     }
     return getCreateWriteStreamMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.bigquery.storage.v1.AppendRowsRequest,
-          com.google.cloud.bigquery.storage.v1.AppendRowsResponse>
-      getAppendRowsMethod;
+  private static volatile io.grpc.MethodDescriptor getAppendRowsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "AppendRows",
       requestType = com.google.cloud.bigquery.storage.v1.AppendRowsRequest.class,
       responseType = com.google.cloud.bigquery.storage.v1.AppendRowsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.bigquery.storage.v1.AppendRowsRequest,
-          com.google.cloud.bigquery.storage.v1.AppendRowsResponse>
-      getAppendRowsMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.bigquery.storage.v1.AppendRowsRequest,
-            com.google.cloud.bigquery.storage.v1.AppendRowsResponse>
-        getAppendRowsMethod;
+  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.v1.AppendRowsRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.bigquery.storage.v1.AppendRowsResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(new BigQueryWriteMethodDescriptorSupplier("AppendRows"))
-                      .build();
+          BigQueryWriteGrpc.getAppendRowsMethod = getAppendRowsMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AppendRows"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.bigquery.storage.v1.AppendRowsRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.bigquery.storage.v1.AppendRowsResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new BigQueryWriteMethodDescriptorSupplier("AppendRows"))
+              .build();
         }
       }
     }
     return getAppendRowsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest,
-          com.google.cloud.bigquery.storage.v1.WriteStream>
-      getGetWriteStreamMethod;
+  private static volatile io.grpc.MethodDescriptor getGetWriteStreamMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetWriteStream",
       requestType = com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest.class,
       responseType = com.google.cloud.bigquery.storage.v1.WriteStream.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest,
-          com.google.cloud.bigquery.storage.v1.WriteStream>
-      getGetWriteStreamMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest,
-            com.google.cloud.bigquery.storage.v1.WriteStream>
-        getGetWriteStreamMethod;
+  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.v1.GetWriteStreamRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.bigquery.storage.v1.WriteStream
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new BigQueryWriteMethodDescriptorSupplier("GetWriteStream"))
-                      .build();
+          BigQueryWriteGrpc.getGetWriteStreamMethod = getGetWriteStreamMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetWriteStream"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.bigquery.storage.v1.WriteStream.getDefaultInstance()))
+              .setSchemaDescriptor(new BigQueryWriteMethodDescriptorSupplier("GetWriteStream"))
+              .build();
         }
       }
     }
     return getGetWriteStreamMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest,
-          com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse>
-      getFinalizeWriteStreamMethod;
+  private static volatile io.grpc.MethodDescriptor getFinalizeWriteStreamMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "FinalizeWriteStream",
       requestType = com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest.class,
       responseType = com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest,
-          com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse>
-      getFinalizeWriteStreamMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest,
-            com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse>
-        getFinalizeWriteStreamMethod;
+  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.v1.FinalizeWriteStreamRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new BigQueryWriteMethodDescriptorSupplier("FinalizeWriteStream"))
-                      .build();
+        if ((getFinalizeWriteStreamMethod = BigQueryWriteGrpc.getFinalizeWriteStreamMethod) == null) {
+          BigQueryWriteGrpc.getFinalizeWriteStreamMethod = getFinalizeWriteStreamMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FinalizeWriteStream"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new BigQueryWriteMethodDescriptorSupplier("FinalizeWriteStream"))
+              .build();
         }
       }
     }
     return getFinalizeWriteStreamMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest,
-          com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse>
-      getBatchCommitWriteStreamsMethod;
+  private static volatile io.grpc.MethodDescriptor getBatchCommitWriteStreamsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "BatchCommitWriteStreams",
       requestType = com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest.class,
       responseType = com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest,
-          com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse>
-      getBatchCommitWriteStreamsMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest,
-            com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse>
-        getBatchCommitWriteStreamsMethod;
-    if ((getBatchCommitWriteStreamsMethod = BigQueryWriteGrpc.getBatchCommitWriteStreamsMethod)
-        == null) {
+  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.v1.BatchCommitWriteStreamsRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new BigQueryWriteMethodDescriptorSupplier("BatchCommitWriteStreams"))
-                      .build();
+        if ((getBatchCommitWriteStreamsMethod = BigQueryWriteGrpc.getBatchCommitWriteStreamsMethod) == null) {
+          BigQueryWriteGrpc.getBatchCommitWriteStreamsMethod = getBatchCommitWriteStreamsMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchCommitWriteStreams"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new BigQueryWriteMethodDescriptorSupplier("BatchCommitWriteStreams"))
+              .build();
         }
       }
     }
     return getBatchCommitWriteStreamsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.bigquery.storage.v1.FlushRowsRequest,
-          com.google.cloud.bigquery.storage.v1.FlushRowsResponse>
-      getFlushRowsMethod;
+  private static volatile io.grpc.MethodDescriptor getFlushRowsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "FlushRows",
       requestType = com.google.cloud.bigquery.storage.v1.FlushRowsRequest.class,
       responseType = com.google.cloud.bigquery.storage.v1.FlushRowsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.bigquery.storage.v1.FlushRowsRequest,
-          com.google.cloud.bigquery.storage.v1.FlushRowsResponse>
-      getFlushRowsMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.bigquery.storage.v1.FlushRowsRequest,
-            com.google.cloud.bigquery.storage.v1.FlushRowsResponse>
-        getFlushRowsMethod;
+  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.v1.FlushRowsRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.bigquery.storage.v1.FlushRowsResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(new BigQueryWriteMethodDescriptorSupplier("FlushRows"))
-                      .build();
+          BigQueryWriteGrpc.getFlushRowsMethod = getFlushRowsMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FlushRows"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.bigquery.storage.v1.FlushRowsRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.bigquery.storage.v1.FlushRowsResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new BigQueryWriteMethodDescriptorSupplier("FlushRows"))
+              .build();
         }
       }
     }
     return getFlushRowsMethod;
   }
 
-  /** Creates a new async stub that supports all call types for the service */
+  /**
+   * Creates a new async stub that supports all call types for the service
+   */
   public static BigQueryWriteStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public BigQueryWriteStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new BigQueryWriteStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public BigQueryWriteStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new BigQueryWriteStub(channel, callOptions);
+        }
+      };
     return BigQueryWriteStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static BigQueryWriteBlockingStub newBlockingStub(io.grpc.Channel channel) {
+  public static BigQueryWriteBlockingStub newBlockingStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public BigQueryWriteBlockingStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new BigQueryWriteBlockingStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public BigQueryWriteBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new BigQueryWriteBlockingStub(channel, callOptions);
+        }
+      };
     return BigQueryWriteBlockingStub.newStub(factory, channel);
   }
 
-  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
-  public static BigQueryWriteFutureStub newFutureStub(io.grpc.Channel channel) {
+  /**
+   * Creates a new ListenableFuture-style stub that supports unary calls on the service
+   */
+  public static BigQueryWriteFutureStub newFutureStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public BigQueryWriteFutureStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new BigQueryWriteFutureStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public BigQueryWriteFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new BigQueryWriteFutureStub(channel, callOptions);
+        }
+      };
     return BigQueryWriteFutureStub.newStub(factory, channel);
   }
 
   /**
-   *
-   *
    * 
    * BigQuery Write API.
    * The Write API can be used to write data to BigQuery.
@@ -378,8 +262,6 @@ public BigQueryWriteFutureStub newStub(
   public interface AsyncService {
 
     /**
-     *
-     *
      * 
      * Creates a write stream to the given table.
      * Additionally, every table has a special stream named '_default'
@@ -389,17 +271,12 @@ public interface AsyncService {
      * soon as an acknowledgement is received.
      * 
*/ - default void createWriteStream( - com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateWriteStreamMethod(), responseObserver); + default void createWriteStream(com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateWriteStreamMethod(), responseObserver); } /** - * - * *
      * Appends data to the given stream.
      * If `offset` is specified, the `offset` is checked against the end of
@@ -427,49 +304,33 @@ default void createWriteStream(
      * committed via the `BatchCommitWriteStreams` rpc.
      * 
*/ - default io.grpc.stub.StreamObserver - appendRows( - io.grpc.stub.StreamObserver - responseObserver) { - return io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall( - getAppendRowsMethod(), responseObserver); + default io.grpc.stub.StreamObserver appendRows( + io.grpc.stub.StreamObserver responseObserver) { + return io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall(getAppendRowsMethod(), responseObserver); } /** - * - * *
      * Gets information about a write stream.
      * 
*/ - default void getWriteStream( - com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetWriteStreamMethod(), responseObserver); + default void getWriteStream(com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetWriteStreamMethod(), responseObserver); } /** - * - * *
      * Finalize a write stream so that no new data can be appended to the
      * stream. Finalize is not supported on the '_default' stream.
      * 
*/ - default void finalizeWriteStream( - com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getFinalizeWriteStreamMethod(), responseObserver); + default void finalizeWriteStream(com.google.cloud.bigquery.storage.v1.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.
@@ -478,18 +339,12 @@ default void finalizeWriteStream(
      * for read operations.
      * 
*/ - default void batchCommitWriteStreams( - com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getBatchCommitWriteStreamsMethod(), responseObserver); + default void batchCommitWriteStreams(com.google.cloud.bigquery.storage.v1.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
@@ -499,17 +354,14 @@ default void batchCommitWriteStreams(
      * Flush is not supported on the _default stream, since it is not BUFFERED.
      * 
*/ - default void flushRows( - com.google.cloud.bigquery.storage.v1.FlushRowsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + default void flushRows(com.google.cloud.bigquery.storage.v1.FlushRowsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFlushRowsMethod(), responseObserver); } } /** * Base class for the server implementation of the service BigQueryWrite. - * *
    * BigQuery Write API.
    * The Write API can be used to write data to BigQuery.
@@ -517,18 +369,16 @@ default void flushRows(
    * https://cloud.google.com/bigquery/docs/write-api
    * 
*/ - public abstract static class BigQueryWriteImplBase + public static abstract class BigQueryWriteImplBase implements io.grpc.BindableService, AsyncService { - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return BigQueryWriteGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service BigQueryWrite. - * *
    * BigQuery Write API.
    * The Write API can be used to write data to BigQuery.
@@ -538,18 +388,18 @@ public final io.grpc.ServerServiceDefinition bindService() {
    */
   public static final class BigQueryWriteStub
       extends io.grpc.stub.AbstractAsyncStub {
-    private BigQueryWriteStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private BigQueryWriteStub(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
     @java.lang.Override
-    protected BigQueryWriteStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    protected BigQueryWriteStub build(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       return new BigQueryWriteStub(channel, callOptions);
     }
 
     /**
-     *
-     *
      * 
      * Creates a write stream to the given table.
      * Additionally, every table has a special stream named '_default'
@@ -559,19 +409,13 @@ protected BigQueryWriteStub build(io.grpc.Channel channel, io.grpc.CallOptions c
      * soon as an acknowledgement is received.
      * 
*/ - public void createWriteStream( - com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void createWriteStream(com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateWriteStreamMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCreateWriteStreamMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Appends data to the given stream.
      * If `offset` is specified, the `offset` is checked against the end of
@@ -599,53 +443,36 @@ public void createWriteStream(
      * committed via the `BatchCommitWriteStreams` rpc.
      * 
*/ - public io.grpc.stub.StreamObserver - appendRows( - io.grpc.stub.StreamObserver - responseObserver) { + public io.grpc.stub.StreamObserver appendRows( + io.grpc.stub.StreamObserver responseObserver) { return io.grpc.stub.ClientCalls.asyncBidiStreamingCall( getChannel().newCall(getAppendRowsMethod(), getCallOptions()), responseObserver); } /** - * - * *
      * Gets information about a write stream.
      * 
*/ - public void getWriteStream( - com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void getWriteStream(com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetWriteStreamMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getGetWriteStreamMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Finalize a write stream so that no new data can be appended to the
      * stream. Finalize is not supported on the '_default' stream.
      * 
*/ - public void finalizeWriteStream( - com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse> - responseObserver) { + public void finalizeWriteStream(com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getFinalizeWriteStreamMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getFinalizeWriteStreamMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Atomically commits a group of `PENDING` streams that belong to the same
      * `parent` table.
@@ -654,20 +481,13 @@ public void finalizeWriteStream(
      * for read operations.
      * 
*/ - public void batchCommitWriteStreams( - com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse> - responseObserver) { + public void batchCommitWriteStreams(com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchCommitWriteStreamsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getBatchCommitWriteStreamsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Flushes rows to a BUFFERED stream.
      * If users are appending rows to BUFFERED stream, flush operation is
@@ -677,10 +497,8 @@ public void batchCommitWriteStreams(
      * Flush is not supported on the _default stream, since it is not BUFFERED.
      * 
*/ - public void flushRows( - com.google.cloud.bigquery.storage.v1.FlushRowsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void flushRows(com.google.cloud.bigquery.storage.v1.FlushRowsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getFlushRowsMethod(), getCallOptions()), request, responseObserver); } @@ -688,7 +506,6 @@ public void flushRows( /** * A stub to allow clients to do synchronous rpc calls to service BigQueryWrite. - * *
    * BigQuery Write API.
    * The Write API can be used to write data to BigQuery.
@@ -698,7 +515,8 @@ public void flushRows(
    */
   public static final class BigQueryWriteBlockingStub
       extends io.grpc.stub.AbstractBlockingStub {
-    private BigQueryWriteBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private BigQueryWriteBlockingStub(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
@@ -709,8 +527,6 @@ protected BigQueryWriteBlockingStub build(
     }
 
     /**
-     *
-     *
      * 
      * Creates a write stream to the given table.
      * Additionally, every table has a special stream named '_default'
@@ -720,42 +536,33 @@ protected BigQueryWriteBlockingStub build(
      * soon as an acknowledgement is received.
      * 
*/ - public com.google.cloud.bigquery.storage.v1.WriteStream createWriteStream( - com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest request) { + public com.google.cloud.bigquery.storage.v1.WriteStream createWriteStream(com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateWriteStreamMethod(), getCallOptions(), request); } /** - * - * *
      * Gets information about a write stream.
      * 
*/ - public com.google.cloud.bigquery.storage.v1.WriteStream getWriteStream( - com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest request) { + public com.google.cloud.bigquery.storage.v1.WriteStream getWriteStream(com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetWriteStreamMethod(), getCallOptions(), request); } /** - * - * *
      * Finalize a write stream so that no new data can be appended to the
      * stream. Finalize is not supported on the '_default' stream.
      * 
*/ - public com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse finalizeWriteStream( - com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest request) { + public com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse finalizeWriteStream(com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getFinalizeWriteStreamMethod(), getCallOptions(), request); } /** - * - * *
      * Atomically commits a group of `PENDING` streams that belong to the same
      * `parent` table.
@@ -764,16 +571,12 @@ public com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse finalize
      * for read operations.
      * 
*/ - public com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse - batchCommitWriteStreams( - com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest request) { + public com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse batchCommitWriteStreams(com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getBatchCommitWriteStreamsMethod(), getCallOptions(), request); } /** - * - * *
      * Flushes rows to a BUFFERED stream.
      * If users are appending rows to BUFFERED stream, flush operation is
@@ -783,8 +586,7 @@ public com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse finalize
      * Flush is not supported on the _default stream, since it is not BUFFERED.
      * 
*/ - public com.google.cloud.bigquery.storage.v1.FlushRowsResponse flushRows( - com.google.cloud.bigquery.storage.v1.FlushRowsRequest request) { + public com.google.cloud.bigquery.storage.v1.FlushRowsResponse flushRows(com.google.cloud.bigquery.storage.v1.FlushRowsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getFlushRowsMethod(), getCallOptions(), request); } @@ -792,7 +594,6 @@ public com.google.cloud.bigquery.storage.v1.FlushRowsResponse flushRows( /** * A stub to allow clients to do ListenableFuture-style rpc calls to service BigQueryWrite. - * *
    * BigQuery Write API.
    * The Write API can be used to write data to BigQuery.
@@ -802,7 +603,8 @@ public com.google.cloud.bigquery.storage.v1.FlushRowsResponse flushRows(
    */
   public static final class BigQueryWriteFutureStub
       extends io.grpc.stub.AbstractFutureStub {
-    private BigQueryWriteFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private BigQueryWriteFutureStub(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
@@ -813,8 +615,6 @@ protected BigQueryWriteFutureStub build(
     }
 
     /**
-     *
-     *
      * 
      * Creates a write stream to the given table.
      * Additionally, every table has a special stream named '_default'
@@ -824,46 +624,36 @@ protected BigQueryWriteFutureStub build(
      * soon as an acknowledgement is received.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.bigquery.storage.v1.WriteStream> - createWriteStream(com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest request) { + public com.google.common.util.concurrent.ListenableFuture createWriteStream( + com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateWriteStreamMethod(), getCallOptions()), request); } /** - * - * *
      * Gets information about a write stream.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.bigquery.storage.v1.WriteStream> - getWriteStream(com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest request) { + public com.google.common.util.concurrent.ListenableFuture getWriteStream( + com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetWriteStreamMethod(), getCallOptions()), request); } /** - * - * *
      * Finalize a write stream so that no new data can be appended to the
      * stream. Finalize is not supported on the '_default' stream.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse> - finalizeWriteStream( - com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest request) { + public com.google.common.util.concurrent.ListenableFuture finalizeWriteStream( + com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getFinalizeWriteStreamMethod(), getCallOptions()), request); } /** - * - * *
      * Atomically commits a group of `PENDING` streams that belong to the same
      * `parent` table.
@@ -872,17 +662,13 @@ protected BigQueryWriteFutureStub build(
      * for read operations.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse> - batchCommitWriteStreams( - com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest request) { + public com.google.common.util.concurrent.ListenableFuture batchCommitWriteStreams( + com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getBatchCommitWriteStreamsMethod(), getCallOptions()), request); } /** - * - * *
      * Flushes rows to a BUFFERED stream.
      * If users are appending rows to BUFFERED stream, flush operation is
@@ -892,9 +678,8 @@ protected BigQueryWriteFutureStub build(
      * 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.v1.FlushRowsResponse> - flushRows(com.google.cloud.bigquery.storage.v1.FlushRowsRequest request) { + public com.google.common.util.concurrent.ListenableFuture flushRows( + com.google.cloud.bigquery.storage.v1.FlushRowsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getFlushRowsMethod(), getCallOptions()), request); } @@ -907,11 +692,11 @@ protected BigQueryWriteFutureStub build( 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 static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { private final AsyncService serviceImpl; private final int methodId; @@ -925,36 +710,24 @@ private static final class MethodHandlers public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_CREATE_WRITE_STREAM: - serviceImpl.createWriteStream( - (com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.createWriteStream((com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_WRITE_STREAM: - serviceImpl.getWriteStream( - (com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.getWriteStream((com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_FINALIZE_WRITE_STREAM: - serviceImpl.finalizeWriteStream( - (com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse>) - responseObserver); + serviceImpl.finalizeWriteStream((com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_BATCH_COMMIT_WRITE_STREAMS: - serviceImpl.batchCommitWriteStreams( - (com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse>) - responseObserver); + serviceImpl.batchCommitWriteStreams((com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_FLUSH_ROWS: - serviceImpl.flushRows( - (com.google.cloud.bigquery.storage.v1.FlushRowsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.flushRows((com.google.cloud.bigquery.storage.v1.FlushRowsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; default: throw new AssertionError(); @@ -967,11 +740,8 @@ 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.v1.AppendRowsResponse>) - responseObserver); + return (io.grpc.stub.StreamObserver) serviceImpl.appendRows( + (io.grpc.stub.StreamObserver) responseObserver); default: throw new AssertionError(); } @@ -981,53 +751,52 @@ public io.grpc.stub.StreamObserver invoke( public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getCreateWriteStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest, - com.google.cloud.bigquery.storage.v1.WriteStream>( - service, METHODID_CREATE_WRITE_STREAM))) + getCreateWriteStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest, + com.google.cloud.bigquery.storage.v1.WriteStream>( + service, METHODID_CREATE_WRITE_STREAM))) .addMethod( - getAppendRowsMethod(), - io.grpc.stub.ServerCalls.asyncBidiStreamingCall( - new MethodHandlers< - com.google.cloud.bigquery.storage.v1.AppendRowsRequest, - com.google.cloud.bigquery.storage.v1.AppendRowsResponse>( - service, METHODID_APPEND_ROWS))) + getAppendRowsMethod(), + io.grpc.stub.ServerCalls.asyncBidiStreamingCall( + new MethodHandlers< + com.google.cloud.bigquery.storage.v1.AppendRowsRequest, + com.google.cloud.bigquery.storage.v1.AppendRowsResponse>( + service, METHODID_APPEND_ROWS))) .addMethod( - getGetWriteStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest, - com.google.cloud.bigquery.storage.v1.WriteStream>( - service, METHODID_GET_WRITE_STREAM))) + getGetWriteStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest, + com.google.cloud.bigquery.storage.v1.WriteStream>( + service, METHODID_GET_WRITE_STREAM))) .addMethod( - getFinalizeWriteStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest, - com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse>( - service, METHODID_FINALIZE_WRITE_STREAM))) + getFinalizeWriteStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest, + com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse>( + service, METHODID_FINALIZE_WRITE_STREAM))) .addMethod( - getBatchCommitWriteStreamsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest, - com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse>( - service, METHODID_BATCH_COMMIT_WRITE_STREAMS))) + getBatchCommitWriteStreamsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest, + com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse>( + service, METHODID_BATCH_COMMIT_WRITE_STREAMS))) .addMethod( - getFlushRowsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.storage.v1.FlushRowsRequest, - com.google.cloud.bigquery.storage.v1.FlushRowsResponse>( - service, METHODID_FLUSH_ROWS))) + getFlushRowsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.storage.v1.FlushRowsRequest, + com.google.cloud.bigquery.storage.v1.FlushRowsResponse>( + service, METHODID_FLUSH_ROWS))) .build(); } - private abstract static class BigQueryWriteBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private static abstract class BigQueryWriteBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { BigQueryWriteBaseDescriptorSupplier() {} @java.lang.Override @@ -1069,17 +838,15 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (BigQueryWriteGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new BigQueryWriteFileDescriptorSupplier()) - .addMethod(getCreateWriteStreamMethod()) - .addMethod(getAppendRowsMethod()) - .addMethod(getGetWriteStreamMethod()) - .addMethod(getFinalizeWriteStreamMethod()) - .addMethod(getBatchCommitWriteStreamsMethod()) - .addMethod(getFlushRowsMethod()) - .build(); + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new BigQueryWriteFileDescriptorSupplier()) + .addMethod(getCreateWriteStreamMethod()) + .addMethod(getAppendRowsMethod()) + .addMethod(getGetWriteStreamMethod()) + .addMethod(getFinalizeWriteStreamMethod()) + .addMethod(getBatchCommitWriteStreamsMethod()) + .addMethod(getFlushRowsMethod()) + .build(); } } } diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AnnotationsProto.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AnnotationsProto.java new file mode 100644 index 0000000000..60291b55fd --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AnnotationsProto.java @@ -0,0 +1,75 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1/annotations.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.bigquery.storage.v1; + +public final class AnnotationsProto { + private AnnotationsProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + registry.add(com.google.cloud.bigquery.storage.v1.AnnotationsProto.columnName); + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public static final int COLUMN_NAME_FIELD_NUMBER = 454943157; + /** + *
+   * Setting the column_name extension allows users to reference
+   * bigquery column independently of the field name in the protocol buffer
+   * message.
+   *
+   * The intended use of this annotation is to reference a destination column
+   * named using characters unavailable for protobuf field names (e.g. unicode
+   * characters).
+   *
+   * More details about BigQuery naming limitations can be found here:
+   * https://cloud.google.com/bigquery/docs/schemas#column_names
+   *
+   * This extension is currently experimental.
+   * 
+ * + * extend .google.protobuf.FieldOptions { ... } + */ + public static final + com.google.protobuf.GeneratedMessage.GeneratedExtension< + com.google.protobuf.DescriptorProtos.FieldOptions, + java.lang.String> columnName = com.google.protobuf.GeneratedMessage + .newFileScopedGeneratedExtension( + java.lang.String.class, + null); + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n2google/cloud/bigquery/storage/v1/annot" + + "ations.proto\022 google.cloud.bigquery.stor" + + "age.v1\032 google/protobuf/descriptor.proto" + + ":9\n\013column_name\022\035.google.protobuf.FieldO" + + "ptions\030\265\303\367\330\001 \001(\t\210\001\001B\300\001\n$com.google.cloud" + + ".bigquery.storage.v1B\020AnnotationsProtoP\001" + + "Z>cloud.google.com/go/bigquery/storage/a" + + "piv1/storagepb;storagepb\252\002 Google.Cloud." + + "BigQuery.Storage.V1\312\002 Google\\Cloud\\BigQu" + + "ery\\Storage\\V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.protobuf.DescriptorProtos.getDescriptor(), + }); + columnName.internalInit(descriptor.getExtensions().get(0)); + com.google.protobuf.DescriptorProtos.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AppendRowsRequest.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AppendRowsRequest.java similarity index 72% rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AppendRowsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AppendRowsRequest.java index 6ec0a68a79..e6af30af8b 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AppendRowsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AppendRowsRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 @@ -20,8 +5,6 @@ package com.google.cloud.bigquery.storage.v1; /** - * - * *
  * Request message for `AppendRows`.
  *
@@ -36,16 +19,15 @@
  *
  * Protobuf type {@code google.cloud.bigquery.storage.v1.AppendRowsRequest}
  */
-public final class AppendRowsRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AppendRowsRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.AppendRowsRequest)
     AppendRowsRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AppendRowsRequest.newBuilder() to construct.
   private AppendRowsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AppendRowsRequest() {
     writeStream_ = "";
     traceId_ = "";
@@ -54,13 +36,14 @@ private AppendRowsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AppendRowsRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.bigquery.storage.v1.StorageProto
-        .internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
@@ -71,36 +54,30 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
       case 7:
         return internalGetMissingValueInterpretations();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.storage.v1.StorageProto
-        .internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_fieldAccessorTable
+    return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.storage.v1.AppendRowsRequest.class,
-            com.google.cloud.bigquery.storage.v1.AppendRowsRequest.Builder.class);
+            com.google.cloud.bigquery.storage.v1.AppendRowsRequest.class, com.google.cloud.bigquery.storage.v1.AppendRowsRequest.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * An enum to indicate how to interpret missing values of fields that are
    * present in user schema but missing in rows. A missing value can represent a
    * NULL or a column default value defined in BigQuery table schema.
    * 
* - * Protobuf enum {@code - * google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation} + * Protobuf enum {@code google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation} */ - public enum MissingValueInterpretation implements com.google.protobuf.ProtocolMessageEnum { + public enum MissingValueInterpretation + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Invalid missing value interpretation. Requests with this value will be
      * rejected.
@@ -110,8 +87,6 @@ public enum MissingValueInterpretation implements com.google.protobuf.ProtocolMe
      */
     MISSING_VALUE_INTERPRETATION_UNSPECIFIED(0),
     /**
-     *
-     *
      * 
      * Missing value is interpreted as NULL.
      * 
@@ -120,8 +95,6 @@ public enum MissingValueInterpretation implements com.google.protobuf.ProtocolMe */ NULL_VALUE(1), /** - * - * *
      * Missing value is interpreted as column default value if declared in the
      * table schema, NULL otherwise.
@@ -134,8 +107,6 @@ public enum MissingValueInterpretation implements com.google.protobuf.ProtocolMe
     ;
 
     /**
-     *
-     *
      * 
      * Invalid missing value interpretation. Requests with this value will be
      * rejected.
@@ -145,8 +116,6 @@ public enum MissingValueInterpretation implements com.google.protobuf.ProtocolMe
      */
     public static final int MISSING_VALUE_INTERPRETATION_UNSPECIFIED_VALUE = 0;
     /**
-     *
-     *
      * 
      * Missing value is interpreted as NULL.
      * 
@@ -155,8 +124,6 @@ public enum MissingValueInterpretation implements com.google.protobuf.ProtocolMe */ public static final int NULL_VALUE_VALUE = 1; /** - * - * *
      * Missing value is interpreted as column default value if declared in the
      * table schema, NULL otherwise.
@@ -166,6 +133,7 @@ public enum MissingValueInterpretation implements com.google.protobuf.ProtocolMe
      */
     public static final int DEFAULT_VALUE_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -190,14 +158,10 @@ public static MissingValueInterpretation valueOf(int value) {
      */
     public static MissingValueInterpretation forNumber(int value) {
       switch (value) {
-        case 0:
-          return MISSING_VALUE_INTERPRETATION_UNSPECIFIED;
-        case 1:
-          return NULL_VALUE;
-        case 2:
-          return DEFAULT_VALUE;
-        default:
-          return null;
+        case 0: return MISSING_VALUE_INTERPRETATION_UNSPECIFIED;
+        case 1: return NULL_VALUE;
+        case 2: return DEFAULT_VALUE;
+        default: return null;
       }
     }
 
@@ -205,31 +169,29 @@ public static MissingValueInterpretation forNumber(int value) {
         internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        MissingValueInterpretation> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public MissingValueInterpretation findValueByNumber(int number) {
+              return MissingValueInterpretation.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap
-        internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public MissingValueInterpretation findValueByNumber(int number) {
-                return MissingValueInterpretation.forNumber(number);
-              }
-            };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.cloud.bigquery.storage.v1.AppendRowsRequest.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.cloud.bigquery.storage.v1.AppendRowsRequest.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final MissingValueInterpretation[] VALUES = values();
@@ -237,7 +199,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
     public static MissingValueInterpretation valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -254,14 +217,11 @@ private MissingValueInterpretation(int value) {
     // @@protoc_insertion_point(enum_scope:google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation)
   }
 
-  public interface ProtoDataOrBuilder
-      extends
+  public interface ProtoDataOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The protocol buffer schema used to serialize the data. Provide this value
      * whenever:
@@ -274,13 +234,10 @@ public interface ProtoDataOrBuilder
      * 
* * .google.cloud.bigquery.storage.v1.ProtoSchema writer_schema = 1; - * * @return Whether the writerSchema field is set. */ boolean hasWriterSchema(); /** - * - * *
      * The protocol buffer schema used to serialize the data. Provide this value
      * whenever:
@@ -293,13 +250,10 @@ public interface ProtoDataOrBuilder
      * 
* * .google.cloud.bigquery.storage.v1.ProtoSchema writer_schema = 1; - * * @return The writerSchema. */ com.google.cloud.bigquery.storage.v1.ProtoSchema getWriterSchema(); /** - * - * *
      * The protocol buffer schema used to serialize the data. Provide this value
      * whenever:
@@ -316,8 +270,6 @@ public interface ProtoDataOrBuilder
     com.google.cloud.bigquery.storage.v1.ProtoSchemaOrBuilder getWriterSchemaOrBuilder();
 
     /**
-     *
-     *
      * 
      * Serialized row data in protobuf message format.
      * Currently, the backend expects the serialized rows to adhere to
@@ -326,13 +278,10 @@ public interface ProtoDataOrBuilder
      * 
* * .google.cloud.bigquery.storage.v1.ProtoRows rows = 2; - * * @return Whether the rows field is set. */ boolean hasRows(); /** - * - * *
      * Serialized row data in protobuf message format.
      * Currently, the backend expects the serialized rows to adhere to
@@ -341,13 +290,10 @@ public interface ProtoDataOrBuilder
      * 
* * .google.cloud.bigquery.storage.v1.ProtoRows rows = 2; - * * @return The rows. */ com.google.cloud.bigquery.storage.v1.ProtoRows getRows(); /** - * - * *
      * Serialized row data in protobuf message format.
      * Currently, the backend expects the serialized rows to adhere to
@@ -360,8 +306,6 @@ public interface ProtoDataOrBuilder
     com.google.cloud.bigquery.storage.v1.ProtoRowsOrBuilder getRowsOrBuilder();
   }
   /**
-   *
-   *
    * 
    * ProtoData contains the data rows and schema when constructing append
    * requests.
@@ -369,45 +313,42 @@ public interface ProtoDataOrBuilder
    *
    * Protobuf type {@code google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData}
    */
-  public static final class ProtoData extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class ProtoData extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData)
       ProtoDataOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use ProtoData.newBuilder() to construct.
     private ProtoData(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private ProtoData() {}
+    private ProtoData() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new ProtoData();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.bigquery.storage.v1.StorageProto
-          .internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_ProtoData_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_ProtoData_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.storage.v1.StorageProto
-          .internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_ProtoData_fieldAccessorTable
+      return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_ProtoData_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.class,
-              com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.Builder.class);
+              com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.class, com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.Builder.class);
     }
 
     private int bitField0_;
     public static final int WRITER_SCHEMA_FIELD_NUMBER = 1;
     private com.google.cloud.bigquery.storage.v1.ProtoSchema writerSchema_;
     /**
-     *
-     *
      * 
      * The protocol buffer schema used to serialize the data. Provide this value
      * whenever:
@@ -420,7 +361,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * .google.cloud.bigquery.storage.v1.ProtoSchema writer_schema = 1; - * * @return Whether the writerSchema field is set. */ @java.lang.Override @@ -428,8 +368,6 @@ public boolean hasWriterSchema() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The protocol buffer schema used to serialize the data. Provide this value
      * whenever:
@@ -442,18 +380,13 @@ public boolean hasWriterSchema() {
      * 
* * .google.cloud.bigquery.storage.v1.ProtoSchema writer_schema = 1; - * * @return The writerSchema. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.ProtoSchema getWriterSchema() { - return writerSchema_ == null - ? com.google.cloud.bigquery.storage.v1.ProtoSchema.getDefaultInstance() - : writerSchema_; + return writerSchema_ == null ? com.google.cloud.bigquery.storage.v1.ProtoSchema.getDefaultInstance() : writerSchema_; } /** - * - * *
      * The protocol buffer schema used to serialize the data. Provide this value
      * whenever:
@@ -469,16 +402,12 @@ public com.google.cloud.bigquery.storage.v1.ProtoSchema getWriterSchema() {
      */
     @java.lang.Override
     public com.google.cloud.bigquery.storage.v1.ProtoSchemaOrBuilder getWriterSchemaOrBuilder() {
-      return writerSchema_ == null
-          ? com.google.cloud.bigquery.storage.v1.ProtoSchema.getDefaultInstance()
-          : writerSchema_;
+      return writerSchema_ == null ? com.google.cloud.bigquery.storage.v1.ProtoSchema.getDefaultInstance() : writerSchema_;
     }
 
     public static final int ROWS_FIELD_NUMBER = 2;
     private com.google.cloud.bigquery.storage.v1.ProtoRows rows_;
     /**
-     *
-     *
      * 
      * Serialized row data in protobuf message format.
      * Currently, the backend expects the serialized rows to adhere to
@@ -487,7 +416,6 @@ public com.google.cloud.bigquery.storage.v1.ProtoSchemaOrBuilder getWriterSchema
      * 
* * .google.cloud.bigquery.storage.v1.ProtoRows rows = 2; - * * @return Whether the rows field is set. */ @java.lang.Override @@ -495,8 +423,6 @@ public boolean hasRows() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Serialized row data in protobuf message format.
      * Currently, the backend expects the serialized rows to adhere to
@@ -505,18 +431,13 @@ public boolean hasRows() {
      * 
* * .google.cloud.bigquery.storage.v1.ProtoRows rows = 2; - * * @return The rows. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.ProtoRows getRows() { - return rows_ == null - ? com.google.cloud.bigquery.storage.v1.ProtoRows.getDefaultInstance() - : rows_; + return rows_ == null ? com.google.cloud.bigquery.storage.v1.ProtoRows.getDefaultInstance() : rows_; } /** - * - * *
      * Serialized row data in protobuf message format.
      * Currently, the backend expects the serialized rows to adhere to
@@ -528,13 +449,10 @@ public com.google.cloud.bigquery.storage.v1.ProtoRows getRows() {
      */
     @java.lang.Override
     public com.google.cloud.bigquery.storage.v1.ProtoRowsOrBuilder getRowsOrBuilder() {
-      return rows_ == null
-          ? com.google.cloud.bigquery.storage.v1.ProtoRows.getDefaultInstance()
-          : rows_;
+      return rows_ == null ? com.google.cloud.bigquery.storage.v1.ProtoRows.getDefaultInstance() : rows_;
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -552,7 +470,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 (((bitField0_ & 0x00000001) != 0)) {
         output.writeMessage(1, getWriterSchema());
       }
@@ -569,10 +488,12 @@ public int getSerializedSize() {
 
       size = 0;
       if (((bitField0_ & 0x00000001) != 0)) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getWriterSchema());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, getWriterSchema());
       }
       if (((bitField0_ & 0x00000002) != 0)) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRows());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, getRows());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -582,21 +503,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.AppendRowsRequest.ProtoData)) {
         return super.equals(obj);
       }
-      com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData other =
-          (com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData) obj;
+      com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData other = (com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData) obj;
 
       if (hasWriterSchema() != other.hasWriterSchema()) return false;
       if (hasWriterSchema()) {
-        if (!getWriterSchema().equals(other.getWriterSchema())) return false;
+        if (!getWriterSchema()
+            .equals(other.getWriterSchema())) return false;
       }
       if (hasRows() != other.hasRows()) return false;
       if (hasRows()) {
-        if (!getRows().equals(other.getRows())) return false;
+        if (!getRows()
+            .equals(other.getRows())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -623,95 +545,89 @@ public int hashCode() {
     }
 
     public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData parseFrom(
-        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
-    public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData
-        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
 
-    public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData
-        parseDelimitedFrom(
-            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+    public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData parseDelimitedFrom(
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData prototype) {
+    public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -721,8 +637,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * ProtoData contains the data rows and schema when constructing append
      * requests.
@@ -730,44 +644,40 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData)
         com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoDataOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.bigquery.storage.v1.StorageProto
-            .internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_ProtoData_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_ProtoData_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.bigquery.storage.v1.StorageProto
-            .internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_ProtoData_fieldAccessorTable
+        return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_ProtoData_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.class,
-                com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.Builder.class);
+                com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.class, com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.Builder.class);
       }
 
-      // Construct using
-      // com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.newBuilder()
+      // Construct using com.google.cloud.bigquery.storage.v1.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) {
           getWriterSchemaFieldBuilder();
           getRowsFieldBuilder();
         }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -786,16 +696,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_AppendRowsRequest_ProtoData_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_ProtoData_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData
-          getDefaultInstanceForType() {
-        return com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData
-            .getDefaultInstance();
+      public com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData getDefaultInstanceForType() {
+        return com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.getDefaultInstance();
       }
 
       @java.lang.Override
@@ -809,26 +717,25 @@ public com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData build()
 
       @java.lang.Override
       public com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData buildPartial() {
-        com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData result =
-            new com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData result = new com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(
-          com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData result) {
+      private void buildPartial0(com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData result) {
         int from_bitField0_ = bitField0_;
         int to_bitField0_ = 0;
         if (((from_bitField0_ & 0x00000001) != 0)) {
-          result.writerSchema_ =
-              writerSchemaBuilder_ == null ? writerSchema_ : writerSchemaBuilder_.build();
+          result.writerSchema_ = writerSchemaBuilder_ == null
+              ? writerSchema_
+              : writerSchemaBuilder_.build();
           to_bitField0_ |= 0x00000001;
         }
         if (((from_bitField0_ & 0x00000002) != 0)) {
-          result.rows_ = rowsBuilder_ == null ? rows_ : rowsBuilder_.build();
+          result.rows_ = rowsBuilder_ == null
+              ? rows_
+              : rowsBuilder_.build();
           to_bitField0_ |= 0x00000002;
         }
         result.bitField0_ |= to_bitField0_;
@@ -838,53 +745,46 @@ private void buildPartial0(
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData) {
-          return mergeFrom(
-              (com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData) other);
+          return mergeFrom((com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData other) {
-        if (other
-            == com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData other) {
+        if (other == com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.getDefaultInstance()) return this;
         if (other.hasWriterSchema()) {
           mergeWriterSchema(other.getWriterSchema());
         }
@@ -922,25 +822,26 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  input.readMessage(getWriterSchemaFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              case 18:
-                {
-                  input.readMessage(getRowsFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000002;
-                  break;
-                } // case 18
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                input.readMessage(
+                    getWriterSchemaFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              case 18: {
+                input.readMessage(
+                    getRowsFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -950,18 +851,12 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private com.google.cloud.bigquery.storage.v1.ProtoSchema writerSchema_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.bigquery.storage.v1.ProtoSchema,
-              com.google.cloud.bigquery.storage.v1.ProtoSchema.Builder,
-              com.google.cloud.bigquery.storage.v1.ProtoSchemaOrBuilder>
-          writerSchemaBuilder_;
+          com.google.cloud.bigquery.storage.v1.ProtoSchema, com.google.cloud.bigquery.storage.v1.ProtoSchema.Builder, com.google.cloud.bigquery.storage.v1.ProtoSchemaOrBuilder> writerSchemaBuilder_;
       /**
-       *
-       *
        * 
        * The protocol buffer schema used to serialize the data. Provide this value
        * whenever:
@@ -974,15 +869,12 @@ public Builder mergeFrom(
        * 
* * .google.cloud.bigquery.storage.v1.ProtoSchema writer_schema = 1; - * * @return Whether the writerSchema field is set. */ public boolean hasWriterSchema() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * The protocol buffer schema used to serialize the data. Provide this value
        * whenever:
@@ -995,21 +887,16 @@ public boolean hasWriterSchema() {
        * 
* * .google.cloud.bigquery.storage.v1.ProtoSchema writer_schema = 1; - * * @return The writerSchema. */ public com.google.cloud.bigquery.storage.v1.ProtoSchema getWriterSchema() { if (writerSchemaBuilder_ == null) { - return writerSchema_ == null - ? com.google.cloud.bigquery.storage.v1.ProtoSchema.getDefaultInstance() - : writerSchema_; + return writerSchema_ == null ? com.google.cloud.bigquery.storage.v1.ProtoSchema.getDefaultInstance() : writerSchema_; } else { return writerSchemaBuilder_.getMessage(); } } /** - * - * *
        * The protocol buffer schema used to serialize the data. Provide this value
        * whenever:
@@ -1037,8 +924,6 @@ public Builder setWriterSchema(com.google.cloud.bigquery.storage.v1.ProtoSchema
         return this;
       }
       /**
-       *
-       *
        * 
        * The protocol buffer schema used to serialize the data. Provide this value
        * whenever:
@@ -1064,8 +949,6 @@ public Builder setWriterSchema(
         return this;
       }
       /**
-       *
-       *
        * 
        * The protocol buffer schema used to serialize the data. Provide this value
        * whenever:
@@ -1081,10 +964,9 @@ public Builder setWriterSchema(
        */
       public Builder mergeWriterSchema(com.google.cloud.bigquery.storage.v1.ProtoSchema value) {
         if (writerSchemaBuilder_ == null) {
-          if (((bitField0_ & 0x00000001) != 0)
-              && writerSchema_ != null
-              && writerSchema_
-                  != com.google.cloud.bigquery.storage.v1.ProtoSchema.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000001) != 0) &&
+            writerSchema_ != null &&
+            writerSchema_ != com.google.cloud.bigquery.storage.v1.ProtoSchema.getDefaultInstance()) {
             getWriterSchemaBuilder().mergeFrom(value);
           } else {
             writerSchema_ = value;
@@ -1099,8 +981,6 @@ public Builder mergeWriterSchema(com.google.cloud.bigquery.storage.v1.ProtoSchem
         return this;
       }
       /**
-       *
-       *
        * 
        * The protocol buffer schema used to serialize the data. Provide this value
        * whenever:
@@ -1125,8 +1005,6 @@ public Builder clearWriterSchema() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The protocol buffer schema used to serialize the data. Provide this value
        * whenever:
@@ -1146,8 +1024,6 @@ public com.google.cloud.bigquery.storage.v1.ProtoSchema.Builder getWriterSchemaB
         return getWriterSchemaFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * The protocol buffer schema used to serialize the data. Provide this value
        * whenever:
@@ -1165,14 +1041,11 @@ public com.google.cloud.bigquery.storage.v1.ProtoSchemaOrBuilder getWriterSchema
         if (writerSchemaBuilder_ != null) {
           return writerSchemaBuilder_.getMessageOrBuilder();
         } else {
-          return writerSchema_ == null
-              ? com.google.cloud.bigquery.storage.v1.ProtoSchema.getDefaultInstance()
-              : writerSchema_;
+          return writerSchema_ == null ?
+              com.google.cloud.bigquery.storage.v1.ProtoSchema.getDefaultInstance() : writerSchema_;
         }
       }
       /**
-       *
-       *
        * 
        * The protocol buffer schema used to serialize the data. Provide this value
        * whenever:
@@ -1187,17 +1060,14 @@ public com.google.cloud.bigquery.storage.v1.ProtoSchemaOrBuilder getWriterSchema
        * .google.cloud.bigquery.storage.v1.ProtoSchema writer_schema = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.bigquery.storage.v1.ProtoSchema,
-              com.google.cloud.bigquery.storage.v1.ProtoSchema.Builder,
-              com.google.cloud.bigquery.storage.v1.ProtoSchemaOrBuilder>
+          com.google.cloud.bigquery.storage.v1.ProtoSchema, com.google.cloud.bigquery.storage.v1.ProtoSchema.Builder, com.google.cloud.bigquery.storage.v1.ProtoSchemaOrBuilder> 
           getWriterSchemaFieldBuilder() {
         if (writerSchemaBuilder_ == null) {
-          writerSchemaBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.cloud.bigquery.storage.v1.ProtoSchema,
-                  com.google.cloud.bigquery.storage.v1.ProtoSchema.Builder,
-                  com.google.cloud.bigquery.storage.v1.ProtoSchemaOrBuilder>(
-                  getWriterSchema(), getParentForChildren(), isClean());
+          writerSchemaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.cloud.bigquery.storage.v1.ProtoSchema, com.google.cloud.bigquery.storage.v1.ProtoSchema.Builder, com.google.cloud.bigquery.storage.v1.ProtoSchemaOrBuilder>(
+                  getWriterSchema(),
+                  getParentForChildren(),
+                  isClean());
           writerSchema_ = null;
         }
         return writerSchemaBuilder_;
@@ -1205,13 +1075,8 @@ public com.google.cloud.bigquery.storage.v1.ProtoSchemaOrBuilder getWriterSchema
 
       private com.google.cloud.bigquery.storage.v1.ProtoRows rows_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.bigquery.storage.v1.ProtoRows,
-              com.google.cloud.bigquery.storage.v1.ProtoRows.Builder,
-              com.google.cloud.bigquery.storage.v1.ProtoRowsOrBuilder>
-          rowsBuilder_;
+          com.google.cloud.bigquery.storage.v1.ProtoRows, com.google.cloud.bigquery.storage.v1.ProtoRows.Builder, com.google.cloud.bigquery.storage.v1.ProtoRowsOrBuilder> rowsBuilder_;
       /**
-       *
-       *
        * 
        * Serialized row data in protobuf message format.
        * Currently, the backend expects the serialized rows to adhere to
@@ -1220,15 +1085,12 @@ public com.google.cloud.bigquery.storage.v1.ProtoSchemaOrBuilder getWriterSchema
        * 
* * .google.cloud.bigquery.storage.v1.ProtoRows rows = 2; - * * @return Whether the rows field is set. */ public boolean hasRows() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * Serialized row data in protobuf message format.
        * Currently, the backend expects the serialized rows to adhere to
@@ -1237,21 +1099,16 @@ public boolean hasRows() {
        * 
* * .google.cloud.bigquery.storage.v1.ProtoRows rows = 2; - * * @return The rows. */ public com.google.cloud.bigquery.storage.v1.ProtoRows getRows() { if (rowsBuilder_ == null) { - return rows_ == null - ? com.google.cloud.bigquery.storage.v1.ProtoRows.getDefaultInstance() - : rows_; + return rows_ == null ? com.google.cloud.bigquery.storage.v1.ProtoRows.getDefaultInstance() : rows_; } else { return rowsBuilder_.getMessage(); } } /** - * - * *
        * Serialized row data in protobuf message format.
        * Currently, the backend expects the serialized rows to adhere to
@@ -1275,8 +1132,6 @@ public Builder setRows(com.google.cloud.bigquery.storage.v1.ProtoRows value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Serialized row data in protobuf message format.
        * Currently, the backend expects the serialized rows to adhere to
@@ -1298,8 +1153,6 @@ public Builder setRows(
         return this;
       }
       /**
-       *
-       *
        * 
        * Serialized row data in protobuf message format.
        * Currently, the backend expects the serialized rows to adhere to
@@ -1311,9 +1164,9 @@ public Builder setRows(
        */
       public Builder mergeRows(com.google.cloud.bigquery.storage.v1.ProtoRows value) {
         if (rowsBuilder_ == null) {
-          if (((bitField0_ & 0x00000002) != 0)
-              && rows_ != null
-              && rows_ != com.google.cloud.bigquery.storage.v1.ProtoRows.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000002) != 0) &&
+            rows_ != null &&
+            rows_ != com.google.cloud.bigquery.storage.v1.ProtoRows.getDefaultInstance()) {
             getRowsBuilder().mergeFrom(value);
           } else {
             rows_ = value;
@@ -1328,8 +1181,6 @@ public Builder mergeRows(com.google.cloud.bigquery.storage.v1.ProtoRows value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Serialized row data in protobuf message format.
        * Currently, the backend expects the serialized rows to adhere to
@@ -1350,8 +1201,6 @@ public Builder clearRows() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Serialized row data in protobuf message format.
        * Currently, the backend expects the serialized rows to adhere to
@@ -1367,8 +1216,6 @@ public com.google.cloud.bigquery.storage.v1.ProtoRows.Builder getRowsBuilder() {
         return getRowsFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Serialized row data in protobuf message format.
        * Currently, the backend expects the serialized rows to adhere to
@@ -1382,14 +1229,11 @@ public com.google.cloud.bigquery.storage.v1.ProtoRowsOrBuilder getRowsOrBuilder(
         if (rowsBuilder_ != null) {
           return rowsBuilder_.getMessageOrBuilder();
         } else {
-          return rows_ == null
-              ? com.google.cloud.bigquery.storage.v1.ProtoRows.getDefaultInstance()
-              : rows_;
+          return rows_ == null ?
+              com.google.cloud.bigquery.storage.v1.ProtoRows.getDefaultInstance() : rows_;
         }
       }
       /**
-       *
-       *
        * 
        * Serialized row data in protobuf message format.
        * Currently, the backend expects the serialized rows to adhere to
@@ -1400,22 +1244,18 @@ public com.google.cloud.bigquery.storage.v1.ProtoRowsOrBuilder getRowsOrBuilder(
        * .google.cloud.bigquery.storage.v1.ProtoRows rows = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.bigquery.storage.v1.ProtoRows,
-              com.google.cloud.bigquery.storage.v1.ProtoRows.Builder,
-              com.google.cloud.bigquery.storage.v1.ProtoRowsOrBuilder>
+          com.google.cloud.bigquery.storage.v1.ProtoRows, com.google.cloud.bigquery.storage.v1.ProtoRows.Builder, com.google.cloud.bigquery.storage.v1.ProtoRowsOrBuilder> 
           getRowsFieldBuilder() {
         if (rowsBuilder_ == null) {
-          rowsBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.cloud.bigquery.storage.v1.ProtoRows,
-                  com.google.cloud.bigquery.storage.v1.ProtoRows.Builder,
-                  com.google.cloud.bigquery.storage.v1.ProtoRowsOrBuilder>(
-                  getRows(), getParentForChildren(), isClean());
+          rowsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.cloud.bigquery.storage.v1.ProtoRows, com.google.cloud.bigquery.storage.v1.ProtoRows.Builder, com.google.cloud.bigquery.storage.v1.ProtoRowsOrBuilder>(
+                  getRows(),
+                  getParentForChildren(),
+                  isClean());
           rows_ = null;
         }
         return rowsBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1428,44 +1268,41 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData)
-    private static final com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData
-        DEFAULT_INSTANCE;
-
+    private static final com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData DEFAULT_INSTANCE;
     static {
       DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData();
     }
 
-    public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData
-        getDefaultInstance() {
+    public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public ProtoData parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public ProtoData parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1477,26 +1314,22 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData
-        getDefaultInstanceForType() {
+    public com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   private int bitField0_;
   private int rowsCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object rows_;
-
   public enum RowsCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     PROTO_ROWS(4),
     ROWS_NOT_SET(0);
     private final int value;
-
     private RowsCase(int value) {
       this.value = value;
     }
@@ -1512,31 +1345,26 @@ public static RowsCase valueOf(int value) {
 
     public static RowsCase forNumber(int value) {
       switch (value) {
-        case 4:
-          return PROTO_ROWS;
-        case 0:
-          return ROWS_NOT_SET;
-        default:
-          return null;
+        case 4: return PROTO_ROWS;
+        case 0: return ROWS_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public RowsCase getRowsCase() {
-    return RowsCase.forNumber(rowsCase_);
+  public RowsCase
+  getRowsCase() {
+    return RowsCase.forNumber(
+        rowsCase_);
   }
 
   public static final int WRITE_STREAM_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object writeStream_ = "";
   /**
-   *
-   *
    * 
    * Required. The write_stream identifies the append operation. It must be
    * provided in the following scenarios:
@@ -1572,10 +1400,7 @@ public RowsCase getRowsCase() {
    * populated in all subsequent requests in this stream.
    * 
* - * - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The writeStream. */ @java.lang.Override @@ -1584,15 +1409,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 write_stream identifies the append operation. It must be
    * provided in the following scenarios:
@@ -1628,18 +1452,17 @@ public java.lang.String getWriteStream() {
    * populated in all subsequent requests in this stream.
    * 
* - * - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for writeStream. */ @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 { @@ -1650,8 +1473,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
@@ -1660,7 +1481,6 @@ public com.google.protobuf.ByteString getWriteStreamBytes() {
    * 
* * .google.protobuf.Int64Value offset = 2; - * * @return Whether the offset field is set. */ @java.lang.Override @@ -1668,8 +1488,6 @@ public boolean hasOffset() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * If present, the write is only performed if the next append offset is same
    * as the provided value. If not present, the write is performed at the
@@ -1678,7 +1496,6 @@ public boolean hasOffset() {
    * 
* * .google.protobuf.Int64Value offset = 2; - * * @return The offset. */ @java.lang.Override @@ -1686,8 +1503,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
@@ -1704,14 +1519,11 @@ public com.google.protobuf.Int64ValueOrBuilder getOffsetOrBuilder() {
 
   public static final int PROTO_ROWS_FIELD_NUMBER = 4;
   /**
-   *
-   *
    * 
    * Rows in proto format.
    * 
* * .google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData proto_rows = 4; - * * @return Whether the protoRows field is set. */ @java.lang.Override @@ -1719,26 +1531,21 @@ public boolean hasProtoRows() { return rowsCase_ == 4; } /** - * - * *
    * Rows in proto format.
    * 
* * .google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData proto_rows = 4; - * * @return The protoRows. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData getProtoRows() { if (rowsCase_ == 4) { - return (com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData) rows_; + return (com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData) rows_; } return com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.getDefaultInstance(); } /** - * - * *
    * Rows in proto format.
    * 
@@ -1746,28 +1553,23 @@ public com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData getProto * .google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData proto_rows = 4; */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoDataOrBuilder - getProtoRowsOrBuilder() { + public com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoDataOrBuilder getProtoRowsOrBuilder() { if (rowsCase_ == 4) { - return (com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData) rows_; + return (com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData) rows_; } return com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.getDefaultInstance(); } public static final int TRACE_ID_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object traceId_ = ""; /** - * - * *
    * Id set by client to annotate its identity. Only initial request setting is
    * respected.
    * 
* * string trace_id = 6; - * * @return The traceId. */ @java.lang.Override @@ -1776,30 +1578,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 { @@ -1808,60 +1610,45 @@ public com.google.protobuf.ByteString getTraceIdBytes() { } public static final int MISSING_VALUE_INTERPRETATIONS_FIELD_NUMBER = 7; - private static final class MissingValueInterpretationsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_MissingValueInterpretationsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.ENUM, - com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation - .MISSING_VALUE_INTERPRETATION_UNSPECIFIED - .getNumber()); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.Integer> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_MissingValueInterpretationsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.ENUM, + com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation.MISSING_VALUE_INTERPRETATION_UNSPECIFIED.getNumber()); } - @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, java.lang.Integer> missingValueInterpretations_; private com.google.protobuf.MapField - missingValueInterpretations_; - - private com.google.protobuf.MapField - internalGetMissingValueInterpretations() { + internalGetMissingValueInterpretations() { if (missingValueInterpretations_ == null) { return com.google.protobuf.MapField.emptyMapField( MissingValueInterpretationsDefaultEntryHolder.defaultEntry); } return missingValueInterpretations_; } - - private static final com.google.protobuf.Internal.MapAdapter.Converter< - java.lang.Integer, - com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> - missingValueInterpretationsValueConverter = + private static final + com.google.protobuf.Internal.MapAdapter.Converter< + java.lang.Integer, com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missingValueInterpretationsValueConverter = com.google.protobuf.Internal.MapAdapter.newEnumConverter( - com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation - .internalGetValueMap(), - com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation - .UNRECOGNIZED); - - private static final java.util.Map< - java.lang.String, - com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> - internalGetAdaptedMissingValueInterpretationsMap( - java.util.Map map) { + com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation.internalGetValueMap(), + com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation.UNRECOGNIZED); + private static final java.util.Map + internalGetAdaptedMissingValueInterpretationsMap( + java.util.Map map) { return new com.google.protobuf.Internal.MapAdapter< - java.lang.String, - com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation, - java.lang.Integer>(map, missingValueInterpretationsValueConverter); + java.lang.String, com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation, java.lang.Integer>( + map, missingValueInterpretationsValueConverter); } - public int getMissingValueInterpretationsCount() { return internalGetMissingValueInterpretations().getMap().size(); } /** - * - * *
    * A map to indicate how to interpret missing value for some fields. Missing
    * values are fields present in user schema but missing in rows. The key is
@@ -1883,29 +1670,24 @@ public int getMissingValueInterpretationsCount() {
    * field path like 'foo.bar'.
    * 
* - * - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; - * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; */ @java.lang.Override - public boolean containsMissingValueInterpretations(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsMissingValueInterpretations( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetMissingValueInterpretations().getMap().containsKey(key); } - /** Use {@link #getMissingValueInterpretationsMap()} instead. */ + /** + * Use {@link #getMissingValueInterpretationsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map< - java.lang.String, - com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> - getMissingValueInterpretations() { + public java.util.Map + getMissingValueInterpretations() { return getMissingValueInterpretationsMap(); } /** - * - * *
    * A map to indicate how to interpret missing value for some fields. Missing
    * values are fields present in user schema but missing in rows. The key is
@@ -1927,21 +1709,14 @@ public boolean containsMissingValueInterpretations(java.lang.String key) {
    * field path like 'foo.bar'.
    * 
* - * - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; - * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; */ @java.lang.Override - public java.util.Map< - java.lang.String, - com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> - getMissingValueInterpretationsMap() { + public java.util.Map + getMissingValueInterpretationsMap() { return internalGetAdaptedMissingValueInterpretationsMap( - internalGetMissingValueInterpretations().getMap()); - } + internalGetMissingValueInterpretations().getMap());} /** - * - * *
    * A map to indicate how to interpret missing value for some fields. Missing
    * values are fields present in user schema but missing in rows. The key is
@@ -1963,30 +1738,22 @@ public boolean containsMissingValueInterpretations(java.lang.String key) {
    * field path like 'foo.bar'.
    * 
* - * - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; - * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; */ @java.lang.Override - public /* nullable */ com.google.cloud.bigquery.storage.v1.AppendRowsRequest - .MissingValueInterpretation - getMissingValueInterpretationsOrDefault( - java.lang.String key, - /* nullable */ - com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation - defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + public /* nullable */ +com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation getMissingValueInterpretationsOrDefault( + java.lang.String key, + /* nullable */ +com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMissingValueInterpretations().getMap(); return map.containsKey(key) - ? missingValueInterpretationsValueConverter.doForward(map.get(key)) - : defaultValue; + ? missingValueInterpretationsValueConverter.doForward(map.get(key)) + : defaultValue; } /** - * - * *
    * A map to indicate how to interpret missing value for some fields. Missing
    * values are fields present in user schema but missing in rows. The key is
@@ -2008,16 +1775,12 @@ public boolean containsMissingValueInterpretations(java.lang.String key) {
    * field path like 'foo.bar'.
    * 
* - * - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; - * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation - getMissingValueInterpretationsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation getMissingValueInterpretationsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMissingValueInterpretations().getMap(); if (!map.containsKey(key)) { @@ -2025,15 +1788,16 @@ public boolean containsMissingValueInterpretations(java.lang.String key) { } return missingValueInterpretationsValueConverter.doForward(map.get(key)); } - /** Use {@link #getMissingValueInterpretationsValueMap()} instead. */ + /** + * Use {@link #getMissingValueInterpretationsValueMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getMissingValueInterpretationsValue() { + public java.util.Map + getMissingValueInterpretationsValue() { return getMissingValueInterpretationsValueMap(); } /** - * - * *
    * A map to indicate how to interpret missing value for some fields. Missing
    * values are fields present in user schema but missing in rows. The key is
@@ -2055,18 +1819,14 @@ public java.util.Map getMissingValueInterpr
    * field path like 'foo.bar'.
    * 
* - * - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; - * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; */ @java.lang.Override public java.util.Map - getMissingValueInterpretationsValueMap() { + getMissingValueInterpretationsValueMap() { return internalGetMissingValueInterpretations().getMap(); } /** - * - * *
    * A map to indicate how to interpret missing value for some fields. Missing
    * values are fields present in user schema but missing in rows. The key is
@@ -2088,22 +1848,18 @@ public java.util.Map getMissingValueInterpr
    * field path like 'foo.bar'.
    * 
* - * - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; - * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; */ @java.lang.Override - public int getMissingValueInterpretationsValueOrDefault(java.lang.String key, int defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + public int getMissingValueInterpretationsValueOrDefault( + java.lang.String key, + int defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMissingValueInterpretations().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * A map to indicate how to interpret missing value for some fields. Missing
    * values are fields present in user schema but missing in rows. The key is
@@ -2125,15 +1881,12 @@ public int getMissingValueInterpretationsValueOrDefault(java.lang.String key, in
    * field path like 'foo.bar'.
    * 
* - * - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; - * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; */ @java.lang.Override - public int getMissingValueInterpretationsValueOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public int getMissingValueInterpretationsValueOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMissingValueInterpretations().getMap(); if (!map.containsKey(key)) { @@ -2145,8 +1898,6 @@ public int getMissingValueInterpretationsValueOrThrow(java.lang.String key) { public static final int DEFAULT_MISSING_VALUE_INTERPRETATION_FIELD_NUMBER = 8; private int defaultMissingValueInterpretation_ = 0; /** - * - * *
    * Optional. Default missing value interpretation for all columns in the
    * table. When a value is specified on an `AppendRowsRequest`, it is applied
@@ -2159,19 +1910,13 @@ public int getMissingValueInterpretationsValueOrThrow(java.lang.String key) {
    * time, set `missing_value_interpretations` to `NULL_VALUE` on those columns.
    * 
* - * - * .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation default_missing_value_interpretation = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation default_missing_value_interpretation = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for defaultMissingValueInterpretation. */ - @java.lang.Override - public int getDefaultMissingValueInterpretationValue() { + @java.lang.Override public int getDefaultMissingValueInterpretationValue() { return defaultMissingValueInterpretation_; } /** - * - * *
    * Optional. Default missing value interpretation for all columns in the
    * table. When a value is specified on an `AppendRowsRequest`, it is applied
@@ -2184,26 +1929,15 @@ public int getDefaultMissingValueInterpretationValue() {
    * time, set `missing_value_interpretations` to `NULL_VALUE` on those columns.
    * 
* - * - * .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation default_missing_value_interpretation = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation default_missing_value_interpretation = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return The defaultMissingValueInterpretation. */ - @java.lang.Override - public com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation - getDefaultMissingValueInterpretation() { - com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation result = - com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation.forNumber( - defaultMissingValueInterpretation_); - return result == null - ? com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation - .UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation getDefaultMissingValueInterpretation() { + com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation result = com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation.forNumber(defaultMissingValueInterpretation_); + return result == null ? com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2221,7 +1955,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(writeStream_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, writeStream_); } @@ -2229,21 +1964,18 @@ 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.v1.AppendRowsRequest.ProtoData) rows_); + output.writeMessage(4, (com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData) rows_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(traceId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, traceId_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( output, internalGetMissingValueInterpretations(), MissingValueInterpretationsDefaultEntryHolder.defaultEntry, 7); - if (defaultMissingValueInterpretation_ - != com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation - .MISSING_VALUE_INTERPRETATION_UNSPECIFIED - .getNumber()) { + if (defaultMissingValueInterpretation_ != com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation.MISSING_VALUE_INTERPRETATION_UNSPECIFIED.getNumber()) { output.writeEnum(8, defaultMissingValueInterpretation_); } getUnknownFields().writeTo(output); @@ -2259,36 +1991,29 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, writeStream_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getOffset()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getOffset()); } if (rowsCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, (com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData) rows_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData) rows_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(traceId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, traceId_); } - for (java.util.Map.Entry entry : - internalGetMissingValueInterpretations().getMap().entrySet()) { + for (java.util.Map.Entry entry + : internalGetMissingValueInterpretations().getMap().entrySet()) { com.google.protobuf.MapEntry - missingValueInterpretations__ = - MissingValueInterpretationsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 7, missingValueInterpretations__); - } - if (defaultMissingValueInterpretation_ - != com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation - .MISSING_VALUE_INTERPRETATION_UNSPECIFIED - .getNumber()) { - size += - com.google.protobuf.CodedOutputStream.computeEnumSize( - 8, defaultMissingValueInterpretation_); + missingValueInterpretations__ = MissingValueInterpretationsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, missingValueInterpretations__); + } + if (defaultMissingValueInterpretation_ != com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation.MISSING_VALUE_INTERPRETATION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(8, defaultMissingValueInterpretation_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2298,28 +2023,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.AppendRowsRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.AppendRowsRequest other = - (com.google.cloud.bigquery.storage.v1.AppendRowsRequest) obj; + com.google.cloud.bigquery.storage.v1.AppendRowsRequest other = (com.google.cloud.bigquery.storage.v1.AppendRowsRequest) obj; - if (!getWriteStream().equals(other.getWriteStream())) return false; + if (!getWriteStream() + .equals(other.getWriteStream())) return false; if (hasOffset() != other.hasOffset()) return false; if (hasOffset()) { - if (!getOffset().equals(other.getOffset())) return false; - } - if (!getTraceId().equals(other.getTraceId())) return false; - if (!internalGetMissingValueInterpretations() - .equals(other.internalGetMissingValueInterpretations())) return false; - if (defaultMissingValueInterpretation_ != other.defaultMissingValueInterpretation_) - return false; + if (!getOffset() + .equals(other.getOffset())) return false; + } + if (!getTraceId() + .equals(other.getTraceId())) return false; + if (!internalGetMissingValueInterpretations().equals( + other.internalGetMissingValueInterpretations())) return false; + if (defaultMissingValueInterpretation_ != other.defaultMissingValueInterpretation_) 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: @@ -2363,104 +2090,98 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.storage.v1.AppendRowsRequest prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.AppendRowsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for `AppendRows`.
    *
@@ -2475,13 +2196,13 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.bigquery.storage.v1.AppendRowsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.AppendRowsRequest)
       com.google.cloud.bigquery.storage.v1.AppendRowsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.bigquery.storage.v1.StorageProto
-          .internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
@@ -2491,10 +2212,10 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
         case 7:
           return internalGetMissingValueInterpretations();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
     protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
         int number) {
@@ -2502,18 +2223,16 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi
         case 7:
           return internalGetMutableMissingValueInterpretations();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.storage.v1.StorageProto
-          .internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_fieldAccessorTable
+      return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.storage.v1.AppendRowsRequest.class,
-              com.google.cloud.bigquery.storage.v1.AppendRowsRequest.Builder.class);
+              com.google.cloud.bigquery.storage.v1.AppendRowsRequest.class, com.google.cloud.bigquery.storage.v1.AppendRowsRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.storage.v1.AppendRowsRequest.newBuilder()
@@ -2521,17 +2240,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) {
         getOffsetFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2554,9 +2273,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.bigquery.storage.v1.StorageProto
-          .internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_descriptor;
     }
 
     @java.lang.Override
@@ -2575,11 +2294,8 @@ public com.google.cloud.bigquery.storage.v1.AppendRowsRequest build() {
 
     @java.lang.Override
     public com.google.cloud.bigquery.storage.v1.AppendRowsRequest buildPartial() {
-      com.google.cloud.bigquery.storage.v1.AppendRowsRequest result =
-          new com.google.cloud.bigquery.storage.v1.AppendRowsRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.bigquery.storage.v1.AppendRowsRequest result = new com.google.cloud.bigquery.storage.v1.AppendRowsRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -2592,7 +2308,9 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.AppendRowsReques
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.offset_ = offsetBuilder_ == null ? offset_ : offsetBuilder_.build();
+        result.offset_ = offsetBuilder_ == null
+            ? offset_
+            : offsetBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
@@ -2611,7 +2329,8 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.AppendRowsReques
     private void buildPartialOneofs(com.google.cloud.bigquery.storage.v1.AppendRowsRequest result) {
       result.rowsCase_ = rowsCase_;
       result.rows_ = this.rows_;
-      if (rowsCase_ == 4 && protoRowsBuilder_ != null) {
+      if (rowsCase_ == 4 &&
+          protoRowsBuilder_ != null) {
         result.rows_ = protoRowsBuilder_.build();
       }
     }
@@ -2620,39 +2339,38 @@ private void buildPartialOneofs(com.google.cloud.bigquery.storage.v1.AppendRowsR
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.storage.v1.AppendRowsRequest) {
-        return mergeFrom((com.google.cloud.bigquery.storage.v1.AppendRowsRequest) other);
+        return mergeFrom((com.google.cloud.bigquery.storage.v1.AppendRowsRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2660,8 +2378,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.AppendRowsRequest other) {
-      if (other == com.google.cloud.bigquery.storage.v1.AppendRowsRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.bigquery.storage.v1.AppendRowsRequest.getDefaultInstance()) return this;
       if (!other.getWriteStream().isEmpty()) {
         writeStream_ = other.writeStream_;
         bitField0_ |= 0x00000001;
@@ -2675,23 +2392,20 @@ public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.AppendRowsRequest
         bitField0_ |= 0x00000008;
         onChanged();
       }
-      internalGetMutableMissingValueInterpretations()
-          .mergeFrom(other.internalGetMissingValueInterpretations());
+      internalGetMutableMissingValueInterpretations().mergeFrom(
+          other.internalGetMissingValueInterpretations());
       bitField0_ |= 0x00000010;
       if (other.defaultMissingValueInterpretation_ != 0) {
-        setDefaultMissingValueInterpretationValue(
-            other.getDefaultMissingValueInterpretationValue());
+        setDefaultMissingValueInterpretationValue(other.getDefaultMissingValueInterpretationValue());
       }
       switch (other.getRowsCase()) {
-        case PROTO_ROWS:
-          {
-            mergeProtoRows(other.getProtoRows());
-            break;
-          }
-        case ROWS_NOT_SET:
-          {
-            break;
-          }
+        case PROTO_ROWS: {
+          mergeProtoRows(other.getProtoRows());
+          break;
+        }
+        case ROWS_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -2724,59 +2438,50 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                writeStream_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getOffsetFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 34:
-              {
-                input.readMessage(getProtoRowsFieldBuilder().getBuilder(), extensionRegistry);
-                rowsCase_ = 4;
-                break;
-              } // case 34
-            case 50:
-              {
-                traceId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 50
-            case 58:
-              {
-                com.google.protobuf.MapEntry
-                    missingValueInterpretations__ =
-                        input.readMessage(
-                            MissingValueInterpretationsDefaultEntryHolder.defaultEntry
-                                .getParserForType(),
-                            extensionRegistry);
-                internalGetMutableMissingValueInterpretations()
-                    .getMutableMap()
-                    .put(
-                        missingValueInterpretations__.getKey(),
-                        missingValueInterpretations__.getValue());
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 58
-            case 64:
-              {
-                defaultMissingValueInterpretation_ = input.readEnum();
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 64
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              writeStream_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getOffsetFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 34: {
+              input.readMessage(
+                  getProtoRowsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              rowsCase_ = 4;
+              break;
+            } // case 34
+            case 50: {
+              traceId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 50
+            case 58: {
+              com.google.protobuf.MapEntry
+              missingValueInterpretations__ = input.readMessage(
+                  MissingValueInterpretationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableMissingValueInterpretations().getMutableMap().put(
+                  missingValueInterpretations__.getKey(), missingValueInterpretations__.getValue());
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 58
+            case 64: {
+              defaultMissingValueInterpretation_ = input.readEnum();
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 64
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2786,12 +2491,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int rowsCase_ = 0;
     private java.lang.Object rows_;
-
-    public RowsCase getRowsCase() {
-      return RowsCase.forNumber(rowsCase_);
+    public RowsCase
+        getRowsCase() {
+      return RowsCase.forNumber(
+          rowsCase_);
     }
 
     public Builder clearRows() {
@@ -2805,8 +2510,6 @@ public Builder clearRows() {
 
     private java.lang.Object writeStream_ = "";
     /**
-     *
-     *
      * 
      * Required. The write_stream identifies the append operation. It must be
      * provided in the following scenarios:
@@ -2842,16 +2545,14 @@ public Builder clearRows() {
      * populated in all subsequent requests in this stream.
      * 
* - * - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The writeStream. */ public java.lang.String getWriteStream() { java.lang.Object ref = writeStream_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); writeStream_ = s; return s; @@ -2860,8 +2561,6 @@ public java.lang.String getWriteStream() { } } /** - * - * *
      * Required. The write_stream identifies the append operation. It must be
      * provided in the following scenarios:
@@ -2897,17 +2596,16 @@ public java.lang.String getWriteStream() {
      * populated in all subsequent requests in this stream.
      * 
* - * - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for writeStream. */ - public com.google.protobuf.ByteString getWriteStreamBytes() { + public com.google.protobuf.ByteString + getWriteStreamBytes() { java.lang.Object ref = writeStream_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); writeStream_ = b; return b; } else { @@ -2915,8 +2613,6 @@ public com.google.protobuf.ByteString getWriteStreamBytes() { } } /** - * - * *
      * Required. The write_stream identifies the append operation. It must be
      * provided in the following scenarios:
@@ -2952,25 +2648,19 @@ public com.google.protobuf.ByteString getWriteStreamBytes() {
      * populated in all subsequent requests in this stream.
      * 
* - * - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The writeStream to set. * @return This builder for chaining. */ - public Builder setWriteStream(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setWriteStream( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } writeStream_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The write_stream identifies the append operation. It must be
      * provided in the following scenarios:
@@ -3006,10 +2696,7 @@ public Builder setWriteStream(java.lang.String value) {
      * populated in all subsequent requests in this stream.
      * 
* - * - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearWriteStream() { @@ -3019,8 +2706,6 @@ public Builder clearWriteStream() { return this; } /** - * - * *
      * Required. The write_stream identifies the append operation. It must be
      * provided in the following scenarios:
@@ -3056,17 +2741,13 @@ public Builder clearWriteStream() {
      * populated in all subsequent requests in this stream.
      * 
* - * - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for writeStream to set. * @return This builder for chaining. */ - public Builder setWriteStreamBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setWriteStreamBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); writeStream_ = value; bitField0_ |= 0x00000001; @@ -3076,13 +2757,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
@@ -3091,15 +2767,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 ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * If present, the write is only performed if the next append offset is same
      * as the provided value. If not present, the write is performed at the
@@ -3108,7 +2781,6 @@ public boolean hasOffset() {
      * 
* * .google.protobuf.Int64Value offset = 2; - * * @return The offset. */ public com.google.protobuf.Int64Value getOffset() { @@ -3119,8 +2791,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
@@ -3144,8 +2814,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
@@ -3155,7 +2823,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();
       } else {
@@ -3166,8 +2835,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
@@ -3179,9 +2846,9 @@ public Builder setOffset(com.google.protobuf.Int64Value.Builder builderForValue)
      */
     public Builder mergeOffset(com.google.protobuf.Int64Value value) {
       if (offsetBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && offset_ != null
-            && offset_ != com.google.protobuf.Int64Value.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          offset_ != null &&
+          offset_ != com.google.protobuf.Int64Value.getDefaultInstance()) {
           getOffsetBuilder().mergeFrom(value);
         } else {
           offset_ = value;
@@ -3196,8 +2863,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
@@ -3218,8 +2883,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
@@ -3235,8 +2898,6 @@ public com.google.protobuf.Int64Value.Builder getOffsetBuilder() {
       return getOffsetFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If present, the write is only performed if the next append offset is same
      * as the provided value. If not present, the write is performed at the
@@ -3250,12 +2911,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
@@ -3266,36 +2926,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.v1.AppendRowsRequest.ProtoData,
-            com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.Builder,
-            com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoDataOrBuilder>
-        protoRowsBuilder_;
+        com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData, com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.Builder, com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoDataOrBuilder> protoRowsBuilder_;
     /**
-     *
-     *
      * 
      * Rows in proto format.
      * 
* * .google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData proto_rows = 4; - * * @return Whether the protoRows field is set. */ @java.lang.Override @@ -3303,14 +2954,11 @@ public boolean hasProtoRows() { return rowsCase_ == 4; } /** - * - * *
      * Rows in proto format.
      * 
* * .google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData proto_rows = 4; - * * @return The protoRows. */ @java.lang.Override @@ -3319,27 +2967,22 @@ public com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData getProto if (rowsCase_ == 4) { return (com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData) rows_; } - return com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData - .getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.getDefaultInstance(); } else { if (rowsCase_ == 4) { return protoRowsBuilder_.getMessage(); } - return com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData - .getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.getDefaultInstance(); } } /** - * - * *
      * Rows in proto format.
      * 
* * .google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData proto_rows = 4; */ - public Builder setProtoRows( - com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData value) { + public Builder setProtoRows(com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData value) { if (protoRowsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3353,8 +2996,6 @@ public Builder setProtoRows( return this; } /** - * - * *
      * Rows in proto format.
      * 
@@ -3373,26 +3014,18 @@ public Builder setProtoRows( return this; } /** - * - * *
      * Rows in proto format.
      * 
* * .google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData proto_rows = 4; */ - public Builder mergeProtoRows( - com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData value) { + public Builder mergeProtoRows(com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData value) { if (protoRowsBuilder_ == null) { - if (rowsCase_ == 4 - && rows_ - != com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData - .getDefaultInstance()) { - rows_ = - com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.newBuilder( - (com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData) rows_) - .mergeFrom(value) - .buildPartial(); + if (rowsCase_ == 4 && + rows_ != com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.getDefaultInstance()) { + rows_ = com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.newBuilder((com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData) rows_) + .mergeFrom(value).buildPartial(); } else { rows_ = value; } @@ -3408,8 +3041,6 @@ public Builder mergeProtoRows( return this; } /** - * - * *
      * Rows in proto format.
      * 
@@ -3433,21 +3064,16 @@ public Builder clearProtoRows() { return this; } /** - * - * *
      * Rows in proto format.
      * 
* * .google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData proto_rows = 4; */ - public com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.Builder - getProtoRowsBuilder() { + public com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.Builder getProtoRowsBuilder() { return getProtoRowsFieldBuilder().getBuilder(); } /** - * - * *
      * Rows in proto format.
      * 
@@ -3455,21 +3081,17 @@ public Builder clearProtoRows() { * .google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData proto_rows = 4; */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoDataOrBuilder - getProtoRowsOrBuilder() { + public com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoDataOrBuilder getProtoRowsOrBuilder() { if ((rowsCase_ == 4) && (protoRowsBuilder_ != null)) { return protoRowsBuilder_.getMessageOrBuilder(); } else { if (rowsCase_ == 4) { return (com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData) rows_; } - return com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData - .getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.getDefaultInstance(); } } /** - * - * *
      * Rows in proto format.
      * 
@@ -3477,20 +3099,14 @@ public Builder clearProtoRows() { * .google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData proto_rows = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData, - com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.Builder, - com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoDataOrBuilder> + com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData, com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.Builder, com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoDataOrBuilder> getProtoRowsFieldBuilder() { if (protoRowsBuilder_ == null) { if (!(rowsCase_ == 4)) { - rows_ = - com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.getDefaultInstance(); + rows_ = com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.getDefaultInstance(); } - protoRowsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData, - com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.Builder, - com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoDataOrBuilder>( + protoRowsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData, com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.Builder, com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoDataOrBuilder>( (com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData) rows_, getParentForChildren(), isClean()); @@ -3503,21 +3119,19 @@ public Builder clearProtoRows() { 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; @@ -3526,22 +3140,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 { @@ -3549,37 +3162,30 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTraceId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } traceId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Id set by client to annotate its identity. Only initial request setting is
      * respected.
      * 
* * string trace_id = 6; - * * @return This builder for chaining. */ public Builder clearTraceId() { @@ -3589,22 +3195,18 @@ public Builder clearTraceId() { return this; } /** - * - * *
      * Id set by client to annotate its identity. Only initial request setting is
      * respected.
      * 
* * string trace_id = 6; - * * @param value The bytes for traceId to set. * @return This builder for chaining. */ - public Builder setTraceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTraceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); traceId_ = value; bitField0_ |= 0x00000008; @@ -3612,9 +3214,8 @@ public Builder setTraceIdBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.MapField - missingValueInterpretations_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.Integer> missingValueInterpretations_; private com.google.protobuf.MapField internalGetMissingValueInterpretations() { if (missingValueInterpretations_ == null) { @@ -3623,13 +3224,11 @@ public Builder setTraceIdBytes(com.google.protobuf.ByteString value) { } return missingValueInterpretations_; } - private com.google.protobuf.MapField internalGetMutableMissingValueInterpretations() { if (missingValueInterpretations_ == null) { - missingValueInterpretations_ = - com.google.protobuf.MapField.newMapField( - MissingValueInterpretationsDefaultEntryHolder.defaultEntry); + missingValueInterpretations_ = com.google.protobuf.MapField.newMapField( + MissingValueInterpretationsDefaultEntryHolder.defaultEntry); } if (!missingValueInterpretations_.isMutable()) { missingValueInterpretations_ = missingValueInterpretations_.copy(); @@ -3638,13 +3237,10 @@ public Builder setTraceIdBytes(com.google.protobuf.ByteString value) { onChanged(); return missingValueInterpretations_; } - public int getMissingValueInterpretationsCount() { return internalGetMissingValueInterpretations().getMap().size(); } /** - * - * *
      * A map to indicate how to interpret missing value for some fields. Missing
      * values are fields present in user schema but missing in rows. The key is
@@ -3666,29 +3262,24 @@ public int getMissingValueInterpretationsCount() {
      * field path like 'foo.bar'.
      * 
* - * - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; - * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; */ @java.lang.Override - public boolean containsMissingValueInterpretations(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsMissingValueInterpretations( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetMissingValueInterpretations().getMap().containsKey(key); } - /** Use {@link #getMissingValueInterpretationsMap()} instead. */ + /** + * Use {@link #getMissingValueInterpretationsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map< - java.lang.String, - com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> - getMissingValueInterpretations() { + public java.util.Map + getMissingValueInterpretations() { return getMissingValueInterpretationsMap(); } /** - * - * *
      * A map to indicate how to interpret missing value for some fields. Missing
      * values are fields present in user schema but missing in rows. The key is
@@ -3710,21 +3301,14 @@ public boolean containsMissingValueInterpretations(java.lang.String key) {
      * field path like 'foo.bar'.
      * 
* - * - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; - * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; */ @java.lang.Override - public java.util.Map< - java.lang.String, - com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> - getMissingValueInterpretationsMap() { + public java.util.Map + getMissingValueInterpretationsMap() { return internalGetAdaptedMissingValueInterpretationsMap( - internalGetMissingValueInterpretations().getMap()); - } + internalGetMissingValueInterpretations().getMap());} /** - * - * *
      * A map to indicate how to interpret missing value for some fields. Missing
      * values are fields present in user schema but missing in rows. The key is
@@ -3746,30 +3330,22 @@ public boolean containsMissingValueInterpretations(java.lang.String key) {
      * field path like 'foo.bar'.
      * 
* - * - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; - * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; */ @java.lang.Override - public /* nullable */ com.google.cloud.bigquery.storage.v1.AppendRowsRequest - .MissingValueInterpretation - getMissingValueInterpretationsOrDefault( - java.lang.String key, - /* nullable */ - com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation - defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + public /* nullable */ +com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation getMissingValueInterpretationsOrDefault( + java.lang.String key, + /* nullable */ +com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMissingValueInterpretations().getMap(); return map.containsKey(key) - ? missingValueInterpretationsValueConverter.doForward(map.get(key)) - : defaultValue; + ? missingValueInterpretationsValueConverter.doForward(map.get(key)) + : defaultValue; } /** - * - * *
      * A map to indicate how to interpret missing value for some fields. Missing
      * values are fields present in user schema but missing in rows. The key is
@@ -3791,16 +3367,12 @@ public boolean containsMissingValueInterpretations(java.lang.String key) {
      * field path like 'foo.bar'.
      * 
* - * - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; - * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation - getMissingValueInterpretationsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation getMissingValueInterpretationsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMissingValueInterpretations().getMap(); if (!map.containsKey(key)) { @@ -3808,16 +3380,16 @@ public boolean containsMissingValueInterpretations(java.lang.String key) { } return missingValueInterpretationsValueConverter.doForward(map.get(key)); } - /** Use {@link #getMissingValueInterpretationsValueMap()} instead. */ + /** + * Use {@link #getMissingValueInterpretationsValueMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map - getMissingValueInterpretationsValue() { + getMissingValueInterpretationsValue() { return getMissingValueInterpretationsValueMap(); } /** - * - * *
      * A map to indicate how to interpret missing value for some fields. Missing
      * values are fields present in user schema but missing in rows. The key is
@@ -3839,18 +3411,14 @@ public boolean containsMissingValueInterpretations(java.lang.String key) {
      * field path like 'foo.bar'.
      * 
* - * - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; - * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; */ @java.lang.Override public java.util.Map - getMissingValueInterpretationsValueMap() { + getMissingValueInterpretationsValueMap() { return internalGetMissingValueInterpretations().getMap(); } /** - * - * *
      * A map to indicate how to interpret missing value for some fields. Missing
      * values are fields present in user schema but missing in rows. The key is
@@ -3872,23 +3440,18 @@ public boolean containsMissingValueInterpretations(java.lang.String key) {
      * field path like 'foo.bar'.
      * 
* - * - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; - * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; */ @java.lang.Override public int getMissingValueInterpretationsValueOrDefault( - java.lang.String key, int defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String key, + int defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMissingValueInterpretations().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * A map to indicate how to interpret missing value for some fields. Missing
      * values are fields present in user schema but missing in rows. The key is
@@ -3910,15 +3473,12 @@ public int getMissingValueInterpretationsValueOrDefault(
      * field path like 'foo.bar'.
      * 
* - * - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; - * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; */ @java.lang.Override - public int getMissingValueInterpretationsValueOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public int getMissingValueInterpretationsValueOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMissingValueInterpretations().getMap(); if (!map.containsKey(key)) { @@ -3926,15 +3486,13 @@ public int getMissingValueInterpretationsValueOrThrow(java.lang.String key) { } return map.get(key); } - public Builder clearMissingValueInterpretations() { bitField0_ = (bitField0_ & ~0x00000010); - internalGetMutableMissingValueInterpretations().getMutableMap().clear(); + internalGetMutableMissingValueInterpretations().getMutableMap() + .clear(); return this; } /** - * - * *
      * A map to indicate how to interpret missing value for some fields. Missing
      * values are fields present in user schema but missing in rows. The key is
@@ -3956,30 +3514,26 @@ public Builder clearMissingValueInterpretations() {
      * field path like 'foo.bar'.
      * 
* - * - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; - * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; */ - public Builder removeMissingValueInterpretations(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableMissingValueInterpretations().getMutableMap().remove(key); + public Builder removeMissingValueInterpretations( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableMissingValueInterpretations().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map< - java.lang.String, - com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> + public java.util.Map getMutableMissingValueInterpretations() { bitField0_ |= 0x00000010; return internalGetAdaptedMissingValueInterpretationsMap( - internalGetMutableMissingValueInterpretations().getMutableMap()); + internalGetMutableMissingValueInterpretations().getMutableMap()); } /** - * - * *
      * A map to indicate how to interpret missing value for some fields. Missing
      * values are fields present in user schema but missing in rows. The key is
@@ -4001,26 +3555,19 @@ public Builder removeMissingValueInterpretations(java.lang.String key) {
      * field path like 'foo.bar'.
      * 
* - * - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; - * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; */ public Builder putMissingValueInterpretations( java.lang.String key, com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation value) { - if (key == null) { - throw new NullPointerException("map key"); - } + if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableMissingValueInterpretations() - .getMutableMap() + internalGetMutableMissingValueInterpretations().getMutableMap() .put(key, missingValueInterpretationsValueConverter.doBackward(value)); bitField0_ |= 0x00000010; return this; } /** - * - * *
      * A map to indicate how to interpret missing value for some fields. Missing
      * values are fields present in user schema but missing in rows. The key is
@@ -4042,31 +3589,26 @@ public Builder putMissingValueInterpretations(
      * field path like 'foo.bar'.
      * 
* - * - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; - * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; */ public Builder putAllMissingValueInterpretations( - java.util.Map< - java.lang.String, - com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> - values) { + java.util.Map values) { internalGetAdaptedMissingValueInterpretationsMap( - internalGetMutableMissingValueInterpretations().getMutableMap()) - .putAll(values); + internalGetMutableMissingValueInterpretations().getMutableMap()) + .putAll(values); bitField0_ |= 0x00000010; return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated public java.util.Map - getMutableMissingValueInterpretationsValue() { + getMutableMissingValueInterpretationsValue() { bitField0_ |= 0x00000010; return internalGetMutableMissingValueInterpretations().getMutableMap(); } /** - * - * *
      * A map to indicate how to interpret missing value for some fields. Missing
      * values are fields present in user schema but missing in rows. The key is
@@ -4088,22 +3630,19 @@ public Builder putAllMissingValueInterpretations(
      * field path like 'foo.bar'.
      * 
* - * - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; - * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; */ - public Builder putMissingValueInterpretationsValue(java.lang.String key, int value) { - if (key == null) { - throw new NullPointerException("map key"); - } + public Builder putMissingValueInterpretationsValue( + java.lang.String key, + int value) { + if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableMissingValueInterpretations().getMutableMap().put(key, value); + internalGetMutableMissingValueInterpretations().getMutableMap() + .put(key, value); bitField0_ |= 0x00000010; return this; } /** - * - * *
      * A map to indicate how to interpret missing value for some fields. Missing
      * values are fields present in user schema but missing in rows. The key is
@@ -4125,21 +3664,18 @@ public Builder putMissingValueInterpretationsValue(java.lang.String key, int val
      * field path like 'foo.bar'.
      * 
* - * - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; - * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; */ public Builder putAllMissingValueInterpretationsValue( java.util.Map values) { - internalGetMutableMissingValueInterpretations().getMutableMap().putAll(values); + internalGetMutableMissingValueInterpretations().getMutableMap() + .putAll(values); bitField0_ |= 0x00000010; return this; } private int defaultMissingValueInterpretation_ = 0; /** - * - * *
      * Optional. Default missing value interpretation for all columns in the
      * table. When a value is specified on an `AppendRowsRequest`, it is applied
@@ -4152,19 +3688,13 @@ public Builder putAllMissingValueInterpretationsValue(
      * time, set `missing_value_interpretations` to `NULL_VALUE` on those columns.
      * 
* - * - * .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation default_missing_value_interpretation = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation default_missing_value_interpretation = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for defaultMissingValueInterpretation. */ - @java.lang.Override - public int getDefaultMissingValueInterpretationValue() { + @java.lang.Override public int getDefaultMissingValueInterpretationValue() { return defaultMissingValueInterpretation_; } /** - * - * *
      * Optional. Default missing value interpretation for all columns in the
      * table. When a value is specified on an `AppendRowsRequest`, it is applied
@@ -4177,10 +3707,7 @@ public int getDefaultMissingValueInterpretationValue() {
      * time, set `missing_value_interpretations` to `NULL_VALUE` on those columns.
      * 
* - * - * .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation default_missing_value_interpretation = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation default_missing_value_interpretation = 8 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for defaultMissingValueInterpretation to set. * @return This builder for chaining. */ @@ -4191,8 +3718,6 @@ public Builder setDefaultMissingValueInterpretationValue(int value) { return this; } /** - * - * *
      * Optional. Default missing value interpretation for all columns in the
      * table. When a value is specified on an `AppendRowsRequest`, it is applied
@@ -4205,26 +3730,15 @@ public Builder setDefaultMissingValueInterpretationValue(int value) {
      * time, set `missing_value_interpretations` to `NULL_VALUE` on those columns.
      * 
* - * - * .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation default_missing_value_interpretation = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation default_missing_value_interpretation = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return The defaultMissingValueInterpretation. */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation - getDefaultMissingValueInterpretation() { - com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation result = - com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation - .forNumber(defaultMissingValueInterpretation_); - return result == null - ? com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation - .UNRECOGNIZED - : result; + public com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation getDefaultMissingValueInterpretation() { + com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation result = com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation.forNumber(defaultMissingValueInterpretation_); + return result == null ? com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation.UNRECOGNIZED : result; } /** - * - * *
      * Optional. Default missing value interpretation for all columns in the
      * table. When a value is specified on an `AppendRowsRequest`, it is applied
@@ -4237,15 +3751,11 @@ public Builder setDefaultMissingValueInterpretationValue(int value) {
      * time, set `missing_value_interpretations` to `NULL_VALUE` on those columns.
      * 
* - * - * .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation default_missing_value_interpretation = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation default_missing_value_interpretation = 8 [(.google.api.field_behavior) = OPTIONAL]; * @param value The defaultMissingValueInterpretation to set. * @return This builder for chaining. */ - public Builder setDefaultMissingValueInterpretation( - com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation value) { + public Builder setDefaultMissingValueInterpretation(com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation value) { if (value == null) { throw new NullPointerException(); } @@ -4255,8 +3765,6 @@ public Builder setDefaultMissingValueInterpretation( return this; } /** - * - * *
      * Optional. Default missing value interpretation for all columns in the
      * table. When a value is specified on an `AppendRowsRequest`, it is applied
@@ -4269,10 +3777,7 @@ public Builder setDefaultMissingValueInterpretation(
      * time, set `missing_value_interpretations` to `NULL_VALUE` on those columns.
      * 
* - * - * .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation default_missing_value_interpretation = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation default_missing_value_interpretation = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearDefaultMissingValueInterpretation() { @@ -4281,9 +3786,9 @@ public Builder clearDefaultMissingValueInterpretation() { 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); } @@ -4293,12 +3798,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.AppendRowsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.AppendRowsRequest) private static final com.google.cloud.bigquery.storage.v1.AppendRowsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.AppendRowsRequest(); } @@ -4307,27 +3812,27 @@ public static com.google.cloud.bigquery.storage.v1.AppendRowsRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppendRowsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppendRowsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4342,4 +3847,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1.AppendRowsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AppendRowsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AppendRowsRequestOrBuilder.java similarity index 76% rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AppendRowsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AppendRowsRequestOrBuilder.java index b01d6ae8a9..c5b77f41be 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AppendRowsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AppendRowsRequestOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 // Protobuf Java Version: 3.25.2 package com.google.cloud.bigquery.storage.v1; -public interface AppendRowsRequestOrBuilder - extends +public interface AppendRowsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.AppendRowsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The write_stream identifies the append operation. It must be
    * provided in the following scenarios:
@@ -62,16 +44,11 @@ public interface AppendRowsRequestOrBuilder
    * populated in all subsequent requests in this stream.
    * 
* - * - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The writeStream. */ java.lang.String getWriteStream(); /** - * - * *
    * Required. The write_stream identifies the append operation. It must be
    * provided in the following scenarios:
@@ -107,17 +84,13 @@ public interface AppendRowsRequestOrBuilder
    * populated in all subsequent requests in this stream.
    * 
* - * - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for writeStream. */ - com.google.protobuf.ByteString getWriteStreamBytes(); + com.google.protobuf.ByteString + getWriteStreamBytes(); /** - * - * *
    * If present, the write is only performed if the next append offset is same
    * as the provided value. If not present, the write is performed at the
@@ -126,13 +99,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
@@ -141,13 +111,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
@@ -160,32 +127,24 @@ public interface AppendRowsRequestOrBuilder
   com.google.protobuf.Int64ValueOrBuilder getOffsetOrBuilder();
 
   /**
-   *
-   *
    * 
    * Rows in proto format.
    * 
* * .google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData proto_rows = 4; - * * @return Whether the protoRows field is set. */ boolean hasProtoRows(); /** - * - * *
    * Rows in proto format.
    * 
* * .google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData proto_rows = 4; - * * @return The protoRows. */ com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData getProtoRows(); /** - * - * *
    * Rows in proto format.
    * 
@@ -195,35 +154,28 @@ public interface AppendRowsRequestOrBuilder com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoDataOrBuilder getProtoRowsOrBuilder(); /** - * - * *
    * Id set by client to annotate its identity. Only initial request setting is
    * respected.
    * 
* * string trace_id = 6; - * * @return The traceId. */ java.lang.String getTraceId(); /** - * - * *
    * Id set by client to annotate its identity. Only initial request setting is
    * respected.
    * 
* * string trace_id = 6; - * * @return The bytes for traceId. */ - com.google.protobuf.ByteString getTraceIdBytes(); + com.google.protobuf.ByteString + getTraceIdBytes(); /** - * - * *
    * A map to indicate how to interpret missing value for some fields. Missing
    * values are fields present in user schema but missing in rows. The key is
@@ -245,14 +197,10 @@ public interface AppendRowsRequestOrBuilder
    * field path like 'foo.bar'.
    * 
* - * - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; - * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; */ int getMissingValueInterpretationsCount(); /** - * - * *
    * A map to indicate how to interpret missing value for some fields. Missing
    * values are fields present in user schema but missing in rows. The key is
@@ -274,20 +222,17 @@ public interface AppendRowsRequestOrBuilder
    * field path like 'foo.bar'.
    * 
* - * - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; - * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + */ + boolean containsMissingValueInterpretations( + java.lang.String key); + /** + * Use {@link #getMissingValueInterpretationsMap()} instead. */ - boolean containsMissingValueInterpretations(java.lang.String key); - /** Use {@link #getMissingValueInterpretationsMap()} instead. */ @java.lang.Deprecated - java.util.Map< - java.lang.String, - com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> - getMissingValueInterpretations(); + java.util.Map + getMissingValueInterpretations(); /** - * - * *
    * A map to indicate how to interpret missing value for some fields. Missing
    * values are fields present in user schema but missing in rows. The key is
@@ -309,17 +254,11 @@ public interface AppendRowsRequestOrBuilder
    * field path like 'foo.bar'.
    * 
* - * - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; - * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; */ - java.util.Map< - java.lang.String, - com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> - getMissingValueInterpretationsMap(); + java.util.Map + getMissingValueInterpretationsMap(); /** - * - * *
    * A map to indicate how to interpret missing value for some fields. Missing
    * values are fields present in user schema but missing in rows. The key is
@@ -341,20 +280,14 @@ public interface AppendRowsRequestOrBuilder
    * field path like 'foo.bar'.
    * 
* - * - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; - * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; */ /* nullable */ - com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation - getMissingValueInterpretationsOrDefault( - java.lang.String key, - /* nullable */ - com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation - defaultValue); +com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation getMissingValueInterpretationsOrDefault( + java.lang.String key, + /* nullable */ +com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation defaultValue); /** - * - * *
    * A map to indicate how to interpret missing value for some fields. Missing
    * values are fields present in user schema but missing in rows. The key is
@@ -376,18 +309,17 @@ public interface AppendRowsRequestOrBuilder
    * field path like 'foo.bar'.
    * 
* - * - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; - * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; + */ + com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation getMissingValueInterpretationsOrThrow( + java.lang.String key); + /** + * Use {@link #getMissingValueInterpretationsValueMap()} instead. */ - com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation - getMissingValueInterpretationsOrThrow(java.lang.String key); - /** Use {@link #getMissingValueInterpretationsValueMap()} instead. */ @java.lang.Deprecated - java.util.Map getMissingValueInterpretationsValue(); + java.util.Map + getMissingValueInterpretationsValue(); /** - * - * *
    * A map to indicate how to interpret missing value for some fields. Missing
    * values are fields present in user schema but missing in rows. The key is
@@ -409,14 +341,11 @@ public interface AppendRowsRequestOrBuilder
    * field path like 'foo.bar'.
    * 
* - * - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; - * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; */ - java.util.Map getMissingValueInterpretationsValueMap(); + java.util.Map + getMissingValueInterpretationsValueMap(); /** - * - * *
    * A map to indicate how to interpret missing value for some fields. Missing
    * values are fields present in user schema but missing in rows. The key is
@@ -438,14 +367,12 @@ public interface AppendRowsRequestOrBuilder
    * field path like 'foo.bar'.
    * 
* - * - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; - * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; */ - int getMissingValueInterpretationsValueOrDefault(java.lang.String key, int defaultValue); + int getMissingValueInterpretationsValueOrDefault( + java.lang.String key, + int defaultValue); /** - * - * *
    * A map to indicate how to interpret missing value for some fields. Missing
    * values are fields present in user schema but missing in rows. The key is
@@ -467,15 +394,12 @@ public interface AppendRowsRequestOrBuilder
    * field path like 'foo.bar'.
    * 
* - * - * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; - * + * map<string, .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation> missing_value_interpretations = 7; */ - int getMissingValueInterpretationsValueOrThrow(java.lang.String key); + int getMissingValueInterpretationsValueOrThrow( + java.lang.String key); /** - * - * *
    * Optional. Default missing value interpretation for all columns in the
    * table. When a value is specified on an `AppendRowsRequest`, it is applied
@@ -488,16 +412,11 @@ public interface AppendRowsRequestOrBuilder
    * time, set `missing_value_interpretations` to `NULL_VALUE` on those columns.
    * 
* - * - * .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation default_missing_value_interpretation = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation default_missing_value_interpretation = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for defaultMissingValueInterpretation. */ int getDefaultMissingValueInterpretationValue(); /** - * - * *
    * Optional. Default missing value interpretation for all columns in the
    * table. When a value is specified on an `AppendRowsRequest`, it is applied
@@ -510,14 +429,10 @@ public interface AppendRowsRequestOrBuilder
    * time, set `missing_value_interpretations` to `NULL_VALUE` on those columns.
    * 
* - * - * .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation default_missing_value_interpretation = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation default_missing_value_interpretation = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return The defaultMissingValueInterpretation. */ - com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation - getDefaultMissingValueInterpretation(); + com.google.cloud.bigquery.storage.v1.AppendRowsRequest.MissingValueInterpretation getDefaultMissingValueInterpretation(); com.google.cloud.bigquery.storage.v1.AppendRowsRequest.RowsCase getRowsCase(); } diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AppendRowsResponse.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AppendRowsResponse.java similarity index 74% rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AppendRowsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AppendRowsResponse.java index daa4c8dd8e..af84dab6e2 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AppendRowsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AppendRowsResponse.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 @@ -20,24 +5,21 @@ package com.google.cloud.bigquery.storage.v1; /** - * - * *
  * Response message for `AppendRows`.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.AppendRowsResponse} */ -public final class AppendRowsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AppendRowsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.AppendRowsResponse) AppendRowsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AppendRowsResponse.newBuilder() to construct. private AppendRowsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AppendRowsResponse() { rowErrors_ = java.util.Collections.emptyList(); writeStream_ = ""; @@ -45,59 +27,49 @@ private AppendRowsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AppendRowsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.AppendRowsResponse.class, - com.google.cloud.bigquery.storage.v1.AppendRowsResponse.Builder.class); + com.google.cloud.bigquery.storage.v1.AppendRowsResponse.class, com.google.cloud.bigquery.storage.v1.AppendRowsResponse.Builder.class); } - public interface AppendResultOrBuilder - extends + public interface AppendResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The row offset at which the last append occurred. The offset will not be
      * set if appending using default streams.
      * 
* * .google.protobuf.Int64Value offset = 1; - * * @return Whether the offset field is set. */ boolean hasOffset(); /** - * - * *
      * The row offset at which the last append occurred. The offset will not be
      * set if appending using default streams.
      * 
* * .google.protobuf.Int64Value offset = 1; - * * @return The offset. */ com.google.protobuf.Int64Value getOffset(); /** - * - * *
      * The row offset at which the last append occurred. The offset will not be
      * set if appending using default streams.
@@ -108,60 +80,54 @@ public interface AppendResultOrBuilder
     com.google.protobuf.Int64ValueOrBuilder getOffsetOrBuilder();
   }
   /**
-   *
-   *
    * 
    * AppendResult is returned for successful append requests.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult} */ - public static final class AppendResult extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class AppendResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult) AppendResultOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AppendResult.newBuilder() to construct. private AppendResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private AppendResult() {} + private AppendResult() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AppendResult(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_AppendResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_AppendResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_AppendResult_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_AppendResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.class, - com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.Builder.class); + com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.class, com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.Builder.class); } private int bitField0_; 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 @@ -169,15 +135,12 @@ public boolean hasOffset() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The row offset at which the last append occurred. The offset will not be
      * set if appending using default streams.
      * 
* * .google.protobuf.Int64Value offset = 1; - * * @return The offset. */ @java.lang.Override @@ -185,8 +148,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.
@@ -200,7 +161,6 @@ public com.google.protobuf.Int64ValueOrBuilder getOffsetOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -212,7 +172,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 (((bitField0_ & 0x00000001) != 0)) {
         output.writeMessage(1, getOffset());
       }
@@ -226,7 +187,8 @@ public int getSerializedSize() {
 
       size = 0;
       if (((bitField0_ & 0x00000001) != 0)) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOffset());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, getOffset());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -236,17 +198,17 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult)) {
         return super.equals(obj);
       }
-      com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult other =
-          (com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult) obj;
+      com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult other = (com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult) obj;
 
       if (hasOffset() != other.hasOffset()) return false;
       if (hasOffset()) {
-        if (!getOffset().equals(other.getOffset())) return false;
+        if (!getOffset()
+            .equals(other.getOffset())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -269,95 +231,89 @@ public int hashCode() {
     }
 
     public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult parseFrom(
-        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
-    public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult
-        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
 
-    public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult
-        parseDelimitedFrom(
-            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+    public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult parseDelimitedFrom(
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult prototype) {
+    public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -367,51 +323,45 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * AppendResult is returned for successful append requests.
      * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult) com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_AppendResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_AppendResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_AppendResult_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_AppendResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.class, - com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.Builder.class); + com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.class, com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.Builder.class); } - // Construct using - // com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.newBuilder() + // Construct using com.google.cloud.bigquery.storage.v1.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) { getOffsetFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -425,22 +375,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_AppendResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_AppendResult_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult - getDefaultInstanceForType() { - return com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult - .getDefaultInstance(); + public com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult getDefaultInstanceForType() { + return com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.getDefaultInstance(); } @java.lang.Override public com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult build() { - com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult result = - buildPartial(); + com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -449,21 +396,19 @@ public com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult buil @java.lang.Override public com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult buildPartial() { - com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult result = - new com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult result = new com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult result) { + private void buildPartial0(com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.offset_ = offsetBuilder_ == null ? offset_ : offsetBuilder_.build(); + result.offset_ = offsetBuilder_ == null + ? offset_ + : offsetBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -473,53 +418,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult) { - return mergeFrom( - (com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult) other); + return mergeFrom((com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult other) { - if (other - == com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult other) { + if (other == com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.getDefaultInstance()) return this; if (other.hasOffset()) { mergeOffset(other.getOffset()); } @@ -549,19 +487,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getOffsetFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getOffsetFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -571,40 +509,30 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.Int64Value offset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int64Value, - com.google.protobuf.Int64Value.Builder, - com.google.protobuf.Int64ValueOrBuilder> - offsetBuilder_; + com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> offsetBuilder_; /** - * - * *
        * The row offset at which the last append occurred. The offset will not be
        * set if appending using default streams.
        * 
* * .google.protobuf.Int64Value offset = 1; - * * @return Whether the offset field is set. */ public boolean hasOffset() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * The row offset at which the last append occurred. The offset will not be
        * set if appending using default streams.
        * 
* * .google.protobuf.Int64Value offset = 1; - * * @return The offset. */ public com.google.protobuf.Int64Value getOffset() { @@ -615,8 +543,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.
@@ -638,8 +564,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.
@@ -647,7 +571,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();
         } else {
@@ -658,8 +583,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.
@@ -669,9 +592,9 @@ public Builder setOffset(com.google.protobuf.Int64Value.Builder builderForValue)
        */
       public Builder mergeOffset(com.google.protobuf.Int64Value value) {
         if (offsetBuilder_ == null) {
-          if (((bitField0_ & 0x00000001) != 0)
-              && offset_ != null
-              && offset_ != com.google.protobuf.Int64Value.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000001) != 0) &&
+            offset_ != null &&
+            offset_ != com.google.protobuf.Int64Value.getDefaultInstance()) {
             getOffsetBuilder().mergeFrom(value);
           } else {
             offset_ = value;
@@ -686,8 +609,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.
@@ -706,8 +627,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.
@@ -721,8 +640,6 @@ public com.google.protobuf.Int64Value.Builder getOffsetBuilder() {
         return getOffsetFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * The row offset at which the last append occurred. The offset will not be
        * set if appending using default streams.
@@ -734,12 +651,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.
@@ -748,22 +664,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) {
@@ -776,44 +688,41 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult)
-    private static final com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult
-        DEFAULT_INSTANCE;
-
+    private static final com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult DEFAULT_INSTANCE;
     static {
       DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult();
     }
 
-    public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult
-        getDefaultInstance() {
+    public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public AppendResult parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public AppendResult parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -825,27 +734,23 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult
-        getDefaultInstanceForType() {
+    public com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   private int bitField0_;
   private int responseCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object response_;
-
   public enum ResponseCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     APPEND_RESULT(1),
     ERROR(2),
     RESPONSE_NOT_SET(0);
     private final int value;
-
     private ResponseCase(int value) {
       this.value = value;
     }
@@ -861,37 +766,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.v1.AppendRowsResponse.AppendResult append_result = 1; - * - * + * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; * @return Whether the appendResult field is set. */ @java.lang.Override @@ -899,49 +797,37 @@ public boolean hasAppendResult() { return responseCase_ == 1; } /** - * - * *
    * Result if the append is successful.
    * 
* - * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; - * - * + * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; * @return The appendResult. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult getAppendResult() { if (responseCase_ == 1) { - return (com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult) response_; + return (com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult) response_; } - return com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult - .getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.getDefaultInstance(); } /** - * - * *
    * Result if the append is successful.
    * 
* - * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; - * + * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResultOrBuilder - getAppendResultOrBuilder() { + public com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResultOrBuilder getAppendResultOrBuilder() { if (responseCase_ == 1) { - return (com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult) response_; + return (com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult) response_; } - return com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult - .getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.getDefaultInstance(); } public static final int ERROR_FIELD_NUMBER = 2; /** - * - * *
    * Error returned when problems were encountered.  If present,
    * it indicates rows were not accepted into the system.
@@ -966,7 +852,6 @@ public com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult getA
    * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ @java.lang.Override @@ -974,8 +859,6 @@ public boolean hasError() { return responseCase_ == 2; } /** - * - * *
    * Error returned when problems were encountered.  If present,
    * it indicates rows were not accepted into the system.
@@ -1000,19 +883,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.
@@ -1041,7 +921,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();
   }
@@ -1049,8 +929,6 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
   public static final int UPDATED_SCHEMA_FIELD_NUMBER = 3;
   private com.google.cloud.bigquery.storage.v1.TableSchema updatedSchema_;
   /**
-   *
-   *
    * 
    * If backend detects a schema update, pass it to user so that user can
    * use it to input new type of message. It will be empty when no schema
@@ -1058,7 +936,6 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
    * 
* * .google.cloud.bigquery.storage.v1.TableSchema updated_schema = 3; - * * @return Whether the updatedSchema field is set. */ @java.lang.Override @@ -1066,8 +943,6 @@ public boolean hasUpdatedSchema() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * If backend detects a schema update, pass it to user so that user can
    * use it to input new type of message. It will be empty when no schema
@@ -1075,18 +950,13 @@ public boolean hasUpdatedSchema() {
    * 
* * .google.cloud.bigquery.storage.v1.TableSchema updated_schema = 3; - * * @return The updatedSchema. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.TableSchema getUpdatedSchema() { - return updatedSchema_ == null - ? com.google.cloud.bigquery.storage.v1.TableSchema.getDefaultInstance() - : updatedSchema_; + return updatedSchema_ == null ? com.google.cloud.bigquery.storage.v1.TableSchema.getDefaultInstance() : updatedSchema_; } /** - * - * *
    * If backend detects a schema update, pass it to user so that user can
    * use it to input new type of message. It will be empty when no schema
@@ -1097,18 +967,13 @@ public com.google.cloud.bigquery.storage.v1.TableSchema getUpdatedSchema() {
    */
   @java.lang.Override
   public com.google.cloud.bigquery.storage.v1.TableSchemaOrBuilder getUpdatedSchemaOrBuilder() {
-    return updatedSchema_ == null
-        ? com.google.cloud.bigquery.storage.v1.TableSchema.getDefaultInstance()
-        : updatedSchema_;
+    return updatedSchema_ == null ? com.google.cloud.bigquery.storage.v1.TableSchema.getDefaultInstance() : updatedSchema_;
   }
 
   public static final int ROW_ERRORS_FIELD_NUMBER = 4;
-
   @SuppressWarnings("serial")
   private java.util.List rowErrors_;
   /**
-   *
-   *
    * 
    * If a request failed due to corrupted rows, no rows in the batch will be
    * appended. The API will return row level error info, so that the caller can
@@ -1122,8 +987,6 @@ public java.util.List getRowError
     return rowErrors_;
   }
   /**
-   *
-   *
    * 
    * If a request failed due to corrupted rows, no rows in the batch will be
    * appended. The API will return row level error info, so that the caller can
@@ -1133,13 +996,11 @@ public java.util.List getRowError
    * repeated .google.cloud.bigquery.storage.v1.RowError row_errors = 4;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getRowErrorsOrBuilderList() {
     return rowErrors_;
   }
   /**
-   *
-   *
    * 
    * If a request failed due to corrupted rows, no rows in the batch will be
    * appended. The API will return row level error info, so that the caller can
@@ -1153,8 +1014,6 @@ public int getRowErrorsCount() {
     return rowErrors_.size();
   }
   /**
-   *
-   *
    * 
    * If a request failed due to corrupted rows, no rows in the batch will be
    * appended. The API will return row level error info, so that the caller can
@@ -1168,8 +1027,6 @@ public com.google.cloud.bigquery.storage.v1.RowError getRowErrors(int index) {
     return rowErrors_.get(index);
   }
   /**
-   *
-   *
    * 
    * If a request failed due to corrupted rows, no rows in the batch will be
    * appended. The API will return row level error info, so that the caller can
@@ -1179,24 +1036,21 @@ public com.google.cloud.bigquery.storage.v1.RowError getRowErrors(int index) {
    * repeated .google.cloud.bigquery.storage.v1.RowError row_errors = 4;
    */
   @java.lang.Override
-  public com.google.cloud.bigquery.storage.v1.RowErrorOrBuilder getRowErrorsOrBuilder(int index) {
+  public com.google.cloud.bigquery.storage.v1.RowErrorOrBuilder getRowErrorsOrBuilder(
+      int index) {
     return rowErrors_.get(index);
   }
 
   public static final int WRITE_STREAM_FIELD_NUMBER = 5;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object writeStream_ = "";
   /**
-   *
-   *
    * 
    * The target of the append operation. Matches the write_stream in the
    * corresponding request.
    * 
* * string write_stream = 5; - * * @return The writeStream. */ @java.lang.Override @@ -1205,30 +1059,30 @@ public java.lang.String getWriteStream() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); writeStream_ = s; return s; } } /** - * - * *
    * The target of the append operation. Matches the write_stream in the
    * corresponding request.
    * 
* * string write_stream = 5; - * * @return The bytes for writeStream. */ @java.lang.Override - public com.google.protobuf.ByteString getWriteStreamBytes() { + public com.google.protobuf.ByteString + getWriteStreamBytes() { java.lang.Object ref = writeStream_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); writeStream_ = b; return b; } else { @@ -1237,7 +1091,6 @@ public com.google.protobuf.ByteString getWriteStreamBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1249,10 +1102,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (responseCase_ == 1) { - output.writeMessage( - 1, (com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult) response_); + output.writeMessage(1, (com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult) response_); } if (responseCase_ == 2) { output.writeMessage(2, (com.google.rpc.Status) response_); @@ -1276,20 +1129,20 @@ public int getSerializedSize() { size = 0; if (responseCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult) response_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult) response_); } if (responseCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.rpc.Status) response_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.rpc.Status) response_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdatedSchema()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdatedSchema()); } for (int i = 0; i < rowErrors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, rowErrors_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, rowErrors_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(writeStream_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, writeStream_); @@ -1302,27 +1155,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1.AppendRowsResponse)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.AppendRowsResponse other = - (com.google.cloud.bigquery.storage.v1.AppendRowsResponse) obj; + com.google.cloud.bigquery.storage.v1.AppendRowsResponse other = (com.google.cloud.bigquery.storage.v1.AppendRowsResponse) obj; if (hasUpdatedSchema() != other.hasUpdatedSchema()) return false; if (hasUpdatedSchema()) { - if (!getUpdatedSchema().equals(other.getUpdatedSchema())) return false; + if (!getUpdatedSchema() + .equals(other.getUpdatedSchema())) return false; } - if (!getRowErrorsList().equals(other.getRowErrorsList())) return false; - if (!getWriteStream().equals(other.getWriteStream())) return false; + if (!getRowErrorsList() + .equals(other.getRowErrorsList())) return false; + if (!getWriteStream() + .equals(other.getWriteStream())) return false; if (!getResponseCase().equals(other.getResponseCase())) return false; switch (responseCase_) { case 1: - if (!getAppendResult().equals(other.getAppendResult())) return false; + if (!getAppendResult() + .equals(other.getAppendResult())) return false; break; case 2: - if (!getError().equals(other.getError())) return false; + if (!getError() + .equals(other.getError())) return false; break; case 0: default: @@ -1366,127 +1223,119 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.storage.v1.AppendRowsResponse prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.AppendRowsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for `AppendRows`.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.AppendRowsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.AppendRowsResponse) com.google.cloud.bigquery.storage.v1.AppendRowsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.AppendRowsResponse.class, - com.google.cloud.bigquery.storage.v1.AppendRowsResponse.Builder.class); + com.google.cloud.bigquery.storage.v1.AppendRowsResponse.class, com.google.cloud.bigquery.storage.v1.AppendRowsResponse.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1.AppendRowsResponse.newBuilder() @@ -1494,18 +1343,18 @@ 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) { getUpdatedSchemaFieldBuilder(); getRowErrorsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1535,9 +1384,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_descriptor; } @java.lang.Override @@ -1556,19 +1405,15 @@ public com.google.cloud.bigquery.storage.v1.AppendRowsResponse build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1.AppendRowsResponse buildPartial() { - com.google.cloud.bigquery.storage.v1.AppendRowsResponse result = - new com.google.cloud.bigquery.storage.v1.AppendRowsResponse(this); + com.google.cloud.bigquery.storage.v1.AppendRowsResponse result = new com.google.cloud.bigquery.storage.v1.AppendRowsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.bigquery.storage.v1.AppendRowsResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.bigquery.storage.v1.AppendRowsResponse result) { if (rowErrorsBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { rowErrors_ = java.util.Collections.unmodifiableList(rowErrors_); @@ -1584,8 +1429,9 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.AppendRowsRespon int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { - result.updatedSchema_ = - updatedSchemaBuilder_ == null ? updatedSchema_ : updatedSchemaBuilder_.build(); + result.updatedSchema_ = updatedSchemaBuilder_ == null + ? updatedSchema_ + : updatedSchemaBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000010) != 0)) { @@ -1594,14 +1440,15 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.AppendRowsRespon result.bitField0_ |= to_bitField0_; } - private void buildPartialOneofs( - com.google.cloud.bigquery.storage.v1.AppendRowsResponse result) { + private void buildPartialOneofs(com.google.cloud.bigquery.storage.v1.AppendRowsResponse result) { result.responseCase_ = responseCase_; result.response_ = this.response_; - if (responseCase_ == 1 && appendResultBuilder_ != null) { + if (responseCase_ == 1 && + appendResultBuilder_ != null) { result.response_ = appendResultBuilder_.build(); } - if (responseCase_ == 2 && errorBuilder_ != null) { + if (responseCase_ == 2 && + errorBuilder_ != null) { result.response_ = errorBuilder_.build(); } } @@ -1610,39 +1457,38 @@ private void buildPartialOneofs( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.AppendRowsResponse) { - return mergeFrom((com.google.cloud.bigquery.storage.v1.AppendRowsResponse) other); + return mergeFrom((com.google.cloud.bigquery.storage.v1.AppendRowsResponse)other); } else { super.mergeFrom(other); return this; @@ -1650,8 +1496,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.AppendRowsResponse other) { - if (other == com.google.cloud.bigquery.storage.v1.AppendRowsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.bigquery.storage.v1.AppendRowsResponse.getDefaultInstance()) return this; if (other.hasUpdatedSchema()) { mergeUpdatedSchema(other.getUpdatedSchema()); } @@ -1673,10 +1518,9 @@ public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.AppendRowsResponse rowErrorsBuilder_ = null; rowErrors_ = other.rowErrors_; bitField0_ = (bitField0_ & ~0x00000008); - rowErrorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRowErrorsFieldBuilder() - : null; + rowErrorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRowErrorsFieldBuilder() : null; } else { rowErrorsBuilder_.addAllMessages(other.rowErrors_); } @@ -1688,20 +1532,17 @@ public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.AppendRowsResponse onChanged(); } switch (other.getResponseCase()) { - case APPEND_RESULT: - { - mergeAppendResult(other.getAppendResult()); - break; - } - case ERROR: - { - mergeError(other.getError()); - break; - } - case RESPONSE_NOT_SET: - { - break; - } + case APPEND_RESULT: { + mergeAppendResult(other.getAppendResult()); + break; + } + case ERROR: { + mergeError(other.getError()); + break; + } + case RESPONSE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1729,50 +1570,51 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getAppendResultFieldBuilder().getBuilder(), extensionRegistry); - responseCase_ = 1; - break; - } // case 10 - case 18: - { - input.readMessage(getErrorFieldBuilder().getBuilder(), extensionRegistry); - responseCase_ = 2; - break; - } // case 18 - case 26: - { - input.readMessage(getUpdatedSchemaFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - com.google.cloud.bigquery.storage.v1.RowError m = - input.readMessage( - com.google.cloud.bigquery.storage.v1.RowError.parser(), extensionRegistry); - if (rowErrorsBuilder_ == null) { - ensureRowErrorsIsMutable(); - rowErrors_.add(m); - } else { - rowErrorsBuilder_.addMessage(m); - } - break; - } // case 34 - case 42: - { - writeStream_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getAppendResultFieldBuilder().getBuilder(), + extensionRegistry); + responseCase_ = 1; + break; + } // case 10 + case 18: { + input.readMessage( + getErrorFieldBuilder().getBuilder(), + extensionRegistry); + responseCase_ = 2; + break; + } // case 18 + case 26: { + input.readMessage( + getUpdatedSchemaFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + com.google.cloud.bigquery.storage.v1.RowError m = + input.readMessage( + com.google.cloud.bigquery.storage.v1.RowError.parser(), + extensionRegistry); + if (rowErrorsBuilder_ == null) { + ensureRowErrorsIsMutable(); + rowErrors_.add(m); + } else { + rowErrorsBuilder_.addMessage(m); + } + break; + } // case 34 + case 42: { + writeStream_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1782,12 +1624,12 @@ public Builder mergeFrom( } // finally return this; } - private int responseCase_ = 0; private java.lang.Object response_; - - public ResponseCase getResponseCase() { - return ResponseCase.forNumber(responseCase_); + public ResponseCase + getResponseCase() { + return ResponseCase.forNumber( + responseCase_); } public Builder clearResponse() { @@ -1800,20 +1642,13 @@ public Builder clearResponse() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult, - com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.Builder, - com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResultOrBuilder> - appendResultBuilder_; + com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult, com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.Builder, com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResultOrBuilder> appendResultBuilder_; /** - * - * *
      * Result if the append is successful.
      * 
* - * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; - * - * + * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; * @return Whether the appendResult field is set. */ @java.lang.Override @@ -1821,15 +1656,11 @@ public boolean hasAppendResult() { return responseCase_ == 1; } /** - * - * *
      * Result if the append is successful.
      * 
* - * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; - * - * + * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; * @return The appendResult. */ @java.lang.Override @@ -1838,28 +1669,22 @@ public com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult getA if (responseCase_ == 1) { return (com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult) response_; } - return com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult - .getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.getDefaultInstance(); } else { if (responseCase_ == 1) { return appendResultBuilder_.getMessage(); } - return com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult - .getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.getDefaultInstance(); } } /** - * - * *
      * Result if the append is successful.
      * 
* - * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; - * + * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; */ - public Builder setAppendResult( - com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult value) { + public Builder setAppendResult(com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult value) { if (appendResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1873,18 +1698,14 @@ public Builder setAppendResult( return this; } /** - * - * *
      * Result if the append is successful.
      * 
* - * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; - * + * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; */ public Builder setAppendResult( - com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.Builder - builderForValue) { + com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.Builder builderForValue) { if (appendResultBuilder_ == null) { response_ = builderForValue.build(); onChanged(); @@ -1895,28 +1716,18 @@ public Builder setAppendResult( return this; } /** - * - * *
      * Result if the append is successful.
      * 
* - * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; - * + * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; */ - public Builder mergeAppendResult( - com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult value) { + public Builder mergeAppendResult(com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult value) { if (appendResultBuilder_ == null) { - if (responseCase_ == 1 - && response_ - != com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult - .getDefaultInstance()) { - response_ = - com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.newBuilder( - (com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult) - response_) - .mergeFrom(value) - .buildPartial(); + if (responseCase_ == 1 && + response_ != com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.getDefaultInstance()) { + response_ = com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.newBuilder((com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult) response_) + .mergeFrom(value).buildPartial(); } else { response_ = value; } @@ -1932,14 +1743,11 @@ public Builder mergeAppendResult( return this; } /** - * - * *
      * Result if the append is successful.
      * 
* - * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; - * + * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; */ public Builder clearAppendResult() { if (appendResultBuilder_ == null) { @@ -1958,68 +1766,49 @@ public Builder clearAppendResult() { return this; } /** - * - * *
      * Result if the append is successful.
      * 
* - * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; - * + * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; */ - public com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.Builder - getAppendResultBuilder() { + public com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.Builder getAppendResultBuilder() { return getAppendResultFieldBuilder().getBuilder(); } /** - * - * *
      * Result if the append is successful.
      * 
* - * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; - * + * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResultOrBuilder - getAppendResultOrBuilder() { + public com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResultOrBuilder getAppendResultOrBuilder() { if ((responseCase_ == 1) && (appendResultBuilder_ != null)) { return appendResultBuilder_.getMessageOrBuilder(); } else { if (responseCase_ == 1) { return (com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult) response_; } - return com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult - .getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.getDefaultInstance(); } } /** - * - * *
      * Result if the append is successful.
      * 
* - * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; - * + * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult, - com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.Builder, - com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResultOrBuilder> + com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult, com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.Builder, com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResultOrBuilder> getAppendResultFieldBuilder() { if (appendResultBuilder_ == null) { if (!(responseCase_ == 1)) { - response_ = - com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult - .getDefaultInstance(); + response_ = com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.getDefaultInstance(); } - appendResultBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult, - com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.Builder, - com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResultOrBuilder>( + appendResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult, com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult.Builder, com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResultOrBuilder>( (com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult) response_, getParentForChildren(), isClean()); @@ -2031,11 +1820,8 @@ public Builder clearAppendResult() { } 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.
@@ -2060,7 +1846,6 @@ public Builder clearAppendResult() {
      * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ @java.lang.Override @@ -2068,8 +1853,6 @@ public boolean hasError() { return responseCase_ == 2; } /** - * - * *
      * Error returned when problems were encountered.  If present,
      * it indicates rows were not accepted into the system.
@@ -2094,7 +1877,6 @@ public boolean hasError() {
      * 
* * .google.rpc.Status error = 2; - * * @return The error. */ @java.lang.Override @@ -2112,8 +1894,6 @@ public com.google.rpc.Status getError() { } } /** - * - * *
      * Error returned when problems were encountered.  If present,
      * it indicates rows were not accepted into the system.
@@ -2153,8 +1933,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.
@@ -2180,7 +1958,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();
@@ -2191,8 +1970,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.
@@ -2220,11 +1997,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;
         }
@@ -2240,8 +2016,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.
@@ -2284,8 +2058,6 @@ public Builder clearError() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Error returned when problems were encountered.  If present,
      * it indicates rows were not accepted into the system.
@@ -2315,8 +2087,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.
@@ -2354,8 +2124,6 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * Error returned when problems were encountered.  If present,
      * it indicates rows were not accepted into the system.
@@ -2382,18 +2150,17 @@ 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;
@@ -2403,13 +2170,8 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
 
     private com.google.cloud.bigquery.storage.v1.TableSchema updatedSchema_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.bigquery.storage.v1.TableSchema,
-            com.google.cloud.bigquery.storage.v1.TableSchema.Builder,
-            com.google.cloud.bigquery.storage.v1.TableSchemaOrBuilder>
-        updatedSchemaBuilder_;
+        com.google.cloud.bigquery.storage.v1.TableSchema, com.google.cloud.bigquery.storage.v1.TableSchema.Builder, com.google.cloud.bigquery.storage.v1.TableSchemaOrBuilder> updatedSchemaBuilder_;
     /**
-     *
-     *
      * 
      * If backend detects a schema update, pass it to user so that user can
      * use it to input new type of message. It will be empty when no schema
@@ -2417,15 +2179,12 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
      * 
* * .google.cloud.bigquery.storage.v1.TableSchema updated_schema = 3; - * * @return Whether the updatedSchema field is set. */ public boolean hasUpdatedSchema() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * If backend detects a schema update, pass it to user so that user can
      * use it to input new type of message. It will be empty when no schema
@@ -2433,21 +2192,16 @@ public boolean hasUpdatedSchema() {
      * 
* * .google.cloud.bigquery.storage.v1.TableSchema updated_schema = 3; - * * @return The updatedSchema. */ public com.google.cloud.bigquery.storage.v1.TableSchema getUpdatedSchema() { if (updatedSchemaBuilder_ == null) { - return updatedSchema_ == null - ? com.google.cloud.bigquery.storage.v1.TableSchema.getDefaultInstance() - : updatedSchema_; + return updatedSchema_ == null ? com.google.cloud.bigquery.storage.v1.TableSchema.getDefaultInstance() : updatedSchema_; } else { return updatedSchemaBuilder_.getMessage(); } } /** - * - * *
      * If backend detects a schema update, pass it to user so that user can
      * use it to input new type of message. It will be empty when no schema
@@ -2470,8 +2224,6 @@ public Builder setUpdatedSchema(com.google.cloud.bigquery.storage.v1.TableSchema
       return this;
     }
     /**
-     *
-     *
      * 
      * If backend detects a schema update, pass it to user so that user can
      * use it to input new type of message. It will be empty when no schema
@@ -2492,8 +2244,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
@@ -2504,10 +2254,9 @@ public Builder setUpdatedSchema(
      */
     public Builder mergeUpdatedSchema(com.google.cloud.bigquery.storage.v1.TableSchema value) {
       if (updatedSchemaBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && updatedSchema_ != null
-            && updatedSchema_
-                != com.google.cloud.bigquery.storage.v1.TableSchema.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          updatedSchema_ != null &&
+          updatedSchema_ != com.google.cloud.bigquery.storage.v1.TableSchema.getDefaultInstance()) {
           getUpdatedSchemaBuilder().mergeFrom(value);
         } else {
           updatedSchema_ = value;
@@ -2522,8 +2271,6 @@ public Builder mergeUpdatedSchema(com.google.cloud.bigquery.storage.v1.TableSche
       return this;
     }
     /**
-     *
-     *
      * 
      * If backend detects a schema update, pass it to user so that user can
      * use it to input new type of message. It will be empty when no schema
@@ -2543,8 +2290,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
@@ -2559,8 +2304,6 @@ public com.google.cloud.bigquery.storage.v1.TableSchema.Builder getUpdatedSchema
       return getUpdatedSchemaFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If backend detects a schema update, pass it to user so that user can
      * use it to input new type of message. It will be empty when no schema
@@ -2573,14 +2316,11 @@ public com.google.cloud.bigquery.storage.v1.TableSchemaOrBuilder getUpdatedSchem
       if (updatedSchemaBuilder_ != null) {
         return updatedSchemaBuilder_.getMessageOrBuilder();
       } else {
-        return updatedSchema_ == null
-            ? com.google.cloud.bigquery.storage.v1.TableSchema.getDefaultInstance()
-            : updatedSchema_;
+        return updatedSchema_ == null ?
+            com.google.cloud.bigquery.storage.v1.TableSchema.getDefaultInstance() : updatedSchema_;
       }
     }
     /**
-     *
-     *
      * 
      * If backend detects a schema update, pass it to user so that user can
      * use it to input new type of message. It will be empty when no schema
@@ -2590,42 +2330,32 @@ public com.google.cloud.bigquery.storage.v1.TableSchemaOrBuilder getUpdatedSchem
      * .google.cloud.bigquery.storage.v1.TableSchema updated_schema = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.bigquery.storage.v1.TableSchema,
-            com.google.cloud.bigquery.storage.v1.TableSchema.Builder,
-            com.google.cloud.bigquery.storage.v1.TableSchemaOrBuilder>
+        com.google.cloud.bigquery.storage.v1.TableSchema, com.google.cloud.bigquery.storage.v1.TableSchema.Builder, com.google.cloud.bigquery.storage.v1.TableSchemaOrBuilder> 
         getUpdatedSchemaFieldBuilder() {
       if (updatedSchemaBuilder_ == null) {
-        updatedSchemaBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.bigquery.storage.v1.TableSchema,
-                com.google.cloud.bigquery.storage.v1.TableSchema.Builder,
-                com.google.cloud.bigquery.storage.v1.TableSchemaOrBuilder>(
-                getUpdatedSchema(), getParentForChildren(), isClean());
+        updatedSchemaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.bigquery.storage.v1.TableSchema, com.google.cloud.bigquery.storage.v1.TableSchema.Builder, com.google.cloud.bigquery.storage.v1.TableSchemaOrBuilder>(
+                getUpdatedSchema(),
+                getParentForChildren(),
+                isClean());
         updatedSchema_ = null;
       }
       return updatedSchemaBuilder_;
     }
 
     private java.util.List rowErrors_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureRowErrorsIsMutable() {
       if (!((bitField0_ & 0x00000008) != 0)) {
-        rowErrors_ =
-            new java.util.ArrayList(rowErrors_);
+        rowErrors_ = new java.util.ArrayList(rowErrors_);
         bitField0_ |= 0x00000008;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.bigquery.storage.v1.RowError,
-            com.google.cloud.bigquery.storage.v1.RowError.Builder,
-            com.google.cloud.bigquery.storage.v1.RowErrorOrBuilder>
-        rowErrorsBuilder_;
+        com.google.cloud.bigquery.storage.v1.RowError, com.google.cloud.bigquery.storage.v1.RowError.Builder, com.google.cloud.bigquery.storage.v1.RowErrorOrBuilder> rowErrorsBuilder_;
 
     /**
-     *
-     *
      * 
      * If a request failed due to corrupted rows, no rows in the batch will be
      * appended. The API will return row level error info, so that the caller can
@@ -2642,8 +2372,6 @@ public java.util.List getRowError
       }
     }
     /**
-     *
-     *
      * 
      * If a request failed due to corrupted rows, no rows in the batch will be
      * appended. The API will return row level error info, so that the caller can
@@ -2660,8 +2388,6 @@ public int getRowErrorsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * If a request failed due to corrupted rows, no rows in the batch will be
      * appended. The API will return row level error info, so that the caller can
@@ -2678,8 +2404,6 @@ public com.google.cloud.bigquery.storage.v1.RowError getRowErrors(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * If a request failed due to corrupted rows, no rows in the batch will be
      * appended. The API will return row level error info, so that the caller can
@@ -2688,7 +2412,8 @@ public com.google.cloud.bigquery.storage.v1.RowError getRowErrors(int index) {
      *
      * repeated .google.cloud.bigquery.storage.v1.RowError row_errors = 4;
      */
-    public Builder setRowErrors(int index, com.google.cloud.bigquery.storage.v1.RowError value) {
+    public Builder setRowErrors(
+        int index, com.google.cloud.bigquery.storage.v1.RowError value) {
       if (rowErrorsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2702,8 +2427,6 @@ public Builder setRowErrors(int index, com.google.cloud.bigquery.storage.v1.RowE
       return this;
     }
     /**
-     *
-     *
      * 
      * If a request failed due to corrupted rows, no rows in the batch will be
      * appended. The API will return row level error info, so that the caller can
@@ -2724,8 +2447,6 @@ public Builder setRowErrors(
       return this;
     }
     /**
-     *
-     *
      * 
      * If a request failed due to corrupted rows, no rows in the batch will be
      * appended. The API will return row level error info, so that the caller can
@@ -2748,8 +2469,6 @@ public Builder addRowErrors(com.google.cloud.bigquery.storage.v1.RowError value)
       return this;
     }
     /**
-     *
-     *
      * 
      * If a request failed due to corrupted rows, no rows in the batch will be
      * appended. The API will return row level error info, so that the caller can
@@ -2758,7 +2477,8 @@ public Builder addRowErrors(com.google.cloud.bigquery.storage.v1.RowError value)
      *
      * repeated .google.cloud.bigquery.storage.v1.RowError row_errors = 4;
      */
-    public Builder addRowErrors(int index, com.google.cloud.bigquery.storage.v1.RowError value) {
+    public Builder addRowErrors(
+        int index, com.google.cloud.bigquery.storage.v1.RowError value) {
       if (rowErrorsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2772,8 +2492,6 @@ public Builder addRowErrors(int index, com.google.cloud.bigquery.storage.v1.RowE
       return this;
     }
     /**
-     *
-     *
      * 
      * If a request failed due to corrupted rows, no rows in the batch will be
      * appended. The API will return row level error info, so that the caller can
@@ -2794,8 +2512,6 @@ public Builder addRowErrors(
       return this;
     }
     /**
-     *
-     *
      * 
      * If a request failed due to corrupted rows, no rows in the batch will be
      * appended. The API will return row level error info, so that the caller can
@@ -2816,8 +2532,6 @@ public Builder addRowErrors(
       return this;
     }
     /**
-     *
-     *
      * 
      * If a request failed due to corrupted rows, no rows in the batch will be
      * appended. The API will return row level error info, so that the caller can
@@ -2830,7 +2544,8 @@ public Builder addAllRowErrors(
         java.lang.Iterable values) {
       if (rowErrorsBuilder_ == null) {
         ensureRowErrorsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rowErrors_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, rowErrors_);
         onChanged();
       } else {
         rowErrorsBuilder_.addAllMessages(values);
@@ -2838,8 +2553,6 @@ public Builder addAllRowErrors(
       return this;
     }
     /**
-     *
-     *
      * 
      * If a request failed due to corrupted rows, no rows in the batch will be
      * appended. The API will return row level error info, so that the caller can
@@ -2859,8 +2572,6 @@ public Builder clearRowErrors() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If a request failed due to corrupted rows, no rows in the batch will be
      * appended. The API will return row level error info, so that the caller can
@@ -2880,8 +2591,6 @@ public Builder removeRowErrors(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If a request failed due to corrupted rows, no rows in the batch will be
      * appended. The API will return row level error info, so that the caller can
@@ -2890,12 +2599,11 @@ public Builder removeRowErrors(int index) {
      *
      * repeated .google.cloud.bigquery.storage.v1.RowError row_errors = 4;
      */
-    public com.google.cloud.bigquery.storage.v1.RowError.Builder getRowErrorsBuilder(int index) {
+    public com.google.cloud.bigquery.storage.v1.RowError.Builder getRowErrorsBuilder(
+        int index) {
       return getRowErrorsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * If a request failed due to corrupted rows, no rows in the batch will be
      * appended. The API will return row level error info, so that the caller can
@@ -2904,16 +2612,14 @@ public com.google.cloud.bigquery.storage.v1.RowError.Builder getRowErrorsBuilder
      *
      * repeated .google.cloud.bigquery.storage.v1.RowError row_errors = 4;
      */
-    public com.google.cloud.bigquery.storage.v1.RowErrorOrBuilder getRowErrorsOrBuilder(int index) {
+    public com.google.cloud.bigquery.storage.v1.RowErrorOrBuilder getRowErrorsOrBuilder(
+        int index) {
       if (rowErrorsBuilder_ == null) {
-        return rowErrors_.get(index);
-      } else {
+        return rowErrors_.get(index);  } else {
         return rowErrorsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * If a request failed due to corrupted rows, no rows in the batch will be
      * appended. The API will return row level error info, so that the caller can
@@ -2922,8 +2628,8 @@ public com.google.cloud.bigquery.storage.v1.RowErrorOrBuilder getRowErrorsOrBuil
      *
      * repeated .google.cloud.bigquery.storage.v1.RowError row_errors = 4;
      */
-    public java.util.List
-        getRowErrorsOrBuilderList() {
+    public java.util.List 
+         getRowErrorsOrBuilderList() {
       if (rowErrorsBuilder_ != null) {
         return rowErrorsBuilder_.getMessageOrBuilderList();
       } else {
@@ -2931,8 +2637,6 @@ public com.google.cloud.bigquery.storage.v1.RowErrorOrBuilder getRowErrorsOrBuil
       }
     }
     /**
-     *
-     *
      * 
      * If a request failed due to corrupted rows, no rows in the batch will be
      * appended. The API will return row level error info, so that the caller can
@@ -2942,12 +2646,10 @@ public com.google.cloud.bigquery.storage.v1.RowErrorOrBuilder getRowErrorsOrBuil
      * repeated .google.cloud.bigquery.storage.v1.RowError row_errors = 4;
      */
     public com.google.cloud.bigquery.storage.v1.RowError.Builder addRowErrorsBuilder() {
-      return getRowErrorsFieldBuilder()
-          .addBuilder(com.google.cloud.bigquery.storage.v1.RowError.getDefaultInstance());
+      return getRowErrorsFieldBuilder().addBuilder(
+          com.google.cloud.bigquery.storage.v1.RowError.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * If a request failed due to corrupted rows, no rows in the batch will be
      * appended. The API will return row level error info, so that the caller can
@@ -2956,13 +2658,12 @@ public com.google.cloud.bigquery.storage.v1.RowError.Builder addRowErrorsBuilder
      *
      * repeated .google.cloud.bigquery.storage.v1.RowError row_errors = 4;
      */
-    public com.google.cloud.bigquery.storage.v1.RowError.Builder addRowErrorsBuilder(int index) {
-      return getRowErrorsFieldBuilder()
-          .addBuilder(index, com.google.cloud.bigquery.storage.v1.RowError.getDefaultInstance());
+    public com.google.cloud.bigquery.storage.v1.RowError.Builder addRowErrorsBuilder(
+        int index) {
+      return getRowErrorsFieldBuilder().addBuilder(
+          index, com.google.cloud.bigquery.storage.v1.RowError.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * If a request failed due to corrupted rows, no rows in the batch will be
      * appended. The API will return row level error info, so that the caller can
@@ -2971,23 +2672,20 @@ public com.google.cloud.bigquery.storage.v1.RowError.Builder addRowErrorsBuilder
      *
      * repeated .google.cloud.bigquery.storage.v1.RowError row_errors = 4;
      */
-    public java.util.List
-        getRowErrorsBuilderList() {
+    public java.util.List 
+         getRowErrorsBuilderList() {
       return getRowErrorsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.bigquery.storage.v1.RowError,
-            com.google.cloud.bigquery.storage.v1.RowError.Builder,
-            com.google.cloud.bigquery.storage.v1.RowErrorOrBuilder>
+        com.google.cloud.bigquery.storage.v1.RowError, com.google.cloud.bigquery.storage.v1.RowError.Builder, com.google.cloud.bigquery.storage.v1.RowErrorOrBuilder> 
         getRowErrorsFieldBuilder() {
       if (rowErrorsBuilder_ == null) {
-        rowErrorsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.bigquery.storage.v1.RowError,
-                com.google.cloud.bigquery.storage.v1.RowError.Builder,
-                com.google.cloud.bigquery.storage.v1.RowErrorOrBuilder>(
-                rowErrors_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean());
+        rowErrorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.bigquery.storage.v1.RowError, com.google.cloud.bigquery.storage.v1.RowError.Builder, com.google.cloud.bigquery.storage.v1.RowErrorOrBuilder>(
+                rowErrors_,
+                ((bitField0_ & 0x00000008) != 0),
+                getParentForChildren(),
+                isClean());
         rowErrors_ = null;
       }
       return rowErrorsBuilder_;
@@ -2995,21 +2693,19 @@ public com.google.cloud.bigquery.storage.v1.RowError.Builder addRowErrorsBuilder
 
     private java.lang.Object writeStream_ = "";
     /**
-     *
-     *
      * 
      * The target of the append operation. Matches the write_stream in the
      * corresponding request.
      * 
* * string write_stream = 5; - * * @return The writeStream. */ public java.lang.String getWriteStream() { java.lang.Object ref = writeStream_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); writeStream_ = s; return s; @@ -3018,22 +2714,21 @@ public java.lang.String getWriteStream() { } } /** - * - * *
      * The target of the append operation. Matches the write_stream in the
      * corresponding request.
      * 
* * string write_stream = 5; - * * @return The bytes for writeStream. */ - public com.google.protobuf.ByteString getWriteStreamBytes() { + public com.google.protobuf.ByteString + getWriteStreamBytes() { java.lang.Object ref = writeStream_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); writeStream_ = b; return b; } else { @@ -3041,37 +2736,30 @@ public com.google.protobuf.ByteString getWriteStreamBytes() { } } /** - * - * *
      * The target of the append operation. Matches the write_stream in the
      * corresponding request.
      * 
* * string write_stream = 5; - * * @param value The writeStream to set. * @return This builder for chaining. */ - public Builder setWriteStream(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setWriteStream( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } writeStream_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * The target of the append operation. Matches the write_stream in the
      * corresponding request.
      * 
* * string write_stream = 5; - * * @return This builder for chaining. */ public Builder clearWriteStream() { @@ -3081,31 +2769,27 @@ public Builder clearWriteStream() { return this; } /** - * - * *
      * The target of the append operation. Matches the write_stream in the
      * corresponding request.
      * 
* * string write_stream = 5; - * * @param value The bytes for writeStream to set. * @return This builder for chaining. */ - public Builder setWriteStreamBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setWriteStreamBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); writeStream_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3115,12 +2799,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.AppendRowsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.AppendRowsResponse) private static final com.google.cloud.bigquery.storage.v1.AppendRowsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.AppendRowsResponse(); } @@ -3129,27 +2813,27 @@ public static com.google.cloud.bigquery.storage.v1.AppendRowsResponse getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppendRowsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppendRowsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3164,4 +2848,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1.AppendRowsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AppendRowsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AppendRowsResponseOrBuilder.java similarity index 87% rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AppendRowsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AppendRowsResponseOrBuilder.java index c8b8637449..f7170b78f0 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AppendRowsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AppendRowsResponseOrBuilder.java @@ -1,71 +1,41 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 // Protobuf Java Version: 3.25.2 package com.google.cloud.bigquery.storage.v1; -public interface AppendRowsResponseOrBuilder - extends +public interface AppendRowsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.AppendRowsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Result if the append is successful.
    * 
* - * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; - * - * + * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; * @return Whether the appendResult field is set. */ boolean hasAppendResult(); /** - * - * *
    * Result if the append is successful.
    * 
* - * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; - * - * + * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; * @return The appendResult. */ com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult getAppendResult(); /** - * - * *
    * Result if the append is successful.
    * 
* - * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; - * + * .google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResult append_result = 1; */ - com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResultOrBuilder - getAppendResultOrBuilder(); + com.google.cloud.bigquery.storage.v1.AppendRowsResponse.AppendResultOrBuilder getAppendResultOrBuilder(); /** - * - * *
    * Error returned when problems were encountered.  If present,
    * it indicates rows were not accepted into the system.
@@ -90,13 +60,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.
@@ -121,13 +88,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.
@@ -156,8 +120,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
@@ -165,13 +127,10 @@ public interface AppendRowsResponseOrBuilder
    * 
* * .google.cloud.bigquery.storage.v1.TableSchema updated_schema = 3; - * * @return Whether the updatedSchema field is set. */ boolean hasUpdatedSchema(); /** - * - * *
    * If backend detects a schema update, pass it to user so that user can
    * use it to input new type of message. It will be empty when no schema
@@ -179,13 +138,10 @@ public interface AppendRowsResponseOrBuilder
    * 
* * .google.cloud.bigquery.storage.v1.TableSchema updated_schema = 3; - * * @return The updatedSchema. */ com.google.cloud.bigquery.storage.v1.TableSchema getUpdatedSchema(); /** - * - * *
    * If backend detects a schema update, pass it to user so that user can
    * use it to input new type of message. It will be empty when no schema
@@ -197,8 +153,6 @@ public interface AppendRowsResponseOrBuilder
   com.google.cloud.bigquery.storage.v1.TableSchemaOrBuilder getUpdatedSchemaOrBuilder();
 
   /**
-   *
-   *
    * 
    * If a request failed due to corrupted rows, no rows in the batch will be
    * appended. The API will return row level error info, so that the caller can
@@ -207,10 +161,9 @@ public interface AppendRowsResponseOrBuilder
    *
    * repeated .google.cloud.bigquery.storage.v1.RowError row_errors = 4;
    */
-  java.util.List getRowErrorsList();
+  java.util.List 
+      getRowErrorsList();
   /**
-   *
-   *
    * 
    * If a request failed due to corrupted rows, no rows in the batch will be
    * appended. The API will return row level error info, so that the caller can
@@ -221,8 +174,6 @@ public interface AppendRowsResponseOrBuilder
    */
   com.google.cloud.bigquery.storage.v1.RowError getRowErrors(int index);
   /**
-   *
-   *
    * 
    * If a request failed due to corrupted rows, no rows in the batch will be
    * appended. The API will return row level error info, so that the caller can
@@ -233,8 +184,6 @@ public interface AppendRowsResponseOrBuilder
    */
   int getRowErrorsCount();
   /**
-   *
-   *
    * 
    * If a request failed due to corrupted rows, no rows in the batch will be
    * appended. The API will return row level error info, so that the caller can
@@ -243,11 +192,9 @@ public interface AppendRowsResponseOrBuilder
    *
    * repeated .google.cloud.bigquery.storage.v1.RowError row_errors = 4;
    */
-  java.util.List
+  java.util.List 
       getRowErrorsOrBuilderList();
   /**
-   *
-   *
    * 
    * If a request failed due to corrupted rows, no rows in the batch will be
    * appended. The API will return row level error info, so that the caller can
@@ -256,34 +203,30 @@ public interface AppendRowsResponseOrBuilder
    *
    * repeated .google.cloud.bigquery.storage.v1.RowError row_errors = 4;
    */
-  com.google.cloud.bigquery.storage.v1.RowErrorOrBuilder getRowErrorsOrBuilder(int index);
+  com.google.cloud.bigquery.storage.v1.RowErrorOrBuilder getRowErrorsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * The target of the append operation. Matches the write_stream in the
    * corresponding request.
    * 
* * string write_stream = 5; - * * @return The writeStream. */ java.lang.String getWriteStream(); /** - * - * *
    * The target of the append operation. Matches the write_stream in the
    * corresponding request.
    * 
* * string write_stream = 5; - * * @return The bytes for writeStream. */ - com.google.protobuf.ByteString getWriteStreamBytes(); + com.google.protobuf.ByteString + getWriteStreamBytes(); com.google.cloud.bigquery.storage.v1.AppendRowsResponse.ResponseCase getResponseCase(); } diff --git a/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..ffa8353e74 --- /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,84 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1/arrow.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.bigquery.storage.v1; + +public final class ArrowProto { + private ArrowProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_ArrowSchema_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_ArrowSchema_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_ArrowRecordBatch_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_ArrowRecordBatch_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_ArrowSerializationOptions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_ArrowSerializationOptions_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n,google/cloud/bigquery/storage/v1/arrow" + + ".proto\022 google.cloud.bigquery.storage.v1" + + "\"(\n\013ArrowSchema\022\031\n\021serialized_schema\030\001 \001" + + "(\014\"J\n\020ArrowRecordBatch\022\037\n\027serialized_rec" + + "ord_batch\030\001 \001(\014\022\025\n\trow_count\030\002 \001(\003B\002\030\001\"\317" + + "\001\n\031ArrowSerializationOptions\022h\n\022buffer_c" + + "ompression\030\002 \001(\0162L.google.cloud.bigquery" + + ".storage.v1.ArrowSerializationOptions.Co" + + "mpressionCodec\"H\n\020CompressionCodec\022\033\n\027CO" + + "MPRESSION_UNSPECIFIED\020\000\022\r\n\tLZ4_FRAME\020\001\022\010" + + "\n\004ZSTD\020\002B\272\001\n$com.google.cloud.bigquery.s" + + "torage.v1B\nArrowProtoP\001Z>cloud.google.co" + + "m/go/bigquery/storage/apiv1/storagepb;st" + + "oragepb\252\002 Google.Cloud.BigQuery.Storage." + + "V1\312\002 Google\\Cloud\\BigQuery\\Storage\\V1b\006p" + + "roto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_google_cloud_bigquery_storage_v1_ArrowSchema_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_storage_v1_ArrowSchema_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_ArrowSchema_descriptor, + new java.lang.String[] { "SerializedSchema", }); + internal_static_google_cloud_bigquery_storage_v1_ArrowRecordBatch_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_storage_v1_ArrowRecordBatch_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_ArrowRecordBatch_descriptor, + new java.lang.String[] { "SerializedRecordBatch", "RowCount", }); + internal_static_google_cloud_bigquery_storage_v1_ArrowSerializationOptions_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_bigquery_storage_v1_ArrowSerializationOptions_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_ArrowSerializationOptions_descriptor, + new java.lang.String[] { "BufferCompression", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/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 64% 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 eb2160fd06..b355b4fb39 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,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 @@ -20,61 +5,53 @@ package com.google.cloud.bigquery.storage.v1; /** - * - * *
  * Arrow RecordBatch.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.ArrowRecordBatch} */ -public final class ArrowRecordBatch extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ArrowRecordBatch extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.ArrowRecordBatch) ArrowRecordBatchOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ArrowRecordBatch.newBuilder() to construct. private ArrowRecordBatch(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ArrowRecordBatch() { serializedRecordBatch_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ArrowRecordBatch(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.ArrowProto - .internal_static_google_cloud_bigquery_storage_v1_ArrowRecordBatch_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.ArrowProto.internal_static_google_cloud_bigquery_storage_v1_ArrowRecordBatch_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.ArrowProto - .internal_static_google_cloud_bigquery_storage_v1_ArrowRecordBatch_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.ArrowProto.internal_static_google_cloud_bigquery_storage_v1_ArrowRecordBatch_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.ArrowRecordBatch.class, - com.google.cloud.bigquery.storage.v1.ArrowRecordBatch.Builder.class); + com.google.cloud.bigquery.storage.v1.ArrowRecordBatch.class, com.google.cloud.bigquery.storage.v1.ArrowRecordBatch.Builder.class); } public static final int SERIALIZED_RECORD_BATCH_FIELD_NUMBER = 1; - private com.google.protobuf.ByteString serializedRecordBatch_ = - com.google.protobuf.ByteString.EMPTY; + private com.google.protobuf.ByteString serializedRecordBatch_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * IPC-serialized Arrow RecordBatch.
    * 
* * bytes serialized_record_batch = 1; - * * @return The serializedRecordBatch. */ @java.lang.Override @@ -85,27 +62,22 @@ public com.google.protobuf.ByteString getSerializedRecordBatch() { public static final int ROW_COUNT_FIELD_NUMBER = 2; private long rowCount_ = 0L; /** - * - * *
    * [Deprecated] The count of rows in `serialized_record_batch`.
    * Please use the format-independent ReadRowsResponse.row_count instead.
    * 
* * int64 row_count = 2 [deprecated = true]; - * - * @deprecated google.cloud.bigquery.storage.v1.ArrowRecordBatch.row_count is deprecated. See - * google/cloud/bigquery/storage/v1/arrow.proto;l=43 + * @deprecated google.cloud.bigquery.storage.v1.ArrowRecordBatch.row_count is deprecated. + * See google/cloud/bigquery/storage/v1/arrow.proto;l=43 * @return The rowCount. */ @java.lang.Override - @java.lang.Deprecated - public long getRowCount() { + @java.lang.Deprecated public long getRowCount() { return rowCount_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +89,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_); } @@ -134,10 +107,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -147,16 +122,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -171,143 +147,139 @@ public int hashCode() { hash = (37 * hash) + SERIALIZED_RECORD_BATCH_FIELD_NUMBER; hash = (53 * hash) + getSerializedRecordBatch().hashCode(); hash = (37 * hash) + ROW_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRowCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getRowCount()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.bigquery.storage.v1.ArrowRecordBatch parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.ArrowRecordBatch parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.ArrowRecordBatch parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.ArrowRecordBatch parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.ArrowRecordBatch parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.ArrowRecordBatch parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1.ArrowRecordBatch parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.ArrowRecordBatch parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1.ArrowRecordBatch parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.ArrowRecordBatch parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.ArrowRecordBatch parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1.ArrowRecordBatch parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.ArrowRecordBatch parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1.ArrowRecordBatch parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.storage.v1.ArrowRecordBatch prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.ArrowRecordBatch prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Arrow RecordBatch.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.ArrowRecordBatch} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.ArrowRecordBatch) com.google.cloud.bigquery.storage.v1.ArrowRecordBatchOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.ArrowProto - .internal_static_google_cloud_bigquery_storage_v1_ArrowRecordBatch_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.ArrowProto.internal_static_google_cloud_bigquery_storage_v1_ArrowRecordBatch_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.ArrowProto - .internal_static_google_cloud_bigquery_storage_v1_ArrowRecordBatch_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.ArrowProto.internal_static_google_cloud_bigquery_storage_v1_ArrowRecordBatch_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.ArrowRecordBatch.class, - com.google.cloud.bigquery.storage.v1.ArrowRecordBatch.Builder.class); + com.google.cloud.bigquery.storage.v1.ArrowRecordBatch.class, com.google.cloud.bigquery.storage.v1.ArrowRecordBatch.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1.ArrowRecordBatch.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -318,9 +290,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 @@ -339,11 +311,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1.ArrowRecordBatch result = new com.google.cloud.bigquery.storage.v1.ArrowRecordBatch(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -362,39 +331,38 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.ArrowRecordBatch public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.ArrowRecordBatch) { - return mergeFrom((com.google.cloud.bigquery.storage.v1.ArrowRecordBatch) other); + return mergeFrom((com.google.cloud.bigquery.storage.v1.ArrowRecordBatch)other); } else { super.mergeFrom(other); return this; @@ -402,8 +370,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()); } @@ -436,25 +403,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - serializedRecordBatch_ = input.readBytes(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - rowCount_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + serializedRecordBatch_ = input.readBytes(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + rowCount_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -464,20 +428,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.protobuf.ByteString serializedRecordBatch_ = - com.google.protobuf.ByteString.EMPTY; + private com.google.protobuf.ByteString serializedRecordBatch_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * IPC-serialized Arrow RecordBatch.
      * 
* * bytes serialized_record_batch = 1; - * * @return The serializedRecordBatch. */ @java.lang.Override @@ -485,35 +444,27 @@ public com.google.protobuf.ByteString getSerializedRecordBatch() { return serializedRecordBatch_; } /** - * - * *
      * IPC-serialized Arrow RecordBatch.
      * 
* * bytes serialized_record_batch = 1; - * * @param value The serializedRecordBatch to set. * @return This builder for chaining. */ public Builder setSerializedRecordBatch(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } serializedRecordBatch_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * IPC-serialized Arrow RecordBatch.
      * 
* * bytes serialized_record_batch = 1; - * * @return This builder for chaining. */ public Builder clearSerializedRecordBatch() { @@ -523,43 +474,35 @@ public Builder clearSerializedRecordBatch() { return this; } - private long rowCount_; + private long rowCount_ ; /** - * - * *
      * [Deprecated] The count of rows in `serialized_record_batch`.
      * Please use the format-independent ReadRowsResponse.row_count instead.
      * 
* * int64 row_count = 2 [deprecated = true]; - * - * @deprecated google.cloud.bigquery.storage.v1.ArrowRecordBatch.row_count is deprecated. See - * google/cloud/bigquery/storage/v1/arrow.proto;l=43 + * @deprecated google.cloud.bigquery.storage.v1.ArrowRecordBatch.row_count is deprecated. + * See google/cloud/bigquery/storage/v1/arrow.proto;l=43 * @return The rowCount. */ @java.lang.Override - @java.lang.Deprecated - public long getRowCount() { + @java.lang.Deprecated public long getRowCount() { return rowCount_; } /** - * - * *
      * [Deprecated] The count of rows in `serialized_record_batch`.
      * Please use the format-independent ReadRowsResponse.row_count instead.
      * 
* * int64 row_count = 2 [deprecated = true]; - * - * @deprecated google.cloud.bigquery.storage.v1.ArrowRecordBatch.row_count is deprecated. See - * google/cloud/bigquery/storage/v1/arrow.proto;l=43 + * @deprecated google.cloud.bigquery.storage.v1.ArrowRecordBatch.row_count is deprecated. + * See google/cloud/bigquery/storage/v1/arrow.proto;l=43 * @param value The rowCount to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setRowCount(long value) { + @java.lang.Deprecated public Builder setRowCount(long value) { rowCount_ = value; bitField0_ |= 0x00000002; @@ -567,29 +510,25 @@ public Builder setRowCount(long value) { return this; } /** - * - * *
      * [Deprecated] The count of rows in `serialized_record_batch`.
      * Please use the format-independent ReadRowsResponse.row_count instead.
      * 
* * int64 row_count = 2 [deprecated = true]; - * - * @deprecated google.cloud.bigquery.storage.v1.ArrowRecordBatch.row_count is deprecated. See - * google/cloud/bigquery/storage/v1/arrow.proto;l=43 + * @deprecated google.cloud.bigquery.storage.v1.ArrowRecordBatch.row_count is deprecated. + * See google/cloud/bigquery/storage/v1/arrow.proto;l=43 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearRowCount() { + @java.lang.Deprecated public Builder clearRowCount() { bitField0_ = (bitField0_ & ~0x00000002); rowCount_ = 0L; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -599,12 +538,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(); } @@ -613,27 +552,27 @@ public static com.google.cloud.bigquery.storage.v1.ArrowRecordBatch getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ArrowRecordBatch parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ArrowRecordBatch parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -648,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 52% 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 150adb8005..a8c7d9e410 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,56 +1,33 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 // Protobuf Java Version: 3.25.2 package com.google.cloud.bigquery.storage.v1; -public interface ArrowRecordBatchOrBuilder - extends +public interface ArrowRecordBatchOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.ArrowRecordBatch) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * IPC-serialized Arrow RecordBatch.
    * 
* * bytes serialized_record_batch = 1; - * * @return The serializedRecordBatch. */ com.google.protobuf.ByteString getSerializedRecordBatch(); /** - * - * *
    * [Deprecated] The count of rows in `serialized_record_batch`.
    * Please use the format-independent ReadRowsResponse.row_count instead.
    * 
* * int64 row_count = 2 [deprecated = true]; - * - * @deprecated google.cloud.bigquery.storage.v1.ArrowRecordBatch.row_count is deprecated. See - * google/cloud/bigquery/storage/v1/arrow.proto;l=43 + * @deprecated google.cloud.bigquery.storage.v1.ArrowRecordBatch.row_count is deprecated. + * See google/cloud/bigquery/storage/v1/arrow.proto;l=43 * @return The rowCount. */ - @java.lang.Deprecated - long getRowCount(); + @java.lang.Deprecated long getRowCount(); } diff --git a/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 65% 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 ce0decbb05..7c9e7c56fc 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,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 @@ -20,8 +5,6 @@ package com.google.cloud.bigquery.storage.v1; /** - * - * *
  * Arrow schema as specified in
  * https://arrow.apache.org/docs/python/api/datatypes.html
@@ -33,52 +16,47 @@
  *
  * Protobuf type {@code google.cloud.bigquery.storage.v1.ArrowSchema}
  */
-public final class ArrowSchema extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ArrowSchema extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.ArrowSchema)
     ArrowSchemaOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ArrowSchema.newBuilder() to construct.
   private ArrowSchema(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ArrowSchema() {
     serializedSchema_ = com.google.protobuf.ByteString.EMPTY;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ArrowSchema();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.bigquery.storage.v1.ArrowProto
-        .internal_static_google_cloud_bigquery_storage_v1_ArrowSchema_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.bigquery.storage.v1.ArrowProto.internal_static_google_cloud_bigquery_storage_v1_ArrowSchema_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.storage.v1.ArrowProto
-        .internal_static_google_cloud_bigquery_storage_v1_ArrowSchema_fieldAccessorTable
+    return com.google.cloud.bigquery.storage.v1.ArrowProto.internal_static_google_cloud_bigquery_storage_v1_ArrowSchema_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.storage.v1.ArrowSchema.class,
-            com.google.cloud.bigquery.storage.v1.ArrowSchema.Builder.class);
+            com.google.cloud.bigquery.storage.v1.ArrowSchema.class, com.google.cloud.bigquery.storage.v1.ArrowSchema.Builder.class);
   }
 
   public static final int SERIALIZED_SCHEMA_FIELD_NUMBER = 1;
   private com.google.protobuf.ByteString serializedSchema_ = com.google.protobuf.ByteString.EMPTY;
   /**
-   *
-   *
    * 
    * IPC serialized Arrow schema.
    * 
* * bytes serialized_schema = 1; - * * @return The serializedSchema. */ @java.lang.Override @@ -87,7 +65,6 @@ public com.google.protobuf.ByteString getSerializedSchema() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -99,7 +76,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_); } @@ -113,7 +91,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -123,15 +102,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1.ArrowSchema)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.ArrowSchema other = - (com.google.cloud.bigquery.storage.v1.ArrowSchema) obj; + com.google.cloud.bigquery.storage.v1.ArrowSchema other = (com.google.cloud.bigquery.storage.v1.ArrowSchema) obj; - if (!getSerializedSchema().equals(other.getSerializedSchema())) return false; + if (!getSerializedSchema() + .equals(other.getSerializedSchema())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -150,104 +129,99 @@ 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
@@ -259,32 +233,33 @@ 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()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -294,9 +269,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
@@ -315,11 +290,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);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.bigquery.storage.v1.ArrowSchema result = new com.google.cloud.bigquery.storage.v1.ArrowSchema(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -335,39 +307,38 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.ArrowSchema resu
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.storage.v1.ArrowSchema) {
-        return mergeFrom((com.google.cloud.bigquery.storage.v1.ArrowSchema) other);
+        return mergeFrom((com.google.cloud.bigquery.storage.v1.ArrowSchema)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -375,8 +346,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());
       }
@@ -406,19 +376,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                serializedSchema_ = input.readBytes();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              serializedSchema_ = input.readBytes();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -428,19 +396,15 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.protobuf.ByteString serializedSchema_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * IPC serialized Arrow schema.
      * 
* * bytes serialized_schema = 1; - * * @return The serializedSchema. */ @java.lang.Override @@ -448,35 +412,27 @@ public com.google.protobuf.ByteString getSerializedSchema() { return serializedSchema_; } /** - * - * *
      * IPC serialized Arrow schema.
      * 
* * bytes serialized_schema = 1; - * * @param value The serializedSchema to set. * @return This builder for chaining. */ public Builder setSerializedSchema(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } serializedSchema_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * IPC serialized Arrow schema.
      * 
* * bytes serialized_schema = 1; - * * @return This builder for chaining. */ public Builder clearSerializedSchema() { @@ -485,9 +441,9 @@ public Builder clearSerializedSchema() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -497,12 +453,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(); } @@ -511,27 +467,27 @@ public static com.google.cloud.bigquery.storage.v1.ArrowSchema getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ArrowSchema parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ArrowSchema parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -546,4 +502,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..06866075da --- /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,20 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1/arrow.proto + +// Protobuf Java Version: 3.25.2 +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 60% 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 abda625760..d9068db4b0 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,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 @@ -20,63 +5,55 @@ package com.google.cloud.bigquery.storage.v1; /** - * - * *
  * Contains options specific to Arrow Serialization.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.ArrowSerializationOptions} */ -public final class ArrowSerializationOptions extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ArrowSerializationOptions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.ArrowSerializationOptions) ArrowSerializationOptionsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ArrowSerializationOptions.newBuilder() to construct. private ArrowSerializationOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ArrowSerializationOptions() { bufferCompression_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ArrowSerializationOptions(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.ArrowProto - .internal_static_google_cloud_bigquery_storage_v1_ArrowSerializationOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.ArrowProto.internal_static_google_cloud_bigquery_storage_v1_ArrowSerializationOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.ArrowProto - .internal_static_google_cloud_bigquery_storage_v1_ArrowSerializationOptions_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.ArrowProto.internal_static_google_cloud_bigquery_storage_v1_ArrowSerializationOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.class, - com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.Builder.class); + com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.class, com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.Builder.class); } /** - * - * *
    * Compression codec's supported by Arrow.
    * 
* - * Protobuf enum {@code - * google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec} + * Protobuf enum {@code google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec} */ - public enum CompressionCodec implements com.google.protobuf.ProtocolMessageEnum { + public enum CompressionCodec + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * If unspecified no compression will be used.
      * 
@@ -85,8 +62,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)
      * 
@@ -95,8 +70,6 @@ public enum CompressionCodec implements com.google.protobuf.ProtocolMessageEnum */ LZ4_FRAME(1), /** - * - * *
      * Zstandard compression.
      * 
@@ -108,8 +81,6 @@ public enum CompressionCodec implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
      * If unspecified no compression will be used.
      * 
@@ -118,8 +89,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)
      * 
@@ -128,8 +97,6 @@ public enum CompressionCodec implements com.google.protobuf.ProtocolMessageEnum */ public static final int LZ4_FRAME_VALUE = 1; /** - * - * *
      * Zstandard compression.
      * 
@@ -138,6 +105,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( @@ -162,45 +130,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(); @@ -208,7 +171,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; @@ -228,51 +192,32 @@ private CompressionCodec(int value) { public static final int BUFFER_COMPRESSION_FIELD_NUMBER = 2; private int bufferCompression_ = 0; /** - * - * *
    * The compression codec to use for Arrow buffers in serialized record
    * batches.
    * 
* - * - * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec buffer_compression = 2; - * - * + * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec buffer_compression = 2; * @return The enum numeric value on the wire for bufferCompression. */ - @java.lang.Override - public int getBufferCompressionValue() { + @java.lang.Override public int getBufferCompressionValue() { return bufferCompression_; } /** - * - * *
    * The compression codec to use for Arrow buffers in serialized record
    * batches.
    * 
* - * - * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec buffer_compression = 2; - * - * + * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec buffer_compression = 2; * @return The bufferCompression. */ - @java.lang.Override - public com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec - getBufferCompression() { - com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec result = - com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec.forNumber( - bufferCompression_); - return result == null - ? com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec - .UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec getBufferCompression() { + com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec result = com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec.forNumber(bufferCompression_); + return result == null ? com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -284,11 +229,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_); } getUnknownFields().writeTo(output); @@ -300,11 +243,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -314,13 +255,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -342,136 +282,131 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Contains options specific to Arrow Serialization.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.ArrowSerializationOptions} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.ArrowSerializationOptions) com.google.cloud.bigquery.storage.v1.ArrowSerializationOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.ArrowProto - .internal_static_google_cloud_bigquery_storage_v1_ArrowSerializationOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.ArrowProto.internal_static_google_cloud_bigquery_storage_v1_ArrowSerializationOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.ArrowProto - .internal_static_google_cloud_bigquery_storage_v1_ArrowSerializationOptions_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.ArrowProto.internal_static_google_cloud_bigquery_storage_v1_ArrowSerializationOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.class, - com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.Builder.class); + com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.class, com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -481,14 +416,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(); } @@ -503,17 +437,13 @@ public com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions buildPartial() { - com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions result = - new com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions result = new com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions result) { + private void buildPartial0(com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.bufferCompression_ = bufferCompression_; @@ -524,39 +454,38 @@ private void buildPartial0( 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; @@ -564,9 +493,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()); } @@ -596,19 +523,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 16: - { - bufferCompression_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 16: { + bufferCompression_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -618,40 +543,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int bufferCompression_ = 0; /** - * - * *
      * The compression codec to use for Arrow buffers in serialized record
      * batches.
      * 
* - * - * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec buffer_compression = 2; - * - * + * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec buffer_compression = 2; * @return The enum numeric value on the wire for bufferCompression. */ - @java.lang.Override - public int getBufferCompressionValue() { + @java.lang.Override public int getBufferCompressionValue() { return bufferCompression_; } /** - * - * *
      * The compression codec to use for Arrow buffers in serialized record
      * batches.
      * 
* - * - * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec buffer_compression = 2; - * - * + * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec buffer_compression = 2; * @param value The enum numeric value on the wire for bufferCompression to set. * @return This builder for chaining. */ @@ -662,47 +575,30 @@ public Builder setBufferCompressionValue(int value) { return this; } /** - * - * *
      * The compression codec to use for Arrow buffers in serialized record
      * batches.
      * 
* - * - * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec buffer_compression = 2; - * - * + * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec buffer_compression = 2; * @return The bufferCompression. */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec - getBufferCompression() { - com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec result = - com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec.forNumber( - bufferCompression_); - return result == null - ? com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec - .UNRECOGNIZED - : result; + public com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec getBufferCompression() { + com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec result = com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec.forNumber(bufferCompression_); + return result == null ? com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec.UNRECOGNIZED : result; } /** - * - * *
      * The compression codec to use for Arrow buffers in serialized record
      * batches.
      * 
* - * - * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec buffer_compression = 2; - * - * + * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec buffer_compression = 2; * @param value The bufferCompression to set. * @return This builder for chaining. */ - public Builder setBufferCompression( - com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec value) { + public Builder setBufferCompression(com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.CompressionCodec value) { if (value == null) { throw new NullPointerException(); } @@ -712,17 +608,12 @@ public Builder setBufferCompression( 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() { @@ -731,9 +622,9 @@ public Builder clearBufferCompression() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -743,43 +634,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.ArrowSerializationOptions) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.ArrowSerializationOptions) - private static final com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions(); } - public static com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions - getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ArrowSerializationOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ArrowSerializationOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -791,8 +680,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..6ff00db49c --- /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,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1/arrow.proto + +// Protobuf Java Version: 3.25.2 +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..cfe1edf249 --- /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,79 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1/avro.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.bigquery.storage.v1; + +public final class AvroProto { + private AvroProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_AvroSchema_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_AvroSchema_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_AvroRows_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_AvroRows_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_AvroSerializationOptions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_AvroSerializationOptions_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n+google/cloud/bigquery/storage/v1/avro." + + "proto\022 google.cloud.bigquery.storage.v1\"" + + "\034\n\nAvroSchema\022\016\n\006schema\030\001 \001(\t\"A\n\010AvroRow" + + "s\022\036\n\026serialized_binary_rows\030\001 \001(\014\022\025\n\trow" + + "_count\030\002 \001(\003B\002\030\001\"A\n\030AvroSerializationOpt" + + "ions\022%\n\035enable_display_name_attribute\030\001 " + + "\001(\010B\271\001\n$com.google.cloud.bigquery.storag" + + "e.v1B\tAvroProtoP\001Z>cloud.google.com/go/b" + + "igquery/storage/apiv1/storagepb;storagep" + + "b\252\002 Google.Cloud.BigQuery.Storage.V1\312\002 G" + + "oogle\\Cloud\\BigQuery\\Storage\\V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_google_cloud_bigquery_storage_v1_AvroSchema_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_storage_v1_AvroSchema_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_AvroSchema_descriptor, + new java.lang.String[] { "Schema", }); + internal_static_google_cloud_bigquery_storage_v1_AvroRows_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_storage_v1_AvroRows_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_AvroRows_descriptor, + new java.lang.String[] { "SerializedBinaryRows", "RowCount", }); + internal_static_google_cloud_bigquery_storage_v1_AvroSerializationOptions_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_bigquery_storage_v1_AvroSerializationOptions_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_AvroSerializationOptions_descriptor, + new java.lang.String[] { "EnableDisplayNameAttribute", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/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 65% 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 bc3f536abb..6a423f8a18 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,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 @@ -20,61 +5,53 @@ package com.google.cloud.bigquery.storage.v1; /** - * - * *
  * Avro rows.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.AvroRows} */ -public final class AvroRows extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AvroRows extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.AvroRows) AvroRowsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AvroRows.newBuilder() to construct. private AvroRows(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AvroRows() { serializedBinaryRows_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AvroRows(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.AvroProto - .internal_static_google_cloud_bigquery_storage_v1_AvroRows_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.AvroProto.internal_static_google_cloud_bigquery_storage_v1_AvroRows_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.AvroProto - .internal_static_google_cloud_bigquery_storage_v1_AvroRows_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.AvroProto.internal_static_google_cloud_bigquery_storage_v1_AvroRows_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.AvroRows.class, - com.google.cloud.bigquery.storage.v1.AvroRows.Builder.class); + com.google.cloud.bigquery.storage.v1.AvroRows.class, com.google.cloud.bigquery.storage.v1.AvroRows.Builder.class); } public static final int SERIALIZED_BINARY_ROWS_FIELD_NUMBER = 1; - private com.google.protobuf.ByteString serializedBinaryRows_ = - com.google.protobuf.ByteString.EMPTY; + private com.google.protobuf.ByteString serializedBinaryRows_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * Binary serialized rows in a block.
    * 
* * bytes serialized_binary_rows = 1; - * * @return The serializedBinaryRows. */ @java.lang.Override @@ -85,27 +62,22 @@ public com.google.protobuf.ByteString getSerializedBinaryRows() { public static final int ROW_COUNT_FIELD_NUMBER = 2; private long rowCount_ = 0L; /** - * - * *
    * [Deprecated] The count of rows in the returning block.
    * Please use the format-independent ReadRowsResponse.row_count instead.
    * 
* * int64 row_count = 2 [deprecated = true]; - * - * @deprecated google.cloud.bigquery.storage.v1.AvroRows.row_count is deprecated. See - * google/cloud/bigquery/storage/v1/avro.proto;l=39 + * @deprecated google.cloud.bigquery.storage.v1.AvroRows.row_count is deprecated. + * See google/cloud/bigquery/storage/v1/avro.proto;l=39 * @return The rowCount. */ @java.lang.Override - @java.lang.Deprecated - public long getRowCount() { + @java.lang.Deprecated public long getRowCount() { return rowCount_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +89,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_); } @@ -134,10 +107,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -147,16 +122,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -171,142 +147,139 @@ public int hashCode() { hash = (37 * hash) + SERIALIZED_BINARY_ROWS_FIELD_NUMBER; hash = (53 * hash) + getSerializedBinaryRows().hashCode(); hash = (37 * hash) + ROW_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRowCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getRowCount()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.bigquery.storage.v1.AvroRows parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.bigquery.storage.v1.AvroRows parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.AvroRows parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.AvroRows parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.AvroRows parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.AvroRows parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.AvroRows parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.AvroRows parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1.AvroRows parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.AvroRows parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.AvroRows parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1.AvroRows parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.AvroRows parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1.AvroRows parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.AvroRows prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Avro rows.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.AvroRows} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.AvroRows) com.google.cloud.bigquery.storage.v1.AvroRowsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.AvroProto - .internal_static_google_cloud_bigquery_storage_v1_AvroRows_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.AvroProto.internal_static_google_cloud_bigquery_storage_v1_AvroRows_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.AvroProto - .internal_static_google_cloud_bigquery_storage_v1_AvroRows_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.AvroProto.internal_static_google_cloud_bigquery_storage_v1_AvroRows_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.AvroRows.class, - com.google.cloud.bigquery.storage.v1.AvroRows.Builder.class); + com.google.cloud.bigquery.storage.v1.AvroRows.class, com.google.cloud.bigquery.storage.v1.AvroRows.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1.AvroRows.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -317,9 +290,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 @@ -338,11 +311,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1.AvroRows result = new com.google.cloud.bigquery.storage.v1.AvroRows(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -361,39 +331,38 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.AvroRows result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.AvroRows) { - return mergeFrom((com.google.cloud.bigquery.storage.v1.AvroRows) other); + return mergeFrom((com.google.cloud.bigquery.storage.v1.AvroRows)other); } else { super.mergeFrom(other); return this; @@ -434,25 +403,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - serializedBinaryRows_ = input.readBytes(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - rowCount_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + serializedBinaryRows_ = input.readBytes(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + rowCount_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -462,20 +428,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.protobuf.ByteString serializedBinaryRows_ = - com.google.protobuf.ByteString.EMPTY; + private com.google.protobuf.ByteString serializedBinaryRows_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * Binary serialized rows in a block.
      * 
* * bytes serialized_binary_rows = 1; - * * @return The serializedBinaryRows. */ @java.lang.Override @@ -483,35 +444,27 @@ public com.google.protobuf.ByteString getSerializedBinaryRows() { return serializedBinaryRows_; } /** - * - * *
      * Binary serialized rows in a block.
      * 
* * bytes serialized_binary_rows = 1; - * * @param value The serializedBinaryRows to set. * @return This builder for chaining. */ public Builder setSerializedBinaryRows(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } serializedBinaryRows_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Binary serialized rows in a block.
      * 
* * bytes serialized_binary_rows = 1; - * * @return This builder for chaining. */ public Builder clearSerializedBinaryRows() { @@ -521,43 +474,35 @@ public Builder clearSerializedBinaryRows() { return this; } - private long rowCount_; + private long rowCount_ ; /** - * - * *
      * [Deprecated] The count of rows in the returning block.
      * Please use the format-independent ReadRowsResponse.row_count instead.
      * 
* * int64 row_count = 2 [deprecated = true]; - * - * @deprecated google.cloud.bigquery.storage.v1.AvroRows.row_count is deprecated. See - * google/cloud/bigquery/storage/v1/avro.proto;l=39 + * @deprecated google.cloud.bigquery.storage.v1.AvroRows.row_count is deprecated. + * See google/cloud/bigquery/storage/v1/avro.proto;l=39 * @return The rowCount. */ @java.lang.Override - @java.lang.Deprecated - public long getRowCount() { + @java.lang.Deprecated public long getRowCount() { return rowCount_; } /** - * - * *
      * [Deprecated] The count of rows in the returning block.
      * Please use the format-independent ReadRowsResponse.row_count instead.
      * 
* * int64 row_count = 2 [deprecated = true]; - * - * @deprecated google.cloud.bigquery.storage.v1.AvroRows.row_count is deprecated. See - * google/cloud/bigquery/storage/v1/avro.proto;l=39 + * @deprecated google.cloud.bigquery.storage.v1.AvroRows.row_count is deprecated. + * See google/cloud/bigquery/storage/v1/avro.proto;l=39 * @param value The rowCount to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setRowCount(long value) { + @java.lang.Deprecated public Builder setRowCount(long value) { rowCount_ = value; bitField0_ |= 0x00000002; @@ -565,29 +510,25 @@ public Builder setRowCount(long value) { return this; } /** - * - * *
      * [Deprecated] The count of rows in the returning block.
      * Please use the format-independent ReadRowsResponse.row_count instead.
      * 
* * int64 row_count = 2 [deprecated = true]; - * - * @deprecated google.cloud.bigquery.storage.v1.AvroRows.row_count is deprecated. See - * google/cloud/bigquery/storage/v1/avro.proto;l=39 + * @deprecated google.cloud.bigquery.storage.v1.AvroRows.row_count is deprecated. + * See google/cloud/bigquery/storage/v1/avro.proto;l=39 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearRowCount() { + @java.lang.Deprecated public Builder clearRowCount() { bitField0_ = (bitField0_ & ~0x00000002); rowCount_ = 0L; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -597,12 +538,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(); } @@ -611,27 +552,27 @@ public static com.google.cloud.bigquery.storage.v1.AvroRows getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AvroRows parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AvroRows parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -646,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 52% 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 965323833c..25a8b17b0d 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,56 +1,33 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 // Protobuf Java Version: 3.25.2 package com.google.cloud.bigquery.storage.v1; -public interface AvroRowsOrBuilder - extends +public interface AvroRowsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.AvroRows) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Binary serialized rows in a block.
    * 
* * bytes serialized_binary_rows = 1; - * * @return The serializedBinaryRows. */ com.google.protobuf.ByteString getSerializedBinaryRows(); /** - * - * *
    * [Deprecated] The count of rows in the returning block.
    * Please use the format-independent ReadRowsResponse.row_count instead.
    * 
* * int64 row_count = 2 [deprecated = true]; - * - * @deprecated google.cloud.bigquery.storage.v1.AvroRows.row_count is deprecated. See - * google/cloud/bigquery/storage/v1/avro.proto;l=39 + * @deprecated google.cloud.bigquery.storage.v1.AvroRows.row_count is deprecated. + * See google/cloud/bigquery/storage/v1/avro.proto;l=39 * @return The rowCount. */ - @java.lang.Deprecated - long getRowCount(); + @java.lang.Deprecated long getRowCount(); } diff --git a/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 65% 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 fe0246afc6..f8acd7699e 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,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 @@ -20,63 +5,55 @@ package com.google.cloud.bigquery.storage.v1; /** - * - * *
  * Avro schema.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.AvroSchema} */ -public final class AvroSchema extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AvroSchema extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.AvroSchema) AvroSchemaOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AvroSchema.newBuilder() to construct. private AvroSchema(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AvroSchema() { schema_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AvroSchema(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.AvroProto - .internal_static_google_cloud_bigquery_storage_v1_AvroSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.AvroProto.internal_static_google_cloud_bigquery_storage_v1_AvroSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.AvroProto - .internal_static_google_cloud_bigquery_storage_v1_AvroSchema_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.AvroProto.internal_static_google_cloud_bigquery_storage_v1_AvroSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.AvroSchema.class, - com.google.cloud.bigquery.storage.v1.AvroSchema.Builder.class); + com.google.cloud.bigquery.storage.v1.AvroSchema.class, com.google.cloud.bigquery.storage.v1.AvroSchema.Builder.class); } public static final int SCHEMA_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object schema_ = ""; /** - * - * *
    * Json serialized schema, as described at
    * https://avro.apache.org/docs/1.8.1/spec.html.
    * 
* * string schema = 1; - * * @return The schema. */ @java.lang.Override @@ -85,30 +62,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 { @@ -117,7 +94,6 @@ public com.google.protobuf.ByteString getSchemaBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -129,7 +105,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schema_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, schema_); } @@ -153,15 +130,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1.AvroSchema)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.AvroSchema other = - (com.google.cloud.bigquery.storage.v1.AvroSchema) obj; + com.google.cloud.bigquery.storage.v1.AvroSchema other = (com.google.cloud.bigquery.storage.v1.AvroSchema) obj; - if (!getSchema().equals(other.getSchema())) return false; + if (!getSchema() + .equals(other.getSchema())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -180,136 +157,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.bigquery.storage.v1.AvroSchema parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.bigquery.storage.v1.AvroSchema parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.AvroSchema parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.AvroSchema parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.AvroSchema parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.AvroSchema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.AvroSchema parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.AvroSchema parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1.AvroSchema parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.AvroSchema parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.AvroSchema parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1.AvroSchema parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.AvroSchema parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1.AvroSchema parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.AvroSchema prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Avro schema.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.AvroSchema} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.AvroSchema) com.google.cloud.bigquery.storage.v1.AvroSchemaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.AvroProto - .internal_static_google_cloud_bigquery_storage_v1_AvroSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.AvroProto.internal_static_google_cloud_bigquery_storage_v1_AvroSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.AvroProto - .internal_static_google_cloud_bigquery_storage_v1_AvroSchema_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.AvroProto.internal_static_google_cloud_bigquery_storage_v1_AvroSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.AvroSchema.class, - com.google.cloud.bigquery.storage.v1.AvroSchema.Builder.class); + com.google.cloud.bigquery.storage.v1.AvroSchema.class, com.google.cloud.bigquery.storage.v1.AvroSchema.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1.AvroSchema.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -319,9 +292,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 @@ -340,11 +313,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1.AvroSchema result = new com.google.cloud.bigquery.storage.v1.AvroSchema(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -360,39 +330,38 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.AvroSchema resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.AvroSchema) { - return mergeFrom((com.google.cloud.bigquery.storage.v1.AvroSchema) other); + return mergeFrom((com.google.cloud.bigquery.storage.v1.AvroSchema)other); } else { super.mergeFrom(other); return this; @@ -400,8 +369,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_; bitField0_ |= 0x00000001; @@ -433,19 +401,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - schema_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + schema_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -455,26 +421,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object schema_ = ""; /** - * - * *
      * Json serialized schema, as described at
      * https://avro.apache.org/docs/1.8.1/spec.html.
      * 
* * string schema = 1; - * * @return The schema. */ public java.lang.String getSchema() { java.lang.Object ref = schema_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schema_ = s; return s; @@ -483,22 +446,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 { @@ -506,37 +468,30 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSchema( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } schema_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Json serialized schema, as described at
      * https://avro.apache.org/docs/1.8.1/spec.html.
      * 
* * string schema = 1; - * * @return This builder for chaining. */ public Builder clearSchema() { @@ -546,31 +501,27 @@ public Builder clearSchema() { return this; } /** - * - * *
      * Json serialized schema, as described at
      * https://avro.apache.org/docs/1.8.1/spec.html.
      * 
* * string schema = 1; - * * @param value The bytes for schema to set. * @return This builder for chaining. */ - public Builder setSchemaBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSchemaBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); schema_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -580,12 +531,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(); } @@ -594,27 +545,27 @@ public static com.google.cloud.bigquery.storage.v1.AvroSchema getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AvroSchema parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AvroSchema parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -629,4 +580,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 51% 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 4dac4d9b69..a154c8ec03 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,53 +1,32 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 // Protobuf Java Version: 3.25.2 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/AvroSerializationOptions.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroSerializationOptions.java similarity index 66% rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroSerializationOptions.java rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroSerializationOptions.java index b7b88a5bbf..4ba7dc66be 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroSerializationOptions.java +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroSerializationOptions.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 @@ -20,52 +5,47 @@ package com.google.cloud.bigquery.storage.v1; /** - * - * *
  * Contains options specific to Avro Serialization.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.AvroSerializationOptions} */ -public final class AvroSerializationOptions extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AvroSerializationOptions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.AvroSerializationOptions) AvroSerializationOptionsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AvroSerializationOptions.newBuilder() to construct. private AvroSerializationOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private AvroSerializationOptions() {} + private AvroSerializationOptions() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AvroSerializationOptions(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.AvroProto - .internal_static_google_cloud_bigquery_storage_v1_AvroSerializationOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.AvroProto.internal_static_google_cloud_bigquery_storage_v1_AvroSerializationOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.AvroProto - .internal_static_google_cloud_bigquery_storage_v1_AvroSerializationOptions_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.AvroProto.internal_static_google_cloud_bigquery_storage_v1_AvroSerializationOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.class, - com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.Builder.class); + com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.class, com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.Builder.class); } public static final int ENABLE_DISPLAY_NAME_ATTRIBUTE_FIELD_NUMBER = 1; private boolean enableDisplayNameAttribute_ = false; /** - * - * *
    * Enable displayName attribute in Avro schema.
    *
@@ -80,7 +60,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * bool enable_display_name_attribute = 1; - * * @return The enableDisplayNameAttribute. */ @java.lang.Override @@ -89,7 +68,6 @@ public boolean getEnableDisplayNameAttribute() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -101,7 +79,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 (enableDisplayNameAttribute_ != false) { output.writeBool(1, enableDisplayNameAttribute_); } @@ -115,7 +94,8 @@ public int getSerializedSize() { size = 0; if (enableDisplayNameAttribute_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enableDisplayNameAttribute_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enableDisplayNameAttribute_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -125,15 +105,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1.AvroSerializationOptions)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.AvroSerializationOptions other = - (com.google.cloud.bigquery.storage.v1.AvroSerializationOptions) obj; + com.google.cloud.bigquery.storage.v1.AvroSerializationOptions other = (com.google.cloud.bigquery.storage.v1.AvroSerializationOptions) obj; - if (getEnableDisplayNameAttribute() != other.getEnableDisplayNameAttribute()) return false; + if (getEnableDisplayNameAttribute() + != other.getEnableDisplayNameAttribute()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -146,143 +126,139 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLE_DISPLAY_NAME_ATTRIBUTE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableDisplayNameAttribute()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnableDisplayNameAttribute()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.bigquery.storage.v1.AvroSerializationOptions parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.AvroSerializationOptions parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.AvroSerializationOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.AvroSerializationOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.AvroSerializationOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.AvroSerializationOptions parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1.AvroSerializationOptions parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.AvroSerializationOptions parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1.AvroSerializationOptions parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.AvroSerializationOptions parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.AvroSerializationOptions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1.AvroSerializationOptions parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.AvroSerializationOptions parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1.AvroSerializationOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.storage.v1.AvroSerializationOptions prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.AvroSerializationOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Contains options specific to Avro Serialization.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.AvroSerializationOptions} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.AvroSerializationOptions) com.google.cloud.bigquery.storage.v1.AvroSerializationOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.AvroProto - .internal_static_google_cloud_bigquery_storage_v1_AvroSerializationOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.AvroProto.internal_static_google_cloud_bigquery_storage_v1_AvroSerializationOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.AvroProto - .internal_static_google_cloud_bigquery_storage_v1_AvroSerializationOptions_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.AvroProto.internal_static_google_cloud_bigquery_storage_v1_AvroSerializationOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.class, - com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.Builder.class); + com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.class, com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -292,14 +268,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1.AvroProto - .internal_static_google_cloud_bigquery_storage_v1_AvroSerializationOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1.AvroProto.internal_static_google_cloud_bigquery_storage_v1_AvroSerializationOptions_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1.AvroSerializationOptions - getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1.AvroSerializationOptions getDefaultInstanceForType() { return com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.getDefaultInstance(); } @@ -314,17 +289,13 @@ public com.google.cloud.bigquery.storage.v1.AvroSerializationOptions build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1.AvroSerializationOptions buildPartial() { - com.google.cloud.bigquery.storage.v1.AvroSerializationOptions result = - new com.google.cloud.bigquery.storage.v1.AvroSerializationOptions(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1.AvroSerializationOptions result = new com.google.cloud.bigquery.storage.v1.AvroSerializationOptions(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.storage.v1.AvroSerializationOptions result) { + private void buildPartial0(com.google.cloud.bigquery.storage.v1.AvroSerializationOptions result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.enableDisplayNameAttribute_ = enableDisplayNameAttribute_; @@ -335,39 +306,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.AvroSerializationOptions) { - return mergeFrom((com.google.cloud.bigquery.storage.v1.AvroSerializationOptions) other); + return mergeFrom((com.google.cloud.bigquery.storage.v1.AvroSerializationOptions)other); } else { super.mergeFrom(other); return this; @@ -375,9 +345,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.AvroSerializationOptions other) { - if (other - == com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.getDefaultInstance()) - return this; + if (other == com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.getDefaultInstance()) return this; if (other.getEnableDisplayNameAttribute() != false) { setEnableDisplayNameAttribute(other.getEnableDisplayNameAttribute()); } @@ -407,19 +375,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - enableDisplayNameAttribute_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + enableDisplayNameAttribute_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -429,13 +395,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private boolean enableDisplayNameAttribute_; + private boolean enableDisplayNameAttribute_ ; /** - * - * *
      * Enable displayName attribute in Avro schema.
      *
@@ -450,7 +413,6 @@ public Builder mergeFrom(
      * 
* * bool enable_display_name_attribute = 1; - * * @return The enableDisplayNameAttribute. */ @java.lang.Override @@ -458,8 +420,6 @@ public boolean getEnableDisplayNameAttribute() { return enableDisplayNameAttribute_; } /** - * - * *
      * Enable displayName attribute in Avro schema.
      *
@@ -474,7 +434,6 @@ public boolean getEnableDisplayNameAttribute() {
      * 
* * bool enable_display_name_attribute = 1; - * * @param value The enableDisplayNameAttribute to set. * @return This builder for chaining. */ @@ -486,8 +445,6 @@ public Builder setEnableDisplayNameAttribute(boolean value) { return this; } /** - * - * *
      * Enable displayName attribute in Avro schema.
      *
@@ -502,7 +459,6 @@ public Builder setEnableDisplayNameAttribute(boolean value) {
      * 
* * bool enable_display_name_attribute = 1; - * * @return This builder for chaining. */ public Builder clearEnableDisplayNameAttribute() { @@ -511,9 +467,9 @@ public Builder clearEnableDisplayNameAttribute() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -523,13 +479,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.AvroSerializationOptions) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.AvroSerializationOptions) - private static final com.google.cloud.bigquery.storage.v1.AvroSerializationOptions - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.storage.v1.AvroSerializationOptions DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.AvroSerializationOptions(); } @@ -538,27 +493,27 @@ public static com.google.cloud.bigquery.storage.v1.AvroSerializationOptions getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AvroSerializationOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AvroSerializationOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -573,4 +528,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1.AvroSerializationOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroSerializationOptionsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroSerializationOptionsOrBuilder.java similarity index 61% rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroSerializationOptionsOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroSerializationOptionsOrBuilder.java index 15cf7734fa..30d8aaa224 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroSerializationOptionsOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroSerializationOptionsOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 // Protobuf Java Version: 3.25.2 package com.google.cloud.bigquery.storage.v1; -public interface AvroSerializationOptionsOrBuilder - extends +public interface AvroSerializationOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.AvroSerializationOptions) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Enable displayName attribute in Avro schema.
    *
@@ -41,7 +23,6 @@ public interface AvroSerializationOptionsOrBuilder
    * 
* * bool enable_display_name_attribute = 1; - * * @return The enableDisplayNameAttribute. */ boolean getEnableDisplayNameAttribute(); diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BatchCommitWriteStreamsRequest.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BatchCommitWriteStreamsRequest.java similarity index 63% rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BatchCommitWriteStreamsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BatchCommitWriteStreamsRequest.java index 36a9b7e8df..0a2f92e7c4 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BatchCommitWriteStreamsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BatchCommitWriteStreamsRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 @@ -20,67 +5,57 @@ package com.google.cloud.bigquery.storage.v1; /** - * - * *
  * Request message for `BatchCommitWriteStreams`.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest} */ -public final class BatchCommitWriteStreamsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BatchCommitWriteStreamsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest) BatchCommitWriteStreamsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BatchCommitWriteStreamsRequest.newBuilder() to construct. - private BatchCommitWriteStreamsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private BatchCommitWriteStreamsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchCommitWriteStreamsRequest() { parent_ = ""; - writeStreams_ = com.google.protobuf.LazyStringArrayList.emptyList(); + writeStreams_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BatchCommitWriteStreamsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest.class, - com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest.Builder.class); + com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest.class, com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. Parent table that all the streams should belong to, in the form
    * of `projects/{project}/datasets/{dataset}/tables/{table}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -89,32 +64,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, (.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 { @@ -123,47 +96,38 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int WRITE_STREAMS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList writeStreams_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Required. The group of streams that will be committed atomically.
    * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the writeStreams. */ - public com.google.protobuf.ProtocolStringList getWriteStreamsList() { + public com.google.protobuf.ProtocolStringList + getWriteStreamsList() { return writeStreams_; } /** - * - * *
    * Required. The group of streams that will be committed atomically.
    * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of writeStreams. */ public int getWriteStreamsCount() { return writeStreams_.size(); } /** - * - * *
    * Required. The group of streams that will be committed atomically.
    * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The writeStreams at the given index. */ @@ -171,23 +135,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; @@ -199,7 +160,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -234,16 +196,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.BatchCommitWriteStreamsRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest other = - (com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest) obj; + com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest other = (com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getWriteStreamsList().equals(other.getWriteStreamsList())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getWriteStreamsList() + .equals(other.getWriteStreamsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -267,158 +230,150 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for `BatchCommitWriteStreams`.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest) com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest.class, - com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest.Builder.class); + com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest.class, com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest.Builder.class); } - // Construct using - // com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; parent_ = ""; - writeStreams_ = com.google.protobuf.LazyStringArrayList.emptyList(); + writeStreams_ = + com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest - getDefaultInstanceForType() { - return com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest - .getDefaultInstance(); + public com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest getDefaultInstanceForType() { + return com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest.getDefaultInstance(); } @java.lang.Override @@ -432,17 +387,13 @@ public com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest build @java.lang.Override public com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest buildPartial() { - com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest result = - new com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest result = new com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest result) { + private void buildPartial0(com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -457,51 +408,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest) { - return mergeFrom( - (com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest) other); + return mergeFrom((com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest other) { - if (other - == com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest other) { + if (other == com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -543,26 +489,23 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureWriteStreamsIsMutable(); - writeStreams_.add(s); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureWriteStreamsIsMutable(); + writeStreams_.add(s); + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -572,28 +515,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Parent table that all the streams should belong to, in the form
      * of `projects/{project}/datasets/{dataset}/tables/{table}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -602,24 +540,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, (.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 { @@ -627,41 +562,30 @@ 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, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Parent table that all the streams should belong to, in the form
      * of `projects/{project}/datasets/{dataset}/tables/{table}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -671,24 +595,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Parent table that all the streams should belong to, in the form
      * of `projects/{project}/datasets/{dataset}/tables/{table}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -698,7 +616,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList writeStreams_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureWriteStreamsIsMutable() { if (!writeStreams_.isModifiable()) { writeStreams_ = new com.google.protobuf.LazyStringArrayList(writeStreams_); @@ -706,43 +623,35 @@ private void ensureWriteStreamsIsMutable() { bitField0_ |= 0x00000002; } /** - * - * *
      * Required. The group of streams that will be committed atomically.
      * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the writeStreams. */ - public com.google.protobuf.ProtocolStringList getWriteStreamsList() { + public com.google.protobuf.ProtocolStringList + getWriteStreamsList() { writeStreams_.makeImmutable(); return writeStreams_; } /** - * - * *
      * Required. The group of streams that will be committed atomically.
      * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of writeStreams. */ public int getWriteStreamsCount() { return writeStreams_.size(); } /** - * - * *
      * Required. The group of streams that will be committed atomically.
      * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The writeStreams at the given index. */ @@ -750,37 +659,31 @@ public java.lang.String getWriteStreams(int index) { return writeStreams_.get(index); } /** - * - * *
      * Required. The group of streams that will be committed atomically.
      * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the writeStreams at the given index. */ - public com.google.protobuf.ByteString getWriteStreamsBytes(int index) { + public com.google.protobuf.ByteString + getWriteStreamsBytes(int index) { return writeStreams_.getByteString(index); } /** - * - * *
      * Required. The group of streams that will be committed atomically.
      * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index to set the value at. * @param value The writeStreams to set. * @return This builder for chaining. */ - public Builder setWriteStreams(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setWriteStreams( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureWriteStreamsIsMutable(); writeStreams_.set(index, value); bitField0_ |= 0x00000002; @@ -788,21 +691,17 @@ public Builder setWriteStreams(int index, java.lang.String value) { return this; } /** - * - * *
      * Required. The group of streams that will be committed atomically.
      * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The writeStreams to add. * @return This builder for chaining. */ - public Builder addWriteStreams(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addWriteStreams( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureWriteStreamsIsMutable(); writeStreams_.add(value); bitField0_ |= 0x00000002; @@ -810,58 +709,50 @@ public Builder addWriteStreams(java.lang.String value) { return this; } /** - * - * *
      * Required. The group of streams that will be committed atomically.
      * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param values The writeStreams to add. * @return This builder for chaining. */ - public Builder addAllWriteStreams(java.lang.Iterable values) { + public Builder addAllWriteStreams( + java.lang.Iterable values) { ensureWriteStreamsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, writeStreams_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, writeStreams_); bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The group of streams that will be committed atomically.
      * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearWriteStreams() { - writeStreams_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; + writeStreams_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } /** - * - * *
      * Required. The group of streams that will be committed atomically.
      * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes of the writeStreams to add. * @return This builder for chaining. */ - public Builder addWriteStreamsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addWriteStreamsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureWriteStreamsIsMutable(); writeStreams_.add(value); @@ -869,9 +760,9 @@ public Builder addWriteStreamsBytes(com.google.protobuf.ByteString 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); } @@ -881,43 +772,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest) - private static final com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest(); } - public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchCommitWriteStreamsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchCommitWriteStreamsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -929,8 +818,9 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BatchCommitWriteStreamsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BatchCommitWriteStreamsRequestOrBuilder.java similarity index 62% rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BatchCommitWriteStreamsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BatchCommitWriteStreamsRequestOrBuilder.java index 64aab5b1ce..e7531311cc 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BatchCommitWriteStreamsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BatchCommitWriteStreamsRequestOrBuilder.java @@ -1,108 +1,73 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 // Protobuf Java Version: 3.25.2 package com.google.cloud.bigquery.storage.v1; -public interface BatchCommitWriteStreamsRequestOrBuilder - extends +public interface BatchCommitWriteStreamsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Parent table that all the streams should belong to, in the form
    * of `projects/{project}/datasets/{dataset}/tables/{table}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Parent table that all the streams should belong to, in the form
    * of `projects/{project}/datasets/{dataset}/tables/{table}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The group of streams that will be committed atomically.
    * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the writeStreams. */ - java.util.List getWriteStreamsList(); + java.util.List + getWriteStreamsList(); /** - * - * *
    * Required. The group of streams that will be committed atomically.
    * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of writeStreams. */ int getWriteStreamsCount(); /** - * - * *
    * Required. The group of streams that will be committed atomically.
    * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The writeStreams at the given index. */ java.lang.String getWriteStreams(int index); /** - * - * *
    * Required. The group of streams that will be committed atomically.
    * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the writeStreams at the given index. */ - com.google.protobuf.ByteString getWriteStreamsBytes(int index); + com.google.protobuf.ByteString + getWriteStreamsBytes(int index); } diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BatchCommitWriteStreamsResponse.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BatchCommitWriteStreamsResponse.java similarity index 74% rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BatchCommitWriteStreamsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BatchCommitWriteStreamsResponse.java index 48bbebbf27..2d92d51df2 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BatchCommitWriteStreamsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BatchCommitWriteStreamsResponse.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 @@ -20,56 +5,49 @@ package com.google.cloud.bigquery.storage.v1; /** - * - * *
  * Response message for `BatchCommitWriteStreams`.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse} */ -public final class BatchCommitWriteStreamsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BatchCommitWriteStreamsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse) BatchCommitWriteStreamsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BatchCommitWriteStreamsResponse.newBuilder() to construct. - private BatchCommitWriteStreamsResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private BatchCommitWriteStreamsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchCommitWriteStreamsResponse() { streamErrors_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BatchCommitWriteStreamsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsResponse_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse.class, - com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse.Builder.class); + com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse.class, com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse.Builder.class); } private int bitField0_; 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.
@@ -77,7 +55,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 @@ -85,8 +62,6 @@ public boolean hasCommitTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The time at which streams were committed in microseconds granularity.
    * This field will only exist when there are no stream errors.
@@ -94,7 +69,6 @@ public boolean hasCommitTime() {
    * 
* * .google.protobuf.Timestamp commit_time = 1; - * * @return The commitTime. */ @java.lang.Override @@ -102,8 +76,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.
@@ -118,12 +90,9 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() {
   }
 
   public static final int STREAM_ERRORS_FIELD_NUMBER = 2;
-
   @SuppressWarnings("serial")
   private java.util.List streamErrors_;
   /**
-   *
-   *
    * 
    * Stream level error if commit failed. Only streams with error will be in
    * the list.
@@ -139,8 +108,6 @@ public java.util.List getStre
     return streamErrors_;
   }
   /**
-   *
-   *
    * 
    * Stream level error if commit failed. Only streams with error will be in
    * the list.
@@ -152,13 +119,11 @@ public java.util.List getStre
    * repeated .google.cloud.bigquery.storage.v1.StorageError stream_errors = 2;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getStreamErrorsOrBuilderList() {
     return streamErrors_;
   }
   /**
-   *
-   *
    * 
    * Stream level error if commit failed. Only streams with error will be in
    * the list.
@@ -174,8 +139,6 @@ public int getStreamErrorsCount() {
     return streamErrors_.size();
   }
   /**
-   *
-   *
    * 
    * Stream level error if commit failed. Only streams with error will be in
    * the list.
@@ -191,8 +154,6 @@ public com.google.cloud.bigquery.storage.v1.StorageError getStreamErrors(int ind
     return streamErrors_.get(index);
   }
   /**
-   *
-   *
    * 
    * Stream level error if commit failed. Only streams with error will be in
    * the list.
@@ -210,7 +171,6 @@ public com.google.cloud.bigquery.storage.v1.StorageErrorOrBuilder getStreamError
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -222,7 +182,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 (((bitField0_ & 0x00000001) != 0)) {
       output.writeMessage(1, getCommitTime());
     }
@@ -239,10 +200,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCommitTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getCommitTime());
     }
     for (int i = 0; i < streamErrors_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, streamErrors_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, streamErrors_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -252,19 +215,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.BatchCommitWriteStreamsResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse other =
-        (com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse) obj;
+    com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse other = (com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse) obj;
 
     if (hasCommitTime() != other.hasCommitTime()) return false;
     if (hasCommitTime()) {
-      if (!getCommitTime().equals(other.getCommitTime())) return false;
+      if (!getCommitTime()
+          .equals(other.getCommitTime())) return false;
     }
-    if (!getStreamErrorsList().equals(other.getStreamErrorsList())) return false;
+    if (!getStreamErrorsList()
+        .equals(other.getStreamErrorsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -290,148 +254,138 @@ public int hashCode() {
   }
 
   public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse parseFrom(
-      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+  public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse parseFrom(byte[] data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse
-      parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
-  public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse
-      parseDelimitedFrom(
-          java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+  public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse parseDelimitedFrom(
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse prototype) {
+  public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Response message for `BatchCommitWriteStreams`.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse) com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsResponse_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse.class, - com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse.Builder.class); + com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse.class, com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse.Builder.class); } - // Construct using - // com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse.newBuilder() + // Construct using com.google.cloud.bigquery.storage.v1.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) { getCommitTimeFieldBuilder(); getStreamErrorsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -452,16 +406,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_BatchCommitWriteStreamsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsResponse_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse - getDefaultInstanceForType() { - return com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse - .getDefaultInstance(); + public com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse getDefaultInstanceForType() { + return com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse.getDefaultInstance(); } @java.lang.Override @@ -475,18 +427,14 @@ public com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse buil @java.lang.Override public com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse buildPartial() { - com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse result = - new com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse(this); + com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse result = new com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse result) { if (streamErrorsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { streamErrors_ = java.util.Collections.unmodifiableList(streamErrors_); @@ -498,12 +446,13 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse result) { + private void buildPartial0(com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.commitTime_ = commitTimeBuilder_ == null ? commitTime_ : commitTimeBuilder_.build(); + result.commitTime_ = commitTimeBuilder_ == null + ? commitTime_ + : commitTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -513,51 +462,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse) { - return mergeFrom( - (com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse) other); + return mergeFrom((com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse other) { - if (other - == com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse other) { + if (other == com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse.getDefaultInstance()) return this; if (other.hasCommitTime()) { mergeCommitTime(other.getCommitTime()); } @@ -579,10 +523,9 @@ public Builder mergeFrom( streamErrorsBuilder_ = null; streamErrors_ = other.streamErrors_; bitField0_ = (bitField0_ & ~0x00000002); - streamErrorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getStreamErrorsFieldBuilder() - : null; + streamErrorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getStreamErrorsFieldBuilder() : null; } else { streamErrorsBuilder_.addAllMessages(other.streamErrors_); } @@ -614,33 +557,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getCommitTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - com.google.cloud.bigquery.storage.v1.StorageError m = - input.readMessage( - com.google.cloud.bigquery.storage.v1.StorageError.parser(), - extensionRegistry); - if (streamErrorsBuilder_ == null) { - ensureStreamErrorsIsMutable(); - streamErrors_.add(m); - } else { - streamErrorsBuilder_.addMessage(m); - } - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getCommitTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + com.google.cloud.bigquery.storage.v1.StorageError m = + input.readMessage( + com.google.cloud.bigquery.storage.v1.StorageError.parser(), + extensionRegistry); + if (streamErrorsBuilder_ == null) { + ensureStreamErrorsIsMutable(); + streamErrors_.add(m); + } else { + streamErrorsBuilder_.addMessage(m); + } + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -650,18 +592,12 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.Timestamp commitTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - commitTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> commitTimeBuilder_; /** - * - * *
      * The time at which streams were committed in microseconds granularity.
      * This field will only exist when there are no stream errors.
@@ -669,15 +605,12 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.Timestamp commit_time = 1; - * * @return Whether the commitTime field is set. */ public boolean hasCommitTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The time at which streams were committed in microseconds granularity.
      * This field will only exist when there are no stream errors.
@@ -685,21 +618,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.
@@ -722,8 +650,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.
@@ -732,7 +658,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();
       } else {
@@ -743,8 +670,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.
@@ -755,9 +680,9 @@ public Builder setCommitTime(com.google.protobuf.Timestamp.Builder builderForVal
      */
     public Builder mergeCommitTime(com.google.protobuf.Timestamp value) {
       if (commitTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && commitTime_ != null
-            && commitTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          commitTime_ != null &&
+          commitTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getCommitTimeBuilder().mergeFrom(value);
         } else {
           commitTime_ = value;
@@ -772,8 +697,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.
@@ -793,8 +716,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.
@@ -809,8 +730,6 @@ public com.google.protobuf.Timestamp.Builder getCommitTimeBuilder() {
       return getCommitTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time at which streams were committed in microseconds granularity.
      * This field will only exist when there are no stream errors.
@@ -823,14 +742,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.
@@ -840,43 +756,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_ & 0x00000002) != 0)) {
-        streamErrors_ =
-            new java.util.ArrayList(
-                streamErrors_);
+        streamErrors_ = new java.util.ArrayList(streamErrors_);
         bitField0_ |= 0x00000002;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.bigquery.storage.v1.StorageError,
-            com.google.cloud.bigquery.storage.v1.StorageError.Builder,
-            com.google.cloud.bigquery.storage.v1.StorageErrorOrBuilder>
-        streamErrorsBuilder_;
+        com.google.cloud.bigquery.storage.v1.StorageError, com.google.cloud.bigquery.storage.v1.StorageError.Builder, com.google.cloud.bigquery.storage.v1.StorageErrorOrBuilder> streamErrorsBuilder_;
 
     /**
-     *
-     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -895,8 +800,6 @@ public java.util.List getStre
       }
     }
     /**
-     *
-     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -915,8 +818,6 @@ public int getStreamErrorsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -935,8 +836,6 @@ public com.google.cloud.bigquery.storage.v1.StorageError getStreamErrors(int ind
       }
     }
     /**
-     *
-     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -962,8 +861,6 @@ public Builder setStreamErrors(
       return this;
     }
     /**
-     *
-     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -986,8 +883,6 @@ public Builder setStreamErrors(
       return this;
     }
     /**
-     *
-     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -1012,8 +907,6 @@ public Builder addStreamErrors(com.google.cloud.bigquery.storage.v1.StorageError
       return this;
     }
     /**
-     *
-     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -1039,8 +932,6 @@ public Builder addStreamErrors(
       return this;
     }
     /**
-     *
-     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -1063,8 +954,6 @@ public Builder addStreamErrors(
       return this;
     }
     /**
-     *
-     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -1087,8 +976,6 @@ public Builder addStreamErrors(
       return this;
     }
     /**
-     *
-     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -1103,7 +990,8 @@ public Builder addAllStreamErrors(
         java.lang.Iterable values) {
       if (streamErrorsBuilder_ == null) {
         ensureStreamErrorsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, streamErrors_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, streamErrors_);
         onChanged();
       } else {
         streamErrorsBuilder_.addAllMessages(values);
@@ -1111,8 +999,6 @@ public Builder addAllStreamErrors(
       return this;
     }
     /**
-     *
-     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -1134,8 +1020,6 @@ public Builder clearStreamErrors() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -1157,8 +1041,6 @@ public Builder removeStreamErrors(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -1174,8 +1056,6 @@ public com.google.cloud.bigquery.storage.v1.StorageError.Builder getStreamErrors
       return getStreamErrorsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -1189,14 +1069,11 @@ public com.google.cloud.bigquery.storage.v1.StorageError.Builder getStreamErrors
     public com.google.cloud.bigquery.storage.v1.StorageErrorOrBuilder getStreamErrorsOrBuilder(
         int index) {
       if (streamErrorsBuilder_ == null) {
-        return streamErrors_.get(index);
-      } else {
+        return streamErrors_.get(index);  } else {
         return streamErrorsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -1207,8 +1084,8 @@ public com.google.cloud.bigquery.storage.v1.StorageErrorOrBuilder getStreamError
      *
      * repeated .google.cloud.bigquery.storage.v1.StorageError stream_errors = 2;
      */
-    public java.util.List
-        getStreamErrorsOrBuilderList() {
+    public java.util.List 
+         getStreamErrorsOrBuilderList() {
       if (streamErrorsBuilder_ != null) {
         return streamErrorsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1216,8 +1093,6 @@ public com.google.cloud.bigquery.storage.v1.StorageErrorOrBuilder getStreamError
       }
     }
     /**
-     *
-     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -1229,12 +1104,10 @@ public com.google.cloud.bigquery.storage.v1.StorageErrorOrBuilder getStreamError
      * repeated .google.cloud.bigquery.storage.v1.StorageError stream_errors = 2;
      */
     public com.google.cloud.bigquery.storage.v1.StorageError.Builder addStreamErrorsBuilder() {
-      return getStreamErrorsFieldBuilder()
-          .addBuilder(com.google.cloud.bigquery.storage.v1.StorageError.getDefaultInstance());
+      return getStreamErrorsFieldBuilder().addBuilder(
+          com.google.cloud.bigquery.storage.v1.StorageError.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -1247,13 +1120,10 @@ public com.google.cloud.bigquery.storage.v1.StorageError.Builder addStreamErrors
      */
     public com.google.cloud.bigquery.storage.v1.StorageError.Builder addStreamErrorsBuilder(
         int index) {
-      return getStreamErrorsFieldBuilder()
-          .addBuilder(
-              index, com.google.cloud.bigquery.storage.v1.StorageError.getDefaultInstance());
+      return getStreamErrorsFieldBuilder().addBuilder(
+          index, com.google.cloud.bigquery.storage.v1.StorageError.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -1264,30 +1134,27 @@ public com.google.cloud.bigquery.storage.v1.StorageError.Builder addStreamErrors
      *
      * repeated .google.cloud.bigquery.storage.v1.StorageError stream_errors = 2;
      */
-    public java.util.List
-        getStreamErrorsBuilderList() {
+    public java.util.List 
+         getStreamErrorsBuilderList() {
       return getStreamErrorsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.bigquery.storage.v1.StorageError,
-            com.google.cloud.bigquery.storage.v1.StorageError.Builder,
-            com.google.cloud.bigquery.storage.v1.StorageErrorOrBuilder>
+        com.google.cloud.bigquery.storage.v1.StorageError, com.google.cloud.bigquery.storage.v1.StorageError.Builder, com.google.cloud.bigquery.storage.v1.StorageErrorOrBuilder> 
         getStreamErrorsFieldBuilder() {
       if (streamErrorsBuilder_ == null) {
-        streamErrorsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.bigquery.storage.v1.StorageError,
-                com.google.cloud.bigquery.storage.v1.StorageError.Builder,
-                com.google.cloud.bigquery.storage.v1.StorageErrorOrBuilder>(
-                streamErrors_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+        streamErrorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.bigquery.storage.v1.StorageError, com.google.cloud.bigquery.storage.v1.StorageError.Builder, com.google.cloud.bigquery.storage.v1.StorageErrorOrBuilder>(
+                streamErrors_,
+                ((bitField0_ & 0x00000002) != 0),
+                getParentForChildren(),
+                isClean());
         streamErrors_ = null;
       }
       return streamErrorsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1297,43 +1164,41 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse)
-  private static final com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse
-      DEFAULT_INSTANCE;
-
+  private static final com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse DEFAULT_INSTANCE;
   static {
     DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse();
   }
 
-  public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse
-      getDefaultInstance() {
+  public static com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public BatchCommitWriteStreamsResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public BatchCommitWriteStreamsResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1345,8 +1210,9 @@ public com.google.protobuf.Parser getParserForT
   }
 
   @java.lang.Override
-  public com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse
-      getDefaultInstanceForType() {
+  public com.google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BatchCommitWriteStreamsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BatchCommitWriteStreamsResponseOrBuilder.java
similarity index 82%
rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BatchCommitWriteStreamsResponseOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BatchCommitWriteStreamsResponseOrBuilder.java
index 7c04a0124a..7294ef9d85 100644
--- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BatchCommitWriteStreamsResponseOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/BatchCommitWriteStreamsResponseOrBuilder.java
@@ -1,32 +1,14 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for 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
 
 // Protobuf Java Version: 3.25.2
 package com.google.cloud.bigquery.storage.v1;
 
-public interface BatchCommitWriteStreamsResponseOrBuilder
-    extends
+public interface BatchCommitWriteStreamsResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.BatchCommitWriteStreamsResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The time at which streams were committed in microseconds granularity.
    * This field will only exist when there are no stream errors.
@@ -34,13 +16,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.
@@ -48,13 +27,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.
@@ -66,8 +42,6 @@ public interface BatchCommitWriteStreamsResponseOrBuilder
   com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Stream level error if commit failed. Only streams with error will be in
    * the list.
@@ -78,10 +52,9 @@ public interface BatchCommitWriteStreamsResponseOrBuilder
    *
    * repeated .google.cloud.bigquery.storage.v1.StorageError stream_errors = 2;
    */
-  java.util.List getStreamErrorsList();
+  java.util.List 
+      getStreamErrorsList();
   /**
-   *
-   *
    * 
    * Stream level error if commit failed. Only streams with error will be in
    * the list.
@@ -94,8 +67,6 @@ public interface BatchCommitWriteStreamsResponseOrBuilder
    */
   com.google.cloud.bigquery.storage.v1.StorageError getStreamErrors(int index);
   /**
-   *
-   *
    * 
    * Stream level error if commit failed. Only streams with error will be in
    * the list.
@@ -108,8 +79,6 @@ public interface BatchCommitWriteStreamsResponseOrBuilder
    */
   int getStreamErrorsCount();
   /**
-   *
-   *
    * 
    * Stream level error if commit failed. Only streams with error will be in
    * the list.
@@ -120,11 +89,9 @@ public interface BatchCommitWriteStreamsResponseOrBuilder
    *
    * repeated .google.cloud.bigquery.storage.v1.StorageError stream_errors = 2;
    */
-  java.util.List
+  java.util.List 
       getStreamErrorsOrBuilderList();
   /**
-   *
-   *
    * 
    * Stream level error if commit failed. Only streams with error will be in
    * the list.
@@ -135,5 +102,6 @@ public interface BatchCommitWriteStreamsResponseOrBuilder
    *
    * repeated .google.cloud.bigquery.storage.v1.StorageError stream_errors = 2;
    */
-  com.google.cloud.bigquery.storage.v1.StorageErrorOrBuilder getStreamErrorsOrBuilder(int index);
+  com.google.cloud.bigquery.storage.v1.StorageErrorOrBuilder getStreamErrorsOrBuilder(
+      int index);
 }
diff --git a/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 66%
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 c69a98b1e5..c5038db90c 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,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for 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
 
@@ -20,66 +5,56 @@
 package com.google.cloud.bigquery.storage.v1;
 
 /**
- *
- *
  * 
  * Request message for `CreateReadSession`.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.CreateReadSessionRequest} */ -public final class CreateReadSessionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateReadSessionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.CreateReadSessionRequest) CreateReadSessionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateReadSessionRequest.newBuilder() to construct. private CreateReadSessionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateReadSessionRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateReadSessionRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_CreateReadSessionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_CreateReadSessionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_CreateReadSessionRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_CreateReadSessionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest.class, - com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest.Builder.class); + com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest.class, com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest.Builder.class); } private int bitField0_; public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The request project that owns the session, in the form of
    * `projects/{project_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -88,32 +63,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 { @@ -124,16 +97,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 @@ -141,47 +109,32 @@ public boolean hasReadSession() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Required. Session to be created.
    * 
* - * - * .google.cloud.bigquery.storage.v1.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.storage.v1.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The readSession. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.ReadSession getReadSession() { - return readSession_ == null - ? com.google.cloud.bigquery.storage.v1.ReadSession.getDefaultInstance() - : readSession_; + return readSession_ == null ? com.google.cloud.bigquery.storage.v1.ReadSession.getDefaultInstance() : readSession_; } /** - * - * *
    * Required. Session to be created.
    * 
* - * - * .google.cloud.bigquery.storage.v1.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.storage.v1.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.ReadSessionOrBuilder getReadSessionOrBuilder() { - return readSession_ == null - ? com.google.cloud.bigquery.storage.v1.ReadSession.getDefaultInstance() - : readSession_; + return readSession_ == null ? com.google.cloud.bigquery.storage.v1.ReadSession.getDefaultInstance() : readSession_; } public static final int MAX_STREAM_COUNT_FIELD_NUMBER = 3; private int maxStreamCount_ = 0; /** - * - * *
    * Max initial number of streams. If unset or zero, the server will
    * provide a value of streams so as to produce reasonable throughput. Must be
@@ -196,7 +149,6 @@ public com.google.cloud.bigquery.storage.v1.ReadSessionOrBuilder getReadSessionO
    * 
* * int32 max_stream_count = 3; - * * @return The maxStreamCount. */ @java.lang.Override @@ -207,8 +159,6 @@ public int getMaxStreamCount() { public static final int PREFERRED_MIN_STREAM_COUNT_FIELD_NUMBER = 4; private int preferredMinStreamCount_ = 0; /** - * - * *
    * The minimum preferred stream count. This parameter can be used to inform
    * the service that there is a desired lower bound on the number of streams.
@@ -221,7 +171,6 @@ public int getMaxStreamCount() {
    * 
* * int32 preferred_min_stream_count = 4; - * * @return The preferredMinStreamCount. */ @java.lang.Override @@ -230,7 +179,6 @@ public int getPreferredMinStreamCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -242,7 +190,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -268,13 +217,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReadSession()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getReadSession()); } if (maxStreamCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, maxStreamCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, maxStreamCount_); } if (preferredMinStreamCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, preferredMinStreamCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, preferredMinStreamCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -284,21 +236,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.v1.CreateReadSessionRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest other = - (com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest) obj; + com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest other = (com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasReadSession() != other.hasReadSession()) return false; if (hasReadSession()) { - if (!getReadSession().equals(other.getReadSession())) return false; + if (!getReadSession() + .equals(other.getReadSession())) return false; } - if (getMaxStreamCount() != other.getMaxStreamCount()) return false; - if (getPreferredMinStreamCount() != other.getPreferredMinStreamCount()) return false; + if (getMaxStreamCount() + != other.getMaxStreamCount()) return false; + if (getPreferredMinStreamCount() + != other.getPreferredMinStreamCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -326,127 +281,119 @@ 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() @@ -454,17 +401,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) { getReadSessionFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -481,14 +428,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(); } @@ -503,25 +449,22 @@ public com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest buildPartial() { - com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest result = - new com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest result = new com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest result) { + private void buildPartial0(com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.readSession_ = - readSessionBuilder_ == null ? readSession_ : readSessionBuilder_.build(); + result.readSession_ = readSessionBuilder_ == null + ? readSession_ + : readSessionBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { @@ -537,39 +480,38 @@ private void buildPartial0( 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; @@ -577,9 +519,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_; bitField0_ |= 0x00000001; @@ -620,37 +560,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getReadSessionFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - maxStreamCount_ = input.readInt32(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 32: - { - preferredMinStreamCount_ = input.readInt32(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getReadSessionFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + maxStreamCount_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: { + preferredMinStreamCount_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -660,28 +597,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The request project that owns the session, in the form of
      * `projects/{project_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -690,24 +622,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 { @@ -715,41 +644,30 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The request project that owns the session, in the form of
      * `projects/{project_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -759,24 +677,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The request project that owns the session, in the form of
      * `projects/{project_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -786,58 +698,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 ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. Session to be created.
      * 
* - * - * .google.cloud.bigquery.storage.v1.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.storage.v1.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The readSession. */ public com.google.cloud.bigquery.storage.v1.ReadSession getReadSession() { if (readSessionBuilder_ == null) { - return readSession_ == null - ? com.google.cloud.bigquery.storage.v1.ReadSession.getDefaultInstance() - : readSession_; + return readSession_ == null ? com.google.cloud.bigquery.storage.v1.ReadSession.getDefaultInstance() : readSession_; } else { return readSessionBuilder_.getMessage(); } } /** - * - * *
      * Required. Session to be created.
      * 
* - * - * .google.cloud.bigquery.storage.v1.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.storage.v1.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setReadSession(com.google.cloud.bigquery.storage.v1.ReadSession value) { if (readSessionBuilder_ == null) { @@ -853,15 +746,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) { @@ -875,22 +764,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 (((bitField0_ & 0x00000002) != 0) - && readSession_ != null - && readSession_ - != com.google.cloud.bigquery.storage.v1.ReadSession.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + readSession_ != null && + readSession_ != com.google.cloud.bigquery.storage.v1.ReadSession.getDefaultInstance()) { getReadSessionBuilder().mergeFrom(value); } else { readSession_ = value; @@ -905,15 +789,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() { bitField0_ = (bitField0_ & ~0x00000002); @@ -926,15 +806,11 @@ public Builder clearReadSession() { return this; } /** - * - * *
      * Required. Session to be created.
      * 
* - * - * .google.cloud.bigquery.storage.v1.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.storage.v1.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.bigquery.storage.v1.ReadSession.Builder getReadSessionBuilder() { bitField0_ |= 0x00000002; @@ -942,57 +818,43 @@ public com.google.cloud.bigquery.storage.v1.ReadSession.Builder getReadSessionBu return getReadSessionFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Session to be created.
      * 
* - * - * .google.cloud.bigquery.storage.v1.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.storage.v1.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.bigquery.storage.v1.ReadSessionOrBuilder getReadSessionOrBuilder() { if (readSessionBuilder_ != null) { return readSessionBuilder_.getMessageOrBuilder(); } else { - return readSession_ == null - ? com.google.cloud.bigquery.storage.v1.ReadSession.getDefaultInstance() - : readSession_; + return readSession_ == null ? + com.google.cloud.bigquery.storage.v1.ReadSession.getDefaultInstance() : readSession_; } } /** - * - * *
      * Required. Session to be created.
      * 
* - * - * .google.cloud.bigquery.storage.v1.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.storage.v1.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.ReadSession, - com.google.cloud.bigquery.storage.v1.ReadSession.Builder, - com.google.cloud.bigquery.storage.v1.ReadSessionOrBuilder> + com.google.cloud.bigquery.storage.v1.ReadSession, com.google.cloud.bigquery.storage.v1.ReadSession.Builder, com.google.cloud.bigquery.storage.v1.ReadSessionOrBuilder> getReadSessionFieldBuilder() { if (readSessionBuilder_ == null) { - readSessionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.ReadSession, - com.google.cloud.bigquery.storage.v1.ReadSession.Builder, - com.google.cloud.bigquery.storage.v1.ReadSessionOrBuilder>( - getReadSession(), getParentForChildren(), isClean()); + readSessionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1.ReadSession, com.google.cloud.bigquery.storage.v1.ReadSession.Builder, com.google.cloud.bigquery.storage.v1.ReadSessionOrBuilder>( + getReadSession(), + getParentForChildren(), + isClean()); readSession_ = null; } return readSessionBuilder_; } - private int maxStreamCount_; + private int maxStreamCount_ ; /** - * - * *
      * Max initial number of streams. If unset or zero, the server will
      * provide a value of streams so as to produce reasonable throughput. Must be
@@ -1007,7 +869,6 @@ public com.google.cloud.bigquery.storage.v1.ReadSessionOrBuilder getReadSessionO
      * 
* * int32 max_stream_count = 3; - * * @return The maxStreamCount. */ @java.lang.Override @@ -1015,8 +876,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
@@ -1031,7 +890,6 @@ public int getMaxStreamCount() {
      * 
* * int32 max_stream_count = 3; - * * @param value The maxStreamCount to set. * @return This builder for chaining. */ @@ -1043,8 +901,6 @@ public Builder setMaxStreamCount(int value) { return this; } /** - * - * *
      * Max initial number of streams. If unset or zero, the server will
      * provide a value of streams so as to produce reasonable throughput. Must be
@@ -1059,7 +915,6 @@ public Builder setMaxStreamCount(int value) {
      * 
* * int32 max_stream_count = 3; - * * @return This builder for chaining. */ public Builder clearMaxStreamCount() { @@ -1069,10 +924,8 @@ public Builder clearMaxStreamCount() { return this; } - private int preferredMinStreamCount_; + private int preferredMinStreamCount_ ; /** - * - * *
      * The minimum preferred stream count. This parameter can be used to inform
      * the service that there is a desired lower bound on the number of streams.
@@ -1085,7 +938,6 @@ public Builder clearMaxStreamCount() {
      * 
* * int32 preferred_min_stream_count = 4; - * * @return The preferredMinStreamCount. */ @java.lang.Override @@ -1093,8 +945,6 @@ public int getPreferredMinStreamCount() { return preferredMinStreamCount_; } /** - * - * *
      * The minimum preferred stream count. This parameter can be used to inform
      * the service that there is a desired lower bound on the number of streams.
@@ -1107,7 +957,6 @@ public int getPreferredMinStreamCount() {
      * 
* * int32 preferred_min_stream_count = 4; - * * @param value The preferredMinStreamCount to set. * @return This builder for chaining. */ @@ -1119,8 +968,6 @@ public Builder setPreferredMinStreamCount(int value) { return this; } /** - * - * *
      * The minimum preferred stream count. This parameter can be used to inform
      * the service that there is a desired lower bound on the number of streams.
@@ -1133,7 +980,6 @@ public Builder setPreferredMinStreamCount(int value) {
      * 
* * int32 preferred_min_stream_count = 4; - * * @return This builder for chaining. */ public Builder clearPreferredMinStreamCount() { @@ -1142,9 +988,9 @@ public Builder clearPreferredMinStreamCount() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1154,13 +1000,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(); } @@ -1169,27 +1014,27 @@ public static com.google.cloud.bigquery.storage.v1.CreateReadSessionRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateReadSessionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateReadSessionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1204,4 +1049,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 64% 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 19eaf22fde..dff5e26955 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,104 +1,63 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 // Protobuf Java Version: 3.25.2 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
@@ -113,14 +72,11 @@ public interface CreateReadSessionRequestOrBuilder
    * 
* * int32 max_stream_count = 3; - * * @return The maxStreamCount. */ int getMaxStreamCount(); /** - * - * *
    * The minimum preferred stream count. This parameter can be used to inform
    * the service that there is a desired lower bound on the number of streams.
@@ -133,7 +89,6 @@ public interface CreateReadSessionRequestOrBuilder
    * 
* * int32 preferred_min_stream_count = 4; - * * @return The preferredMinStreamCount. */ int getPreferredMinStreamCount(); diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/CreateWriteStreamRequest.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/CreateWriteStreamRequest.java similarity index 60% rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/CreateWriteStreamRequest.java rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/CreateWriteStreamRequest.java index eab6199197..59b5878503 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/CreateWriteStreamRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/CreateWriteStreamRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 @@ -20,66 +5,56 @@ package com.google.cloud.bigquery.storage.v1; /** - * - * *
  * Request message for `CreateWriteStream`.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.CreateWriteStreamRequest} */ -public final class CreateWriteStreamRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateWriteStreamRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.CreateWriteStreamRequest) CreateWriteStreamRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateWriteStreamRequest.newBuilder() to construct. private CreateWriteStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateWriteStreamRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateWriteStreamRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_CreateWriteStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_CreateWriteStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_CreateWriteStreamRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_CreateWriteStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest.class, - com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest.Builder.class); + com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest.class, com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest.Builder.class); } private int bitField0_; public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. Reference to the table to which the stream belongs, in the format
    * of `projects/{project}/datasets/{dataset}/tables/{table}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -88,32 +63,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 { @@ -124,16 +97,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int WRITE_STREAM_FIELD_NUMBER = 2; private com.google.cloud.bigquery.storage.v1.WriteStream writeStream_; /** - * - * *
    * Required. Stream to be created.
    * 
* - * - * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the writeStream field is set. */ @java.lang.Override @@ -141,44 +109,30 @@ public boolean hasWriteStream() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Required. Stream to be created.
    * 
* - * - * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The writeStream. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.WriteStream getWriteStream() { - return writeStream_ == null - ? com.google.cloud.bigquery.storage.v1.WriteStream.getDefaultInstance() - : writeStream_; + return writeStream_ == null ? com.google.cloud.bigquery.storage.v1.WriteStream.getDefaultInstance() : writeStream_; } /** - * - * *
    * Required. Stream to be created.
    * 
* - * - * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.WriteStreamOrBuilder getWriteStreamOrBuilder() { - return writeStream_ == null - ? com.google.cloud.bigquery.storage.v1.WriteStream.getDefaultInstance() - : writeStream_; + return writeStream_ == null ? com.google.cloud.bigquery.storage.v1.WriteStream.getDefaultInstance() : writeStream_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -190,7 +144,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -210,7 +165,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getWriteStream()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getWriteStream()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -220,18 +176,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.CreateWriteStreamRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest other = - (com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest) obj; + com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest other = (com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasWriteStream() != other.hasWriteStream()) return false; if (hasWriteStream()) { - if (!getWriteStream().equals(other.getWriteStream())) return false; + if (!getWriteStream() + .equals(other.getWriteStream())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -256,127 +213,119 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for `CreateWriteStream`.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.CreateWriteStreamRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.CreateWriteStreamRequest) com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_CreateWriteStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_CreateWriteStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_CreateWriteStreamRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_CreateWriteStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest.class, - com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest.Builder.class); + com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest.class, com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest.newBuilder() @@ -384,17 +333,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) { getWriteStreamFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -409,14 +358,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_CreateWriteStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_CreateWriteStreamRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest getDefaultInstanceForType() { return com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest.getDefaultInstance(); } @@ -431,25 +379,22 @@ public com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest buildPartial() { - com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest result = - new com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest result = new com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest result) { + private void buildPartial0(com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.writeStream_ = - writeStreamBuilder_ == null ? writeStream_ : writeStreamBuilder_.build(); + result.writeStream_ = writeStreamBuilder_ == null + ? writeStream_ + : writeStreamBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -459,39 +404,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest) { - return mergeFrom((com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest) other); + return mergeFrom((com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest)other); } else { super.mergeFrom(other); return this; @@ -499,9 +443,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest other) { - if (other - == com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -536,25 +478,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getWriteStreamFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getWriteStreamFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -564,28 +505,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Reference to the table to which the stream belongs, in the format
      * of `projects/{project}/datasets/{dataset}/tables/{table}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -594,24 +530,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 { @@ -619,41 +552,30 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Reference to the table to which the stream belongs, in the format
      * of `projects/{project}/datasets/{dataset}/tables/{table}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -663,24 +585,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Reference to the table to which the stream belongs, in the format
      * of `projects/{project}/datasets/{dataset}/tables/{table}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -690,58 +606,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.bigquery.storage.v1.WriteStream writeStream_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.WriteStream, - com.google.cloud.bigquery.storage.v1.WriteStream.Builder, - com.google.cloud.bigquery.storage.v1.WriteStreamOrBuilder> - writeStreamBuilder_; + com.google.cloud.bigquery.storage.v1.WriteStream, com.google.cloud.bigquery.storage.v1.WriteStream.Builder, com.google.cloud.bigquery.storage.v1.WriteStreamOrBuilder> writeStreamBuilder_; /** - * - * *
      * Required. Stream to be created.
      * 
* - * - * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the writeStream field is set. */ public boolean hasWriteStream() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. Stream to be created.
      * 
* - * - * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The writeStream. */ public com.google.cloud.bigquery.storage.v1.WriteStream getWriteStream() { if (writeStreamBuilder_ == null) { - return writeStream_ == null - ? com.google.cloud.bigquery.storage.v1.WriteStream.getDefaultInstance() - : writeStream_; + return writeStream_ == null ? com.google.cloud.bigquery.storage.v1.WriteStream.getDefaultInstance() : writeStream_; } else { return writeStreamBuilder_.getMessage(); } } /** - * - * *
      * Required. Stream to be created.
      * 
* - * - * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setWriteStream(com.google.cloud.bigquery.storage.v1.WriteStream value) { if (writeStreamBuilder_ == null) { @@ -757,15 +654,11 @@ public Builder setWriteStream(com.google.cloud.bigquery.storage.v1.WriteStream v return this; } /** - * - * *
      * Required. Stream to be created.
      * 
* - * - * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setWriteStream( com.google.cloud.bigquery.storage.v1.WriteStream.Builder builderForValue) { @@ -779,22 +672,17 @@ public Builder setWriteStream( return this; } /** - * - * *
      * Required. Stream to be created.
      * 
* - * - * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeWriteStream(com.google.cloud.bigquery.storage.v1.WriteStream value) { if (writeStreamBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && writeStream_ != null - && writeStream_ - != com.google.cloud.bigquery.storage.v1.WriteStream.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + writeStream_ != null && + writeStream_ != com.google.cloud.bigquery.storage.v1.WriteStream.getDefaultInstance()) { getWriteStreamBuilder().mergeFrom(value); } else { writeStream_ = value; @@ -809,15 +697,11 @@ public Builder mergeWriteStream(com.google.cloud.bigquery.storage.v1.WriteStream return this; } /** - * - * *
      * Required. Stream to be created.
      * 
* - * - * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearWriteStream() { bitField0_ = (bitField0_ & ~0x00000002); @@ -830,15 +714,11 @@ public Builder clearWriteStream() { return this; } /** - * - * *
      * Required. Stream to be created.
      * 
* - * - * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.bigquery.storage.v1.WriteStream.Builder getWriteStreamBuilder() { bitField0_ |= 0x00000002; @@ -846,55 +726,43 @@ public com.google.cloud.bigquery.storage.v1.WriteStream.Builder getWriteStreamBu return getWriteStreamFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Stream to be created.
      * 
* - * - * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.bigquery.storage.v1.WriteStreamOrBuilder getWriteStreamOrBuilder() { if (writeStreamBuilder_ != null) { return writeStreamBuilder_.getMessageOrBuilder(); } else { - return writeStream_ == null - ? com.google.cloud.bigquery.storage.v1.WriteStream.getDefaultInstance() - : writeStream_; + return writeStream_ == null ? + com.google.cloud.bigquery.storage.v1.WriteStream.getDefaultInstance() : writeStream_; } } /** - * - * *
      * Required. Stream to be created.
      * 
* - * - * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.WriteStream, - com.google.cloud.bigquery.storage.v1.WriteStream.Builder, - com.google.cloud.bigquery.storage.v1.WriteStreamOrBuilder> + com.google.cloud.bigquery.storage.v1.WriteStream, com.google.cloud.bigquery.storage.v1.WriteStream.Builder, com.google.cloud.bigquery.storage.v1.WriteStreamOrBuilder> getWriteStreamFieldBuilder() { if (writeStreamBuilder_ == null) { - writeStreamBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.WriteStream, - com.google.cloud.bigquery.storage.v1.WriteStream.Builder, - com.google.cloud.bigquery.storage.v1.WriteStreamOrBuilder>( - getWriteStream(), getParentForChildren(), isClean()); + writeStreamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1.WriteStream, com.google.cloud.bigquery.storage.v1.WriteStream.Builder, com.google.cloud.bigquery.storage.v1.WriteStreamOrBuilder>( + getWriteStream(), + getParentForChildren(), + isClean()); writeStream_ = null; } return writeStreamBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -904,13 +772,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.CreateWriteStreamRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.CreateWriteStreamRequest) - private static final com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest(); } @@ -919,27 +786,27 @@ public static com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateWriteStreamRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateWriteStreamRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -954,4 +821,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1.CreateWriteStreamRequest 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/CreateWriteStreamRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/CreateWriteStreamRequestOrBuilder.java new file mode 100644 index 0000000000..1691a4d419 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/CreateWriteStreamRequestOrBuilder.java @@ -0,0 +1,59 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1/storage.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.bigquery.storage.v1; + +public interface CreateWriteStreamRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.CreateWriteStreamRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Reference to the table to which the stream belongs, in the format
+   * of `projects/{project}/datasets/{dataset}/tables/{table}`.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + java.lang.String getParent(); + /** + *
+   * Required. Reference to the table to which the stream belongs, in the format
+   * of `projects/{project}/datasets/{dataset}/tables/{table}`.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + com.google.protobuf.ByteString + getParentBytes(); + + /** + *
+   * Required. Stream to be created.
+   * 
+ * + * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the writeStream field is set. + */ + boolean hasWriteStream(); + /** + *
+   * Required. Stream to be created.
+   * 
+ * + * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The writeStream. + */ + com.google.cloud.bigquery.storage.v1.WriteStream getWriteStream(); + /** + *
+   * Required. Stream to be created.
+   * 
+ * + * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.bigquery.storage.v1.WriteStreamOrBuilder getWriteStreamOrBuilder(); +} diff --git a/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 69% 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 217b4ff639..d4c18a5c00 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,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 @@ -20,18 +5,15 @@ package com.google.cloud.bigquery.storage.v1; /** - * - * *
  * Data format for input or output data.
  * 
* * Protobuf enum {@code google.cloud.bigquery.storage.v1.DataFormat} */ -public enum DataFormat implements com.google.protobuf.ProtocolMessageEnum { +public enum DataFormat + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Data format is unspecified.
    * 
@@ -40,8 +22,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.
@@ -51,8 +31,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.
@@ -65,8 +43,6 @@ public enum DataFormat implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * Data format is unspecified.
    * 
@@ -75,8 +51,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.
@@ -86,8 +60,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.
@@ -97,6 +69,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(
@@ -121,49 +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 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;
@@ -179,3 +152,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/FinalizeWriteStreamRequest.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FinalizeWriteStreamRequest.java
similarity index 60%
rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FinalizeWriteStreamRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FinalizeWriteStreamRequest.java
index 0cf1737c28..7ca36fe05b 100644
--- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FinalizeWriteStreamRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FinalizeWriteStreamRequest.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for 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
 
@@ -20,65 +5,55 @@
 package com.google.cloud.bigquery.storage.v1;
 
 /**
- *
- *
  * 
  * Request message for invoking `FinalizeWriteStream`.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest} */ -public final class FinalizeWriteStreamRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FinalizeWriteStreamRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest) FinalizeWriteStreamRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FinalizeWriteStreamRequest.newBuilder() to construct. private FinalizeWriteStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FinalizeWriteStreamRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FinalizeWriteStreamRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest.class, - com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest.Builder.class); + com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest.class, com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. Name of the stream to finalize, in the form of
    * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -87,32 +62,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 { @@ -121,7 +94,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -133,7 +105,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -157,15 +130,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest other = - (com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest) obj; + com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest other = (com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -185,136 +158,131 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for invoking `FinalizeWriteStream`.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest) com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest.class, - com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest.Builder.class); + com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest.class, com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -324,14 +292,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_FinalizeWriteStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest getDefaultInstanceForType() { return com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest.getDefaultInstance(); } @@ -346,17 +313,13 @@ public com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest buildPartial() { - com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest result = - new com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest result = new com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest result) { + private void buildPartial0(com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -367,50 +330,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest) { - return mergeFrom((com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest) other); + return mergeFrom((com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest other) { - if (other - == com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest other) { + if (other == com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -442,19 +401,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -464,28 +421,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. Name of the stream to finalize, in the form of
      * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -494,24 +446,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 { @@ -519,41 +468,30 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Name of the stream to finalize, in the form of
      * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -563,33 +501,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. Name of the stream to finalize, in the form of
      * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -599,43 +531,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest) - private static final com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest(); } - public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FinalizeWriteStreamRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FinalizeWriteStreamRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -647,8 +577,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FinalizeWriteStreamRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FinalizeWriteStreamRequestOrBuilder.java new file mode 100644 index 0000000000..dfc0693432 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FinalizeWriteStreamRequestOrBuilder.java @@ -0,0 +1,32 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1/storage.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.bigquery.storage.v1; + +public interface FinalizeWriteStreamRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Name of the stream to finalize, in the form of
+   * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Name of the stream to finalize, in the form of
+   * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FinalizeWriteStreamResponse.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FinalizeWriteStreamResponse.java similarity index 60% rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FinalizeWriteStreamResponse.java rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FinalizeWriteStreamResponse.java index e5f3eadcef..1e593a8e62 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FinalizeWriteStreamResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FinalizeWriteStreamResponse.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 @@ -20,58 +5,52 @@ package com.google.cloud.bigquery.storage.v1; /** - * - * *
  * Response message for `FinalizeWriteStream`.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse} */ -public final class FinalizeWriteStreamResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FinalizeWriteStreamResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse) FinalizeWriteStreamResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FinalizeWriteStreamResponse.newBuilder() to construct. private FinalizeWriteStreamResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private FinalizeWriteStreamResponse() {} + private FinalizeWriteStreamResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FinalizeWriteStreamResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamResponse_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse.class, - com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse.Builder.class); + com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse.class, com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse.Builder.class); } public static final int ROW_COUNT_FIELD_NUMBER = 1; private long rowCount_ = 0L; /** - * - * *
    * Number of rows in the finalized stream.
    * 
* * int64 row_count = 1; - * * @return The rowCount. */ @java.lang.Override @@ -80,7 +59,6 @@ public long getRowCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -92,7 +70,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_); } @@ -106,7 +85,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -116,15 +96,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse other = - (com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse) obj; + com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse other = (com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse) obj; - if (getRowCount() != other.getRowCount()) return false; + if (getRowCount() + != other.getRowCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -137,143 +117,139 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ROW_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRowCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getRowCount()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for `FinalizeWriteStream`.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse) com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamResponse_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse.class, - com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse.Builder.class); + com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse.class, com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -283,14 +259,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_FinalizeWriteStreamResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamResponse_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse - getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse getDefaultInstanceForType() { return com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse.getDefaultInstance(); } @@ -305,17 +280,13 @@ public com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse build() @java.lang.Override public com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse buildPartial() { - com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse result = - new com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse result = new com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse result) { + private void buildPartial0(com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.rowCount_ = rowCount_; @@ -326,50 +297,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse) { - return mergeFrom((com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse) other); + return mergeFrom((com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse other) { - if (other - == com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse other) { + if (other == com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse.getDefaultInstance()) return this; if (other.getRowCount() != 0L) { setRowCount(other.getRowCount()); } @@ -399,19 +366,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - rowCount_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + rowCount_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -421,19 +386,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private long rowCount_; + private long rowCount_ ; /** - * - * *
      * Number of rows in the finalized stream.
      * 
* * int64 row_count = 1; - * * @return The rowCount. */ @java.lang.Override @@ -441,14 +402,11 @@ 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. */ @@ -460,14 +418,11 @@ public Builder setRowCount(long value) { return this; } /** - * - * *
      * Number of rows in the finalized stream.
      * 
* * int64 row_count = 1; - * * @return This builder for chaining. */ public Builder clearRowCount() { @@ -476,9 +431,9 @@ public Builder clearRowCount() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -488,43 +443,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse) - private static final com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse(); } - public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse - getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FinalizeWriteStreamResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FinalizeWriteStreamResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -536,8 +489,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse - getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FinalizeWriteStreamResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FinalizeWriteStreamResponseOrBuilder.java new file mode 100644 index 0000000000..6360c883bb --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FinalizeWriteStreamResponseOrBuilder.java @@ -0,0 +1,20 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1/storage.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.bigquery.storage.v1; + +public interface FinalizeWriteStreamResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Number of rows in the finalized stream.
+   * 
+ * + * int64 row_count = 1; + * @return The rowCount. + */ + long getRowCount(); +} diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FlushRowsRequest.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FlushRowsRequest.java similarity index 67% rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FlushRowsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FlushRowsRequest.java index 165e3ab9df..6ac4ea46bf 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FlushRowsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FlushRowsRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 @@ -20,65 +5,55 @@ package com.google.cloud.bigquery.storage.v1; /** - * - * *
  * Request message for `FlushRows`.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.FlushRowsRequest} */ -public final class FlushRowsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FlushRowsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.FlushRowsRequest) FlushRowsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FlushRowsRequest.newBuilder() to construct. private FlushRowsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FlushRowsRequest() { writeStream_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FlushRowsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_FlushRowsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_FlushRowsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_FlushRowsRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_FlushRowsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.FlushRowsRequest.class, - com.google.cloud.bigquery.storage.v1.FlushRowsRequest.Builder.class); + com.google.cloud.bigquery.storage.v1.FlushRowsRequest.class, com.google.cloud.bigquery.storage.v1.FlushRowsRequest.Builder.class); } private int bitField0_; public static final int WRITE_STREAM_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object writeStream_ = ""; /** - * - * *
    * Required. The stream that is the target of the flush operation.
    * 
* - * - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The writeStream. */ @java.lang.Override @@ -87,31 +62,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 { @@ -122,15 +95,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 @@ -138,15 +108,12 @@ public boolean hasOffset() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Ending offset of the flush operation. Rows before this offset(including
    * this offset) will be flushed.
    * 
* * .google.protobuf.Int64Value offset = 2; - * * @return The offset. */ @java.lang.Override @@ -154,8 +121,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.
@@ -169,7 +134,6 @@ public com.google.protobuf.Int64ValueOrBuilder getOffsetOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -181,7 +145,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(writeStream_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, writeStream_);
     }
@@ -201,7 +166,8 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, writeStream_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getOffset());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getOffset());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -211,18 +177,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.FlushRowsRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.bigquery.storage.v1.FlushRowsRequest other =
-        (com.google.cloud.bigquery.storage.v1.FlushRowsRequest) obj;
+    com.google.cloud.bigquery.storage.v1.FlushRowsRequest other = (com.google.cloud.bigquery.storage.v1.FlushRowsRequest) obj;
 
-    if (!getWriteStream().equals(other.getWriteStream())) return false;
+    if (!getWriteStream()
+        .equals(other.getWriteStream())) return false;
     if (hasOffset() != other.hasOffset()) return false;
     if (hasOffset()) {
-      if (!getOffset().equals(other.getOffset())) return false;
+      if (!getOffset()
+          .equals(other.getOffset())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -247,127 +214,119 @@ public int hashCode() {
   }
 
   public static com.google.cloud.bigquery.storage.v1.FlushRowsRequest parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.bigquery.storage.v1.FlushRowsRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.bigquery.storage.v1.FlushRowsRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.bigquery.storage.v1.FlushRowsRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.bigquery.storage.v1.FlushRowsRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.bigquery.storage.v1.FlushRowsRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.bigquery.storage.v1.FlushRowsRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.bigquery.storage.v1.FlushRowsRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.bigquery.storage.v1.FlushRowsRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.bigquery.storage.v1.FlushRowsRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.bigquery.storage.v1.FlushRowsRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.bigquery.storage.v1.FlushRowsRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.bigquery.storage.v1.FlushRowsRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.bigquery.storage.v1.FlushRowsRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.cloud.bigquery.storage.v1.FlushRowsRequest prototype) {
+  public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.FlushRowsRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Request message for `FlushRows`.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.FlushRowsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.FlushRowsRequest) com.google.cloud.bigquery.storage.v1.FlushRowsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_FlushRowsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_FlushRowsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_FlushRowsRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_FlushRowsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.FlushRowsRequest.class, - com.google.cloud.bigquery.storage.v1.FlushRowsRequest.Builder.class); + com.google.cloud.bigquery.storage.v1.FlushRowsRequest.class, com.google.cloud.bigquery.storage.v1.FlushRowsRequest.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1.FlushRowsRequest.newBuilder() @@ -375,17 +334,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) { getOffsetFieldBuilder(); } } - @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.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_FlushRowsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_FlushRowsRequest_descriptor; } @java.lang.Override @@ -421,11 +380,8 @@ public com.google.cloud.bigquery.storage.v1.FlushRowsRequest build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1.FlushRowsRequest buildPartial() { - com.google.cloud.bigquery.storage.v1.FlushRowsRequest result = - new com.google.cloud.bigquery.storage.v1.FlushRowsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1.FlushRowsRequest result = new com.google.cloud.bigquery.storage.v1.FlushRowsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -437,7 +393,9 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.FlushRowsRequest } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.offset_ = offsetBuilder_ == null ? offset_ : offsetBuilder_.build(); + result.offset_ = offsetBuilder_ == null + ? offset_ + : offsetBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -447,39 +405,38 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.FlushRowsRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.FlushRowsRequest) { - return mergeFrom((com.google.cloud.bigquery.storage.v1.FlushRowsRequest) other); + return mergeFrom((com.google.cloud.bigquery.storage.v1.FlushRowsRequest)other); } else { super.mergeFrom(other); return this; @@ -487,8 +444,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.FlushRowsRequest other) { - if (other == com.google.cloud.bigquery.storage.v1.FlushRowsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.bigquery.storage.v1.FlushRowsRequest.getDefaultInstance()) return this; if (!other.getWriteStream().isEmpty()) { writeStream_ = other.writeStream_; bitField0_ |= 0x00000001; @@ -523,25 +479,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - writeStream_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getOffsetFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + writeStream_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getOffsetFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -551,27 +506,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object writeStream_ = ""; /** - * - * *
      * Required. The stream that is the target of the flush operation.
      * 
* - * - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The writeStream. */ public java.lang.String getWriteStream() { java.lang.Object ref = writeStream_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); writeStream_ = s; return s; @@ -580,23 +530,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 { @@ -604,39 +551,28 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setWriteStream( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } writeStream_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The stream that is the target of the flush operation.
      * 
* - * - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearWriteStream() { @@ -646,23 +582,17 @@ public Builder clearWriteStream() { return this; } /** - * - * *
      * Required. The stream that is the target of the flush operation.
      * 
* - * - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for writeStream to set. * @return This builder for chaining. */ - public Builder setWriteStreamBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setWriteStreamBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); writeStream_ = value; bitField0_ |= 0x00000001; @@ -672,35 +602,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 ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Ending offset of the flush operation. Rows before this offset(including
      * this offset) will be flushed.
      * 
* * .google.protobuf.Int64Value offset = 2; - * * @return The offset. */ public com.google.protobuf.Int64Value getOffset() { @@ -711,8 +632,6 @@ public com.google.protobuf.Int64Value getOffset() { } } /** - * - * *
      * Ending offset of the flush operation. Rows before this offset(including
      * this offset) will be flushed.
@@ -734,8 +653,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.
@@ -743,7 +660,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();
       } else {
@@ -754,8 +672,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.
@@ -765,9 +681,9 @@ public Builder setOffset(com.google.protobuf.Int64Value.Builder builderForValue)
      */
     public Builder mergeOffset(com.google.protobuf.Int64Value value) {
       if (offsetBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && offset_ != null
-            && offset_ != com.google.protobuf.Int64Value.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          offset_ != null &&
+          offset_ != com.google.protobuf.Int64Value.getDefaultInstance()) {
           getOffsetBuilder().mergeFrom(value);
         } else {
           offset_ = value;
@@ -782,8 +698,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.
@@ -802,8 +716,6 @@ public Builder clearOffset() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Ending offset of the flush operation. Rows before this offset(including
      * this offset) will be flushed.
@@ -817,8 +729,6 @@ public com.google.protobuf.Int64Value.Builder getOffsetBuilder() {
       return getOffsetFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Ending offset of the flush operation. Rows before this offset(including
      * this offset) will be flushed.
@@ -830,12 +740,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.
@@ -844,24 +753,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);
     }
 
@@ -871,12 +777,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.FlushRowsRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.FlushRowsRequest)
   private static final com.google.cloud.bigquery.storage.v1.FlushRowsRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.FlushRowsRequest();
   }
@@ -885,27 +791,27 @@ public static com.google.cloud.bigquery.storage.v1.FlushRowsRequest getDefaultIn
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public FlushRowsRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public FlushRowsRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -920,4 +826,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.bigquery.storage.v1.FlushRowsRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FlushRowsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FlushRowsRequestOrBuilder.java
similarity index 58%
rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FlushRowsRequestOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FlushRowsRequestOrBuilder.java
index 7bcfc96cd6..4e8b4e1049 100644
--- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FlushRowsRequestOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FlushRowsRequestOrBuilder.java
@@ -1,87 +1,54 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for 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
 
 // Protobuf Java Version: 3.25.2
 package com.google.cloud.bigquery.storage.v1;
 
-public interface FlushRowsRequestOrBuilder
-    extends
+public interface FlushRowsRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.FlushRowsRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The stream that is the target of the flush operation.
    * 
* - * - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The writeStream. */ java.lang.String getWriteStream(); /** - * - * *
    * Required. The stream that is the target of the flush operation.
    * 
* - * - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for writeStream. */ - com.google.protobuf.ByteString getWriteStreamBytes(); + com.google.protobuf.ByteString + getWriteStreamBytes(); /** - * - * *
    * Ending offset of the flush operation. Rows before this offset(including
    * this offset) will be flushed.
    * 
* * .google.protobuf.Int64Value offset = 2; - * * @return Whether the offset field is set. */ boolean hasOffset(); /** - * - * *
    * Ending offset of the flush operation. Rows before this offset(including
    * this offset) will be flushed.
    * 
* * .google.protobuf.Int64Value offset = 2; - * * @return The offset. */ com.google.protobuf.Int64Value getOffset(); /** - * - * *
    * Ending offset of the flush operation. Rows before this offset(including
    * this offset) will be flushed.
diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FlushRowsResponse.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FlushRowsResponse.java
similarity index 63%
rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FlushRowsResponse.java
rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FlushRowsResponse.java
index 1676811697..42284ae109 100644
--- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FlushRowsResponse.java
+++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FlushRowsResponse.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for 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
 
@@ -20,58 +5,52 @@
 package com.google.cloud.bigquery.storage.v1;
 
 /**
- *
- *
  * 
  * Respond message for `FlushRows`.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.FlushRowsResponse} */ -public final class FlushRowsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FlushRowsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.FlushRowsResponse) FlushRowsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FlushRowsResponse.newBuilder() to construct. private FlushRowsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private FlushRowsResponse() {} + private FlushRowsResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FlushRowsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_FlushRowsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_FlushRowsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_FlushRowsResponse_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_FlushRowsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.FlushRowsResponse.class, - com.google.cloud.bigquery.storage.v1.FlushRowsResponse.Builder.class); + com.google.cloud.bigquery.storage.v1.FlushRowsResponse.class, com.google.cloud.bigquery.storage.v1.FlushRowsResponse.Builder.class); } public static final int OFFSET_FIELD_NUMBER = 1; private long offset_ = 0L; /** - * - * *
    * The rows before this offset (including this offset) are flushed.
    * 
* * int64 offset = 1; - * * @return The offset. */ @java.lang.Override @@ -80,7 +59,6 @@ public long getOffset() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -92,7 +70,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_); } @@ -106,7 +85,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -116,15 +96,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1.FlushRowsResponse)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.FlushRowsResponse other = - (com.google.cloud.bigquery.storage.v1.FlushRowsResponse) obj; + com.google.cloud.bigquery.storage.v1.FlushRowsResponse other = (com.google.cloud.bigquery.storage.v1.FlushRowsResponse) obj; - if (getOffset() != other.getOffset()) return false; + if (getOffset() + != other.getOffset()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -137,143 +117,139 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + OFFSET_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getOffset()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getOffset()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.bigquery.storage.v1.FlushRowsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.FlushRowsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.FlushRowsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.FlushRowsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.FlushRowsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.FlushRowsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1.FlushRowsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.FlushRowsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1.FlushRowsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.FlushRowsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.FlushRowsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1.FlushRowsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.FlushRowsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1.FlushRowsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.storage.v1.FlushRowsResponse prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.FlushRowsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Respond message for `FlushRows`.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.FlushRowsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.FlushRowsResponse) com.google.cloud.bigquery.storage.v1.FlushRowsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_FlushRowsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_FlushRowsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_FlushRowsResponse_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_FlushRowsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.FlushRowsResponse.class, - com.google.cloud.bigquery.storage.v1.FlushRowsResponse.Builder.class); + com.google.cloud.bigquery.storage.v1.FlushRowsResponse.class, com.google.cloud.bigquery.storage.v1.FlushRowsResponse.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1.FlushRowsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -283,9 +259,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_FlushRowsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_FlushRowsResponse_descriptor; } @java.lang.Override @@ -304,11 +280,8 @@ public com.google.cloud.bigquery.storage.v1.FlushRowsResponse build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1.FlushRowsResponse buildPartial() { - com.google.cloud.bigquery.storage.v1.FlushRowsResponse result = - new com.google.cloud.bigquery.storage.v1.FlushRowsResponse(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1.FlushRowsResponse result = new com.google.cloud.bigquery.storage.v1.FlushRowsResponse(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -324,39 +297,38 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.FlushRowsRespons public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.FlushRowsResponse) { - return mergeFrom((com.google.cloud.bigquery.storage.v1.FlushRowsResponse) other); + return mergeFrom((com.google.cloud.bigquery.storage.v1.FlushRowsResponse)other); } else { super.mergeFrom(other); return this; @@ -364,8 +336,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.FlushRowsResponse other) { - if (other == com.google.cloud.bigquery.storage.v1.FlushRowsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.bigquery.storage.v1.FlushRowsResponse.getDefaultInstance()) return this; if (other.getOffset() != 0L) { setOffset(other.getOffset()); } @@ -395,19 +366,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - offset_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + offset_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -417,19 +386,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private long offset_; + private long offset_ ; /** - * - * *
      * The rows before this offset (including this offset) are flushed.
      * 
* * int64 offset = 1; - * * @return The offset. */ @java.lang.Override @@ -437,14 +402,11 @@ 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. */ @@ -456,14 +418,11 @@ public Builder setOffset(long value) { return this; } /** - * - * *
      * The rows before this offset (including this offset) are flushed.
      * 
* * int64 offset = 1; - * * @return This builder for chaining. */ public Builder clearOffset() { @@ -472,9 +431,9 @@ public Builder clearOffset() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -484,12 +443,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.FlushRowsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.FlushRowsResponse) private static final com.google.cloud.bigquery.storage.v1.FlushRowsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.FlushRowsResponse(); } @@ -498,27 +457,27 @@ public static com.google.cloud.bigquery.storage.v1.FlushRowsResponse getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FlushRowsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FlushRowsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -533,4 +492,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1.FlushRowsResponse 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/FlushRowsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FlushRowsResponseOrBuilder.java new file mode 100644 index 0000000000..e2e49a0312 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FlushRowsResponseOrBuilder.java @@ -0,0 +1,20 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1/storage.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.bigquery.storage.v1; + +public interface FlushRowsResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.FlushRowsResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The rows before this offset (including this offset) are flushed.
+   * 
+ * + * int64 offset = 1; + * @return The offset. + */ + long getOffset(); +} diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/GetWriteStreamRequest.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/GetWriteStreamRequest.java similarity index 64% rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/GetWriteStreamRequest.java rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/GetWriteStreamRequest.java index 2d0c6b8720..e6e2fe931c 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/GetWriteStreamRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/GetWriteStreamRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 @@ -20,24 +5,21 @@ package com.google.cloud.bigquery.storage.v1; /** - * - * *
  * Request message for `GetWriteStreamRequest`.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.GetWriteStreamRequest} */ -public final class GetWriteStreamRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetWriteStreamRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.GetWriteStreamRequest) GetWriteStreamRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetWriteStreamRequest.newBuilder() to construct. private GetWriteStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetWriteStreamRequest() { name_ = ""; view_ = 0; @@ -45,41 +27,34 @@ private GetWriteStreamRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetWriteStreamRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_GetWriteStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_GetWriteStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_GetWriteStreamRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_GetWriteStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest.class, - com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest.Builder.class); + com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest.class, com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. Name of the stream to get, in the form of
    * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -88,32 +63,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 { @@ -124,44 +97,32 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VIEW_FIELD_NUMBER = 3; private int view_ = 0; /** - * - * *
    * Indicates whether to get full or partial view of the WriteStream. If
    * not set, view returned will be basic.
    * 
* * .google.cloud.bigquery.storage.v1.WriteStreamView view = 3; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * Indicates whether to get full or partial view of the WriteStream. If
    * not set, view returned will be basic.
    * 
* * .google.cloud.bigquery.storage.v1.WriteStreamView view = 3; - * * @return The view. */ - @java.lang.Override - public com.google.cloud.bigquery.storage.v1.WriteStreamView getView() { - com.google.cloud.bigquery.storage.v1.WriteStreamView result = - com.google.cloud.bigquery.storage.v1.WriteStreamView.forNumber(view_); - return result == null - ? com.google.cloud.bigquery.storage.v1.WriteStreamView.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.bigquery.storage.v1.WriteStreamView getView() { + com.google.cloud.bigquery.storage.v1.WriteStreamView result = com.google.cloud.bigquery.storage.v1.WriteStreamView.forNumber(view_); + return result == null ? com.google.cloud.bigquery.storage.v1.WriteStreamView.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -173,13 +134,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (view_ - != com.google.cloud.bigquery.storage.v1.WriteStreamView.WRITE_STREAM_VIEW_UNSPECIFIED - .getNumber()) { + if (view_ != com.google.cloud.bigquery.storage.v1.WriteStreamView.WRITE_STREAM_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(3, view_); } getUnknownFields().writeTo(output); @@ -194,10 +154,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (view_ - != com.google.cloud.bigquery.storage.v1.WriteStreamView.WRITE_STREAM_VIEW_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, view_); + if (view_ != com.google.cloud.bigquery.storage.v1.WriteStreamView.WRITE_STREAM_VIEW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, view_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -207,15 +166,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest other = - (com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest) obj; + com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest other = (com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (view_ != other.view_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -238,136 +197,131 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for `GetWriteStreamRequest`.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.GetWriteStreamRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.GetWriteStreamRequest) com.google.cloud.bigquery.storage.v1.GetWriteStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_GetWriteStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_GetWriteStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_GetWriteStreamRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_GetWriteStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest.class, - com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest.Builder.class); + com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest.class, com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +332,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_GetWriteStreamRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_GetWriteStreamRequest_descriptor; } @java.lang.Override @@ -399,11 +353,8 @@ public com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest buildPartial() { - com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest result = - new com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest result = new com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -422,39 +373,38 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.GetWriteStreamRe public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest) { - return mergeFrom((com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest) other); + return mergeFrom((com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest)other); } else { super.mergeFrom(other); return this; @@ -462,8 +412,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest other) { - if (other == com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -498,25 +447,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 24: - { - view_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 24: { + view_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -526,28 +472,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. Name of the stream to get, in the form of
      * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -556,24 +497,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 { @@ -581,41 +519,30 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Name of the stream to get, in the form of
      * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -625,24 +552,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. Name of the stream to get, in the form of
      * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -652,31 +573,24 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * Indicates whether to get full or partial view of the WriteStream. If
      * not set, view returned will be basic.
      * 
* * .google.cloud.bigquery.storage.v1.WriteStreamView view = 3; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * Indicates whether to get full or partial view of the WriteStream. If
      * not set, view returned will be basic.
      * 
* * .google.cloud.bigquery.storage.v1.WriteStreamView view = 3; - * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ @@ -687,35 +601,26 @@ public Builder setViewValue(int value) { return this; } /** - * - * *
      * Indicates whether to get full or partial view of the WriteStream. If
      * not set, view returned will be basic.
      * 
* * .google.cloud.bigquery.storage.v1.WriteStreamView view = 3; - * * @return The view. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.WriteStreamView getView() { - com.google.cloud.bigquery.storage.v1.WriteStreamView result = - com.google.cloud.bigquery.storage.v1.WriteStreamView.forNumber(view_); - return result == null - ? com.google.cloud.bigquery.storage.v1.WriteStreamView.UNRECOGNIZED - : result; + com.google.cloud.bigquery.storage.v1.WriteStreamView result = com.google.cloud.bigquery.storage.v1.WriteStreamView.forNumber(view_); + return result == null ? com.google.cloud.bigquery.storage.v1.WriteStreamView.UNRECOGNIZED : result; } /** - * - * *
      * Indicates whether to get full or partial view of the WriteStream. If
      * not set, view returned will be basic.
      * 
* * .google.cloud.bigquery.storage.v1.WriteStreamView view = 3; - * * @param value The view to set. * @return This builder for chaining. */ @@ -729,15 +634,12 @@ public Builder setView(com.google.cloud.bigquery.storage.v1.WriteStreamView valu return this; } /** - * - * *
      * Indicates whether to get full or partial view of the WriteStream. If
      * not set, view returned will be basic.
      * 
* * .google.cloud.bigquery.storage.v1.WriteStreamView view = 3; - * * @return This builder for chaining. */ public Builder clearView() { @@ -746,9 +648,9 @@ public Builder clearView() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -758,12 +660,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.GetWriteStreamRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.GetWriteStreamRequest) private static final com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest(); } @@ -772,27 +674,27 @@ public static com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetWriteStreamRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetWriteStreamRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -807,4 +709,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1.GetWriteStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/GetWriteStreamRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/GetWriteStreamRequestOrBuilder.java similarity index 58% rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/GetWriteStreamRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/GetWriteStreamRequestOrBuilder.java index 349d9c4c30..9017109410 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/GetWriteStreamRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/GetWriteStreamRequestOrBuilder.java @@ -1,83 +1,52 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 // Protobuf Java Version: 3.25.2 package com.google.cloud.bigquery.storage.v1; -public interface GetWriteStreamRequestOrBuilder - extends +public interface GetWriteStreamRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.GetWriteStreamRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Name of the stream to get, in the form of
    * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. Name of the stream to get, in the form of
    * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Indicates whether to get full or partial view of the WriteStream. If
    * not set, view returned will be basic.
    * 
* * .google.cloud.bigquery.storage.v1.WriteStreamView view = 3; - * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * Indicates whether to get full or partial view of the WriteStream. If
    * not set, view returned will be basic.
    * 
* * .google.cloud.bigquery.storage.v1.WriteStreamView view = 3; - * * @return The view. */ com.google.cloud.bigquery.storage.v1.WriteStreamView getView(); diff --git a/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 99% 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 index f6dd2d213d..926f53050b 100644 --- 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 @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoBufProto.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoBufProto.java new file mode 100644 index 0000000000..73dae2226d --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoBufProto.java @@ -0,0 +1,70 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1/protobuf.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.bigquery.storage.v1; + +public final class ProtoBufProto { + private ProtoBufProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_ProtoSchema_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_ProtoSchema_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_ProtoRows_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_ProtoRows_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n/google/cloud/bigquery/storage/v1/proto" + + "buf.proto\022 google.cloud.bigquery.storage" + + ".v1\032 google/protobuf/descriptor.proto\"I\n" + + "\013ProtoSchema\022:\n\020proto_descriptor\030\001 \001(\0132 " + + ".google.protobuf.DescriptorProto\"$\n\tProt" + + "oRows\022\027\n\017serialized_rows\030\001 \003(\014B\275\001\n$com.g" + + "oogle.cloud.bigquery.storage.v1B\rProtoBu" + + "fProtoP\001Z>cloud.google.com/go/bigquery/s" + + "torage/apiv1/storagepb;storagepb\252\002 Googl" + + "e.Cloud.BigQuery.Storage.V1\312\002 Google\\Clo" + + "ud\\BigQuery\\Storage\\V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.protobuf.DescriptorProtos.getDescriptor(), + }); + internal_static_google_cloud_bigquery_storage_v1_ProtoSchema_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_storage_v1_ProtoSchema_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_ProtoSchema_descriptor, + new java.lang.String[] { "ProtoDescriptor", }); + internal_static_google_cloud_bigquery_storage_v1_ProtoRows_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_storage_v1_ProtoRows_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_ProtoRows_descriptor, + new java.lang.String[] { "SerializedRows", }); + com.google.protobuf.DescriptorProtos.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoRows.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoRows.java similarity index 68% rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoRows.java rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoRows.java index 2b83a4b0ff..cc671b5cf4 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoRows.java +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoRows.java @@ -1,68 +1,50 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/protobuf.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.bigquery.storage.v1; -/** Protobuf type {@code google.cloud.bigquery.storage.v1.ProtoRows} */ -public final class ProtoRows extends com.google.protobuf.GeneratedMessageV3 - implements +/** + * Protobuf type {@code google.cloud.bigquery.storage.v1.ProtoRows} + */ +public final class ProtoRows extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.ProtoRows) ProtoRowsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ProtoRows.newBuilder() to construct. private ProtoRows(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ProtoRows() { serializedRows_ = emptyList(com.google.protobuf.ByteString.class); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ProtoRows(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.ProtoBufProto - .internal_static_google_cloud_bigquery_storage_v1_ProtoRows_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.ProtoBufProto.internal_static_google_cloud_bigquery_storage_v1_ProtoRows_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.ProtoBufProto - .internal_static_google_cloud_bigquery_storage_v1_ProtoRows_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.ProtoBufProto.internal_static_google_cloud_bigquery_storage_v1_ProtoRows_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.ProtoRows.class, - com.google.cloud.bigquery.storage.v1.ProtoRows.Builder.class); + com.google.cloud.bigquery.storage.v1.ProtoRows.class, com.google.cloud.bigquery.storage.v1.ProtoRows.Builder.class); } public static final int SERIALIZED_ROWS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private com.google.protobuf.Internal.ProtobufList - serializedRows_ = emptyList(com.google.protobuf.ByteString.class); + private com.google.protobuf.Internal.ProtobufList serializedRows_ = + emptyList(com.google.protobuf.ByteString.class); /** - * - * *
    * A sequence of rows serialized as a Protocol Buffer.
    *
@@ -71,16 +53,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.
    *
@@ -89,15 +69,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.
    *
@@ -106,7 +83,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. */ @@ -115,7 +91,6 @@ public com.google.protobuf.ByteString getSerializedRows(int index) { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -127,7 +102,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)); } @@ -143,8 +119,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(); @@ -157,15 +133,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1.ProtoRows)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.ProtoRows other = - (com.google.cloud.bigquery.storage.v1.ProtoRows) obj; + com.google.cloud.bigquery.storage.v1.ProtoRows other = (com.google.cloud.bigquery.storage.v1.ProtoRows) obj; - if (!getSerializedRowsList().equals(other.getSerializedRowsList())) return false; + if (!getSerializedRowsList() + .equals(other.getSerializedRowsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -186,128 +162,128 @@ public int hashCode() { return hash; } - public static com.google.cloud.bigquery.storage.v1.ProtoRows parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.bigquery.storage.v1.ProtoRows parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.ProtoRows parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.ProtoRows parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.ProtoRows parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.ProtoRows parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.ProtoRows parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.ProtoRows parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1.ProtoRows parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.ProtoRows parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.ProtoRows parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1.ProtoRows parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.ProtoRows parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1.ProtoRows parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.ProtoRows prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** Protobuf type {@code google.cloud.bigquery.storage.v1.ProtoRows} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + /** + * Protobuf type {@code google.cloud.bigquery.storage.v1.ProtoRows} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.ProtoRows) com.google.cloud.bigquery.storage.v1.ProtoRowsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.ProtoBufProto - .internal_static_google_cloud_bigquery_storage_v1_ProtoRows_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.ProtoBufProto.internal_static_google_cloud_bigquery_storage_v1_ProtoRows_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.ProtoBufProto - .internal_static_google_cloud_bigquery_storage_v1_ProtoRows_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.ProtoBufProto.internal_static_google_cloud_bigquery_storage_v1_ProtoRows_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.ProtoRows.class, - com.google.cloud.bigquery.storage.v1.ProtoRows.Builder.class); + com.google.cloud.bigquery.storage.v1.ProtoRows.class, com.google.cloud.bigquery.storage.v1.ProtoRows.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1.ProtoRows.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -317,9 +293,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1.ProtoBufProto - .internal_static_google_cloud_bigquery_storage_v1_ProtoRows_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1.ProtoBufProto.internal_static_google_cloud_bigquery_storage_v1_ProtoRows_descriptor; } @java.lang.Override @@ -338,11 +314,8 @@ public com.google.cloud.bigquery.storage.v1.ProtoRows build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1.ProtoRows buildPartial() { - com.google.cloud.bigquery.storage.v1.ProtoRows result = - new com.google.cloud.bigquery.storage.v1.ProtoRows(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1.ProtoRows result = new com.google.cloud.bigquery.storage.v1.ProtoRows(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -359,39 +332,38 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.ProtoRows result public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.ProtoRows) { - return mergeFrom((com.google.cloud.bigquery.storage.v1.ProtoRows) other); + return mergeFrom((com.google.cloud.bigquery.storage.v1.ProtoRows)other); } else { super.mergeFrom(other); return this; @@ -437,20 +409,18 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.protobuf.ByteString v = input.readBytes(); - ensureSerializedRowsIsMutable(); - serializedRows_.add(v); - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.protobuf.ByteString v = input.readBytes(); + ensureSerializedRowsIsMutable(); + serializedRows_.add(v); + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -460,12 +430,9 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.protobuf.Internal.ProtobufList - serializedRows_ = emptyList(com.google.protobuf.ByteString.class); - + private com.google.protobuf.Internal.ProtobufList serializedRows_ = emptyList(com.google.protobuf.ByteString.class); private void ensureSerializedRowsIsMutable() { if (!serializedRows_.isModifiable()) { serializedRows_ = makeMutableCopy(serializedRows_); @@ -473,8 +440,6 @@ private void ensureSerializedRowsIsMutable() { bitField0_ |= 0x00000001; } /** - * - * *
      * A sequence of rows serialized as a Protocol Buffer.
      *
@@ -483,16 +448,14 @@ private void ensureSerializedRowsIsMutable() {
      * 
* * repeated bytes serialized_rows = 1; - * * @return A list containing the serializedRows. */ - public java.util.List getSerializedRowsList() { + public java.util.List + getSerializedRowsList() { serializedRows_.makeImmutable(); return serializedRows_; } /** - * - * *
      * A sequence of rows serialized as a Protocol Buffer.
      *
@@ -501,15 +464,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.
      *
@@ -518,7 +478,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. */ @@ -526,8 +485,6 @@ public com.google.protobuf.ByteString getSerializedRows(int index) { return serializedRows_.get(index); } /** - * - * *
      * A sequence of rows serialized as a Protocol Buffer.
      *
@@ -536,15 +493,13 @@ public com.google.protobuf.ByteString getSerializedRows(int index) {
      * 
* * repeated bytes serialized_rows = 1; - * * @param index The index to set the value at. * @param value The serializedRows to set. * @return This builder for chaining. */ - public Builder setSerializedRows(int index, com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSerializedRows( + int index, com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } ensureSerializedRowsIsMutable(); serializedRows_.set(index, value); bitField0_ |= 0x00000001; @@ -552,8 +507,6 @@ public Builder setSerializedRows(int index, com.google.protobuf.ByteString value return this; } /** - * - * *
      * A sequence of rows serialized as a Protocol Buffer.
      *
@@ -562,14 +515,11 @@ 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(); - } + if (value == null) { throw new NullPointerException(); } ensureSerializedRowsIsMutable(); serializedRows_.add(value); bitField0_ |= 0x00000001; @@ -577,8 +527,6 @@ public Builder addSerializedRows(com.google.protobuf.ByteString value) { return this; } /** - * - * *
      * A sequence of rows serialized as a Protocol Buffer.
      *
@@ -587,21 +535,19 @@ 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_); bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * A sequence of rows serialized as a Protocol Buffer.
      *
@@ -610,7 +556,6 @@ public Builder addAllSerializedRows(
      * 
* * repeated bytes serialized_rows = 1; - * * @return This builder for chaining. */ public Builder clearSerializedRows() { @@ -619,9 +564,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); } @@ -631,12 +576,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.ProtoRows) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.ProtoRows) private static final com.google.cloud.bigquery.storage.v1.ProtoRows DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.ProtoRows(); } @@ -645,27 +590,27 @@ public static com.google.cloud.bigquery.storage.v1.ProtoRows getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProtoRows parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProtoRows parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -680,4 +625,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1.ProtoRows getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoRowsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoRowsOrBuilder.java similarity index 69% rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoRowsOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoRowsOrBuilder.java index e50a4acfe4..7ece271886 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoRowsOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoRowsOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/protobuf.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.bigquery.storage.v1; -public interface ProtoRowsOrBuilder - extends +public interface ProtoRowsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.ProtoRows) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A sequence of rows serialized as a Protocol Buffer.
    *
@@ -35,13 +17,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.
    *
@@ -50,13 +29,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.
    *
@@ -65,7 +41,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-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoSchema.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoSchema.java similarity index 72% rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoSchema.java rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoSchema.java index 621ff8fc06..ff810587a5 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoSchema.java +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoSchema.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/protobuf.proto @@ -20,53 +5,48 @@ package com.google.cloud.bigquery.storage.v1; /** - * - * *
  * ProtoSchema describes the schema of the serialized protocol buffer data rows.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.ProtoSchema} */ -public final class ProtoSchema extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ProtoSchema extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.ProtoSchema) ProtoSchemaOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ProtoSchema.newBuilder() to construct. private ProtoSchema(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ProtoSchema() {} + private ProtoSchema() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ProtoSchema(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.ProtoBufProto - .internal_static_google_cloud_bigquery_storage_v1_ProtoSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.ProtoBufProto.internal_static_google_cloud_bigquery_storage_v1_ProtoSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.ProtoBufProto - .internal_static_google_cloud_bigquery_storage_v1_ProtoSchema_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.ProtoBufProto.internal_static_google_cloud_bigquery_storage_v1_ProtoSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.ProtoSchema.class, - com.google.cloud.bigquery.storage.v1.ProtoSchema.Builder.class); + com.google.cloud.bigquery.storage.v1.ProtoSchema.class, com.google.cloud.bigquery.storage.v1.ProtoSchema.Builder.class); } private int bitField0_; public static final int PROTO_DESCRIPTOR_FIELD_NUMBER = 1; private com.google.protobuf.DescriptorProtos.DescriptorProto protoDescriptor_; /** - * - * *
    * Descriptor for input message.  The provided descriptor must be self
    * contained, such that data rows sent can be fully decoded using only the
@@ -80,7 +60,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 @@ -88,8 +67,6 @@ public boolean hasProtoDescriptor() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Descriptor for input message.  The provided descriptor must be self
    * contained, such that data rows sent can be fully decoded using only the
@@ -103,18 +80,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 provided descriptor must be self
    * contained, such that data rows sent can be fully decoded using only the
@@ -130,15 +102,11 @@ public com.google.protobuf.DescriptorProtos.DescriptorProto getProtoDescriptor()
    * .google.protobuf.DescriptorProto proto_descriptor = 1;
    */
   @java.lang.Override
-  public com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder
-      getProtoDescriptorOrBuilder() {
-    return protoDescriptor_ == null
-        ? com.google.protobuf.DescriptorProtos.DescriptorProto.getDefaultInstance()
-        : protoDescriptor_;
+  public com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder getProtoDescriptorOrBuilder() {
+    return protoDescriptor_ == null ? com.google.protobuf.DescriptorProtos.DescriptorProto.getDefaultInstance() : protoDescriptor_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -156,7 +124,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 (((bitField0_ & 0x00000001) != 0)) {
       output.writeMessage(1, getProtoDescriptor());
     }
@@ -170,7 +139,8 @@ public int getSerializedSize() {
 
     size = 0;
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getProtoDescriptor());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getProtoDescriptor());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -180,17 +150,17 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.bigquery.storage.v1.ProtoSchema)) {
       return super.equals(obj);
     }
-    com.google.cloud.bigquery.storage.v1.ProtoSchema other =
-        (com.google.cloud.bigquery.storage.v1.ProtoSchema) obj;
+    com.google.cloud.bigquery.storage.v1.ProtoSchema other = (com.google.cloud.bigquery.storage.v1.ProtoSchema) obj;
 
     if (hasProtoDescriptor() != other.hasProtoDescriptor()) return false;
     if (hasProtoDescriptor()) {
-      if (!getProtoDescriptor().equals(other.getProtoDescriptor())) return false;
+      if (!getProtoDescriptor()
+          .equals(other.getProtoDescriptor())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -212,127 +182,120 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.bigquery.storage.v1.ProtoSchema parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.bigquery.storage.v1.ProtoSchema parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.bigquery.storage.v1.ProtoSchema parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.bigquery.storage.v1.ProtoSchema parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.bigquery.storage.v1.ProtoSchema parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.bigquery.storage.v1.ProtoSchema parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.bigquery.storage.v1.ProtoSchema parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.bigquery.storage.v1.ProtoSchema parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.bigquery.storage.v1.ProtoSchema parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.bigquery.storage.v1.ProtoSchema parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.bigquery.storage.v1.ProtoSchema parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.bigquery.storage.v1.ProtoSchema parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.bigquery.storage.v1.ProtoSchema parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.bigquery.storage.v1.ProtoSchema parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.bigquery.storage.v1.ProtoSchema parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.ProtoSchema prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * ProtoSchema describes the schema of the serialized protocol buffer data rows.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.ProtoSchema} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.ProtoSchema) com.google.cloud.bigquery.storage.v1.ProtoSchemaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.ProtoBufProto - .internal_static_google_cloud_bigquery_storage_v1_ProtoSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.ProtoBufProto.internal_static_google_cloud_bigquery_storage_v1_ProtoSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.ProtoBufProto - .internal_static_google_cloud_bigquery_storage_v1_ProtoSchema_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.ProtoBufProto.internal_static_google_cloud_bigquery_storage_v1_ProtoSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.ProtoSchema.class, - com.google.cloud.bigquery.storage.v1.ProtoSchema.Builder.class); + com.google.cloud.bigquery.storage.v1.ProtoSchema.class, com.google.cloud.bigquery.storage.v1.ProtoSchema.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1.ProtoSchema.newBuilder() @@ -340,17 +303,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) { getProtoDescriptorFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -364,9 +327,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1.ProtoBufProto - .internal_static_google_cloud_bigquery_storage_v1_ProtoSchema_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1.ProtoBufProto.internal_static_google_cloud_bigquery_storage_v1_ProtoSchema_descriptor; } @java.lang.Override @@ -385,11 +348,8 @@ public com.google.cloud.bigquery.storage.v1.ProtoSchema build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1.ProtoSchema buildPartial() { - com.google.cloud.bigquery.storage.v1.ProtoSchema result = - new com.google.cloud.bigquery.storage.v1.ProtoSchema(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1.ProtoSchema result = new com.google.cloud.bigquery.storage.v1.ProtoSchema(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -398,8 +358,9 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.ProtoSchema resu int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.protoDescriptor_ = - protoDescriptorBuilder_ == null ? protoDescriptor_ : protoDescriptorBuilder_.build(); + result.protoDescriptor_ = protoDescriptorBuilder_ == null + ? protoDescriptor_ + : protoDescriptorBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -409,39 +370,38 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.ProtoSchema resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.ProtoSchema) { - return mergeFrom((com.google.cloud.bigquery.storage.v1.ProtoSchema) other); + return mergeFrom((com.google.cloud.bigquery.storage.v1.ProtoSchema)other); } else { super.mergeFrom(other); return this; @@ -449,8 +409,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.ProtoSchema other) { - if (other == com.google.cloud.bigquery.storage.v1.ProtoSchema.getDefaultInstance()) - return this; + if (other == com.google.cloud.bigquery.storage.v1.ProtoSchema.getDefaultInstance()) return this; if (other.hasProtoDescriptor()) { mergeProtoDescriptor(other.getProtoDescriptor()); } @@ -485,19 +444,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getProtoDescriptorFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getProtoDescriptorFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -507,18 +466,12 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.DescriptorProtos.DescriptorProto protoDescriptor_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.DescriptorProtos.DescriptorProto, - com.google.protobuf.DescriptorProtos.DescriptorProto.Builder, - com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder> - protoDescriptorBuilder_; + com.google.protobuf.DescriptorProtos.DescriptorProto, com.google.protobuf.DescriptorProtos.DescriptorProto.Builder, com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder> protoDescriptorBuilder_; /** - * - * *
      * Descriptor for input message.  The provided descriptor must be self
      * contained, such that data rows sent can be fully decoded using only the
@@ -532,15 +485,12 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.DescriptorProto proto_descriptor = 1; - * * @return Whether the protoDescriptor field is set. */ public boolean hasProtoDescriptor() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Descriptor for input message.  The provided descriptor must be self
      * contained, such that data rows sent can be fully decoded using only the
@@ -554,21 +504,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 provided descriptor must be self
      * contained, such that data rows sent can be fully decoded using only the
@@ -597,8 +542,6 @@ public Builder setProtoDescriptor(com.google.protobuf.DescriptorProtos.Descripto
       return this;
     }
     /**
-     *
-     *
      * 
      * Descriptor for input message.  The provided descriptor must be self
      * contained, such that data rows sent can be fully decoded using only the
@@ -625,8 +568,6 @@ public Builder setProtoDescriptor(
       return this;
     }
     /**
-     *
-     *
      * 
      * Descriptor for input message.  The provided descriptor must be self
      * contained, such that data rows sent can be fully decoded using only the
@@ -641,13 +582,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 (((bitField0_ & 0x00000001) != 0)
-            && protoDescriptor_ != null
-            && protoDescriptor_
-                != com.google.protobuf.DescriptorProtos.DescriptorProto.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          protoDescriptor_ != null &&
+          protoDescriptor_ != com.google.protobuf.DescriptorProtos.DescriptorProto.getDefaultInstance()) {
           getProtoDescriptorBuilder().mergeFrom(value);
         } else {
           protoDescriptor_ = value;
@@ -662,8 +601,6 @@ public Builder mergeProtoDescriptor(
       return this;
     }
     /**
-     *
-     *
      * 
      * Descriptor for input message.  The provided descriptor must be self
      * contained, such that data rows sent can be fully decoded using only the
@@ -689,8 +626,6 @@ public Builder clearProtoDescriptor() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Descriptor for input message.  The provided descriptor must be self
      * contained, such that data rows sent can be fully decoded using only the
@@ -705,15 +640,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() {
       bitField0_ |= 0x00000001;
       onChanged();
       return getProtoDescriptorFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Descriptor for input message.  The provided descriptor must be self
      * contained, such that data rows sent can be fully decoded using only the
@@ -728,19 +660,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 provided descriptor must be self
      * contained, such that data rows sent can be fully decoded using only the
@@ -756,24 +684,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);
     }
 
@@ -783,12 +708,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.ProtoSchema)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.ProtoSchema)
   private static final com.google.cloud.bigquery.storage.v1.ProtoSchema DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.ProtoSchema();
   }
@@ -797,27 +722,27 @@ public static com.google.cloud.bigquery.storage.v1.ProtoSchema getDefaultInstanc
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ProtoSchema parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ProtoSchema parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -832,4 +757,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.bigquery.storage.v1.ProtoSchema getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoSchemaOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoSchemaOrBuilder.java
similarity index 79%
rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoSchemaOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoSchemaOrBuilder.java
index d0c4eb4dde..6ec3b74626 100644
--- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoSchemaOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoSchemaOrBuilder.java
@@ -1,32 +1,14 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/bigquery/storage/v1/protobuf.proto
 
 // Protobuf Java Version: 3.25.2
 package com.google.cloud.bigquery.storage.v1;
 
-public interface ProtoSchemaOrBuilder
-    extends
+public interface ProtoSchemaOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.ProtoSchema)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Descriptor for input message.  The provided descriptor must be self
    * contained, such that data rows sent can be fully decoded using only the
@@ -40,13 +22,10 @@ public interface ProtoSchemaOrBuilder
    * 
* * .google.protobuf.DescriptorProto proto_descriptor = 1; - * * @return Whether the protoDescriptor field is set. */ boolean hasProtoDescriptor(); /** - * - * *
    * Descriptor for input message.  The provided descriptor must be self
    * contained, such that data rows sent can be fully decoded using only the
@@ -60,13 +39,10 @@ public interface ProtoSchemaOrBuilder
    * 
* * .google.protobuf.DescriptorProto proto_descriptor = 1; - * * @return The protoDescriptor. */ com.google.protobuf.DescriptorProtos.DescriptorProto getProtoDescriptor(); /** - * - * *
    * Descriptor for input message.  The provided descriptor must be self
    * contained, such that data rows sent can be fully decoded using only the
diff --git a/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 64%
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 567c749c46..d5c0d40627 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,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for 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
 
@@ -20,64 +5,54 @@
 package com.google.cloud.bigquery.storage.v1;
 
 /**
- *
- *
  * 
  * Request message for `ReadRows`.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.ReadRowsRequest} */ -public final class ReadRowsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ReadRowsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.ReadRowsRequest) ReadRowsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ReadRowsRequest.newBuilder() to construct. private ReadRowsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ReadRowsRequest() { readStream_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReadRowsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_ReadRowsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_ReadRowsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_ReadRowsRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_ReadRowsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.ReadRowsRequest.class, - com.google.cloud.bigquery.storage.v1.ReadRowsRequest.Builder.class); + com.google.cloud.bigquery.storage.v1.ReadRowsRequest.class, com.google.cloud.bigquery.storage.v1.ReadRowsRequest.Builder.class); } public static final int READ_STREAM_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object readStream_ = ""; /** - * - * *
    * Required. Stream to read rows from.
    * 
* - * - * string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The readStream. */ @java.lang.Override @@ -86,31 +61,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 { @@ -121,8 +94,6 @@ public com.google.protobuf.ByteString getReadStreamBytes() { public static final int OFFSET_FIELD_NUMBER = 2; private long offset_ = 0L; /** - * - * *
    * The offset requested must be less than the last row read from Read.
    * Requesting a larger offset is undefined. If not specified, start reading
@@ -130,7 +101,6 @@ public com.google.protobuf.ByteString getReadStreamBytes() {
    * 
* * int64 offset = 2; - * * @return The offset. */ @java.lang.Override @@ -139,7 +109,6 @@ public long getOffset() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,7 +120,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(readStream_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, readStream_); } @@ -171,7 +141,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -181,16 +152,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -205,142 +177,139 @@ public int hashCode() { hash = (37 * hash) + READ_STREAM_FIELD_NUMBER; hash = (53 * hash) + getReadStream().hashCode(); hash = (37 * hash) + OFFSET_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getOffset()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getOffset()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.bigquery.storage.v1.ReadRowsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.ReadRowsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.ReadRowsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.ReadRowsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.ReadRowsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.ReadRowsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1.ReadRowsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.ReadRowsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1.ReadRowsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.ReadRowsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.ReadRowsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1.ReadRowsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.ReadRowsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1.ReadRowsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.ReadRowsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for `ReadRows`.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.ReadRowsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.ReadRowsRequest) com.google.cloud.bigquery.storage.v1.ReadRowsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_ReadRowsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_ReadRowsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_ReadRowsRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_ReadRowsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.ReadRowsRequest.class, - com.google.cloud.bigquery.storage.v1.ReadRowsRequest.Builder.class); + com.google.cloud.bigquery.storage.v1.ReadRowsRequest.class, com.google.cloud.bigquery.storage.v1.ReadRowsRequest.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1.ReadRowsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -351,9 +320,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 @@ -372,11 +341,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1.ReadRowsRequest result = new com.google.cloud.bigquery.storage.v1.ReadRowsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -395,39 +361,38 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.ReadRowsRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.ReadRowsRequest) { - return mergeFrom((com.google.cloud.bigquery.storage.v1.ReadRowsRequest) other); + return mergeFrom((com.google.cloud.bigquery.storage.v1.ReadRowsRequest)other); } else { super.mergeFrom(other); return this; @@ -435,8 +400,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_; bitField0_ |= 0x00000001; @@ -471,25 +435,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - readStream_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - offset_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + readStream_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + offset_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -499,27 +460,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object readStream_ = ""; /** - * - * *
      * Required. Stream to read rows from.
      * 
* - * - * string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The readStream. */ public java.lang.String getReadStream() { java.lang.Object ref = readStream_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); readStream_ = s; return s; @@ -528,23 +484,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 { @@ -552,39 +505,28 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setReadStream( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } readStream_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Stream to read rows from.
      * 
* - * - * string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearReadStream() { @@ -594,23 +536,17 @@ public Builder clearReadStream() { return this; } /** - * - * *
      * Required. Stream to read rows from.
      * 
* - * - * string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for readStream to set. * @return This builder for chaining. */ - public Builder setReadStreamBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setReadStreamBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); readStream_ = value; bitField0_ |= 0x00000001; @@ -618,10 +554,8 @@ public Builder setReadStreamBytes(com.google.protobuf.ByteString value) { 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
@@ -629,7 +563,6 @@ public Builder setReadStreamBytes(com.google.protobuf.ByteString value) {
      * 
* * int64 offset = 2; - * * @return The offset. */ @java.lang.Override @@ -637,8 +570,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
@@ -646,7 +577,6 @@ public long getOffset() {
      * 
* * int64 offset = 2; - * * @param value The offset to set. * @return This builder for chaining. */ @@ -658,8 +588,6 @@ public Builder setOffset(long value) { return this; } /** - * - * *
      * The offset requested must be less than the last row read from Read.
      * Requesting a larger offset is undefined. If not specified, start reading
@@ -667,7 +595,6 @@ public Builder setOffset(long value) {
      * 
* * int64 offset = 2; - * * @return This builder for chaining. */ public Builder clearOffset() { @@ -676,9 +603,9 @@ public Builder clearOffset() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -688,12 +615,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(); } @@ -702,27 +629,27 @@ public static com.google.cloud.bigquery.storage.v1.ReadRowsRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadRowsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadRowsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -737,4 +664,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..206541728b --- /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,42 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1/storage.proto + +// Protobuf Java Version: 3.25.2 +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 71% 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 9bbc108b84..43ca7c72ef 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,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 @@ -20,8 +5,6 @@ package com.google.cloud.bigquery.storage.v1; /** - * - * *
  * Response from calling `ReadRows` may include row data, progress and
  * throttling information.
@@ -29,54 +12,49 @@
  *
  * Protobuf type {@code google.cloud.bigquery.storage.v1.ReadRowsResponse}
  */
-public final class ReadRowsResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ReadRowsResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.ReadRowsResponse)
     ReadRowsResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ReadRowsResponse.newBuilder() to construct.
   private ReadRowsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private ReadRowsResponse() {}
+  private ReadRowsResponse() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ReadRowsResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.bigquery.storage.v1.StorageProto
-        .internal_static_google_cloud_bigquery_storage_v1_ReadRowsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_ReadRowsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.storage.v1.StorageProto
-        .internal_static_google_cloud_bigquery_storage_v1_ReadRowsResponse_fieldAccessorTable
+    return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_ReadRowsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.storage.v1.ReadRowsResponse.class,
-            com.google.cloud.bigquery.storage.v1.ReadRowsResponse.Builder.class);
+            com.google.cloud.bigquery.storage.v1.ReadRowsResponse.class, com.google.cloud.bigquery.storage.v1.ReadRowsResponse.Builder.class);
   }
 
   private int bitField0_;
   private int rowsCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object rows_;
-
   public enum RowsCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     AVRO_ROWS(3),
     ARROW_RECORD_BATCH(4),
     ROWS_NOT_SET(0);
     private final int value;
-
     private RowsCase(int value) {
       this.value = value;
     }
@@ -92,40 +70,33 @@ public static RowsCase valueOf(int value) {
 
     public static RowsCase forNumber(int value) {
       switch (value) {
-        case 3:
-          return AVRO_ROWS;
-        case 4:
-          return ARROW_RECORD_BATCH;
-        case 0:
-          return ROWS_NOT_SET;
-        default:
-          return null;
+        case 3: return AVRO_ROWS;
+        case 4: return ARROW_RECORD_BATCH;
+        case 0: return ROWS_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public RowsCase getRowsCase() {
-    return RowsCase.forNumber(rowsCase_);
+  public RowsCase
+  getRowsCase() {
+    return RowsCase.forNumber(
+        rowsCase_);
   }
 
   private int schemaCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object schema_;
-
   public enum SchemaCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     AVRO_SCHEMA(7),
     ARROW_SCHEMA(8),
     SCHEMA_NOT_SET(0);
     private final int value;
-
     private SchemaCase(int value) {
       this.value = value;
     }
@@ -141,36 +112,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 @@ -178,26 +143,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.
    * 
@@ -207,21 +167,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 @@ -229,26 +186,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.
    * 
@@ -256,10 +208,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(); } @@ -267,14 +218,11 @@ public com.google.cloud.bigquery.storage.v1.ArrowRecordBatch getArrowRecordBatch public static final int ROW_COUNT_FIELD_NUMBER = 6; private long rowCount_ = 0L; /** - * - * *
    * Number of serialized rows in the rows block.
    * 
* * int64 row_count = 6; - * * @return The rowCount. */ @java.lang.Override @@ -285,14 +233,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 @@ -300,25 +245,18 @@ public boolean hasStats() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * 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.
    * 
@@ -327,23 +265,18 @@ public com.google.cloud.bigquery.storage.v1.StreamStats getStats() { */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.StreamStatsOrBuilder getStatsOrBuilder() { - return stats_ == null - ? com.google.cloud.bigquery.storage.v1.StreamStats.getDefaultInstance() - : stats_; + return stats_ == null ? com.google.cloud.bigquery.storage.v1.StreamStats.getDefaultInstance() : stats_; } public static final int THROTTLE_STATE_FIELD_NUMBER = 5; private com.google.cloud.bigquery.storage.v1.ThrottleState throttleState_; /** - * - * *
    * Throttling state. If unset, the latest response still describes
    * the current throttling status.
    * 
* * .google.cloud.bigquery.storage.v1.ThrottleState throttle_state = 5; - * * @return Whether the throttleState field is set. */ @java.lang.Override @@ -351,26 +284,19 @@ public boolean hasThrottleState() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Throttling state. If unset, the latest response still describes
    * the current throttling status.
    * 
* * .google.cloud.bigquery.storage.v1.ThrottleState throttle_state = 5; - * * @return The throttleState. */ @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.
@@ -380,23 +306,16 @@ public com.google.cloud.bigquery.storage.v1.ThrottleState getThrottleState() {
    */
   @java.lang.Override
   public com.google.cloud.bigquery.storage.v1.ThrottleStateOrBuilder getThrottleStateOrBuilder() {
-    return throttleState_ == null
-        ? com.google.cloud.bigquery.storage.v1.ThrottleState.getDefaultInstance()
-        : throttleState_;
+    return throttleState_ == null ? com.google.cloud.bigquery.storage.v1.ThrottleState.getDefaultInstance() : throttleState_;
   }
 
   public static final int AVRO_SCHEMA_FIELD_NUMBER = 7;
   /**
-   *
-   *
    * 
    * Output only. Avro schema.
    * 
* - * - * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the avroSchema field is set. */ @java.lang.Override @@ -404,56 +323,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 @@ -461,40 +366,31 @@ 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(); } @@ -502,8 +398,6 @@ public com.google.cloud.bigquery.storage.v1.ArrowSchemaOrBuilder getArrowSchemaO public static final int UNCOMPRESSED_BYTE_SIZE_FIELD_NUMBER = 9; private long uncompressedByteSize_ = 0L; /** - * - * *
    * Optional. If the row data in this ReadRowsResponse is compressed, then
    * uncompressed byte size is the original size of the uncompressed row data.
@@ -521,9 +415,7 @@ public com.google.cloud.bigquery.storage.v1.ArrowSchemaOrBuilder getArrowSchemaO
    * greater than 0, the client should skip decompression.
    * 
* - * optional int64 uncompressed_byte_size = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * optional int64 uncompressed_byte_size = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the uncompressedByteSize field is set. */ @java.lang.Override @@ -531,8 +423,6 @@ public boolean hasUncompressedByteSize() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * Optional. If the row data in this ReadRowsResponse is compressed, then
    * uncompressed byte size is the original size of the uncompressed row data.
@@ -550,9 +440,7 @@ public boolean hasUncompressedByteSize() {
    * greater than 0, the client should skip decompression.
    * 
* - * optional int64 uncompressed_byte_size = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * optional int64 uncompressed_byte_size = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The uncompressedByteSize. */ @java.lang.Override @@ -561,7 +449,6 @@ public long getUncompressedByteSize() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -573,7 +460,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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getStats()); } @@ -608,36 +496,36 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - 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 (((bitField0_ & 0x00000002) != 0)) { - 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_); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(9, uncompressedByteSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(9, uncompressedByteSize_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -647,34 +535,39 @@ 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 (hasUncompressedByteSize() != other.hasUncompressedByteSize()) return false; if (hasUncompressedByteSize()) { - if (getUncompressedByteSize() != other.getUncompressedByteSize()) return false; + if (getUncompressedByteSize() + != other.getUncompressedByteSize()) 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: @@ -682,10 +575,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: @@ -702,7 +597,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(); @@ -713,7 +609,8 @@ public int hashCode() { } if (hasUncompressedByteSize()) { hash = (37 * hash) + UNCOMPRESSED_BYTE_SIZE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getUncompressedByteSize()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getUncompressedByteSize()); } switch (rowsCase_) { case 3: @@ -745,104 +642,98 @@ 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.
@@ -850,23 +741,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()
@@ -874,18 +763,18 @@ 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) {
         getStatsFieldBuilder();
         getThrottleStateFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -922,9 +811,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
@@ -943,11 +832,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);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.bigquery.storage.v1.ReadRowsResponse result = new com.google.cloud.bigquery.storage.v1.ReadRowsResponse(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -960,12 +846,15 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.ReadRowsResponse
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.stats_ = statsBuilder_ == null ? stats_ : statsBuilder_.build();
+        result.stats_ = statsBuilder_ == null
+            ? stats_
+            : statsBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.throttleState_ =
-            throttleStateBuilder_ == null ? throttleState_ : throttleStateBuilder_.build();
+        result.throttleState_ = throttleStateBuilder_ == null
+            ? throttleState_
+            : throttleStateBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       if (((from_bitField0_ & 0x00000080) != 0)) {
@@ -978,18 +867,22 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.ReadRowsResponse
     private void buildPartialOneofs(com.google.cloud.bigquery.storage.v1.ReadRowsResponse result) {
       result.rowsCase_ = rowsCase_;
       result.rows_ = this.rows_;
-      if (rowsCase_ == 3 && avroRowsBuilder_ != null) {
+      if (rowsCase_ == 3 &&
+          avroRowsBuilder_ != null) {
         result.rows_ = avroRowsBuilder_.build();
       }
-      if (rowsCase_ == 4 && arrowRecordBatchBuilder_ != null) {
+      if (rowsCase_ == 4 &&
+          arrowRecordBatchBuilder_ != null) {
         result.rows_ = arrowRecordBatchBuilder_.build();
       }
       result.schemaCase_ = schemaCase_;
       result.schema_ = this.schema_;
-      if (schemaCase_ == 7 && avroSchemaBuilder_ != null) {
+      if (schemaCase_ == 7 &&
+          avroSchemaBuilder_ != null) {
         result.schema_ = avroSchemaBuilder_.build();
       }
-      if (schemaCase_ == 8 && arrowSchemaBuilder_ != null) {
+      if (schemaCase_ == 8 &&
+          arrowSchemaBuilder_ != null) {
         result.schema_ = arrowSchemaBuilder_.build();
       }
     }
@@ -998,39 +891,38 @@ private void buildPartialOneofs(com.google.cloud.bigquery.storage.v1.ReadRowsRes
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.storage.v1.ReadRowsResponse) {
-        return mergeFrom((com.google.cloud.bigquery.storage.v1.ReadRowsResponse) other);
+        return mergeFrom((com.google.cloud.bigquery.storage.v1.ReadRowsResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1038,8 +930,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());
       }
@@ -1053,36 +944,30 @@ public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.ReadRowsResponse o
         setUncompressedByteSize(other.getUncompressedByteSize());
       }
       switch (other.getRowsCase()) {
-        case AVRO_ROWS:
-          {
-            mergeAvroRows(other.getAvroRows());
-            break;
-          }
-        case ARROW_RECORD_BATCH:
-          {
-            mergeArrowRecordBatch(other.getArrowRecordBatch());
-            break;
-          }
-        case ROWS_NOT_SET:
-          {
-            break;
-          }
+        case AVRO_ROWS: {
+          mergeAvroRows(other.getAvroRows());
+          break;
+        }
+        case ARROW_RECORD_BATCH: {
+          mergeArrowRecordBatch(other.getArrowRecordBatch());
+          break;
+        }
+        case ROWS_NOT_SET: {
+          break;
+        }
       }
       switch (other.getSchemaCase()) {
-        case AVRO_SCHEMA:
-          {
-            mergeAvroSchema(other.getAvroSchema());
-            break;
-          }
-        case ARROW_SCHEMA:
-          {
-            mergeArrowSchema(other.getArrowSchema());
-            break;
-          }
-        case SCHEMA_NOT_SET:
-          {
-            break;
-          }
+        case AVRO_SCHEMA: {
+          mergeAvroSchema(other.getAvroSchema());
+          break;
+        }
+        case ARROW_SCHEMA: {
+          mergeArrowSchema(other.getArrowSchema());
+          break;
+        }
+        case SCHEMA_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -1110,62 +995,64 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 18:
-              {
-                input.readMessage(getStatsFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getAvroRowsFieldBuilder().getBuilder(), extensionRegistry);
-                rowsCase_ = 3;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(
-                    getArrowRecordBatchFieldBuilder().getBuilder(), extensionRegistry);
-                rowsCase_ = 4;
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getThrottleStateFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            case 48:
-              {
-                rowCount_ = input.readInt64();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 48
-            case 58:
-              {
-                input.readMessage(getAvroSchemaFieldBuilder().getBuilder(), extensionRegistry);
-                schemaCase_ = 7;
-                break;
-              } // case 58
-            case 66:
-              {
-                input.readMessage(getArrowSchemaFieldBuilder().getBuilder(), extensionRegistry);
-                schemaCase_ = 8;
-                break;
-              } // case 66
-            case 72:
-              {
-                uncompressedByteSize_ = input.readInt64();
-                bitField0_ |= 0x00000080;
-                break;
-              } // case 72
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 18: {
+              input.readMessage(
+                  getStatsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getAvroRowsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              rowsCase_ = 3;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getArrowRecordBatchFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              rowsCase_ = 4;
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getThrottleStateFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            case 48: {
+              rowCount_ = input.readInt64();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 48
+            case 58: {
+              input.readMessage(
+                  getAvroSchemaFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              schemaCase_ = 7;
+              break;
+            } // case 58
+            case 66: {
+              input.readMessage(
+                  getArrowSchemaFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              schemaCase_ = 8;
+              break;
+            } // case 66
+            case 72: {
+              uncompressedByteSize_ = input.readInt64();
+              bitField0_ |= 0x00000080;
+              break;
+            } // case 72
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1175,12 +1062,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int rowsCase_ = 0;
     private java.lang.Object rows_;
-
-    public RowsCase getRowsCase() {
-      return RowsCase.forNumber(rowsCase_);
+    public RowsCase
+        getRowsCase() {
+      return RowsCase.forNumber(
+          rowsCase_);
     }
 
     public Builder clearRows() {
@@ -1192,9 +1079,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() {
@@ -1207,19 +1095,13 @@ public Builder clearSchema() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.bigquery.storage.v1.AvroRows,
-            com.google.cloud.bigquery.storage.v1.AvroRows.Builder,
-            com.google.cloud.bigquery.storage.v1.AvroRowsOrBuilder>
-        avroRowsBuilder_;
+        com.google.cloud.bigquery.storage.v1.AvroRows, com.google.cloud.bigquery.storage.v1.AvroRows.Builder, com.google.cloud.bigquery.storage.v1.AvroRowsOrBuilder> avroRowsBuilder_;
     /**
-     *
-     *
      * 
      * Serialized row data in AVRO format.
      * 
* * .google.cloud.bigquery.storage.v1.AvroRows avro_rows = 3; - * * @return Whether the avroRows field is set. */ @java.lang.Override @@ -1227,14 +1109,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 @@ -1252,8 +1131,6 @@ public com.google.cloud.bigquery.storage.v1.AvroRows getAvroRows() { } } /** - * - * *
      * Serialized row data in AVRO format.
      * 
@@ -1274,8 +1151,6 @@ public Builder setAvroRows(com.google.cloud.bigquery.storage.v1.AvroRows value) return this; } /** - * - * *
      * Serialized row data in AVRO format.
      * 
@@ -1294,8 +1169,6 @@ public Builder setAvroRows( return this; } /** - * - * *
      * Serialized row data in AVRO format.
      * 
@@ -1304,13 +1177,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; } @@ -1326,8 +1196,6 @@ public Builder mergeAvroRows(com.google.cloud.bigquery.storage.v1.AvroRows value return this; } /** - * - * *
      * Serialized row data in AVRO format.
      * 
@@ -1351,8 +1219,6 @@ public Builder clearAvroRows() { return this; } /** - * - * *
      * Serialized row data in AVRO format.
      * 
@@ -1363,8 +1229,6 @@ public com.google.cloud.bigquery.storage.v1.AvroRows.Builder getAvroRowsBuilder( return getAvroRowsFieldBuilder().getBuilder(); } /** - * - * *
      * Serialized row data in AVRO format.
      * 
@@ -1383,8 +1247,6 @@ public com.google.cloud.bigquery.storage.v1.AvroRowsOrBuilder getAvroRowsOrBuild } } /** - * - * *
      * Serialized row data in AVRO format.
      * 
@@ -1392,19 +1254,14 @@ 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()); @@ -1416,19 +1273,13 @@ public com.google.cloud.bigquery.storage.v1.AvroRowsOrBuilder getAvroRowsOrBuild } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.ArrowRecordBatch, - com.google.cloud.bigquery.storage.v1.ArrowRecordBatch.Builder, - com.google.cloud.bigquery.storage.v1.ArrowRecordBatchOrBuilder> - arrowRecordBatchBuilder_; + com.google.cloud.bigquery.storage.v1.ArrowRecordBatch, com.google.cloud.bigquery.storage.v1.ArrowRecordBatch.Builder, com.google.cloud.bigquery.storage.v1.ArrowRecordBatchOrBuilder> arrowRecordBatchBuilder_; /** - * - * *
      * Serialized row data in Arrow RecordBatch format.
      * 
* * .google.cloud.bigquery.storage.v1.ArrowRecordBatch arrow_record_batch = 4; - * * @return Whether the arrowRecordBatch field is set. */ @java.lang.Override @@ -1436,14 +1287,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 @@ -1461,16 +1309,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(); @@ -1484,8 +1329,6 @@ public Builder setArrowRecordBatch( return this; } /** - * - * *
      * Serialized row data in Arrow RecordBatch format.
      * 
@@ -1504,25 +1347,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; } @@ -1538,8 +1374,6 @@ public Builder mergeArrowRecordBatch( return this; } /** - * - * *
      * Serialized row data in Arrow RecordBatch format.
      * 
@@ -1563,21 +1397,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.
      * 
@@ -1585,8 +1414,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 { @@ -1597,8 +1425,6 @@ public Builder clearArrowRecordBatch() { } } /** - * - * *
      * Serialized row data in Arrow RecordBatch format.
      * 
@@ -1606,19 +1432,14 @@ 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()); @@ -1629,16 +1450,13 @@ public Builder clearArrowRecordBatch() { 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 @@ -1646,14 +1464,11 @@ 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. */ @@ -1665,14 +1480,11 @@ public Builder setRowCount(long value) { return this; } /** - * - * *
      * Number of serialized rows in the rows block.
      * 
* * int64 row_count = 6; - * * @return This builder for chaining. */ public Builder clearRowCount() { @@ -1684,47 +1496,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 ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Statistics for the stream.
      * 
* * .google.cloud.bigquery.storage.v1.StreamStats stats = 2; - * * @return The stats. */ public com.google.cloud.bigquery.storage.v1.StreamStats getStats() { if (statsBuilder_ == null) { - return stats_ == null - ? com.google.cloud.bigquery.storage.v1.StreamStats.getDefaultInstance() - : stats_; + return stats_ == null ? com.google.cloud.bigquery.storage.v1.StreamStats.getDefaultInstance() : stats_; } else { return statsBuilder_.getMessage(); } } /** - * - * *
      * Statistics for the stream.
      * 
@@ -1745,8 +1544,6 @@ public Builder setStats(com.google.cloud.bigquery.storage.v1.StreamStats value) return this; } /** - * - * *
      * Statistics for the stream.
      * 
@@ -1765,8 +1562,6 @@ public Builder setStats( return this; } /** - * - * *
      * Statistics for the stream.
      * 
@@ -1775,9 +1570,9 @@ public Builder setStats( */ public Builder mergeStats(com.google.cloud.bigquery.storage.v1.StreamStats value) { if (statsBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && stats_ != null - && stats_ != com.google.cloud.bigquery.storage.v1.StreamStats.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + stats_ != null && + stats_ != com.google.cloud.bigquery.storage.v1.StreamStats.getDefaultInstance()) { getStatsBuilder().mergeFrom(value); } else { stats_ = value; @@ -1792,8 +1587,6 @@ public Builder mergeStats(com.google.cloud.bigquery.storage.v1.StreamStats value return this; } /** - * - * *
      * Statistics for the stream.
      * 
@@ -1811,8 +1604,6 @@ public Builder clearStats() { return this; } /** - * - * *
      * Statistics for the stream.
      * 
@@ -1825,8 +1616,6 @@ public com.google.cloud.bigquery.storage.v1.StreamStats.Builder getStatsBuilder( return getStatsFieldBuilder().getBuilder(); } /** - * - * *
      * Statistics for the stream.
      * 
@@ -1837,14 +1626,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.
      * 
@@ -1852,17 +1638,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_; @@ -1870,49 +1653,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 ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Throttling state. If unset, the latest response still describes
      * the current throttling status.
      * 
* * .google.cloud.bigquery.storage.v1.ThrottleState throttle_state = 5; - * * @return The throttleState. */ public com.google.cloud.bigquery.storage.v1.ThrottleState getThrottleState() { if (throttleStateBuilder_ == null) { - return throttleState_ == null - ? com.google.cloud.bigquery.storage.v1.ThrottleState.getDefaultInstance() - : throttleState_; + return throttleState_ == null ? com.google.cloud.bigquery.storage.v1.ThrottleState.getDefaultInstance() : throttleState_; } else { return throttleStateBuilder_.getMessage(); } } /** - * - * *
      * Throttling state. If unset, the latest response still describes
      * the current throttling status.
@@ -1934,8 +1704,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.
@@ -1955,8 +1723,6 @@ public Builder setThrottleState(
       return this;
     }
     /**
-     *
-     *
      * 
      * Throttling state. If unset, the latest response still describes
      * the current throttling status.
@@ -1966,10 +1732,9 @@ public Builder setThrottleState(
      */
     public Builder mergeThrottleState(com.google.cloud.bigquery.storage.v1.ThrottleState value) {
       if (throttleStateBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0)
-            && throttleState_ != null
-            && throttleState_
-                != com.google.cloud.bigquery.storage.v1.ThrottleState.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0) &&
+          throttleState_ != null &&
+          throttleState_ != com.google.cloud.bigquery.storage.v1.ThrottleState.getDefaultInstance()) {
           getThrottleStateBuilder().mergeFrom(value);
         } else {
           throttleState_ = value;
@@ -1984,8 +1749,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.
@@ -2004,8 +1767,6 @@ public Builder clearThrottleState() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Throttling state. If unset, the latest response still describes
      * the current throttling status.
@@ -2019,8 +1780,6 @@ public com.google.cloud.bigquery.storage.v1.ThrottleState.Builder getThrottleSta
       return getThrottleStateFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Throttling state. If unset, the latest response still describes
      * the current throttling status.
@@ -2032,14 +1791,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.
@@ -2048,38 +1804,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 @@ -2087,16 +1832,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 @@ -2114,15 +1854,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) { @@ -2138,15 +1874,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) { @@ -2160,25 +1892,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; } @@ -2194,15 +1919,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) { @@ -2221,29 +1942,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() { @@ -2257,30 +1970,21 @@ 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()); @@ -2292,21 +1996,13 @@ public com.google.cloud.bigquery.storage.v1.AvroSchemaOrBuilder getAvroSchemaOrB } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.ArrowSchema, - com.google.cloud.bigquery.storage.v1.ArrowSchema.Builder, - com.google.cloud.bigquery.storage.v1.ArrowSchemaOrBuilder> - arrowSchemaBuilder_; + com.google.cloud.bigquery.storage.v1.ArrowSchema, com.google.cloud.bigquery.storage.v1.ArrowSchema.Builder, com.google.cloud.bigquery.storage.v1.ArrowSchemaOrBuilder> arrowSchemaBuilder_; /** - * - * *
      * Output only. Arrow schema.
      * 
* - * - * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the arrowSchema field is set. */ @java.lang.Override @@ -2314,16 +2010,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 @@ -2341,15 +2032,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) { @@ -2365,15 +2052,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) { @@ -2387,25 +2070,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; } @@ -2421,15 +2097,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) { @@ -2448,29 +2120,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() { @@ -2484,30 +2148,21 @@ 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()); @@ -2518,10 +2173,8 @@ public com.google.cloud.bigquery.storage.v1.ArrowSchemaOrBuilder getArrowSchemaO return arrowSchemaBuilder_; } - private long uncompressedByteSize_; + private long uncompressedByteSize_ ; /** - * - * *
      * Optional. If the row data in this ReadRowsResponse is compressed, then
      * uncompressed byte size is the original size of the uncompressed row data.
@@ -2539,9 +2192,7 @@ public com.google.cloud.bigquery.storage.v1.ArrowSchemaOrBuilder getArrowSchemaO
      * greater than 0, the client should skip decompression.
      * 
* - * optional int64 uncompressed_byte_size = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * optional int64 uncompressed_byte_size = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the uncompressedByteSize field is set. */ @java.lang.Override @@ -2549,8 +2200,6 @@ public boolean hasUncompressedByteSize() { return ((bitField0_ & 0x00000080) != 0); } /** - * - * *
      * Optional. If the row data in this ReadRowsResponse is compressed, then
      * uncompressed byte size is the original size of the uncompressed row data.
@@ -2568,9 +2217,7 @@ public boolean hasUncompressedByteSize() {
      * greater than 0, the client should skip decompression.
      * 
* - * optional int64 uncompressed_byte_size = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * optional int64 uncompressed_byte_size = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The uncompressedByteSize. */ @java.lang.Override @@ -2578,8 +2225,6 @@ public long getUncompressedByteSize() { return uncompressedByteSize_; } /** - * - * *
      * Optional. If the row data in this ReadRowsResponse is compressed, then
      * uncompressed byte size is the original size of the uncompressed row data.
@@ -2597,9 +2242,7 @@ public long getUncompressedByteSize() {
      * greater than 0, the client should skip decompression.
      * 
* - * optional int64 uncompressed_byte_size = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * optional int64 uncompressed_byte_size = 9 [(.google.api.field_behavior) = OPTIONAL]; * @param value The uncompressedByteSize to set. * @return This builder for chaining. */ @@ -2611,8 +2254,6 @@ public Builder setUncompressedByteSize(long value) { return this; } /** - * - * *
      * Optional. If the row data in this ReadRowsResponse is compressed, then
      * uncompressed byte size is the original size of the uncompressed row data.
@@ -2630,9 +2271,7 @@ public Builder setUncompressedByteSize(long value) {
      * greater than 0, the client should skip decompression.
      * 
* - * optional int64 uncompressed_byte_size = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * optional int64 uncompressed_byte_size = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearUncompressedByteSize() { @@ -2641,9 +2280,9 @@ public Builder clearUncompressedByteSize() { 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); } @@ -2653,12 +2292,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(); } @@ -2667,27 +2306,27 @@ public static com.google.cloud.bigquery.storage.v1.ReadRowsResponse getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadRowsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadRowsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2702,4 +2341,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 79% 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 8b493d6623..b8e76e17dd 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,56 +1,32 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 // Protobuf Java Version: 3.25.2 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.
    * 
@@ -60,32 +36,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.
    * 
@@ -95,45 +63,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.
    * 
@@ -143,34 +100,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.
@@ -181,90 +130,60 @@ 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(); /** - * - * *
    * Optional. If the row data in this ReadRowsResponse is compressed, then
    * uncompressed byte size is the original size of the uncompressed row data.
@@ -282,15 +201,11 @@ public interface ReadRowsResponseOrBuilder
    * greater than 0, the client should skip decompression.
    * 
* - * optional int64 uncompressed_byte_size = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * optional int64 uncompressed_byte_size = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the uncompressedByteSize field is set. */ boolean hasUncompressedByteSize(); /** - * - * *
    * Optional. If the row data in this ReadRowsResponse is compressed, then
    * uncompressed byte size is the original size of the uncompressed row data.
@@ -308,9 +223,7 @@ public interface ReadRowsResponseOrBuilder
    * greater than 0, the client should skip decompression.
    * 
* - * optional int64 uncompressed_byte_size = 9 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * optional int64 uncompressed_byte_size = 9 [(.google.api.field_behavior) = OPTIONAL]; * @return The uncompressedByteSize. */ long getUncompressedByteSize(); 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 70% 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 1be0fd51fd..88b7d0ddae 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,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 @@ -20,24 +5,21 @@ 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; @@ -48,57 +30,47 @@ private ReadSession() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReadSession(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StreamProto - .internal_static_google_cloud_bigquery_storage_v1_ReadSession_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StreamProto.internal_static_google_cloud_bigquery_storage_v1_ReadSession_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StreamProto - .internal_static_google_cloud_bigquery_storage_v1_ReadSession_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StreamProto.internal_static_google_cloud_bigquery_storage_v1_ReadSession_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.ReadSession.class, - com.google.cloud.bigquery.storage.v1.ReadSession.Builder.class); + com.google.cloud.bigquery.storage.v1.ReadSession.class, com.google.cloud.bigquery.storage.v1.ReadSession.Builder.class); } - public interface TableModifiersOrBuilder - extends + public interface TableModifiersOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.ReadSession.TableModifiers) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The snapshot time of the table. If not set, interpreted as now.
      * 
* * .google.protobuf.Timestamp snapshot_time = 1; - * * @return Whether the snapshotTime field is set. */ boolean hasSnapshotTime(); /** - * - * *
      * The snapshot time of the table. If not set, interpreted as now.
      * 
* * .google.protobuf.Timestamp snapshot_time = 1; - * * @return The snapshotTime. */ com.google.protobuf.Timestamp getSnapshotTime(); /** - * - * *
      * The snapshot time of the table. If not set, interpreted as now.
      * 
@@ -108,59 +80,53 @@ 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(); } - 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); } private int bitField0_; 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 @@ -168,25 +134,18 @@ public boolean hasSnapshotTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The snapshot time of the table. If not set, interpreted as now.
      * 
* * .google.protobuf.Timestamp snapshot_time = 1; - * * @return The snapshotTime. */ @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.
      * 
@@ -195,13 +154,10 @@ public com.google.protobuf.Timestamp getSnapshotTime() { */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getSnapshotTimeOrBuilder() { - return snapshotTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : snapshotTime_; + return snapshotTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : snapshotTime_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -213,7 +169,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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getSnapshotTime()); } @@ -227,7 +184,8 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSnapshotTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getSnapshotTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -237,17 +195,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers other = - (com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers) obj; + com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers other = (com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers) obj; if (hasSnapshotTime() != other.hasSnapshotTime()) return false; if (hasSnapshotTime()) { - if (!getSnapshotTime().equals(other.getSnapshotTime())) return false; + if (!getSnapshotTime() + .equals(other.getSnapshotTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -270,95 +228,89 @@ 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 @@ -368,51 +320,45 @@ 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) { getSnapshotTimeFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -426,14 +372,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(); } @@ -448,22 +393,19 @@ public com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers buildPartial() { - com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers result = - new com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers result = new com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers result) { + private void buildPartial0(com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.snapshotTime_ = - snapshotTimeBuilder_ == null ? snapshotTime_ : snapshotTimeBuilder_.build(); + result.snapshotTime_ = snapshotTimeBuilder_ == null + ? snapshotTime_ + : snapshotTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -473,52 +415,46 @@ private void buildPartial0( 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()); } @@ -548,19 +484,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getSnapshotTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getSnapshotTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -570,52 +506,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.Timestamp snapshotTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - snapshotTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> snapshotTimeBuilder_; /** - * - * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
* * .google.protobuf.Timestamp snapshot_time = 1; - * * @return Whether the snapshotTime field is set. */ public boolean hasSnapshotTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
* * .google.protobuf.Timestamp snapshot_time = 1; - * * @return The snapshotTime. */ public com.google.protobuf.Timestamp getSnapshotTime() { if (snapshotTimeBuilder_ == null) { - return snapshotTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : snapshotTime_; + return snapshotTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : snapshotTime_; } else { return snapshotTimeBuilder_.getMessage(); } } /** - * - * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -636,15 +558,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(); } else { @@ -655,8 +576,6 @@ public Builder setSnapshotTime(com.google.protobuf.Timestamp.Builder builderForV return this; } /** - * - * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -665,9 +584,9 @@ public Builder setSnapshotTime(com.google.protobuf.Timestamp.Builder builderForV */ public Builder mergeSnapshotTime(com.google.protobuf.Timestamp value) { if (snapshotTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && snapshotTime_ != null - && snapshotTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + snapshotTime_ != null && + snapshotTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getSnapshotTimeBuilder().mergeFrom(value); } else { snapshotTime_ = value; @@ -682,8 +601,6 @@ public Builder mergeSnapshotTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -701,8 +618,6 @@ public Builder clearSnapshotTime() { return this; } /** - * - * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -715,8 +630,6 @@ public com.google.protobuf.Timestamp.Builder getSnapshotTimeBuilder() { return getSnapshotTimeFieldBuilder().getBuilder(); } /** - * - * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -727,14 +640,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.
        * 
@@ -742,22 +652,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) { @@ -770,44 +676,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.ReadSession.TableModifiers) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.ReadSession.TableModifiers) - private static final com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers(); } - public static com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers - getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TableModifiers parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TableModifiers parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -819,20 +722,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 { /** - * - * *
      * Optional. The names of the fields in the table to be returned. If no
      * field names are specified, then all fields in the table are returned.
@@ -884,13 +784,11 @@ public interface TableReadOptionsOrBuilder
      * 
* * repeated string selected_fields = 1; - * * @return A list containing the selectedFields. */ - java.util.List getSelectedFieldsList(); + java.util.List + getSelectedFieldsList(); /** - * - * *
      * Optional. The names of the fields in the table to be returned. If no
      * field names are specified, then all fields in the table are returned.
@@ -942,13 +840,10 @@ public interface TableReadOptionsOrBuilder
      * 
* * repeated string selected_fields = 1; - * * @return The count of selectedFields. */ int getSelectedFieldsCount(); /** - * - * *
      * Optional. The names of the fields in the table to be returned. If no
      * field names are specified, then all fields in the table are returned.
@@ -1000,14 +895,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. The names of the fields in the table to be returned. If no
      * field names are specified, then all fields in the table are returned.
@@ -1059,15 +951,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.
@@ -1082,13 +972,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.
@@ -1103,98 +990,66 @@ 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(); /** - * - * *
      * Optional. Options specific to the Apache Avro output format
      * 
* - * - * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the avroSerializationOptions field is set. */ boolean hasAvroSerializationOptions(); /** - * - * *
      * Optional. Options specific to the Apache Avro output format
      * 
* - * - * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The avroSerializationOptions. */ com.google.cloud.bigquery.storage.v1.AvroSerializationOptions getAvroSerializationOptions(); /** - * - * *
      * Optional. Options specific to the Apache Avro output format
      * 
* - * - * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.bigquery.storage.v1.AvroSerializationOptionsOrBuilder - getAvroSerializationOptionsOrBuilder(); + com.google.cloud.bigquery.storage.v1.AvroSerializationOptionsOrBuilder getAvroSerializationOptionsOrBuilder(); /** - * - * *
      * Optional. Specifies a table sampling percentage. Specifically, the query
      * planner will use TABLESAMPLE SYSTEM (sample_percentage PERCENT). The
@@ -1205,13 +1060,10 @@ public interface TableReadOptionsOrBuilder
      * 
* * optional double sample_percentage = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return Whether the samplePercentage field is set. */ boolean hasSamplePercentage(); /** - * - * *
      * Optional. Specifies a table sampling percentage. Specifically, the query
      * planner will use TABLESAMPLE SYSTEM (sample_percentage PERCENT). The
@@ -1222,111 +1074,87 @@ public interface TableReadOptionsOrBuilder
      * 
* * optional double sample_percentage = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The samplePercentage. */ double getSamplePercentage(); /** - * - * *
      * Optional. Set response_compression_codec when creating a read session to
      * enable application-level compression of ReadRows responses.
      * 
* - * - * optional .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.ResponseCompressionCodec response_compression_codec = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * optional .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.ResponseCompressionCodec response_compression_codec = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the responseCompressionCodec field is set. */ boolean hasResponseCompressionCodec(); /** - * - * *
      * Optional. Set response_compression_codec when creating a read session to
      * enable application-level compression of ReadRows responses.
      * 
* - * - * optional .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.ResponseCompressionCodec response_compression_codec = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * optional .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.ResponseCompressionCodec response_compression_codec = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for responseCompressionCodec. */ int getResponseCompressionCodecValue(); /** - * - * *
      * Optional. Set response_compression_codec when creating a read session to
      * enable application-level compression of ReadRows responses.
      * 
* - * - * optional .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.ResponseCompressionCodec response_compression_codec = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * optional .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.ResponseCompressionCodec response_compression_codec = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return The responseCompressionCodec. */ - com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.ResponseCompressionCodec - getResponseCompressionCodec(); + com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.ResponseCompressionCodec getResponseCompressionCodec(); - com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions - .OutputFormatSerializationOptionsCase - getOutputFormatSerializationOptionsCase(); + com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.OutputFormatSerializationOptionsCase getOutputFormatSerializationOptionsCase(); } /** - * - * *
    * Options dictating how we read a table.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions} */ - public static final class TableReadOptions extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class TableReadOptions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions) TableReadOptionsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TableReadOptions.newBuilder() to construct. private TableReadOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TableReadOptions() { - selectedFields_ = com.google.protobuf.LazyStringArrayList.emptyList(); + selectedFields_ = + com.google.protobuf.LazyStringArrayList.emptyList(); rowRestriction_ = ""; responseCompressionCodec_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TableReadOptions(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StreamProto - .internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableReadOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StreamProto.internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableReadOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StreamProto - .internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableReadOptions_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StreamProto.internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableReadOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.class, - com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.Builder.class); + com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.class, com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.Builder.class); } /** - * - * *
      * Specifies which compression codec to attempt on the entire serialized
      * response payload (either Arrow record batch or Avro rows). This is
@@ -1337,13 +1165,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * allowed - choose, at most, one kind of compression.
      * 
* - * Protobuf enum {@code - * google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.ResponseCompressionCodec} + * Protobuf enum {@code google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.ResponseCompressionCodec} */ - public enum ResponseCompressionCodec implements com.google.protobuf.ProtocolMessageEnum { + public enum ResponseCompressionCodec + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Default is no compression.
        * 
@@ -1352,8 +1178,6 @@ public enum ResponseCompressionCodec implements com.google.protobuf.ProtocolMess */ RESPONSE_COMPRESSION_CODEC_UNSPECIFIED(0), /** - * - * *
        * Use raw LZ4 compression.
        * 
@@ -1365,8 +1189,6 @@ public enum ResponseCompressionCodec implements com.google.protobuf.ProtocolMess ; /** - * - * *
        * Default is no compression.
        * 
@@ -1375,8 +1197,6 @@ public enum ResponseCompressionCodec implements com.google.protobuf.ProtocolMess */ public static final int RESPONSE_COMPRESSION_CODEC_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Use raw LZ4 compression.
        * 
@@ -1385,6 +1205,7 @@ public enum ResponseCompressionCodec implements com.google.protobuf.ProtocolMess */ public static final int RESPONSE_COMPRESSION_CODEC_LZ4_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -1409,12 +1230,9 @@ public static ResponseCompressionCodec valueOf(int value) { */ public static ResponseCompressionCodec forNumber(int value) { switch (value) { - case 0: - return RESPONSE_COMPRESSION_CODEC_UNSPECIFIED; - case 2: - return RESPONSE_COMPRESSION_CODEC_LZ4; - default: - return null; + case 0: return RESPONSE_COMPRESSION_CODEC_UNSPECIFIED; + case 2: return RESPONSE_COMPRESSION_CODEC_LZ4; + default: return null; } } @@ -1422,31 +1240,29 @@ public static ResponseCompressionCodec forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + ResponseCompressionCodec> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ResponseCompressionCodec findValueByNumber(int number) { + return ResponseCompressionCodec.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ResponseCompressionCodec findValueByNumber(int number) { - return ResponseCompressionCodec.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.ReadSession.TableReadOptions.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.getDescriptor().getEnumTypes().get(0); } private static final ResponseCompressionCodec[] VALUES = values(); @@ -1454,7 +1270,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static ResponseCompressionCodec 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; @@ -1473,19 +1290,15 @@ private ResponseCompressionCodec(int value) { private int bitField0_; private int outputFormatSerializationOptionsCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object outputFormatSerializationOptions_; - public enum OutputFormatSerializationOptionsCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ARROW_SERIALIZATION_OPTIONS(3), AVRO_SERIALIZATION_OPTIONS(4), OUTPUTFORMATSERIALIZATIONOPTIONS_NOT_SET(0); private final int value; - private OutputFormatSerializationOptionsCase(int value) { this.value = value; } @@ -1501,34 +1314,28 @@ public static OutputFormatSerializationOptionsCase valueOf(int value) { public static OutputFormatSerializationOptionsCase forNumber(int value) { switch (value) { - case 3: - return ARROW_SERIALIZATION_OPTIONS; - case 4: - return AVRO_SERIALIZATION_OPTIONS; - case 0: - return OUTPUTFORMATSERIALIZATIONOPTIONS_NOT_SET; - default: - return null; + case 3: return ARROW_SERIALIZATION_OPTIONS; + case 4: return AVRO_SERIALIZATION_OPTIONS; + case 0: return OUTPUTFORMATSERIALIZATIONOPTIONS_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public OutputFormatSerializationOptionsCase getOutputFormatSerializationOptionsCase() { - return OutputFormatSerializationOptionsCase.forNumber(outputFormatSerializationOptionsCase_); + public OutputFormatSerializationOptionsCase + getOutputFormatSerializationOptionsCase() { + return OutputFormatSerializationOptionsCase.forNumber( + outputFormatSerializationOptionsCase_); } public static final int SELECTED_FIELDS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList selectedFields_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
      * Optional. The names of the fields in the table to be returned. If no
      * field names are specified, then all fields in the table are returned.
@@ -1580,15 +1387,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_; } /** - * - * *
      * Optional. The names of the fields in the table to be returned. If no
      * field names are specified, then all fields in the table are returned.
@@ -1640,15 +1445,12 @@ public com.google.protobuf.ProtocolStringList getSelectedFieldsList() {
      * 
* * repeated string selected_fields = 1; - * * @return The count of selectedFields. */ public int getSelectedFieldsCount() { return selectedFields_.size(); } /** - * - * *
      * Optional. The names of the fields in the table to be returned. If no
      * field names are specified, then all fields in the table are returned.
@@ -1700,7 +1502,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. */ @@ -1708,8 +1509,6 @@ public java.lang.String getSelectedFields(int index) { return selectedFields_.get(index); } /** - * - * *
      * Optional. The names of the fields in the table to be returned. If no
      * field names are specified, then all fields in the table are returned.
@@ -1761,21 +1560,18 @@ public java.lang.String getSelectedFields(int index) {
      * 
* * repeated string selected_fields = 1; - * * @param index The index of the value to return. * @return The bytes of the selectedFields at the given index. */ - public com.google.protobuf.ByteString getSelectedFieldsBytes(int index) { + public com.google.protobuf.ByteString + getSelectedFieldsBytes(int index) { return selectedFields_.getByteString(index); } public static final int ROW_RESTRICTION_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object rowRestriction_ = ""; /** - * - * *
      * SQL text filtering statement, similar to a WHERE clause in a query.
      * Aggregates are not supported.
@@ -1790,7 +1586,6 @@ public com.google.protobuf.ByteString getSelectedFieldsBytes(int index) {
      * 
* * string row_restriction = 2; - * * @return The rowRestriction. */ @java.lang.Override @@ -1799,15 +1594,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.
@@ -1822,15 +1616,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 { @@ -1840,16 +1635,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 @@ -1857,60 +1647,42 @@ public boolean hasArrowSerializationOptions() { return outputFormatSerializationOptionsCase_ == 3; } /** - * - * *
      * Optional. Options specific to the Apache Arrow output format.
      * 
* - * - * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The arrowSerializationOptions. */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions - getArrowSerializationOptions() { + public com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions getArrowSerializationOptions() { if (outputFormatSerializationOptionsCase_ == 3) { - return (com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions) - outputFormatSerializationOptions_; + return (com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions) outputFormatSerializationOptions_; } return com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.getDefaultInstance(); } /** - * - * *
      * Optional. Options specific to the Apache Arrow output format.
      * 
* - * - * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.bigquery.storage.v1.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1.ArrowSerializationOptionsOrBuilder - getArrowSerializationOptionsOrBuilder() { + public com.google.cloud.bigquery.storage.v1.ArrowSerializationOptionsOrBuilder getArrowSerializationOptionsOrBuilder() { if (outputFormatSerializationOptionsCase_ == 3) { - return (com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions) - outputFormatSerializationOptions_; + return (com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions) outputFormatSerializationOptions_; } return com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions.getDefaultInstance(); } public static final int AVRO_SERIALIZATION_OPTIONS_FIELD_NUMBER = 4; /** - * - * *
      * Optional. Options specific to the Apache Avro output format
      * 
* - * - * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the avroSerializationOptions field is set. */ @java.lang.Override @@ -1918,44 +1690,31 @@ public boolean hasAvroSerializationOptions() { return outputFormatSerializationOptionsCase_ == 4; } /** - * - * *
      * Optional. Options specific to the Apache Avro output format
      * 
* - * - * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The avroSerializationOptions. */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1.AvroSerializationOptions - getAvroSerializationOptions() { + public com.google.cloud.bigquery.storage.v1.AvroSerializationOptions getAvroSerializationOptions() { if (outputFormatSerializationOptionsCase_ == 4) { - return (com.google.cloud.bigquery.storage.v1.AvroSerializationOptions) - outputFormatSerializationOptions_; + return (com.google.cloud.bigquery.storage.v1.AvroSerializationOptions) outputFormatSerializationOptions_; } return com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.getDefaultInstance(); } /** - * - * *
      * Optional. Options specific to the Apache Avro output format
      * 
* - * - * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1.AvroSerializationOptionsOrBuilder - getAvroSerializationOptionsOrBuilder() { + public com.google.cloud.bigquery.storage.v1.AvroSerializationOptionsOrBuilder getAvroSerializationOptionsOrBuilder() { if (outputFormatSerializationOptionsCase_ == 4) { - return (com.google.cloud.bigquery.storage.v1.AvroSerializationOptions) - outputFormatSerializationOptions_; + return (com.google.cloud.bigquery.storage.v1.AvroSerializationOptions) outputFormatSerializationOptions_; } return com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.getDefaultInstance(); } @@ -1963,8 +1722,6 @@ public boolean hasAvroSerializationOptions() { public static final int SAMPLE_PERCENTAGE_FIELD_NUMBER = 5; private double samplePercentage_ = 0D; /** - * - * *
      * Optional. Specifies a table sampling percentage. Specifically, the query
      * planner will use TABLESAMPLE SYSTEM (sample_percentage PERCENT). The
@@ -1975,7 +1732,6 @@ public boolean hasAvroSerializationOptions() {
      * 
* * optional double sample_percentage = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return Whether the samplePercentage field is set. */ @java.lang.Override @@ -1983,8 +1739,6 @@ public boolean hasSamplePercentage() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Optional. Specifies a table sampling percentage. Specifically, the query
      * planner will use TABLESAMPLE SYSTEM (sample_percentage PERCENT). The
@@ -1995,7 +1749,6 @@ public boolean hasSamplePercentage() {
      * 
* * optional double sample_percentage = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The samplePercentage. */ @java.lang.Override @@ -2006,71 +1759,44 @@ public double getSamplePercentage() { public static final int RESPONSE_COMPRESSION_CODEC_FIELD_NUMBER = 6; private int responseCompressionCodec_ = 0; /** - * - * *
      * Optional. Set response_compression_codec when creating a read session to
      * enable application-level compression of ReadRows responses.
      * 
* - * - * optional .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.ResponseCompressionCodec response_compression_codec = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * optional .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.ResponseCompressionCodec response_compression_codec = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the responseCompressionCodec field is set. */ - @java.lang.Override - public boolean hasResponseCompressionCodec() { + @java.lang.Override public boolean hasResponseCompressionCodec() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Optional. Set response_compression_codec when creating a read session to
      * enable application-level compression of ReadRows responses.
      * 
* - * - * optional .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.ResponseCompressionCodec response_compression_codec = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * optional .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.ResponseCompressionCodec response_compression_codec = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for responseCompressionCodec. */ - @java.lang.Override - public int getResponseCompressionCodecValue() { + @java.lang.Override public int getResponseCompressionCodecValue() { return responseCompressionCodec_; } /** - * - * *
      * Optional. Set response_compression_codec when creating a read session to
      * enable application-level compression of ReadRows responses.
      * 
* - * - * optional .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.ResponseCompressionCodec response_compression_codec = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * optional .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.ResponseCompressionCodec response_compression_codec = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return The responseCompressionCodec. */ - @java.lang.Override - public com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions - .ResponseCompressionCodec - getResponseCompressionCodec() { - com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.ResponseCompressionCodec - result = - com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions - .ResponseCompressionCodec.forNumber(responseCompressionCodec_); - return result == null - ? com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions - .ResponseCompressionCodec.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.ResponseCompressionCodec getResponseCompressionCodec() { + com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.ResponseCompressionCodec result = com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.ResponseCompressionCodec.forNumber(responseCompressionCodec_); + return result == null ? com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.ResponseCompressionCodec.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2082,7 +1808,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)); } @@ -2090,16 +1817,10 @@ 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_); } if (outputFormatSerializationOptionsCase_ == 4) { - output.writeMessage( - 4, - (com.google.cloud.bigquery.storage.v1.AvroSerializationOptions) - outputFormatSerializationOptions_); + output.writeMessage(4, (com.google.cloud.bigquery.storage.v1.AvroSerializationOptions) outputFormatSerializationOptions_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeDouble(5, samplePercentage_); @@ -2128,24 +1849,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, rowRestriction_); } if (outputFormatSerializationOptionsCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, - (com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions) - outputFormatSerializationOptions_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.cloud.bigquery.storage.v1.ArrowSerializationOptions) outputFormatSerializationOptions_); } if (outputFormatSerializationOptionsCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, - (com.google.cloud.bigquery.storage.v1.AvroSerializationOptions) - outputFormatSerializationOptions_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.cloud.bigquery.storage.v1.AvroSerializationOptions) outputFormatSerializationOptions_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(5, samplePercentage_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(5, samplePercentage_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, responseCompressionCodec_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, responseCompressionCodec_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2155,35 +1872,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.v1.ReadSession.TableReadOptions)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions other = - (com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions) obj; + com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions other = (com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions) obj; - if (!getSelectedFieldsList().equals(other.getSelectedFieldsList())) return false; - if (!getRowRestriction().equals(other.getRowRestriction())) return false; + if (!getSelectedFieldsList() + .equals(other.getSelectedFieldsList())) return false; + if (!getRowRestriction() + .equals(other.getRowRestriction())) return false; if (hasSamplePercentage() != other.hasSamplePercentage()) return false; if (hasSamplePercentage()) { if (java.lang.Double.doubleToLongBits(getSamplePercentage()) - != java.lang.Double.doubleToLongBits(other.getSamplePercentage())) return false; + != java.lang.Double.doubleToLongBits( + other.getSamplePercentage())) return false; } if (hasResponseCompressionCodec() != other.hasResponseCompressionCodec()) return false; if (hasResponseCompressionCodec()) { if (responseCompressionCodec_ != other.responseCompressionCodec_) return false; } - if (!getOutputFormatSerializationOptionsCase() - .equals(other.getOutputFormatSerializationOptionsCase())) return false; + if (!getOutputFormatSerializationOptionsCase().equals(other.getOutputFormatSerializationOptionsCase())) return false; switch (outputFormatSerializationOptionsCase_) { case 3: - if (!getArrowSerializationOptions().equals(other.getArrowSerializationOptions())) - return false; + if (!getArrowSerializationOptions() + .equals(other.getArrowSerializationOptions())) return false; break; case 4: - if (!getAvroSerializationOptions().equals(other.getAvroSerializationOptions())) - return false; + if (!getAvroSerializationOptions() + .equals(other.getAvroSerializationOptions())) return false; break; case 0: default: @@ -2207,10 +1925,8 @@ public int hashCode() { hash = (53 * hash) + getRowRestriction().hashCode(); if (hasSamplePercentage()) { hash = (37 * hash) + SAMPLE_PERCENTAGE_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getSamplePercentage())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getSamplePercentage())); } if (hasResponseCompressionCodec()) { hash = (37 * hash) + RESPONSE_COMPRESSION_CODEC_FIELD_NUMBER; @@ -2234,95 +1950,89 @@ 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 @@ -2332,47 +2042,45 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Options dictating how we read a table.
      * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions) com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StreamProto - .internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableReadOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StreamProto.internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableReadOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StreamProto - .internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableReadOptions_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StreamProto.internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableReadOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.class, - com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.Builder.class); + com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.class, com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.Builder.class); } - // Construct using - // com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.newBuilder() - private Builder() {} + // Construct using com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.newBuilder() + private Builder() { + + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; - selectedFields_ = com.google.protobuf.LazyStringArrayList.emptyList(); + selectedFields_ = + com.google.protobuf.LazyStringArrayList.emptyList(); rowRestriction_ = ""; if (arrowSerializationOptionsBuilder_ != null) { arrowSerializationOptionsBuilder_.clear(); @@ -2388,16 +2096,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 @@ -2411,18 +2117,14 @@ public com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions build() @java.lang.Override public com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions buildPartial() { - com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions result = - new com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions result = new com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions result) { + private void buildPartial0(com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { selectedFields_.makeImmutable(); @@ -2443,16 +2145,15 @@ private void buildPartial0( result.bitField0_ |= to_bitField0_; } - private void buildPartialOneofs( - com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions result) { + private void buildPartialOneofs(com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions result) { result.outputFormatSerializationOptionsCase_ = outputFormatSerializationOptionsCase_; result.outputFormatSerializationOptions_ = this.outputFormatSerializationOptions_; - if (outputFormatSerializationOptionsCase_ == 3 - && arrowSerializationOptionsBuilder_ != null) { + if (outputFormatSerializationOptionsCase_ == 3 && + arrowSerializationOptionsBuilder_ != null) { result.outputFormatSerializationOptions_ = arrowSerializationOptionsBuilder_.build(); } - if (outputFormatSerializationOptionsCase_ == 4 - && avroSerializationOptionsBuilder_ != null) { + if (outputFormatSerializationOptionsCase_ == 4 && + avroSerializationOptionsBuilder_ != null) { result.outputFormatSerializationOptions_ = avroSerializationOptionsBuilder_.build(); } } @@ -2461,53 +2162,46 @@ private void buildPartialOneofs( 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_; @@ -2530,20 +2224,17 @@ public Builder mergeFrom( setResponseCompressionCodec(other.getResponseCompressionCodec()); } switch (other.getOutputFormatSerializationOptionsCase()) { - case ARROW_SERIALIZATION_OPTIONS: - { - mergeArrowSerializationOptions(other.getArrowSerializationOptions()); - break; - } - case AVRO_SERIALIZATION_OPTIONS: - { - mergeAvroSerializationOptions(other.getAvroSerializationOptions()); - break; - } - case OUTPUTFORMATSERIALIZATIONOPTIONS_NOT_SET: - { - break; - } + case ARROW_SERIALIZATION_OPTIONS: { + mergeArrowSerializationOptions(other.getArrowSerializationOptions()); + break; + } + case AVRO_SERIALIZATION_OPTIONS: { + mergeAvroSerializationOptions(other.getAvroSerializationOptions()); + break; + } + case OUTPUTFORMATSERIALIZATIONOPTIONS_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -2571,52 +2262,47 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureSelectedFieldsIsMutable(); - selectedFields_.add(s); - break; - } // case 10 - case 18: - { - rowRestriction_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage( - getArrowSerializationOptionsFieldBuilder().getBuilder(), extensionRegistry); - outputFormatSerializationOptionsCase_ = 3; - break; - } // case 26 - case 34: - { - input.readMessage( - getAvroSerializationOptionsFieldBuilder().getBuilder(), extensionRegistry); - outputFormatSerializationOptionsCase_ = 4; - break; - } // case 34 - case 41: - { - samplePercentage_ = input.readDouble(); - bitField0_ |= 0x00000010; - break; - } // case 41 - case 48: - { - responseCompressionCodec_ = input.readEnum(); - bitField0_ |= 0x00000020; - break; - } // case 48 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensureSelectedFieldsIsMutable(); + selectedFields_.add(s); + break; + } // case 10 + case 18: { + rowRestriction_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getArrowSerializationOptionsFieldBuilder().getBuilder(), + extensionRegistry); + outputFormatSerializationOptionsCase_ = 3; + break; + } // case 26 + case 34: { + input.readMessage( + getAvroSerializationOptionsFieldBuilder().getBuilder(), + extensionRegistry); + outputFormatSerializationOptionsCase_ = 4; + break; + } // case 34 + case 41: { + samplePercentage_ = input.readDouble(); + bitField0_ |= 0x00000010; + break; + } // case 41 + case 48: { + responseCompressionCodec_ = input.readEnum(); + bitField0_ |= 0x00000020; + break; + } // case 48 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2626,11 +2312,10 @@ public Builder mergeFrom( } // finally return this; } - private int outputFormatSerializationOptionsCase_ = 0; private java.lang.Object outputFormatSerializationOptions_; - - public OutputFormatSerializationOptionsCase getOutputFormatSerializationOptionsCase() { + public OutputFormatSerializationOptionsCase + getOutputFormatSerializationOptionsCase() { return OutputFormatSerializationOptionsCase.forNumber( outputFormatSerializationOptionsCase_); } @@ -2646,7 +2331,6 @@ public Builder clearOutputFormatSerializationOptions() { private com.google.protobuf.LazyStringArrayList selectedFields_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureSelectedFieldsIsMutable() { if (!selectedFields_.isModifiable()) { selectedFields_ = new com.google.protobuf.LazyStringArrayList(selectedFields_); @@ -2654,8 +2338,6 @@ private void ensureSelectedFieldsIsMutable() { bitField0_ |= 0x00000001; } /** - * - * *
        * Optional. The names of the fields in the table to be returned. If no
        * field names are specified, then all fields in the table are returned.
@@ -2707,16 +2389,14 @@ private void ensureSelectedFieldsIsMutable() {
        * 
* * repeated string selected_fields = 1; - * * @return A list containing the selectedFields. */ - public com.google.protobuf.ProtocolStringList getSelectedFieldsList() { + public com.google.protobuf.ProtocolStringList + getSelectedFieldsList() { selectedFields_.makeImmutable(); return selectedFields_; } /** - * - * *
        * Optional. The names of the fields in the table to be returned. If no
        * field names are specified, then all fields in the table are returned.
@@ -2768,15 +2448,12 @@ public com.google.protobuf.ProtocolStringList getSelectedFieldsList() {
        * 
* * repeated string selected_fields = 1; - * * @return The count of selectedFields. */ public int getSelectedFieldsCount() { return selectedFields_.size(); } /** - * - * *
        * Optional. The names of the fields in the table to be returned. If no
        * field names are specified, then all fields in the table are returned.
@@ -2828,7 +2505,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. */ @@ -2836,8 +2512,6 @@ public java.lang.String getSelectedFields(int index) { return selectedFields_.get(index); } /** - * - * *
        * Optional. The names of the fields in the table to be returned. If no
        * field names are specified, then all fields in the table are returned.
@@ -2889,16 +2563,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. The names of the fields in the table to be returned. If no
        * field names are specified, then all fields in the table are returned.
@@ -2950,15 +2622,13 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSelectedFields( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureSelectedFieldsIsMutable(); selectedFields_.set(index, value); bitField0_ |= 0x00000001; @@ -2966,8 +2636,6 @@ public Builder setSelectedFields(int index, java.lang.String value) { return this; } /** - * - * *
        * Optional. The names of the fields in the table to be returned. If no
        * field names are specified, then all fields in the table are returned.
@@ -3019,14 +2687,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addSelectedFields( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureSelectedFieldsIsMutable(); selectedFields_.add(value); bitField0_ |= 0x00000001; @@ -3034,8 +2700,6 @@ public Builder addSelectedFields(java.lang.String value) { return this; } /** - * - * *
        * Optional. The names of the fields in the table to be returned. If no
        * field names are specified, then all fields in the table are returned.
@@ -3087,20 +2751,19 @@ 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_); bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Optional. The names of the fields in the table to be returned. If no
        * field names are specified, then all fields in the table are returned.
@@ -3152,19 +2815,16 @@ public Builder addAllSelectedFields(java.lang.Iterable values)
        * 
* * repeated string selected_fields = 1; - * * @return This builder for chaining. */ public Builder clearSelectedFields() { - selectedFields_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - ; + selectedFields_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; onChanged(); return this; } /** - * - * *
        * Optional. The names of the fields in the table to be returned. If no
        * field names are specified, then all fields in the table are returned.
@@ -3216,14 +2876,12 @@ public Builder clearSelectedFields() {
        * 
* * repeated string selected_fields = 1; - * * @param value The bytes of the selectedFields to add. * @return This builder for chaining. */ - public Builder addSelectedFieldsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addSelectedFieldsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureSelectedFieldsIsMutable(); selectedFields_.add(value); @@ -3234,8 +2892,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.
@@ -3250,13 +2906,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; @@ -3265,8 +2921,6 @@ public java.lang.String getRowRestriction() { } } /** - * - * *
        * SQL text filtering statement, similar to a WHERE clause in a query.
        * Aggregates are not supported.
@@ -3281,14 +2935,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 { @@ -3296,8 +2951,6 @@ public com.google.protobuf.ByteString getRowRestrictionBytes() { } } /** - * - * *
        * SQL text filtering statement, similar to a WHERE clause in a query.
        * Aggregates are not supported.
@@ -3312,22 +2965,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRowRestriction( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } rowRestriction_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * SQL text filtering statement, similar to a WHERE clause in a query.
        * Aggregates are not supported.
@@ -3342,7 +2991,6 @@ public Builder setRowRestriction(java.lang.String value) {
        * 
* * string row_restriction = 2; - * * @return This builder for chaining. */ public Builder clearRowRestriction() { @@ -3352,8 +3000,6 @@ public Builder clearRowRestriction() { return this; } /** - * - * *
        * SQL text filtering statement, similar to a WHERE clause in a query.
        * Aggregates are not supported.
@@ -3368,14 +3014,12 @@ public Builder clearRowRestriction() {
        * 
* * string row_restriction = 2; - * * @param value The bytes for rowRestriction to set. * @return This builder for chaining. */ - public Builder setRowRestrictionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRowRestrictionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); rowRestriction_ = value; bitField0_ |= 0x00000002; @@ -3384,21 +3028,13 @@ public Builder setRowRestrictionBytes(com.google.protobuf.ByteString value) { } 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 @@ -3406,49 +3042,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(); @@ -3462,15 +3084,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) { @@ -3484,29 +3102,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; } @@ -3522,15 +3129,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) { @@ -3549,74 +3152,50 @@ 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; @@ -3627,21 +3206,13 @@ public Builder clearArrowSerializationOptions() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.AvroSerializationOptions, - com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.Builder, - com.google.cloud.bigquery.storage.v1.AvroSerializationOptionsOrBuilder> - avroSerializationOptionsBuilder_; + com.google.cloud.bigquery.storage.v1.AvroSerializationOptions, com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.Builder, com.google.cloud.bigquery.storage.v1.AvroSerializationOptionsOrBuilder> avroSerializationOptionsBuilder_; /** - * - * *
        * Optional. Options specific to the Apache Avro output format
        * 
* - * - * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the avroSerializationOptions field is set. */ @java.lang.Override @@ -3649,25 +3220,18 @@ public boolean hasAvroSerializationOptions() { return outputFormatSerializationOptionsCase_ == 4; } /** - * - * *
        * Optional. Options specific to the Apache Avro output format
        * 
* - * - * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The avroSerializationOptions. */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1.AvroSerializationOptions - getAvroSerializationOptions() { + public com.google.cloud.bigquery.storage.v1.AvroSerializationOptions getAvroSerializationOptions() { if (avroSerializationOptionsBuilder_ == null) { if (outputFormatSerializationOptionsCase_ == 4) { - return (com.google.cloud.bigquery.storage.v1.AvroSerializationOptions) - outputFormatSerializationOptions_; + return (com.google.cloud.bigquery.storage.v1.AvroSerializationOptions) outputFormatSerializationOptions_; } return com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.getDefaultInstance(); } else { @@ -3678,18 +3242,13 @@ public boolean hasAvroSerializationOptions() { } } /** - * - * *
        * Optional. Options specific to the Apache Avro output format
        * 
* - * - * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setAvroSerializationOptions( - com.google.cloud.bigquery.storage.v1.AvroSerializationOptions value) { + public Builder setAvroSerializationOptions(com.google.cloud.bigquery.storage.v1.AvroSerializationOptions value) { if (avroSerializationOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3703,15 +3262,11 @@ public Builder setAvroSerializationOptions( return this; } /** - * - * *
        * Optional. Options specific to the Apache Avro output format
        * 
* - * - * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setAvroSerializationOptions( com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.Builder builderForValue) { @@ -3725,29 +3280,18 @@ public Builder setAvroSerializationOptions( return this; } /** - * - * *
        * Optional. Options specific to the Apache Avro output format
        * 
* - * - * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeAvroSerializationOptions( - com.google.cloud.bigquery.storage.v1.AvroSerializationOptions value) { + public Builder mergeAvroSerializationOptions(com.google.cloud.bigquery.storage.v1.AvroSerializationOptions value) { if (avroSerializationOptionsBuilder_ == null) { - if (outputFormatSerializationOptionsCase_ == 4 - && outputFormatSerializationOptions_ - != com.google.cloud.bigquery.storage.v1.AvroSerializationOptions - .getDefaultInstance()) { - outputFormatSerializationOptions_ = - com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.newBuilder( - (com.google.cloud.bigquery.storage.v1.AvroSerializationOptions) - outputFormatSerializationOptions_) - .mergeFrom(value) - .buildPartial(); + if (outputFormatSerializationOptionsCase_ == 4 && + outputFormatSerializationOptions_ != com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.getDefaultInstance()) { + outputFormatSerializationOptions_ = com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.newBuilder((com.google.cloud.bigquery.storage.v1.AvroSerializationOptions) outputFormatSerializationOptions_) + .mergeFrom(value).buildPartial(); } else { outputFormatSerializationOptions_ = value; } @@ -3763,15 +3307,11 @@ public Builder mergeAvroSerializationOptions( return this; } /** - * - * *
        * Optional. Options specific to the Apache Avro output format
        * 
* - * - * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearAvroSerializationOptions() { if (avroSerializationOptionsBuilder_ == null) { @@ -3790,73 +3330,50 @@ public Builder clearAvroSerializationOptions() { return this; } /** - * - * *
        * Optional. Options specific to the Apache Avro output format
        * 
* - * - * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.Builder - getAvroSerializationOptionsBuilder() { + public com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.Builder getAvroSerializationOptionsBuilder() { return getAvroSerializationOptionsFieldBuilder().getBuilder(); } /** - * - * *
        * Optional. Options specific to the Apache Avro output format
        * 
* - * - * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1.AvroSerializationOptionsOrBuilder - getAvroSerializationOptionsOrBuilder() { - if ((outputFormatSerializationOptionsCase_ == 4) - && (avroSerializationOptionsBuilder_ != null)) { + public com.google.cloud.bigquery.storage.v1.AvroSerializationOptionsOrBuilder getAvroSerializationOptionsOrBuilder() { + if ((outputFormatSerializationOptionsCase_ == 4) && (avroSerializationOptionsBuilder_ != null)) { return avroSerializationOptionsBuilder_.getMessageOrBuilder(); } else { if (outputFormatSerializationOptionsCase_ == 4) { - return (com.google.cloud.bigquery.storage.v1.AvroSerializationOptions) - outputFormatSerializationOptions_; + return (com.google.cloud.bigquery.storage.v1.AvroSerializationOptions) outputFormatSerializationOptions_; } return com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.getDefaultInstance(); } } /** - * - * *
        * Optional. Options specific to the Apache Avro output format
        * 
* - * - * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.bigquery.storage.v1.AvroSerializationOptions avro_serialization_options = 4 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.AvroSerializationOptions, - com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.Builder, - com.google.cloud.bigquery.storage.v1.AvroSerializationOptionsOrBuilder> + com.google.cloud.bigquery.storage.v1.AvroSerializationOptions, com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.Builder, com.google.cloud.bigquery.storage.v1.AvroSerializationOptionsOrBuilder> getAvroSerializationOptionsFieldBuilder() { if (avroSerializationOptionsBuilder_ == null) { if (!(outputFormatSerializationOptionsCase_ == 4)) { - outputFormatSerializationOptions_ = - com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.getDefaultInstance(); + outputFormatSerializationOptions_ = com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.getDefaultInstance(); } - avroSerializationOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.AvroSerializationOptions, - com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.Builder, - com.google.cloud.bigquery.storage.v1.AvroSerializationOptionsOrBuilder>( - (com.google.cloud.bigquery.storage.v1.AvroSerializationOptions) - outputFormatSerializationOptions_, + avroSerializationOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1.AvroSerializationOptions, com.google.cloud.bigquery.storage.v1.AvroSerializationOptions.Builder, com.google.cloud.bigquery.storage.v1.AvroSerializationOptionsOrBuilder>( + (com.google.cloud.bigquery.storage.v1.AvroSerializationOptions) outputFormatSerializationOptions_, getParentForChildren(), isClean()); outputFormatSerializationOptions_ = null; @@ -3866,10 +3383,8 @@ public Builder clearAvroSerializationOptions() { return avroSerializationOptionsBuilder_; } - private double samplePercentage_; + private double samplePercentage_ ; /** - * - * *
        * Optional. Specifies a table sampling percentage. Specifically, the query
        * planner will use TABLESAMPLE SYSTEM (sample_percentage PERCENT). The
@@ -3879,9 +3394,7 @@ public Builder clearAvroSerializationOptions() {
        * https://cloud.google.com/bigquery/docs/table-sampling)
        * 
* - * optional double sample_percentage = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * optional double sample_percentage = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the samplePercentage field is set. */ @java.lang.Override @@ -3889,8 +3402,6 @@ public boolean hasSamplePercentage() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
        * Optional. Specifies a table sampling percentage. Specifically, the query
        * planner will use TABLESAMPLE SYSTEM (sample_percentage PERCENT). The
@@ -3900,9 +3411,7 @@ public boolean hasSamplePercentage() {
        * https://cloud.google.com/bigquery/docs/table-sampling)
        * 
* - * optional double sample_percentage = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * optional double sample_percentage = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return The samplePercentage. */ @java.lang.Override @@ -3910,8 +3419,6 @@ public double getSamplePercentage() { return samplePercentage_; } /** - * - * *
        * Optional. Specifies a table sampling percentage. Specifically, the query
        * planner will use TABLESAMPLE SYSTEM (sample_percentage PERCENT). The
@@ -3921,9 +3428,7 @@ public double getSamplePercentage() {
        * https://cloud.google.com/bigquery/docs/table-sampling)
        * 
* - * optional double sample_percentage = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * optional double sample_percentage = 5 [(.google.api.field_behavior) = OPTIONAL]; * @param value The samplePercentage to set. * @return This builder for chaining. */ @@ -3935,8 +3440,6 @@ public Builder setSamplePercentage(double value) { return this; } /** - * - * *
        * Optional. Specifies a table sampling percentage. Specifically, the query
        * planner will use TABLESAMPLE SYSTEM (sample_percentage PERCENT). The
@@ -3946,9 +3449,7 @@ public Builder setSamplePercentage(double value) {
        * https://cloud.google.com/bigquery/docs/table-sampling)
        * 
* - * optional double sample_percentage = 5 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * optional double sample_percentage = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearSamplePercentage() { @@ -3960,53 +3461,36 @@ public Builder clearSamplePercentage() { private int responseCompressionCodec_ = 0; /** - * - * *
        * Optional. Set response_compression_codec when creating a read session to
        * enable application-level compression of ReadRows responses.
        * 
* - * - * optional .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.ResponseCompressionCodec response_compression_codec = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * optional .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.ResponseCompressionCodec response_compression_codec = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the responseCompressionCodec field is set. */ - @java.lang.Override - public boolean hasResponseCompressionCodec() { + @java.lang.Override public boolean hasResponseCompressionCodec() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
        * Optional. Set response_compression_codec when creating a read session to
        * enable application-level compression of ReadRows responses.
        * 
* - * - * optional .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.ResponseCompressionCodec response_compression_codec = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * optional .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.ResponseCompressionCodec response_compression_codec = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for responseCompressionCodec. */ - @java.lang.Override - public int getResponseCompressionCodecValue() { + @java.lang.Override public int getResponseCompressionCodecValue() { return responseCompressionCodec_; } /** - * - * *
        * Optional. Set response_compression_codec when creating a read session to
        * enable application-level compression of ReadRows responses.
        * 
* - * - * optional .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.ResponseCompressionCodec response_compression_codec = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * optional .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.ResponseCompressionCodec response_compression_codec = 6 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for responseCompressionCodec to set. * @return This builder for chaining. */ @@ -4017,50 +3501,30 @@ public Builder setResponseCompressionCodecValue(int value) { return this; } /** - * - * *
        * Optional. Set response_compression_codec when creating a read session to
        * enable application-level compression of ReadRows responses.
        * 
* - * - * optional .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.ResponseCompressionCodec response_compression_codec = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * optional .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.ResponseCompressionCodec response_compression_codec = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return The responseCompressionCodec. */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions - .ResponseCompressionCodec - getResponseCompressionCodec() { - com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.ResponseCompressionCodec - result = - com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions - .ResponseCompressionCodec.forNumber(responseCompressionCodec_); - return result == null - ? com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions - .ResponseCompressionCodec.UNRECOGNIZED - : result; + public com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.ResponseCompressionCodec getResponseCompressionCodec() { + com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.ResponseCompressionCodec result = com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.ResponseCompressionCodec.forNumber(responseCompressionCodec_); + return result == null ? com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.ResponseCompressionCodec.UNRECOGNIZED : result; } /** - * - * *
        * Optional. Set response_compression_codec when creating a read session to
        * enable application-level compression of ReadRows responses.
        * 
* - * - * optional .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.ResponseCompressionCodec response_compression_codec = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * optional .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.ResponseCompressionCodec response_compression_codec = 6 [(.google.api.field_behavior) = OPTIONAL]; * @param value The responseCompressionCodec to set. * @return This builder for chaining. */ - public Builder setResponseCompressionCodec( - com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.ResponseCompressionCodec - value) { + public Builder setResponseCompressionCodec(com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.ResponseCompressionCodec value) { if (value == null) { throw new NullPointerException(); } @@ -4070,17 +3534,12 @@ public Builder setResponseCompressionCodec( return this; } /** - * - * *
        * Optional. Set response_compression_codec when creating a read session to
        * enable application-level compression of ReadRows responses.
        * 
* - * - * optional .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.ResponseCompressionCodec response_compression_codec = 6 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * optional .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.ResponseCompressionCodec response_compression_codec = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearResponseCompressionCodec() { @@ -4089,7 +3548,6 @@ public Builder clearResponseCompressionCodec() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4102,44 +3560,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions) - private static final com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions(); } - public static com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions - getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TableReadOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TableReadOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4151,27 +3606,23 @@ 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 bitField0_; private int schemaCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object schema_; - public enum SchemaCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { AVRO_SCHEMA(4), ARROW_SCHEMA(5), SCHEMA_NOT_SET(0); private final int value; - private SchemaCase(int value) { this.value = value; } @@ -4187,40 +3638,33 @@ public static SchemaCase valueOf(int value) { public static SchemaCase forNumber(int value) { switch (value) { - case 4: - return AVRO_SCHEMA; - case 5: - return ARROW_SCHEMA; - case 0: - return SCHEMA_NOT_SET; - default: - return null; + case 4: return AVRO_SCHEMA; + case 5: return ARROW_SCHEMA; + case 0: return SCHEMA_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public SchemaCase getSchemaCase() { - return SchemaCase.forNumber(schemaCase_); + public SchemaCase + getSchemaCase() { + return SchemaCase.forNumber( + schemaCase_); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. Unique identifier for the session, in the form
    * `projects/{project_id}/locations/{location}/sessions/{session_id}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -4229,30 +3673,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 { @@ -4263,8 +3707,6 @@ 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
@@ -4272,9 +3714,7 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 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 @@ -4282,8 +3722,6 @@ public boolean hasExpireTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Output only. Time at which the session becomes invalid. After this time,
    * subsequent requests to read this Session will return errors. The
@@ -4291,9 +3729,7 @@ public boolean hasExpireTime() {
    * updated.
    * 
* - * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expireTime. */ @java.lang.Override @@ -4301,8 +3737,6 @@ 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
@@ -4310,8 +3744,7 @@ public com.google.protobuf.Timestamp getExpireTime() {
    * updated.
    * 
* - * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { @@ -4321,56 +3754,38 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { public static final int DATA_FORMAT_FIELD_NUMBER = 3; private int dataFormat_ = 0; /** - * - * *
    * Immutable. Data format of the output data. DATA_FORMAT_UNSPECIFIED not
    * supported.
    * 
* - * - * .google.cloud.bigquery.storage.v1.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.bigquery.storage.v1.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for dataFormat. */ - @java.lang.Override - public int getDataFormatValue() { + @java.lang.Override public int getDataFormatValue() { return dataFormat_; } /** - * - * *
    * Immutable. Data format of the output data. DATA_FORMAT_UNSPECIFIED not
    * supported.
    * 
* - * - * .google.cloud.bigquery.storage.v1.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.bigquery.storage.v1.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; * @return The dataFormat. */ - @java.lang.Override - public com.google.cloud.bigquery.storage.v1.DataFormat getDataFormat() { - com.google.cloud.bigquery.storage.v1.DataFormat result = - com.google.cloud.bigquery.storage.v1.DataFormat.forNumber(dataFormat_); + @java.lang.Override public com.google.cloud.bigquery.storage.v1.DataFormat getDataFormat() { + com.google.cloud.bigquery.storage.v1.DataFormat result = com.google.cloud.bigquery.storage.v1.DataFormat.forNumber(dataFormat_); return result == null ? com.google.cloud.bigquery.storage.v1.DataFormat.UNRECOGNIZED : result; } public static final int AVRO_SCHEMA_FIELD_NUMBER = 4; /** - * - * *
    * Output only. Avro schema.
    * 
* - * - * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the avroSchema field is set. */ @java.lang.Override @@ -4378,56 +3793,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 @@ -4435,60 +3836,45 @@ public boolean hasArrowSchema() { return schemaCase_ == 5; } /** - * - * *
    * Output only. Arrow schema.
    * 
* - * - * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The arrowSchema. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.ArrowSchema getArrowSchema() { if (schemaCase_ == 5) { - return (com.google.cloud.bigquery.storage.v1.ArrowSchema) schema_; + return (com.google.cloud.bigquery.storage.v1.ArrowSchema) schema_; } return com.google.cloud.bigquery.storage.v1.ArrowSchema.getDefaultInstance(); } /** - * - * *
    * Output only. Arrow schema.
    * 
* - * - * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.ArrowSchemaOrBuilder getArrowSchemaOrBuilder() { if (schemaCase_ == 5) { - return (com.google.cloud.bigquery.storage.v1.ArrowSchema) schema_; + return (com.google.cloud.bigquery.storage.v1.ArrowSchema) schema_; } return com.google.cloud.bigquery.storage.v1.ArrowSchema.getDefaultInstance(); } public static final int TABLE_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object table_ = ""; /** - * - * *
    * Immutable. Table that this ReadSession is reading from, in the form
    * `projects/{project_id}/datasets/{dataset_id}/tables/{table_id}`
    * 
* - * - * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The table. */ @java.lang.Override @@ -4497,32 +3883,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 { @@ -4533,17 +3917,12 @@ 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 @@ -4551,58 +3930,39 @@ public boolean hasTableModifiers() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Optional. Any modifiers which are applied when reading from the specified
    * table.
    * 
* - * - * .google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return The tableModifiers. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers getTableModifiers() { - return tableModifiers_ == null - ? com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.getDefaultInstance() - : tableModifiers_; + return tableModifiers_ == null ? com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.getDefaultInstance() : tableModifiers_; } /** - * - * *
    * Optional. Any modifiers which are applied when reading from the specified
    * table.
    * 
* - * - * .google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiersOrBuilder - getTableModifiersOrBuilder() { - return tableModifiers_ == null - ? com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.getDefaultInstance() - : tableModifiers_; + public com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiersOrBuilder getTableModifiersOrBuilder() { + return tableModifiers_ == null ? com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.getDefaultInstance() : tableModifiers_; } public static final int READ_OPTIONS_FIELD_NUMBER = 8; private com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions readOptions_; /** - * - * *
    * Optional. Read options for this session (e.g. column selection, filters).
    * 
* - * - * .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readOptions field is set. */ @java.lang.Override @@ -4610,50 +3970,33 @@ public boolean hasReadOptions() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * Optional. Read options for this session (e.g. column selection, filters).
    * 
* - * - * .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return The readOptions. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions getReadOptions() { - return readOptions_ == null - ? com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.getDefaultInstance() - : readOptions_; + return readOptions_ == null ? com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.getDefaultInstance() : readOptions_; } /** - * - * *
    * Optional. Read options for this session (e.g. column selection, filters).
    * 
* - * - * .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptionsOrBuilder - getReadOptionsOrBuilder() { - return readOptions_ == null - ? com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.getDefaultInstance() - : readOptions_; + public com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptionsOrBuilder getReadOptionsOrBuilder() { + return readOptions_ == null ? com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.getDefaultInstance() : readOptions_; } public static final int STREAMS_FIELD_NUMBER = 10; - @SuppressWarnings("serial") private java.util.List streams_; /** - * - * *
    * Output only. A list of streams created with the session.
    *
@@ -4663,17 +4006,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.
    *
@@ -4683,18 +4022,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.
    *
@@ -4704,17 +4039,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.
    *
@@ -4724,17 +4055,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.
    *
@@ -4744,29 +4071,24 @@ public com.google.cloud.bigquery.storage.v1.ReadStream getStreams(int index) {
    * instead, which is not yet available.
    * 
* - * - * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder getStreamsOrBuilder(int index) { + public com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder getStreamsOrBuilder( + int index) { return streams_.get(index); } public static final int ESTIMATED_TOTAL_BYTES_SCANNED_FIELD_NUMBER = 12; private long estimatedTotalBytesScanned_ = 0L; /** - * - * *
    * Output only. An estimate on the number of bytes this session will scan when
    * all streams are completely consumed. This estimate is based on
    * metadata from the table which might be incomplete or stale.
    * 
* - * int64 estimated_total_bytes_scanned = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 estimated_total_bytes_scanned = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The estimatedTotalBytesScanned. */ @java.lang.Override @@ -4777,8 +4099,6 @@ public long getEstimatedTotalBytesScanned() { public static final int ESTIMATED_TOTAL_PHYSICAL_FILE_SIZE_FIELD_NUMBER = 15; private long estimatedTotalPhysicalFileSize_ = 0L; /** - * - * *
    * Output only. A pre-projected estimate of the total physical size of files
    * (in bytes) that this session will scan when all streams are consumed. This
@@ -4787,10 +4107,7 @@ public long getEstimatedTotalBytesScanned() {
    * BigLake tables.
    * 
* - * - * int64 estimated_total_physical_file_size = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 estimated_total_physical_file_size = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The estimatedTotalPhysicalFileSize. */ @java.lang.Override @@ -4801,8 +4118,6 @@ public long getEstimatedTotalPhysicalFileSize() { public static final int ESTIMATED_ROW_COUNT_FIELD_NUMBER = 14; private long estimatedRowCount_ = 0L; /** - * - * *
    * Output only. An estimate on the number of rows present in this session's
    * streams. This estimate is based on metadata from the table which might be
@@ -4810,7 +4125,6 @@ public long getEstimatedTotalPhysicalFileSize() {
    * 
* * int64 estimated_row_count = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The estimatedRowCount. */ @java.lang.Override @@ -4819,12 +4133,9 @@ public long getEstimatedRowCount() { } public static final int TRACE_ID_FIELD_NUMBER = 13; - @SuppressWarnings("serial") private volatile java.lang.Object traceId_ = ""; /** - * - * *
    * Optional. ID set by client to annotate a session identity.  This does not
    * need to be strictly unique, but instead the same ID should be used to group
@@ -4835,7 +4146,6 @@ public long getEstimatedRowCount() {
    * 
* * string trace_id = 13 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The traceId. */ @java.lang.Override @@ -4844,15 +4154,14 @@ public java.lang.String getTraceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); traceId_ = s; return s; } } /** - * - * *
    * Optional. ID set by client to annotate a session identity.  This does not
    * need to be strictly unique, but instead the same ID should be used to group
@@ -4863,15 +4172,16 @@ public java.lang.String getTraceId() {
    * 
* * string trace_id = 13 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for traceId. */ @java.lang.Override - public com.google.protobuf.ByteString getTraceIdBytes() { + public com.google.protobuf.ByteString + getTraceIdBytes() { java.lang.Object ref = traceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); traceId_ = b; return b; } else { @@ -4880,7 +4190,6 @@ public com.google.protobuf.ByteString getTraceIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4892,15 +4201,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (((bitField0_ & 0x00000001) != 0)) { 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) { @@ -4946,48 +4255,50 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getExpireTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getExpireTime()); } - if (dataFormat_ - != com.google.cloud.bigquery.storage.v1.DataFormat.DATA_FORMAT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, dataFormat_); + if (dataFormat_ != com.google.cloud.bigquery.storage.v1.DataFormat.DATA_FORMAT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, dataFormat_); } if (schemaCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, (com.google.cloud.bigquery.storage.v1.AvroSchema) schema_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.cloud.bigquery.storage.v1.AvroSchema) schema_); } if (schemaCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, (com.google.cloud.bigquery.storage.v1.ArrowSchema) schema_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.cloud.bigquery.storage.v1.ArrowSchema) schema_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(table_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, table_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getTableModifiers()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getTableModifiers()); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getReadOptions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getReadOptions()); } for (int i = 0; i < streams_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, streams_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, streams_.get(i)); } if (estimatedTotalBytesScanned_ != 0L) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size(12, estimatedTotalBytesScanned_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(12, estimatedTotalBytesScanned_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(traceId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, traceId_); } if (estimatedRowCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(14, estimatedRowCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(14, estimatedRowCount_); } if (estimatedTotalPhysicalFileSize_ != 0L) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 15, estimatedTotalPhysicalFileSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(15, estimatedTotalPhysicalFileSize_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -4997,42 +4308,52 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1.ReadSession)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.ReadSession other = - (com.google.cloud.bigquery.storage.v1.ReadSession) obj; + com.google.cloud.bigquery.storage.v1.ReadSession other = (com.google.cloud.bigquery.storage.v1.ReadSession) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasExpireTime() != other.hasExpireTime()) return false; if (hasExpireTime()) { - if (!getExpireTime().equals(other.getExpireTime())) return false; + if (!getExpireTime() + .equals(other.getExpireTime())) return false; } if (dataFormat_ != other.dataFormat_) return false; - if (!getTable().equals(other.getTable())) return false; + if (!getTable() + .equals(other.getTable())) return false; if (hasTableModifiers() != other.hasTableModifiers()) return false; if (hasTableModifiers()) { - if (!getTableModifiers().equals(other.getTableModifiers())) return false; + if (!getTableModifiers() + .equals(other.getTableModifiers())) return false; } if (hasReadOptions() != other.hasReadOptions()) return false; if (hasReadOptions()) { - if (!getReadOptions().equals(other.getReadOptions())) return false; - } - if (!getStreamsList().equals(other.getStreamsList())) return false; - if (getEstimatedTotalBytesScanned() != other.getEstimatedTotalBytesScanned()) return false; - if (getEstimatedTotalPhysicalFileSize() != other.getEstimatedTotalPhysicalFileSize()) - return false; - if (getEstimatedRowCount() != other.getEstimatedRowCount()) return false; - if (!getTraceId().equals(other.getTraceId())) return false; + if (!getReadOptions() + .equals(other.getReadOptions())) return false; + } + if (!getStreamsList() + .equals(other.getStreamsList())) return false; + if (getEstimatedTotalBytesScanned() + != other.getEstimatedTotalBytesScanned()) return false; + if (getEstimatedTotalPhysicalFileSize() + != other.getEstimatedTotalPhysicalFileSize()) return false; + if (getEstimatedRowCount() + != other.getEstimatedRowCount()) return false; + if (!getTraceId() + .equals(other.getTraceId())) return false; if (!getSchemaCase().equals(other.getSchemaCase())) return false; switch (schemaCase_) { case 4: - if (!getAvroSchema().equals(other.getAvroSchema())) return false; + if (!getAvroSchema() + .equals(other.getAvroSchema())) return false; break; case 5: - if (!getArrowSchema().equals(other.getArrowSchema())) return false; + if (!getArrowSchema() + .equals(other.getArrowSchema())) return false; break; case 0: default: @@ -5071,11 +4392,14 @@ public int hashCode() { hash = (53 * hash) + getStreamsList().hashCode(); } hash = (37 * hash) + ESTIMATED_TOTAL_BYTES_SCANNED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getEstimatedTotalBytesScanned()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getEstimatedTotalBytesScanned()); hash = (37 * hash) + ESTIMATED_TOTAL_PHYSICAL_FILE_SIZE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getEstimatedTotalPhysicalFileSize()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getEstimatedTotalPhysicalFileSize()); hash = (37 * hash) + ESTIMATED_ROW_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getEstimatedRowCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getEstimatedRowCount()); hash = (37 * hash) + TRACE_ID_FIELD_NUMBER; hash = (53 * hash) + getTraceId().hashCode(); switch (schemaCase_) { @@ -5095,127 +4419,120 @@ 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() @@ -5223,20 +4540,20 @@ 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) { getExpireTimeFieldBuilder(); getTableModifiersFieldBuilder(); getReadOptionsFieldBuilder(); getStreamsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -5282,9 +4599,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 @@ -5303,19 +4620,15 @@ public com.google.cloud.bigquery.storage.v1.ReadSession build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1.ReadSession buildPartial() { - com.google.cloud.bigquery.storage.v1.ReadSession result = - new com.google.cloud.bigquery.storage.v1.ReadSession(this); + com.google.cloud.bigquery.storage.v1.ReadSession result = new com.google.cloud.bigquery.storage.v1.ReadSession(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.bigquery.storage.v1.ReadSession result) { + private void buildPartialRepeatedFields(com.google.cloud.bigquery.storage.v1.ReadSession result) { if (streamsBuilder_ == null) { if (((bitField0_ & 0x00000100) != 0)) { streams_ = java.util.Collections.unmodifiableList(streams_); @@ -5334,7 +4647,9 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.ReadSession resu } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.expireTime_ = expireTimeBuilder_ == null ? expireTime_ : expireTimeBuilder_.build(); + result.expireTime_ = expireTimeBuilder_ == null + ? expireTime_ + : expireTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { @@ -5344,13 +4659,15 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.ReadSession resu result.table_ = table_; } if (((from_bitField0_ & 0x00000040) != 0)) { - result.tableModifiers_ = - tableModifiersBuilder_ == null ? tableModifiers_ : tableModifiersBuilder_.build(); + result.tableModifiers_ = tableModifiersBuilder_ == null + ? tableModifiers_ + : tableModifiersBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000080) != 0)) { - result.readOptions_ = - readOptionsBuilder_ == null ? readOptions_ : readOptionsBuilder_.build(); + result.readOptions_ = readOptionsBuilder_ == null + ? readOptions_ + : readOptionsBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000200) != 0)) { @@ -5371,10 +4688,12 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.ReadSession resu private void buildPartialOneofs(com.google.cloud.bigquery.storage.v1.ReadSession result) { result.schemaCase_ = schemaCase_; result.schema_ = this.schema_; - if (schemaCase_ == 4 && avroSchemaBuilder_ != null) { + if (schemaCase_ == 4 && + avroSchemaBuilder_ != null) { result.schema_ = avroSchemaBuilder_.build(); } - if (schemaCase_ == 5 && arrowSchemaBuilder_ != null) { + if (schemaCase_ == 5 && + arrowSchemaBuilder_ != null) { result.schema_ = arrowSchemaBuilder_.build(); } } @@ -5383,39 +4702,38 @@ private void buildPartialOneofs(com.google.cloud.bigquery.storage.v1.ReadSession public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.ReadSession) { - return mergeFrom((com.google.cloud.bigquery.storage.v1.ReadSession) other); + return mergeFrom((com.google.cloud.bigquery.storage.v1.ReadSession)other); } else { super.mergeFrom(other); return this; @@ -5423,8 +4741,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_; bitField0_ |= 0x00000001; @@ -5465,10 +4782,9 @@ public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.ReadSession other) streamsBuilder_ = null; streams_ = other.streams_; bitField0_ = (bitField0_ & ~0x00000100); - streamsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getStreamsFieldBuilder() - : null; + streamsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getStreamsFieldBuilder() : null; } else { streamsBuilder_.addAllMessages(other.streams_); } @@ -5489,20 +4805,17 @@ public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.ReadSession other) onChanged(); } switch (other.getSchemaCase()) { - case AVRO_SCHEMA: - { - mergeAvroSchema(other.getAvroSchema()); - break; - } - case ARROW_SCHEMA: - { - mergeArrowSchema(other.getArrowSchema()); - break; - } - case SCHEMA_NOT_SET: - { - break; - } + case AVRO_SCHEMA: { + mergeAvroSchema(other.getAvroSchema()); + break; + } + case ARROW_SCHEMA: { + mergeArrowSchema(other.getArrowSchema()); + break; + } + case SCHEMA_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -5530,99 +4843,95 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getExpireTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - dataFormat_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: - { - input.readMessage(getAvroSchemaFieldBuilder().getBuilder(), extensionRegistry); - schemaCase_ = 4; - break; - } // case 34 - case 42: - { - input.readMessage(getArrowSchemaFieldBuilder().getBuilder(), extensionRegistry); - schemaCase_ = 5; - break; - } // case 42 - case 50: - { - table_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: - { - input.readMessage(getTableModifiersFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 58 - case 66: - { - input.readMessage(getReadOptionsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000080; - break; - } // case 66 - case 82: - { - com.google.cloud.bigquery.storage.v1.ReadStream m = - input.readMessage( - com.google.cloud.bigquery.storage.v1.ReadStream.parser(), - extensionRegistry); - if (streamsBuilder_ == null) { - ensureStreamsIsMutable(); - streams_.add(m); - } else { - streamsBuilder_.addMessage(m); - } - break; - } // case 82 - case 96: - { - estimatedTotalBytesScanned_ = input.readInt64(); - bitField0_ |= 0x00000200; - break; - } // case 96 - case 106: - { - traceId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00001000; - break; - } // case 106 - case 112: - { - estimatedRowCount_ = input.readInt64(); - bitField0_ |= 0x00000800; - break; - } // case 112 - case 120: - { - estimatedTotalPhysicalFileSize_ = input.readInt64(); - bitField0_ |= 0x00000400; - break; - } // case 120 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getExpireTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + dataFormat_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + input.readMessage( + getAvroSchemaFieldBuilder().getBuilder(), + extensionRegistry); + schemaCase_ = 4; + break; + } // case 34 + case 42: { + input.readMessage( + getArrowSchemaFieldBuilder().getBuilder(), + extensionRegistry); + schemaCase_ = 5; + break; + } // case 42 + case 50: { + table_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: { + input.readMessage( + getTableModifiersFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: { + input.readMessage( + getReadOptionsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 82: { + com.google.cloud.bigquery.storage.v1.ReadStream m = + input.readMessage( + com.google.cloud.bigquery.storage.v1.ReadStream.parser(), + extensionRegistry); + if (streamsBuilder_ == null) { + ensureStreamsIsMutable(); + streams_.add(m); + } else { + streamsBuilder_.addMessage(m); + } + break; + } // case 82 + case 96: { + estimatedTotalBytesScanned_ = input.readInt64(); + bitField0_ |= 0x00000200; + break; + } // case 96 + case 106: { + traceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00001000; + break; + } // case 106 + case 112: { + estimatedRowCount_ = input.readInt64(); + bitField0_ |= 0x00000800; + break; + } // case 112 + case 120: { + estimatedTotalPhysicalFileSize_ = input.readInt64(); + bitField0_ |= 0x00000400; + break; + } // case 120 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -5632,12 +4941,12 @@ public Builder mergeFrom( } // finally return this; } - private int schemaCase_ = 0; private java.lang.Object schema_; - - public SchemaCase getSchemaCase() { - return SchemaCase.forNumber(schemaCase_); + public SchemaCase + getSchemaCase() { + return SchemaCase.forNumber( + schemaCase_); } public Builder clearSchema() { @@ -5651,21 +4960,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; @@ -5674,22 +4981,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 { @@ -5697,37 +5003,30 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. Unique identifier for the session, in the form
      * `projects/{project_id}/locations/{location}/sessions/{session_id}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -5737,22 +5036,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. Unique identifier for the session, in the form
      * `projects/{project_id}/locations/{location}/sessions/{session_id}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -5762,13 +5057,8 @@ 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
@@ -5776,18 +5066,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * updated.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expireTime field is set. */ public boolean hasExpireTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Output only. Time at which the session becomes invalid. After this time,
      * subsequent requests to read this Session will return errors. The
@@ -5795,24 +5080,17 @@ public boolean hasExpireTime() {
      * updated.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expireTime. */ public com.google.protobuf.Timestamp getExpireTime() { if (expireTimeBuilder_ == null) { - return expireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expireTime_; + return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } else { return expireTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Time at which the session becomes invalid. After this time,
      * subsequent requests to read this Session will return errors. The
@@ -5820,9 +5098,7 @@ public com.google.protobuf.Timestamp getExpireTime() {
      * updated.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { @@ -5838,8 +5114,6 @@ 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
@@ -5847,11 +5121,10 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) {
      * updated.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setExpireTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (expireTimeBuilder_ == null) { expireTime_ = builderForValue.build(); } else { @@ -5862,8 +5135,6 @@ 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
@@ -5871,15 +5142,13 @@ public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForVal
      * updated.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && expireTime_ != null - && expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + expireTime_ != null && + expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getExpireTimeBuilder().mergeFrom(value); } else { expireTime_ = value; @@ -5894,8 +5163,6 @@ 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
@@ -5903,9 +5170,7 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) {
      * updated.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearExpireTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -5918,8 +5183,6 @@ 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
@@ -5927,9 +5190,7 @@ public Builder clearExpireTime() {
      * updated.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { bitField0_ |= 0x00000002; @@ -5937,8 +5198,6 @@ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { return getExpireTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Time at which the session becomes invalid. After this time,
      * subsequent requests to read this Session will return errors. The
@@ -5946,22 +5205,17 @@ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() {
      * updated.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { if (expireTimeBuilder_ != null) { return expireTimeBuilder_.getMessageOrBuilder(); } else { - return expireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expireTime_; + return expireTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } } /** - * - * *
      * Output only. Time at which the session becomes invalid. After this time,
      * subsequent requests to read this Session will return errors. The
@@ -5969,22 +5223,17 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
      * updated.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getExpireTimeFieldBuilder() { if (expireTimeBuilder_ == null) { - expireTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getExpireTime(), getParentForChildren(), isClean()); + expireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getExpireTime(), + getParentForChildren(), + isClean()); expireTime_ = null; } return expireTimeBuilder_; @@ -5992,35 +5241,24 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { private int dataFormat_ = 0; /** - * - * *
      * Immutable. Data format of the output data. DATA_FORMAT_UNSPECIFIED not
      * supported.
      * 
* - * - * .google.cloud.bigquery.storage.v1.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.bigquery.storage.v1.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for dataFormat. */ - @java.lang.Override - public int getDataFormatValue() { + @java.lang.Override public int getDataFormatValue() { return dataFormat_; } /** - * - * *
      * Immutable. Data format of the output data. DATA_FORMAT_UNSPECIFIED not
      * supported.
      * 
* - * - * .google.cloud.bigquery.storage.v1.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.bigquery.storage.v1.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; * @param value The enum numeric value on the wire for dataFormat to set. * @return This builder for chaining. */ @@ -6031,37 +5269,26 @@ public Builder setDataFormatValue(int value) { return this; } /** - * - * *
      * Immutable. Data format of the output data. DATA_FORMAT_UNSPECIFIED not
      * supported.
      * 
* - * - * .google.cloud.bigquery.storage.v1.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.bigquery.storage.v1.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; * @return The dataFormat. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.DataFormat getDataFormat() { - com.google.cloud.bigquery.storage.v1.DataFormat result = - com.google.cloud.bigquery.storage.v1.DataFormat.forNumber(dataFormat_); + com.google.cloud.bigquery.storage.v1.DataFormat result = com.google.cloud.bigquery.storage.v1.DataFormat.forNumber(dataFormat_); return result == null ? com.google.cloud.bigquery.storage.v1.DataFormat.UNRECOGNIZED : result; } /** - * - * *
      * Immutable. Data format of the output data. DATA_FORMAT_UNSPECIFIED not
      * supported.
      * 
* - * - * .google.cloud.bigquery.storage.v1.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.bigquery.storage.v1.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; * @param value The dataFormat to set. * @return This builder for chaining. */ @@ -6075,17 +5302,12 @@ public Builder setDataFormat(com.google.cloud.bigquery.storage.v1.DataFormat val return this; } /** - * - * *
      * Immutable. Data format of the output data. DATA_FORMAT_UNSPECIFIED not
      * supported.
      * 
* - * - * .google.cloud.bigquery.storage.v1.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.bigquery.storage.v1.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearDataFormat() { @@ -6096,21 +5318,13 @@ public Builder clearDataFormat() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.AvroSchema, - com.google.cloud.bigquery.storage.v1.AvroSchema.Builder, - com.google.cloud.bigquery.storage.v1.AvroSchemaOrBuilder> - avroSchemaBuilder_; + com.google.cloud.bigquery.storage.v1.AvroSchema, com.google.cloud.bigquery.storage.v1.AvroSchema.Builder, com.google.cloud.bigquery.storage.v1.AvroSchemaOrBuilder> avroSchemaBuilder_; /** - * - * *
      * Output only. Avro schema.
      * 
* - * - * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the avroSchema field is set. */ @java.lang.Override @@ -6118,16 +5332,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 @@ -6145,15 +5354,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) { @@ -6169,15 +5374,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) { @@ -6191,25 +5392,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; } @@ -6225,15 +5419,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) { @@ -6252,29 +5442,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() { @@ -6288,30 +5470,21 @@ 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()); @@ -6323,21 +5496,13 @@ public com.google.cloud.bigquery.storage.v1.AvroSchemaOrBuilder getAvroSchemaOrB } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.ArrowSchema, - com.google.cloud.bigquery.storage.v1.ArrowSchema.Builder, - com.google.cloud.bigquery.storage.v1.ArrowSchemaOrBuilder> - arrowSchemaBuilder_; + com.google.cloud.bigquery.storage.v1.ArrowSchema, com.google.cloud.bigquery.storage.v1.ArrowSchema.Builder, com.google.cloud.bigquery.storage.v1.ArrowSchemaOrBuilder> arrowSchemaBuilder_; /** - * - * *
      * Output only. Arrow schema.
      * 
* - * - * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the arrowSchema field is set. */ @java.lang.Override @@ -6345,16 +5510,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 @@ -6372,15 +5532,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) { @@ -6396,15 +5552,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) { @@ -6418,25 +5570,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; } @@ -6452,15 +5597,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) { @@ -6479,29 +5620,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() { @@ -6515,30 +5648,21 @@ 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()); @@ -6551,23 +5675,19 @@ public com.google.cloud.bigquery.storage.v1.ArrowSchemaOrBuilder getArrowSchemaO private java.lang.Object table_ = ""; /** - * - * *
      * Immutable. Table that this ReadSession is reading from, in the form
      * `projects/{project_id}/datasets/{dataset_id}/tables/{table_id}`
      * 
* - * - * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The table. */ public java.lang.String getTable() { java.lang.Object ref = table_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; @@ -6576,24 +5696,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 { @@ -6601,41 +5718,30 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } table_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Immutable. Table that this ReadSession is reading from, in the form
      * `projects/{project_id}/datasets/{dataset_id}/tables/{table_id}`
      * 
* - * - * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearTable() { @@ -6645,24 +5751,18 @@ public Builder clearTable() { return this; } /** - * - * *
      * Immutable. Table that this ReadSession is reading from, in the form
      * `projects/{project_id}/datasets/{dataset_id}/tables/{table_id}`
      * 
* - * - * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @param value The bytes for table to set. * @return This builder for chaining. */ - public Builder setTableBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); table_ = value; bitField0_ |= 0x00000020; @@ -6672,64 +5772,44 @@ 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 ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * Optional. Any modifiers which are applied when reading from the specified
      * table.
      * 
* - * - * .google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return The tableModifiers. */ public com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers getTableModifiers() { if (tableModifiersBuilder_ == null) { - return tableModifiers_ == null - ? com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.getDefaultInstance() - : tableModifiers_; + return tableModifiers_ == null ? com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.getDefaultInstance() : tableModifiers_; } else { return tableModifiersBuilder_.getMessage(); } } /** - * - * *
      * Optional. Any modifiers which are applied when reading from the specified
      * table.
      * 
* - * - * .google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setTableModifiers( - com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers value) { + public Builder setTableModifiers(com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers value) { if (tableModifiersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6743,16 +5823,12 @@ 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) { @@ -6766,25 +5842,18 @@ public Builder setTableModifiers( return this; } /** - * - * *
      * Optional. Any modifiers which are applied when reading from the specified
      * table.
      * 
* - * - * .google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeTableModifiers( - com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers value) { + public Builder mergeTableModifiers(com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers value) { if (tableModifiersBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) - && tableModifiers_ != null - && tableModifiers_ - != com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers - .getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) && + tableModifiers_ != null && + tableModifiers_ != com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.getDefaultInstance()) { getTableModifiersBuilder().mergeFrom(value); } else { tableModifiers_ = value; @@ -6799,16 +5868,12 @@ 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() { bitField0_ = (bitField0_ & ~0x00000040); @@ -6821,69 +5886,51 @@ public Builder clearTableModifiers() { return this; } /** - * - * *
      * Optional. Any modifiers which are applied when reading from the specified
      * table.
      * 
* - * - * .google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.Builder - getTableModifiersBuilder() { + public com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.Builder getTableModifiersBuilder() { bitField0_ |= 0x00000040; onChanged(); return getTableModifiersFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Any modifiers which are applied when reading from the specified
      * table.
      * 
* - * - * .google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiersOrBuilder - getTableModifiersOrBuilder() { + public com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiersOrBuilder getTableModifiersOrBuilder() { if (tableModifiersBuilder_ != null) { return tableModifiersBuilder_.getMessageOrBuilder(); } else { - return tableModifiers_ == null - ? com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.getDefaultInstance() - : tableModifiers_; + return tableModifiers_ == null ? + com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.getDefaultInstance() : tableModifiers_; } } /** - * - * *
      * Optional. Any modifiers which are applied when reading from the specified
      * table.
      * 
* - * - * .google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers, - com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.Builder, - com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiersOrBuilder> + com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers, com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.Builder, com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiersOrBuilder> getTableModifiersFieldBuilder() { if (tableModifiersBuilder_ == null) { - tableModifiersBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers, - com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.Builder, - com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiersOrBuilder>( - getTableModifiers(), getParentForChildren(), isClean()); + tableModifiersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers, com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers.Builder, com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiersOrBuilder>( + getTableModifiers(), + getParentForChildren(), + isClean()); tableModifiers_ = null; } return tableModifiersBuilder_; @@ -6891,61 +5938,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 ((bitField0_ & 0x00000080) != 0); } /** - * - * *
      * Optional. Read options for this session (e.g. column selection, filters).
      * 
* - * - * .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return The readOptions. */ public com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions getReadOptions() { if (readOptionsBuilder_ == null) { - return readOptions_ == null - ? com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.getDefaultInstance() - : readOptions_; + return readOptions_ == null ? com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.getDefaultInstance() : readOptions_; } else { return readOptionsBuilder_.getMessage(); } } /** - * - * *
      * Optional. Read options for this session (e.g. column selection, filters).
      * 
* - * - * .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setReadOptions( - com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions value) { + public Builder setReadOptions(com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions value) { if (readOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6959,15 +5986,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) { @@ -6981,24 +6004,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 (((bitField0_ & 0x00000080) != 0) - && readOptions_ != null - && readOptions_ - != com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions - .getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) && + readOptions_ != null && + readOptions_ != com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.getDefaultInstance()) { getReadOptionsBuilder().mergeFrom(value); } else { readOptions_ = value; @@ -7013,15 +6029,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() { bitField0_ = (bitField0_ & ~0x00000080); @@ -7034,91 +6046,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() { bitField0_ |= 0x00000080; onChanged(); return getReadOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Read options for this session (e.g. column selection, filters).
      * 
* - * - * .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptionsOrBuilder - getReadOptionsOrBuilder() { + public com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptionsOrBuilder getReadOptionsOrBuilder() { if (readOptionsBuilder_ != null) { return readOptionsBuilder_.getMessageOrBuilder(); } else { - return readOptions_ == null - ? com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.getDefaultInstance() - : readOptions_; + return readOptions_ == null ? + com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.getDefaultInstance() : readOptions_; } } /** - * - * *
      * Optional. Read options for this session (e.g. column selection, filters).
      * 
* - * - * .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions, - com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.Builder, - com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptionsOrBuilder> + com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions, com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.Builder, com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptionsOrBuilder> getReadOptionsFieldBuilder() { if (readOptionsBuilder_ == null) { - readOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions, - com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.Builder, - com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptionsOrBuilder>( - getReadOptions(), getParentForChildren(), isClean()); + readOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions, com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions.Builder, com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptionsOrBuilder>( + getReadOptions(), + getParentForChildren(), + isClean()); readOptions_ = null; } return readOptionsBuilder_; } private java.util.List streams_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureStreamsIsMutable() { if (!((bitField0_ & 0x00000100) != 0)) { - streams_ = - new java.util.ArrayList(streams_); + streams_ = new java.util.ArrayList(streams_); bitField0_ |= 0x00000100; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.ReadStream, - com.google.cloud.bigquery.storage.v1.ReadStream.Builder, - com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder> - streamsBuilder_; + com.google.cloud.bigquery.storage.v1.ReadStream, com.google.cloud.bigquery.storage.v1.ReadStream.Builder, com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder> streamsBuilder_; /** - * - * *
      * Output only. A list of streams created with the session.
      *
@@ -7128,9 +6115,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) { @@ -7140,8 +6125,6 @@ public java.util.List getStream } } /** - * - * *
      * Output only. A list of streams created with the session.
      *
@@ -7151,9 +6134,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) { @@ -7163,8 +6144,6 @@ public int getStreamsCount() { } } /** - * - * *
      * Output only. A list of streams created with the session.
      *
@@ -7174,9 +6153,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) { @@ -7186,8 +6163,6 @@ public com.google.cloud.bigquery.storage.v1.ReadStream getStreams(int index) { } } /** - * - * *
      * Output only. A list of streams created with the session.
      *
@@ -7197,11 +6172,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(); @@ -7215,8 +6189,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.
      *
@@ -7226,9 +6198,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) { @@ -7242,8 +6212,6 @@ public Builder setStreams( return this; } /** - * - * *
      * Output only. A list of streams created with the session.
      *
@@ -7253,9 +6221,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) { @@ -7271,8 +6237,6 @@ public Builder addStreams(com.google.cloud.bigquery.storage.v1.ReadStream value) return this; } /** - * - * *
      * Output only. A list of streams created with the session.
      *
@@ -7282,11 +6246,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(); @@ -7300,8 +6263,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.
      *
@@ -7311,9 +6272,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) { @@ -7327,8 +6286,6 @@ public Builder addStreams( return this; } /** - * - * *
      * Output only. A list of streams created with the session.
      *
@@ -7338,9 +6295,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) { @@ -7354,8 +6309,6 @@ public Builder addStreams( return this; } /** - * - * *
      * Output only. A list of streams created with the session.
      *
@@ -7365,15 +6318,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); @@ -7381,8 +6333,6 @@ public Builder addAllStreams( return this; } /** - * - * *
      * Output only. A list of streams created with the session.
      *
@@ -7392,9 +6342,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) { @@ -7407,8 +6355,6 @@ public Builder clearStreams() { return this; } /** - * - * *
      * Output only. A list of streams created with the session.
      *
@@ -7418,9 +6364,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) { @@ -7433,8 +6377,6 @@ public Builder removeStreams(int index) { return this; } /** - * - * *
      * Output only. A list of streams created with the session.
      *
@@ -7444,16 +6386,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.
      *
@@ -7463,20 +6402,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.
      *
@@ -7486,12 +6421,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 { @@ -7499,8 +6432,6 @@ public com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder getStreamsOrBuil } } /** - * - * *
      * Output only. A list of streams created with the session.
      *
@@ -7510,17 +6441,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.
      *
@@ -7530,17 +6457,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.
      *
@@ -7550,45 +6474,36 @@ public com.google.cloud.bigquery.storage.v1.ReadStream.Builder addStreamsBuilder
      * instead, which is not yet available.
      * 
* - * - * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.bigquery.storage.v1.ReadStream streams = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getStreamsBuilderList() { + public java.util.List + getStreamsBuilderList() { return getStreamsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.ReadStream, - com.google.cloud.bigquery.storage.v1.ReadStream.Builder, - com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder> + com.google.cloud.bigquery.storage.v1.ReadStream, com.google.cloud.bigquery.storage.v1.ReadStream.Builder, com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder> getStreamsFieldBuilder() { if (streamsBuilder_ == null) { - streamsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.ReadStream, - com.google.cloud.bigquery.storage.v1.ReadStream.Builder, - com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder>( - streams_, ((bitField0_ & 0x00000100) != 0), getParentForChildren(), isClean()); + streamsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.storage.v1.ReadStream, com.google.cloud.bigquery.storage.v1.ReadStream.Builder, com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder>( + streams_, + ((bitField0_ & 0x00000100) != 0), + getParentForChildren(), + isClean()); streams_ = null; } return streamsBuilder_; } - private long estimatedTotalBytesScanned_; + private long estimatedTotalBytesScanned_ ; /** - * - * *
      * Output only. An estimate on the number of bytes this session will scan when
      * all streams are completely consumed. This estimate is based on
      * metadata from the table which might be incomplete or stale.
      * 
* - * int64 estimated_total_bytes_scanned = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 estimated_total_bytes_scanned = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The estimatedTotalBytesScanned. */ @java.lang.Override @@ -7596,17 +6511,13 @@ public long getEstimatedTotalBytesScanned() { return estimatedTotalBytesScanned_; } /** - * - * *
      * Output only. An estimate on the number of bytes this session will scan when
      * all streams are completely consumed. This estimate is based on
      * metadata from the table which might be incomplete or stale.
      * 
* - * int64 estimated_total_bytes_scanned = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 estimated_total_bytes_scanned = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The estimatedTotalBytesScanned to set. * @return This builder for chaining. */ @@ -7618,17 +6529,13 @@ public Builder setEstimatedTotalBytesScanned(long value) { return this; } /** - * - * *
      * Output only. An estimate on the number of bytes this session will scan when
      * all streams are completely consumed. This estimate is based on
      * metadata from the table which might be incomplete or stale.
      * 
* - * int64 estimated_total_bytes_scanned = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 estimated_total_bytes_scanned = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearEstimatedTotalBytesScanned() { @@ -7638,10 +6545,8 @@ public Builder clearEstimatedTotalBytesScanned() { return this; } - private long estimatedTotalPhysicalFileSize_; + private long estimatedTotalPhysicalFileSize_ ; /** - * - * *
      * Output only. A pre-projected estimate of the total physical size of files
      * (in bytes) that this session will scan when all streams are consumed. This
@@ -7650,10 +6555,7 @@ public Builder clearEstimatedTotalBytesScanned() {
      * BigLake tables.
      * 
* - * - * int64 estimated_total_physical_file_size = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 estimated_total_physical_file_size = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The estimatedTotalPhysicalFileSize. */ @java.lang.Override @@ -7661,8 +6563,6 @@ public long getEstimatedTotalPhysicalFileSize() { return estimatedTotalPhysicalFileSize_; } /** - * - * *
      * Output only. A pre-projected estimate of the total physical size of files
      * (in bytes) that this session will scan when all streams are consumed. This
@@ -7671,10 +6571,7 @@ public long getEstimatedTotalPhysicalFileSize() {
      * BigLake tables.
      * 
* - * - * int64 estimated_total_physical_file_size = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 estimated_total_physical_file_size = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The estimatedTotalPhysicalFileSize to set. * @return This builder for chaining. */ @@ -7686,8 +6583,6 @@ public Builder setEstimatedTotalPhysicalFileSize(long value) { return this; } /** - * - * *
      * Output only. A pre-projected estimate of the total physical size of files
      * (in bytes) that this session will scan when all streams are consumed. This
@@ -7696,10 +6591,7 @@ public Builder setEstimatedTotalPhysicalFileSize(long value) {
      * BigLake tables.
      * 
* - * - * int64 estimated_total_physical_file_size = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 estimated_total_physical_file_size = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearEstimatedTotalPhysicalFileSize() { @@ -7709,10 +6601,8 @@ public Builder clearEstimatedTotalPhysicalFileSize() { return this; } - private long estimatedRowCount_; + private long estimatedRowCount_ ; /** - * - * *
      * Output only. An estimate on the number of rows present in this session's
      * streams. This estimate is based on metadata from the table which might be
@@ -7720,7 +6610,6 @@ public Builder clearEstimatedTotalPhysicalFileSize() {
      * 
* * int64 estimated_row_count = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The estimatedRowCount. */ @java.lang.Override @@ -7728,8 +6617,6 @@ public long getEstimatedRowCount() { return estimatedRowCount_; } /** - * - * *
      * Output only. An estimate on the number of rows present in this session's
      * streams. This estimate is based on metadata from the table which might be
@@ -7737,7 +6624,6 @@ public long getEstimatedRowCount() {
      * 
* * int64 estimated_row_count = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The estimatedRowCount to set. * @return This builder for chaining. */ @@ -7749,8 +6635,6 @@ public Builder setEstimatedRowCount(long value) { return this; } /** - * - * *
      * Output only. An estimate on the number of rows present in this session's
      * streams. This estimate is based on metadata from the table which might be
@@ -7758,7 +6642,6 @@ public Builder setEstimatedRowCount(long value) {
      * 
* * int64 estimated_row_count = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearEstimatedRowCount() { @@ -7770,8 +6653,6 @@ public Builder clearEstimatedRowCount() { private java.lang.Object traceId_ = ""; /** - * - * *
      * Optional. ID set by client to annotate a session identity.  This does not
      * need to be strictly unique, but instead the same ID should be used to group
@@ -7782,13 +6663,13 @@ public Builder clearEstimatedRowCount() {
      * 
* * string trace_id = 13 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The traceId. */ public java.lang.String getTraceId() { java.lang.Object ref = traceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); traceId_ = s; return s; @@ -7797,8 +6678,6 @@ public java.lang.String getTraceId() { } } /** - * - * *
      * Optional. ID set by client to annotate a session identity.  This does not
      * need to be strictly unique, but instead the same ID should be used to group
@@ -7809,14 +6688,15 @@ public java.lang.String getTraceId() {
      * 
* * string trace_id = 13 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for traceId. */ - public com.google.protobuf.ByteString getTraceIdBytes() { + public com.google.protobuf.ByteString + getTraceIdBytes() { java.lang.Object ref = traceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); traceId_ = b; return b; } else { @@ -7824,8 +6704,6 @@ public com.google.protobuf.ByteString getTraceIdBytes() { } } /** - * - * *
      * Optional. ID set by client to annotate a session identity.  This does not
      * need to be strictly unique, but instead the same ID should be used to group
@@ -7836,22 +6714,18 @@ public com.google.protobuf.ByteString getTraceIdBytes() {
      * 
* * string trace_id = 13 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The traceId to set. * @return This builder for chaining. */ - public Builder setTraceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTraceId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } traceId_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } /** - * - * *
      * Optional. ID set by client to annotate a session identity.  This does not
      * need to be strictly unique, but instead the same ID should be used to group
@@ -7862,7 +6736,6 @@ public Builder setTraceId(java.lang.String value) {
      * 
* * string trace_id = 13 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearTraceId() { @@ -7872,8 +6745,6 @@ public Builder clearTraceId() { return this; } /** - * - * *
      * Optional. ID set by client to annotate a session identity.  This does not
      * need to be strictly unique, but instead the same ID should be used to group
@@ -7884,23 +6755,21 @@ public Builder clearTraceId() {
      * 
* * string trace_id = 13 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for traceId to set. * @return This builder for chaining. */ - public Builder setTraceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTraceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); traceId_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -7910,12 +6779,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(); } @@ -7924,27 +6793,27 @@ public static com.google.cloud.bigquery.storage.v1.ReadSession getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadSession parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadSession parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7959,4 +6828,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 67% 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 7934f2672b..3238401097 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,59 +1,36 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 // Protobuf Java Version: 3.25.2 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
@@ -61,15 +38,11 @@ public interface ReadSessionOrBuilder
    * 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
@@ -77,15 +50,11 @@ public interface ReadSessionOrBuilder
    * 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
@@ -93,245 +62,165 @@ public interface ReadSessionOrBuilder
    * updated.
    * 
* - * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder(); /** - * - * *
    * Immutable. Data format of the output data. DATA_FORMAT_UNSPECIFIED not
    * supported.
    * 
* - * - * .google.cloud.bigquery.storage.v1.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.bigquery.storage.v1.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for dataFormat. */ int getDataFormatValue(); /** - * - * *
    * Immutable. Data format of the output data. DATA_FORMAT_UNSPECIFIED not
    * supported.
    * 
* - * - * .google.cloud.bigquery.storage.v1.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.bigquery.storage.v1.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; * @return The dataFormat. */ com.google.cloud.bigquery.storage.v1.DataFormat getDataFormat(); /** - * - * *
    * Output only. Avro schema.
    * 
* - * - * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the avroSchema field is set. */ boolean hasAvroSchema(); /** - * - * *
    * Output only. Avro schema.
    * 
* - * - * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The avroSchema. */ com.google.cloud.bigquery.storage.v1.AvroSchema getAvroSchema(); /** - * - * *
    * Output only. Avro schema.
    * 
* - * - * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.storage.v1.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.bigquery.storage.v1.AvroSchemaOrBuilder getAvroSchemaOrBuilder(); /** - * - * *
    * Output only. Arrow schema.
    * 
* - * - * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the arrowSchema field is set. */ boolean hasArrowSchema(); /** - * - * *
    * Output only. Arrow schema.
    * 
* - * - * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The arrowSchema. */ com.google.cloud.bigquery.storage.v1.ArrowSchema getArrowSchema(); /** - * - * *
    * Output only. Arrow schema.
    * 
* - * - * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.storage.v1.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.bigquery.storage.v1.ArrowSchemaOrBuilder getArrowSchemaOrBuilder(); /** - * - * *
    * Immutable. Table that this ReadSession is reading from, in the form
    * `projects/{project_id}/datasets/{dataset_id}/tables/{table_id}`
    * 
* - * - * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The table. */ java.lang.String getTable(); /** - * - * *
    * Immutable. Table that this ReadSession is reading from, in the form
    * `projects/{project_id}/datasets/{dataset_id}/tables/{table_id}`
    * 
* - * - * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The bytes for table. */ - com.google.protobuf.ByteString getTableBytes(); + com.google.protobuf.ByteString + getTableBytes(); /** - * - * *
    * Optional. Any modifiers which are applied when reading from the specified
    * table.
    * 
* - * - * .google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the tableModifiers field is set. */ boolean hasTableModifiers(); /** - * - * *
    * Optional. Any modifiers which are applied when reading from the specified
    * table.
    * 
* - * - * .google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return The tableModifiers. */ com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiers getTableModifiers(); /** - * - * *
    * Optional. Any modifiers which are applied when reading from the specified
    * table.
    * 
* - * - * .google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.bigquery.storage.v1.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiersOrBuilder - getTableModifiersOrBuilder(); + com.google.cloud.bigquery.storage.v1.ReadSession.TableModifiersOrBuilder getTableModifiersOrBuilder(); /** - * - * *
    * Optional. Read options for this session (e.g. column selection, filters).
    * 
* - * - * .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readOptions field is set. */ boolean hasReadOptions(); /** - * - * *
    * Optional. Read options for this session (e.g. column selection, filters).
    * 
* - * - * .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return The readOptions. */ com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions getReadOptions(); /** - * - * *
    * Optional. Read options for this session (e.g. column selection, filters).
    * 
* - * - * .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.bigquery.storage.v1.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptionsOrBuilder - getReadOptionsOrBuilder(); + com.google.cloud.bigquery.storage.v1.ReadSession.TableReadOptionsOrBuilder getReadOptionsOrBuilder(); /** - * - * *
    * Output only. A list of streams created with the session.
    *
@@ -341,14 +230,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.
    *
@@ -358,14 +244,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.
    *
@@ -375,14 +257,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.
    *
@@ -392,15 +270,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.
    *
@@ -410,31 +284,24 @@ 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); /** - * - * *
    * Output only. An estimate on the number of bytes this session will scan when
    * all streams are completely consumed. This estimate is based on
    * metadata from the table which might be incomplete or stale.
    * 
* - * int64 estimated_total_bytes_scanned = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 estimated_total_bytes_scanned = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The estimatedTotalBytesScanned. */ long getEstimatedTotalBytesScanned(); /** - * - * *
    * Output only. A pre-projected estimate of the total physical size of files
    * (in bytes) that this session will scan when all streams are consumed. This
@@ -443,17 +310,12 @@ public interface ReadSessionOrBuilder
    * BigLake tables.
    * 
* - * - * int64 estimated_total_physical_file_size = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * int64 estimated_total_physical_file_size = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The estimatedTotalPhysicalFileSize. */ long getEstimatedTotalPhysicalFileSize(); /** - * - * *
    * Output only. An estimate on the number of rows present in this session's
    * streams. This estimate is based on metadata from the table which might be
@@ -461,14 +323,11 @@ public interface ReadSessionOrBuilder
    * 
* * int64 estimated_row_count = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The estimatedRowCount. */ long getEstimatedRowCount(); /** - * - * *
    * Optional. ID set by client to annotate a session identity.  This does not
    * need to be strictly unique, but instead the same ID should be used to group
@@ -479,13 +338,10 @@ public interface ReadSessionOrBuilder
    * 
* * string trace_id = 13 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The traceId. */ java.lang.String getTraceId(); /** - * - * *
    * Optional. ID set by client to annotate a session identity.  This does not
    * need to be strictly unique, but instead the same ID should be used to group
@@ -496,10 +352,10 @@ public interface ReadSessionOrBuilder
    * 
* * string trace_id = 13 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for traceId. */ - com.google.protobuf.ByteString getTraceIdBytes(); + com.google.protobuf.ByteString + getTraceIdBytes(); com.google.cloud.bigquery.storage.v1.ReadSession.SchemaCase getSchemaCase(); } diff --git a/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 67% 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 643bf9394d..2c384c8447 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,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 @@ -20,8 +5,6 @@ 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
@@ -30,55 +13,49 @@
  *
  * Protobuf type {@code google.cloud.bigquery.storage.v1.ReadStream}
  */
-public final class ReadStream extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ReadStream extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.ReadStream)
     ReadStreamOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ReadStream.newBuilder() to construct.
   private ReadStream(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ReadStream() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ReadStream();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.bigquery.storage.v1.StreamProto
-        .internal_static_google_cloud_bigquery_storage_v1_ReadStream_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.bigquery.storage.v1.StreamProto.internal_static_google_cloud_bigquery_storage_v1_ReadStream_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.storage.v1.StreamProto
-        .internal_static_google_cloud_bigquery_storage_v1_ReadStream_fieldAccessorTable
+    return com.google.cloud.bigquery.storage.v1.StreamProto.internal_static_google_cloud_bigquery_storage_v1_ReadStream_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.storage.v1.ReadStream.class,
-            com.google.cloud.bigquery.storage.v1.ReadStream.Builder.class);
+            com.google.cloud.bigquery.storage.v1.ReadStream.class, com.google.cloud.bigquery.storage.v1.ReadStream.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Output only. Name of the stream, in the form
    * `projects/{project_id}/locations/{location}/sessions/{session_id}/streams/{stream_id}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -87,30 +64,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 { @@ -119,7 +96,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -131,7 +107,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -155,15 +132,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1.ReadStream)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.ReadStream other = - (com.google.cloud.bigquery.storage.v1.ReadStream) obj; + com.google.cloud.bigquery.storage.v1.ReadStream other = (com.google.cloud.bigquery.storage.v1.ReadStream) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -182,104 +159,99 @@ 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
@@ -288,32 +260,33 @@ 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()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -323,9 +296,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
@@ -344,11 +317,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);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.bigquery.storage.v1.ReadStream result = new com.google.cloud.bigquery.storage.v1.ReadStream(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -364,39 +334,38 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.ReadStream resul
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.storage.v1.ReadStream) {
-        return mergeFrom((com.google.cloud.bigquery.storage.v1.ReadStream) other);
+        return mergeFrom((com.google.cloud.bigquery.storage.v1.ReadStream)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -404,8 +373,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_;
         bitField0_ |= 0x00000001;
@@ -437,19 +405,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -459,26 +425,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. Name of the stream, in the form
      * `projects/{project_id}/locations/{location}/sessions/{session_id}/streams/{stream_id}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -487,22 +450,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 { @@ -510,37 +472,30 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. Name of the stream, in the form
      * `projects/{project_id}/locations/{location}/sessions/{session_id}/streams/{stream_id}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -550,31 +505,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. Name of the stream, in the form
      * `projects/{project_id}/locations/{location}/sessions/{session_id}/streams/{stream_id}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -584,12 +535,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(); } @@ -598,27 +549,27 @@ public static com.google.cloud.bigquery.storage.v1.ReadStream getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadStream parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadStream parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -633,4 +584,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 99% 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 index 76d7d5cda4..cf52e7bf02 100644 --- 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 @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. 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 56% 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 9416dcff23..30686954ae 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,53 +1,32 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 // Protobuf Java Version: 3.25.2 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/RowError.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/RowError.java similarity index 68% rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/RowError.java rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/RowError.java index 05eecf52e8..d5d2dbe3f9 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/RowError.java +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/RowError.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 @@ -20,24 +5,21 @@ package com.google.cloud.bigquery.storage.v1; /** - * - * *
  * The message that presents row level error info in a request.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.RowError} */ -public final class RowError extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RowError extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.RowError) RowErrorOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RowError.newBuilder() to construct. private RowError(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RowError() { code_ = 0; message_ = ""; @@ -45,38 +27,34 @@ private RowError() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RowError(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_RowError_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_RowError_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_RowError_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_RowError_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.RowError.class, - com.google.cloud.bigquery.storage.v1.RowError.Builder.class); + com.google.cloud.bigquery.storage.v1.RowError.class, com.google.cloud.bigquery.storage.v1.RowError.Builder.class); } /** - * - * *
    * Error code for `RowError`.
    * 
* * Protobuf enum {@code google.cloud.bigquery.storage.v1.RowError.RowErrorCode} */ - public enum RowErrorCode implements com.google.protobuf.ProtocolMessageEnum { + public enum RowErrorCode + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default error.
      * 
@@ -85,8 +63,6 @@ public enum RowErrorCode implements com.google.protobuf.ProtocolMessageEnum { */ ROW_ERROR_CODE_UNSPECIFIED(0), /** - * - * *
      * One or more fields in the row has errors.
      * 
@@ -98,8 +74,6 @@ public enum RowErrorCode implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Default error.
      * 
@@ -108,8 +82,6 @@ public enum RowErrorCode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ROW_ERROR_CODE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * One or more fields in the row has errors.
      * 
@@ -118,6 +90,7 @@ public enum RowErrorCode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FIELDS_ERROR_VALUE = 1; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -142,47 +115,48 @@ public static RowErrorCode valueOf(int value) { */ public static RowErrorCode forNumber(int value) { switch (value) { - case 0: - return ROW_ERROR_CODE_UNSPECIFIED; - case 1: - return FIELDS_ERROR; - default: - return null; + case 0: return ROW_ERROR_CODE_UNSPECIFIED; + case 1: return FIELDS_ERROR; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + RowErrorCode> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RowErrorCode findValueByNumber(int number) { + return RowErrorCode.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RowErrorCode findValueByNumber(int number) { - return RowErrorCode.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.bigquery.storage.v1.RowError.getDescriptor().getEnumTypes().get(0); } private static final RowErrorCode[] VALUES = values(); - public static RowErrorCode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static RowErrorCode valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -202,14 +176,11 @@ private RowErrorCode(int value) { public static final int INDEX_FIELD_NUMBER = 1; private long index_ = 0L; /** - * - * *
    * Index of the malformed row in the request.
    * 
* * int64 index = 1; - * * @return The index. */ @java.lang.Override @@ -220,53 +191,38 @@ public long getIndex() { public static final int CODE_FIELD_NUMBER = 2; private int code_ = 0; /** - * - * *
    * Structured error reason for a row error.
    * 
* * .google.cloud.bigquery.storage.v1.RowError.RowErrorCode code = 2; - * * @return The enum numeric value on the wire for code. */ - @java.lang.Override - public int getCodeValue() { + @java.lang.Override public int getCodeValue() { return code_; } /** - * - * *
    * Structured error reason for a row error.
    * 
* * .google.cloud.bigquery.storage.v1.RowError.RowErrorCode code = 2; - * * @return The code. */ - @java.lang.Override - public com.google.cloud.bigquery.storage.v1.RowError.RowErrorCode getCode() { - com.google.cloud.bigquery.storage.v1.RowError.RowErrorCode result = - com.google.cloud.bigquery.storage.v1.RowError.RowErrorCode.forNumber(code_); - return result == null - ? com.google.cloud.bigquery.storage.v1.RowError.RowErrorCode.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.bigquery.storage.v1.RowError.RowErrorCode getCode() { + com.google.cloud.bigquery.storage.v1.RowError.RowErrorCode result = com.google.cloud.bigquery.storage.v1.RowError.RowErrorCode.forNumber(code_); + return result == null ? com.google.cloud.bigquery.storage.v1.RowError.RowErrorCode.UNRECOGNIZED : result; } public static final int MESSAGE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object message_ = ""; /** - * - * *
    * Description of the issue encountered when processing the row.
    * 
* * string message = 3; - * * @return The message. */ @java.lang.Override @@ -275,29 +231,29 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** - * - * *
    * Description of the issue encountered when processing the row.
    * 
* * string message = 3; - * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -306,7 +262,6 @@ public com.google.protobuf.ByteString getMessageBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -318,13 +273,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 (index_ != 0L) { output.writeInt64(1, index_); } - if (code_ - != com.google.cloud.bigquery.storage.v1.RowError.RowErrorCode.ROW_ERROR_CODE_UNSPECIFIED - .getNumber()) { + if (code_ != com.google.cloud.bigquery.storage.v1.RowError.RowErrorCode.ROW_ERROR_CODE_UNSPECIFIED.getNumber()) { output.writeEnum(2, code_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { @@ -340,12 +294,12 @@ public int getSerializedSize() { size = 0; if (index_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, index_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, index_); } - if (code_ - != com.google.cloud.bigquery.storage.v1.RowError.RowErrorCode.ROW_ERROR_CODE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, code_); + if (code_ != com.google.cloud.bigquery.storage.v1.RowError.RowErrorCode.ROW_ERROR_CODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, code_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, message_); @@ -358,17 +312,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.RowError)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.RowError other = - (com.google.cloud.bigquery.storage.v1.RowError) obj; + com.google.cloud.bigquery.storage.v1.RowError other = (com.google.cloud.bigquery.storage.v1.RowError) obj; - if (getIndex() != other.getIndex()) return false; + if (getIndex() + != other.getIndex()) return false; if (code_ != other.code_) return false; - if (!getMessage().equals(other.getMessage())) return false; + if (!getMessage() + .equals(other.getMessage())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -381,7 +336,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + INDEX_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getIndex()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getIndex()); hash = (37 * hash) + CODE_FIELD_NUMBER; hash = (53 * hash) + code_; hash = (37 * hash) + MESSAGE_FIELD_NUMBER; @@ -391,136 +347,132 @@ public int hashCode() { return hash; } - public static com.google.cloud.bigquery.storage.v1.RowError parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.bigquery.storage.v1.RowError parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.RowError parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.RowError parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.RowError parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.RowError parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.RowError parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.RowError parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1.RowError parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.RowError parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.RowError parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1.RowError parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.RowError parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1.RowError parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.RowError prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The message that presents row level error info in a request.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.RowError} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.RowError) com.google.cloud.bigquery.storage.v1.RowErrorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_RowError_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_RowError_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_RowError_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_RowError_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.RowError.class, - com.google.cloud.bigquery.storage.v1.RowError.Builder.class); + com.google.cloud.bigquery.storage.v1.RowError.class, com.google.cloud.bigquery.storage.v1.RowError.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1.RowError.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -532,9 +484,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_RowError_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_RowError_descriptor; } @java.lang.Override @@ -553,11 +505,8 @@ public com.google.cloud.bigquery.storage.v1.RowError build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1.RowError buildPartial() { - com.google.cloud.bigquery.storage.v1.RowError result = - new com.google.cloud.bigquery.storage.v1.RowError(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1.RowError result = new com.google.cloud.bigquery.storage.v1.RowError(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -579,39 +528,38 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.RowError result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.RowError) { - return mergeFrom((com.google.cloud.bigquery.storage.v1.RowError) other); + return mergeFrom((com.google.cloud.bigquery.storage.v1.RowError)other); } else { super.mergeFrom(other); return this; @@ -657,31 +605,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - index_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: - { - code_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - message_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + index_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + code_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + message_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -691,19 +635,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private long index_; + private long index_ ; /** - * - * *
      * Index of the malformed row in the request.
      * 
* * int64 index = 1; - * * @return The index. */ @java.lang.Override @@ -711,14 +651,11 @@ public long getIndex() { return index_; } /** - * - * *
      * Index of the malformed row in the request.
      * 
* * int64 index = 1; - * * @param value The index to set. * @return This builder for chaining. */ @@ -730,14 +667,11 @@ public Builder setIndex(long value) { return this; } /** - * - * *
      * Index of the malformed row in the request.
      * 
* * int64 index = 1; - * * @return This builder for chaining. */ public Builder clearIndex() { @@ -749,29 +683,22 @@ public Builder clearIndex() { private int code_ = 0; /** - * - * *
      * Structured error reason for a row error.
      * 
* * .google.cloud.bigquery.storage.v1.RowError.RowErrorCode code = 2; - * * @return The enum numeric value on the wire for code. */ - @java.lang.Override - public int getCodeValue() { + @java.lang.Override public int getCodeValue() { return code_; } /** - * - * *
      * Structured error reason for a row error.
      * 
* * .google.cloud.bigquery.storage.v1.RowError.RowErrorCode code = 2; - * * @param value The enum numeric value on the wire for code to set. * @return This builder for chaining. */ @@ -782,33 +709,24 @@ public Builder setCodeValue(int value) { return this; } /** - * - * *
      * Structured error reason for a row error.
      * 
* * .google.cloud.bigquery.storage.v1.RowError.RowErrorCode code = 2; - * * @return The code. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.RowError.RowErrorCode getCode() { - com.google.cloud.bigquery.storage.v1.RowError.RowErrorCode result = - com.google.cloud.bigquery.storage.v1.RowError.RowErrorCode.forNumber(code_); - return result == null - ? com.google.cloud.bigquery.storage.v1.RowError.RowErrorCode.UNRECOGNIZED - : result; + com.google.cloud.bigquery.storage.v1.RowError.RowErrorCode result = com.google.cloud.bigquery.storage.v1.RowError.RowErrorCode.forNumber(code_); + return result == null ? com.google.cloud.bigquery.storage.v1.RowError.RowErrorCode.UNRECOGNIZED : result; } /** - * - * *
      * Structured error reason for a row error.
      * 
* * .google.cloud.bigquery.storage.v1.RowError.RowErrorCode code = 2; - * * @param value The code to set. * @return This builder for chaining. */ @@ -822,14 +740,11 @@ public Builder setCode(com.google.cloud.bigquery.storage.v1.RowError.RowErrorCod return this; } /** - * - * *
      * Structured error reason for a row error.
      * 
* * .google.cloud.bigquery.storage.v1.RowError.RowErrorCode code = 2; - * * @return This builder for chaining. */ public Builder clearCode() { @@ -841,20 +756,18 @@ public Builder clearCode() { private java.lang.Object message_ = ""; /** - * - * *
      * Description of the issue encountered when processing the row.
      * 
* * string message = 3; - * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -863,21 +776,20 @@ public java.lang.String getMessage() { } } /** - * - * *
      * Description of the issue encountered when processing the row.
      * 
* * string message = 3; - * * @return The bytes for message. */ - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -885,35 +797,28 @@ public com.google.protobuf.ByteString getMessageBytes() { } } /** - * - * *
      * Description of the issue encountered when processing the row.
      * 
* * string message = 3; - * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMessage( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } message_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Description of the issue encountered when processing the row.
      * 
* * string message = 3; - * * @return This builder for chaining. */ public Builder clearMessage() { @@ -923,30 +828,26 @@ public Builder clearMessage() { return this; } /** - * - * *
      * Description of the issue encountered when processing the row.
      * 
* * string message = 3; - * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -956,12 +857,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.RowError) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.RowError) private static final com.google.cloud.bigquery.storage.v1.RowError DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.RowError(); } @@ -970,27 +871,27 @@ public static com.google.cloud.bigquery.storage.v1.RowError getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RowError parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RowError parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1005,4 +906,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1.RowError getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/RowErrorOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/RowErrorOrBuilder.java similarity index 64% rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/RowErrorOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/RowErrorOrBuilder.java index 4c2632c707..a438faf809 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/RowErrorOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/RowErrorOrBuilder.java @@ -1,89 +1,59 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 // Protobuf Java Version: 3.25.2 package com.google.cloud.bigquery.storage.v1; -public interface RowErrorOrBuilder - extends +public interface RowErrorOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.RowError) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Index of the malformed row in the request.
    * 
* * int64 index = 1; - * * @return The index. */ long getIndex(); /** - * - * *
    * Structured error reason for a row error.
    * 
* * .google.cloud.bigquery.storage.v1.RowError.RowErrorCode code = 2; - * * @return The enum numeric value on the wire for code. */ int getCodeValue(); /** - * - * *
    * Structured error reason for a row error.
    * 
* * .google.cloud.bigquery.storage.v1.RowError.RowErrorCode code = 2; - * * @return The code. */ com.google.cloud.bigquery.storage.v1.RowError.RowErrorCode getCode(); /** - * - * *
    * Description of the issue encountered when processing the row.
    * 
* * string message = 3; - * * @return The message. */ java.lang.String getMessage(); /** - * - * *
    * Description of the issue encountered when processing the row.
    * 
* * string message = 3; - * * @return The bytes for message. */ - com.google.protobuf.ByteString getMessageBytes(); + com.google.protobuf.ByteString + getMessageBytes(); } diff --git a/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 65% 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 7e1a481159..0a8a5dbade 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,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 @@ -20,64 +5,54 @@ package com.google.cloud.bigquery.storage.v1; /** - * - * *
  * Request message for `SplitReadStream`.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.SplitReadStreamRequest} */ -public final class SplitReadStreamRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SplitReadStreamRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.SplitReadStreamRequest) SplitReadStreamRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SplitReadStreamRequest.newBuilder() to construct. private SplitReadStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SplitReadStreamRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SplitReadStreamRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest.class, - com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest.Builder.class); + com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest.class, com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. Name of the stream to split.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -86,31 +61,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 { @@ -121,8 +94,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int FRACTION_FIELD_NUMBER = 2; private double fraction_ = 0D; /** - * - * *
    * A value in the range (0.0, 1.0) that specifies the fractional point at
    * which the original stream should be split. The actual split point is
@@ -134,7 +105,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * double fraction = 2; - * * @return The fraction. */ @java.lang.Override @@ -143,7 +113,6 @@ public double getFraction() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -155,7 +124,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -175,7 +145,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (java.lang.Double.doubleToRawLongBits(fraction_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, fraction_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(2, fraction_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -185,17 +156,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -210,146 +182,139 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + FRACTION_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getFraction())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getFraction())); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for `SplitReadStream`.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.SplitReadStreamRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.SplitReadStreamRequest) com.google.cloud.bigquery.storage.v1.SplitReadStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest.class, - com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest.Builder.class); + com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest.class, com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -360,9 +325,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 @@ -381,11 +346,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest result = new com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -404,39 +366,38 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.SplitReadStreamR public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest) { - return mergeFrom((com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest) other); + return mergeFrom((com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest)other); } else { super.mergeFrom(other); return this; @@ -444,8 +405,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_; bitField0_ |= 0x00000001; @@ -480,25 +440,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 17: - { - fraction_ = input.readDouble(); - bitField0_ |= 0x00000002; - break; - } // case 17 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 17: { + fraction_ = input.readDouble(); + bitField0_ |= 0x00000002; + break; + } // case 17 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -508,27 +465,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. Name of the stream to split.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -537,23 +489,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 { @@ -561,39 +510,28 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Name of the stream to split.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -603,23 +541,17 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. Name of the stream to split.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -627,10 +559,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { 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
@@ -642,7 +572,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * double fraction = 2; - * * @return The fraction. */ @java.lang.Override @@ -650,8 +579,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
@@ -663,7 +590,6 @@ public double getFraction() {
      * 
* * double fraction = 2; - * * @param value The fraction to set. * @return This builder for chaining. */ @@ -675,8 +601,6 @@ public Builder setFraction(double value) { return this; } /** - * - * *
      * A value in the range (0.0, 1.0) that specifies the fractional point at
      * which the original stream should be split. The actual split point is
@@ -688,7 +612,6 @@ public Builder setFraction(double value) {
      * 
* * double fraction = 2; - * * @return This builder for chaining. */ public Builder clearFraction() { @@ -697,9 +620,9 @@ public Builder clearFraction() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -709,12 +632,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(); } @@ -723,27 +646,27 @@ public static com.google.cloud.bigquery.storage.v1.SplitReadStreamRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SplitReadStreamRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SplitReadStreamRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -758,4 +681,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 55% 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 cc8cfa7a2c..4f1a02681f 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,61 +1,34 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 // Protobuf Java Version: 3.25.2 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
@@ -67,7 +40,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 69% 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 147a3287f1..5c1e863d7d 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,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 @@ -20,53 +5,48 @@ package com.google.cloud.bigquery.storage.v1; /** - * - * *
  * Response message for `SplitReadStream`.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.SplitReadStreamResponse} */ -public final class SplitReadStreamResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SplitReadStreamResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.SplitReadStreamResponse) SplitReadStreamResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SplitReadStreamResponse.newBuilder() to construct. private SplitReadStreamResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private SplitReadStreamResponse() {} + private SplitReadStreamResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SplitReadStreamResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamResponse_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse.class, - com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse.Builder.class); + com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse.class, com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse.Builder.class); } private int bitField0_; 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
@@ -74,7 +54,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 @@ -82,8 +61,6 @@ public boolean hasPrimaryStream() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Primary stream, which contains the beginning portion of
    * |original_stream|. An empty value indicates that the original stream can no
@@ -91,18 +68,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
@@ -113,23 +85,18 @@ public com.google.cloud.bigquery.storage.v1.ReadStream getPrimaryStream() {
    */
   @java.lang.Override
   public com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder getPrimaryStreamOrBuilder() {
-    return primaryStream_ == null
-        ? com.google.cloud.bigquery.storage.v1.ReadStream.getDefaultInstance()
-        : primaryStream_;
+    return primaryStream_ == null ? com.google.cloud.bigquery.storage.v1.ReadStream.getDefaultInstance() : primaryStream_;
   }
 
   public static final int REMAINDER_STREAM_FIELD_NUMBER = 2;
   private com.google.cloud.bigquery.storage.v1.ReadStream remainderStream_;
   /**
-   *
-   *
    * 
    * Remainder stream, which contains the tail of |original_stream|. An empty
    * value indicates that the original stream can no longer be split.
    * 
* * .google.cloud.bigquery.storage.v1.ReadStream remainder_stream = 2; - * * @return Whether the remainderStream field is set. */ @java.lang.Override @@ -137,26 +104,19 @@ public boolean hasRemainderStream() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Remainder stream, which contains the tail of |original_stream|. An empty
    * value indicates that the original stream can no longer be split.
    * 
* * .google.cloud.bigquery.storage.v1.ReadStream remainder_stream = 2; - * * @return The remainderStream. */ @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.
@@ -166,13 +126,10 @@ public com.google.cloud.bigquery.storage.v1.ReadStream getRemainderStream() {
    */
   @java.lang.Override
   public com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder getRemainderStreamOrBuilder() {
-    return remainderStream_ == null
-        ? com.google.cloud.bigquery.storage.v1.ReadStream.getDefaultInstance()
-        : remainderStream_;
+    return remainderStream_ == null ? com.google.cloud.bigquery.storage.v1.ReadStream.getDefaultInstance() : remainderStream_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -184,7 +141,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 (((bitField0_ & 0x00000001) != 0)) {
       output.writeMessage(1, getPrimaryStream());
     }
@@ -201,10 +159,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPrimaryStream());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getPrimaryStream());
     }
     if (((bitField0_ & 0x00000002) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRemainderStream());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getRemainderStream());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -214,21 +174,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 (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -255,127 +216,119 @@ 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() @@ -383,18 +336,18 @@ 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) { getPrimaryStreamFieldBuilder(); getRemainderStreamFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -413,14 +366,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(); } @@ -435,27 +387,25 @@ public com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse buildPartial() { - com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse result = - new com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse result = new com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse result) { + private void buildPartial0(com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.primaryStream_ = - primaryStreamBuilder_ == null ? primaryStream_ : primaryStreamBuilder_.build(); + result.primaryStream_ = primaryStreamBuilder_ == null + ? primaryStream_ + : primaryStreamBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.remainderStream_ = - remainderStreamBuilder_ == null ? remainderStream_ : remainderStreamBuilder_.build(); + result.remainderStream_ = remainderStreamBuilder_ == null + ? remainderStream_ + : remainderStreamBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; @@ -465,39 +415,38 @@ private void buildPartial0( 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; @@ -505,9 +454,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()); } @@ -540,25 +487,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getPrimaryStreamFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getRemainderStreamFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getPrimaryStreamFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getRemainderStreamFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -568,18 +516,12 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.cloud.bigquery.storage.v1.ReadStream primaryStream_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.ReadStream, - com.google.cloud.bigquery.storage.v1.ReadStream.Builder, - com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder> - primaryStreamBuilder_; + com.google.cloud.bigquery.storage.v1.ReadStream, com.google.cloud.bigquery.storage.v1.ReadStream.Builder, com.google.cloud.bigquery.storage.v1.ReadStreamOrBuilder> primaryStreamBuilder_; /** - * - * *
      * Primary stream, which contains the beginning portion of
      * |original_stream|. An empty value indicates that the original stream can no
@@ -587,15 +529,12 @@ public Builder mergeFrom(
      * 
* * .google.cloud.bigquery.storage.v1.ReadStream primary_stream = 1; - * * @return Whether the primaryStream field is set. */ public boolean hasPrimaryStream() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Primary stream, which contains the beginning portion of
      * |original_stream|. An empty value indicates that the original stream can no
@@ -603,21 +542,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
@@ -640,8 +574,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
@@ -662,8 +594,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
@@ -674,10 +604,9 @@ public Builder setPrimaryStream(
      */
     public Builder mergePrimaryStream(com.google.cloud.bigquery.storage.v1.ReadStream value) {
       if (primaryStreamBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && primaryStream_ != null
-            && primaryStream_
-                != com.google.cloud.bigquery.storage.v1.ReadStream.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          primaryStream_ != null &&
+          primaryStream_ != com.google.cloud.bigquery.storage.v1.ReadStream.getDefaultInstance()) {
           getPrimaryStreamBuilder().mergeFrom(value);
         } else {
           primaryStream_ = value;
@@ -692,8 +621,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
@@ -713,8 +640,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
@@ -729,8 +654,6 @@ public com.google.cloud.bigquery.storage.v1.ReadStream.Builder getPrimaryStreamB
       return getPrimaryStreamFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Primary stream, which contains the beginning portion of
      * |original_stream|. An empty value indicates that the original stream can no
@@ -743,14 +666,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
@@ -760,17 +680,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_;
@@ -778,49 +695,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 ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Remainder stream, which contains the tail of |original_stream|. An empty
      * value indicates that the original stream can no longer be split.
      * 
* * .google.cloud.bigquery.storage.v1.ReadStream remainder_stream = 2; - * * @return The remainderStream. */ public com.google.cloud.bigquery.storage.v1.ReadStream getRemainderStream() { if (remainderStreamBuilder_ == null) { - return remainderStream_ == null - ? com.google.cloud.bigquery.storage.v1.ReadStream.getDefaultInstance() - : remainderStream_; + return remainderStream_ == null ? com.google.cloud.bigquery.storage.v1.ReadStream.getDefaultInstance() : remainderStream_; } else { return remainderStreamBuilder_.getMessage(); } } /** - * - * *
      * Remainder stream, which contains the tail of |original_stream|. An empty
      * value indicates that the original stream can no longer be split.
@@ -842,8 +746,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.
@@ -863,8 +765,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.
@@ -874,10 +774,9 @@ public Builder setRemainderStream(
      */
     public Builder mergeRemainderStream(com.google.cloud.bigquery.storage.v1.ReadStream value) {
       if (remainderStreamBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && remainderStream_ != null
-            && remainderStream_
-                != com.google.cloud.bigquery.storage.v1.ReadStream.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          remainderStream_ != null &&
+          remainderStream_ != com.google.cloud.bigquery.storage.v1.ReadStream.getDefaultInstance()) {
           getRemainderStreamBuilder().mergeFrom(value);
         } else {
           remainderStream_ = value;
@@ -892,8 +791,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.
@@ -912,8 +809,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.
@@ -927,8 +822,6 @@ public com.google.cloud.bigquery.storage.v1.ReadStream.Builder getRemainderStrea
       return getRemainderStreamFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Remainder stream, which contains the tail of |original_stream|. An empty
      * value indicates that the original stream can no longer be split.
@@ -940,14 +833,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.
@@ -956,24 +846,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);
     }
 
@@ -983,13 +870,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();
   }
@@ -998,27 +884,27 @@ public static com.google.cloud.bigquery.storage.v1.SplitReadStreamResponse getDe
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public SplitReadStreamResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public SplitReadStreamResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1033,4 +919,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 6da781ef37..e896451fcf 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,32 +1,14 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for 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
 
 // Protobuf Java Version: 3.25.2
 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
@@ -34,13 +16,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
@@ -48,13 +27,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
@@ -66,34 +42,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/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StorageError.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StorageError.java
similarity index 70%
rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StorageError.java
rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StorageError.java
index de0f43e66e..9e236a1168 100644
--- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StorageError.java
+++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StorageError.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for 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
 
@@ -20,8 +5,6 @@
 package com.google.cloud.bigquery.storage.v1;
 
 /**
- *
- *
  * 
  * Structured custom BigQuery Storage error message. The error can be attached
  * as error details in the returned rpc Status. In particular, the use of error
@@ -31,16 +14,15 @@
  *
  * Protobuf type {@code google.cloud.bigquery.storage.v1.StorageError}
  */
-public final class StorageError extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class StorageError extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.StorageError)
     StorageErrorOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use StorageError.newBuilder() to construct.
   private StorageError(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private StorageError() {
     code_ = 0;
     entity_ = "";
@@ -49,38 +31,34 @@ private StorageError() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new StorageError();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.bigquery.storage.v1.StorageProto
-        .internal_static_google_cloud_bigquery_storage_v1_StorageError_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_StorageError_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.storage.v1.StorageProto
-        .internal_static_google_cloud_bigquery_storage_v1_StorageError_fieldAccessorTable
+    return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_StorageError_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.storage.v1.StorageError.class,
-            com.google.cloud.bigquery.storage.v1.StorageError.Builder.class);
+            com.google.cloud.bigquery.storage.v1.StorageError.class, com.google.cloud.bigquery.storage.v1.StorageError.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Error code for `StorageError`.
    * 
* * Protobuf enum {@code google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode} */ - public enum StorageErrorCode implements com.google.protobuf.ProtocolMessageEnum { + public enum StorageErrorCode + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default error.
      * 
@@ -89,8 +67,6 @@ public enum StorageErrorCode implements com.google.protobuf.ProtocolMessageEnum */ STORAGE_ERROR_CODE_UNSPECIFIED(0), /** - * - * *
      * Table is not found in the system.
      * 
@@ -99,8 +75,6 @@ public enum StorageErrorCode implements com.google.protobuf.ProtocolMessageEnum */ TABLE_NOT_FOUND(1), /** - * - * *
      * Stream is already committed.
      * 
@@ -109,8 +83,6 @@ public enum StorageErrorCode implements com.google.protobuf.ProtocolMessageEnum */ STREAM_ALREADY_COMMITTED(2), /** - * - * *
      * Stream is not found.
      * 
@@ -119,8 +91,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.
@@ -130,8 +100,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
@@ -142,8 +110,6 @@ public enum StorageErrorCode implements com.google.protobuf.ProtocolMessageEnum
      */
     INVALID_STREAM_STATE(5),
     /**
-     *
-     *
      * 
      * Stream is finalized.
      * 
@@ -152,8 +118,6 @@ public enum StorageErrorCode implements com.google.protobuf.ProtocolMessageEnum */ STREAM_FINALIZED(6), /** - * - * *
      * There is a schema mismatch and it is caused by user schema has extra
      * field than bigquery schema.
@@ -163,8 +127,6 @@ public enum StorageErrorCode implements com.google.protobuf.ProtocolMessageEnum
      */
     SCHEMA_MISMATCH_EXTRA_FIELDS(7),
     /**
-     *
-     *
      * 
      * Offset already exists.
      * 
@@ -173,8 +135,6 @@ public enum StorageErrorCode implements com.google.protobuf.ProtocolMessageEnum */ OFFSET_ALREADY_EXISTS(8), /** - * - * *
      * Offset out of range.
      * 
@@ -183,8 +143,6 @@ public enum StorageErrorCode implements com.google.protobuf.ProtocolMessageEnum */ OFFSET_OUT_OF_RANGE(9), /** - * - * *
      * Customer-managed encryption key (CMEK) not provided for CMEK-enabled
      * data.
@@ -194,8 +152,6 @@ public enum StorageErrorCode implements com.google.protobuf.ProtocolMessageEnum
      */
     CMEK_NOT_PROVIDED(10),
     /**
-     *
-     *
      * 
      * Customer-managed encryption key (CMEK) was incorrectly provided.
      * 
@@ -204,8 +160,6 @@ public enum StorageErrorCode implements com.google.protobuf.ProtocolMessageEnum */ INVALID_CMEK_PROVIDED(11), /** - * - * *
      * There is an encryption error while using customer-managed encryption key.
      * 
@@ -214,8 +168,6 @@ public enum StorageErrorCode implements com.google.protobuf.ProtocolMessageEnum */ CMEK_ENCRYPTION_ERROR(12), /** - * - * *
      * Key Management Service (KMS) service returned an error, which can be
      * retried.
@@ -225,8 +177,6 @@ public enum StorageErrorCode implements com.google.protobuf.ProtocolMessageEnum
      */
     KMS_SERVICE_ERROR(13),
     /**
-     *
-     *
      * 
      * Permission denied while using customer-managed encryption key.
      * 
@@ -238,8 +188,6 @@ public enum StorageErrorCode implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
      * Default error.
      * 
@@ -248,8 +196,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.
      * 
@@ -258,8 +204,6 @@ public enum StorageErrorCode implements com.google.protobuf.ProtocolMessageEnum */ public static final int TABLE_NOT_FOUND_VALUE = 1; /** - * - * *
      * Stream is already committed.
      * 
@@ -268,8 +212,6 @@ public enum StorageErrorCode implements com.google.protobuf.ProtocolMessageEnum */ public static final int STREAM_ALREADY_COMMITTED_VALUE = 2; /** - * - * *
      * Stream is not found.
      * 
@@ -278,8 +220,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.
@@ -289,8 +229,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
@@ -301,8 +239,6 @@ public enum StorageErrorCode implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int INVALID_STREAM_STATE_VALUE = 5;
     /**
-     *
-     *
      * 
      * Stream is finalized.
      * 
@@ -311,8 +247,6 @@ public enum StorageErrorCode implements com.google.protobuf.ProtocolMessageEnum */ public static final int STREAM_FINALIZED_VALUE = 6; /** - * - * *
      * There is a schema mismatch and it is caused by user schema has extra
      * field than bigquery schema.
@@ -322,8 +256,6 @@ public enum StorageErrorCode implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int SCHEMA_MISMATCH_EXTRA_FIELDS_VALUE = 7;
     /**
-     *
-     *
      * 
      * Offset already exists.
      * 
@@ -332,8 +264,6 @@ public enum StorageErrorCode implements com.google.protobuf.ProtocolMessageEnum */ public static final int OFFSET_ALREADY_EXISTS_VALUE = 8; /** - * - * *
      * Offset out of range.
      * 
@@ -342,8 +272,6 @@ public enum StorageErrorCode implements com.google.protobuf.ProtocolMessageEnum */ public static final int OFFSET_OUT_OF_RANGE_VALUE = 9; /** - * - * *
      * Customer-managed encryption key (CMEK) not provided for CMEK-enabled
      * data.
@@ -353,8 +281,6 @@ public enum StorageErrorCode implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int CMEK_NOT_PROVIDED_VALUE = 10;
     /**
-     *
-     *
      * 
      * Customer-managed encryption key (CMEK) was incorrectly provided.
      * 
@@ -363,8 +289,6 @@ public enum StorageErrorCode implements com.google.protobuf.ProtocolMessageEnum */ public static final int INVALID_CMEK_PROVIDED_VALUE = 11; /** - * - * *
      * There is an encryption error while using customer-managed encryption key.
      * 
@@ -373,8 +297,6 @@ public enum StorageErrorCode implements com.google.protobuf.ProtocolMessageEnum */ public static final int CMEK_ENCRYPTION_ERROR_VALUE = 12; /** - * - * *
      * Key Management Service (KMS) service returned an error, which can be
      * retried.
@@ -384,8 +306,6 @@ public enum StorageErrorCode implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int KMS_SERVICE_ERROR_VALUE = 13;
     /**
-     *
-     *
      * 
      * Permission denied while using customer-managed encryption key.
      * 
@@ -394,6 +314,7 @@ public enum StorageErrorCode implements com.google.protobuf.ProtocolMessageEnum */ public static final int KMS_PERMISSION_DENIED_VALUE = 14; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -418,69 +339,52 @@ public static StorageErrorCode valueOf(int value) { */ public static StorageErrorCode forNumber(int value) { switch (value) { - case 0: - return STORAGE_ERROR_CODE_UNSPECIFIED; - case 1: - return TABLE_NOT_FOUND; - case 2: - return STREAM_ALREADY_COMMITTED; - case 3: - return STREAM_NOT_FOUND; - case 4: - return INVALID_STREAM_TYPE; - case 5: - return INVALID_STREAM_STATE; - case 6: - return STREAM_FINALIZED; - case 7: - return SCHEMA_MISMATCH_EXTRA_FIELDS; - case 8: - return OFFSET_ALREADY_EXISTS; - case 9: - return OFFSET_OUT_OF_RANGE; - case 10: - return CMEK_NOT_PROVIDED; - case 11: - return INVALID_CMEK_PROVIDED; - case 12: - return CMEK_ENCRYPTION_ERROR; - case 13: - return KMS_SERVICE_ERROR; - case 14: - return KMS_PERMISSION_DENIED; - default: - return null; + case 0: return STORAGE_ERROR_CODE_UNSPECIFIED; + case 1: return TABLE_NOT_FOUND; + case 2: return STREAM_ALREADY_COMMITTED; + case 3: return STREAM_NOT_FOUND; + case 4: return INVALID_STREAM_TYPE; + case 5: return INVALID_STREAM_STATE; + case 6: return STREAM_FINALIZED; + case 7: return SCHEMA_MISMATCH_EXTRA_FIELDS; + case 8: return OFFSET_ALREADY_EXISTS; + case 9: return OFFSET_OUT_OF_RANGE; + case 10: return CMEK_NOT_PROVIDED; + case 11: return INVALID_CMEK_PROVIDED; + case 12: return CMEK_ENCRYPTION_ERROR; + case 13: return KMS_SERVICE_ERROR; + case 14: return KMS_PERMISSION_DENIED; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap - 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< + 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() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageError.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageError.getDescriptor().getEnumTypes().get(0); } private static final StorageErrorCode[] VALUES = values(); @@ -488,7 +392,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; @@ -508,53 +413,38 @@ private StorageErrorCode(int value) { public static final int CODE_FIELD_NUMBER = 1; private int code_ = 0; /** - * - * *
    * BigQuery Storage specific error code.
    * 
* * .google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode code = 1; - * * @return The enum numeric value on the wire for code. */ - @java.lang.Override - public int getCodeValue() { + @java.lang.Override public int getCodeValue() { return code_; } /** - * - * *
    * BigQuery Storage specific error code.
    * 
* * .google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode code = 1; - * * @return The code. */ - @java.lang.Override - public com.google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode getCode() { - com.google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode result = - com.google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode.forNumber(code_); - return result == null - ? com.google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode getCode() { + com.google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode result = com.google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode.forNumber(code_); + return result == null ? com.google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode.UNRECOGNIZED : result; } public static final int ENTITY_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object entity_ = ""; /** - * - * *
    * Name of the failed entity.
    * 
* * string entity = 2; - * * @return The entity. */ @java.lang.Override @@ -563,29 +453,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 { @@ -594,18 +484,14 @@ public com.google.protobuf.ByteString getEntityBytes() { } public static final int ERROR_MESSAGE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object errorMessage_ = ""; /** - * - * *
    * Message that describes the error.
    * 
* * string error_message = 3; - * * @return The errorMessage. */ @java.lang.Override @@ -614,29 +500,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 { @@ -645,7 +531,6 @@ public com.google.protobuf.ByteString getErrorMessageBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -657,11 +542,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.v1.StorageError.StorageErrorCode - .STORAGE_ERROR_CODE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (code_ != com.google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode.STORAGE_ERROR_CODE_UNSPECIFIED.getNumber()) { output.writeEnum(1, code_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entity_)) { @@ -679,11 +562,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (code_ - != com.google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode - .STORAGE_ERROR_CODE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, code_); + if (code_ != com.google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode.STORAGE_ERROR_CODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, code_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entity_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, entity_); @@ -699,17 +580,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.StorageError)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.StorageError other = - (com.google.cloud.bigquery.storage.v1.StorageError) obj; + com.google.cloud.bigquery.storage.v1.StorageError other = (com.google.cloud.bigquery.storage.v1.StorageError) obj; if (code_ != other.code_) return false; - if (!getEntity().equals(other.getEntity())) return false; - if (!getErrorMessage().equals(other.getErrorMessage())) return false; + if (!getEntity() + .equals(other.getEntity())) return false; + if (!getErrorMessage() + .equals(other.getErrorMessage())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -733,103 +615,98 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1.StorageError parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.StorageError parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.StorageError parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.StorageError parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.StorageError parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.StorageError parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1.StorageError parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.StorageError parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1.StorageError parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.StorageError parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.StorageError parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1.StorageError parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.StorageError parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1.StorageError parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.StorageError prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Structured custom BigQuery Storage error message. The error can be attached
    * as error details in the returned rpc Status. In particular, the use of error
@@ -839,32 +716,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.bigquery.storage.v1.StorageError}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.StorageError)
       com.google.cloud.bigquery.storage.v1.StorageErrorOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.bigquery.storage.v1.StorageProto
-          .internal_static_google_cloud_bigquery_storage_v1_StorageError_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_StorageError_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.storage.v1.StorageProto
-          .internal_static_google_cloud_bigquery_storage_v1_StorageError_fieldAccessorTable
+      return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_StorageError_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.storage.v1.StorageError.class,
-              com.google.cloud.bigquery.storage.v1.StorageError.Builder.class);
+              com.google.cloud.bigquery.storage.v1.StorageError.class, com.google.cloud.bigquery.storage.v1.StorageError.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.storage.v1.StorageError.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -876,9 +754,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.bigquery.storage.v1.StorageProto
-          .internal_static_google_cloud_bigquery_storage_v1_StorageError_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_StorageError_descriptor;
     }
 
     @java.lang.Override
@@ -897,11 +775,8 @@ public com.google.cloud.bigquery.storage.v1.StorageError build() {
 
     @java.lang.Override
     public com.google.cloud.bigquery.storage.v1.StorageError buildPartial() {
-      com.google.cloud.bigquery.storage.v1.StorageError result =
-          new com.google.cloud.bigquery.storage.v1.StorageError(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.bigquery.storage.v1.StorageError result = new com.google.cloud.bigquery.storage.v1.StorageError(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -923,39 +798,38 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.StorageError res
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.storage.v1.StorageError) {
-        return mergeFrom((com.google.cloud.bigquery.storage.v1.StorageError) other);
+        return mergeFrom((com.google.cloud.bigquery.storage.v1.StorageError)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -963,8 +837,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.StorageError other) {
-      if (other == com.google.cloud.bigquery.storage.v1.StorageError.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.bigquery.storage.v1.StorageError.getDefaultInstance()) return this;
       if (other.code_ != 0) {
         setCodeValue(other.getCodeValue());
       }
@@ -1004,31 +877,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                code_ = input.readEnum();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            case 18:
-              {
-                entity_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                errorMessage_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              code_ = input.readEnum();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            case 18: {
+              entity_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              errorMessage_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1038,34 +907,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private int code_ = 0;
     /**
-     *
-     *
      * 
      * BigQuery Storage specific error code.
      * 
* * .google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode code = 1; - * * @return The enum numeric value on the wire for code. */ - @java.lang.Override - public int getCodeValue() { + @java.lang.Override public int getCodeValue() { return code_; } /** - * - * *
      * BigQuery Storage specific error code.
      * 
* * .google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode code = 1; - * * @param value The enum numeric value on the wire for code to set. * @return This builder for chaining. */ @@ -1076,38 +937,28 @@ public Builder setCodeValue(int value) { return this; } /** - * - * *
      * BigQuery Storage specific error code.
      * 
* * .google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode code = 1; - * * @return The code. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode getCode() { - com.google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode result = - com.google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode.forNumber(code_); - return result == null - ? com.google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode.UNRECOGNIZED - : result; + com.google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode result = com.google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode.forNumber(code_); + return result == null ? com.google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode.UNRECOGNIZED : result; } /** - * - * *
      * BigQuery Storage specific error code.
      * 
* * .google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode code = 1; - * * @param value The code to set. * @return This builder for chaining. */ - public Builder setCode( - com.google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode value) { + public Builder setCode(com.google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode value) { if (value == null) { throw new NullPointerException(); } @@ -1117,14 +968,11 @@ public Builder setCode( return this; } /** - * - * *
      * BigQuery Storage specific error code.
      * 
* * .google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode code = 1; - * * @return This builder for chaining. */ public Builder clearCode() { @@ -1136,20 +984,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; @@ -1158,21 +1004,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 { @@ -1180,35 +1025,28 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEntity( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } entity_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Name of the failed entity.
      * 
* * string entity = 2; - * * @return This builder for chaining. */ public Builder clearEntity() { @@ -1218,21 +1056,17 @@ public Builder clearEntity() { return this; } /** - * - * *
      * Name of the failed entity.
      * 
* * string entity = 2; - * * @param value The bytes for entity to set. * @return This builder for chaining. */ - public Builder setEntityBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEntityBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); entity_ = value; bitField0_ |= 0x00000002; @@ -1242,20 +1076,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; @@ -1264,21 +1096,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 { @@ -1286,35 +1117,28 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setErrorMessage( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } errorMessage_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Message that describes the error.
      * 
* * string error_message = 3; - * * @return This builder for chaining. */ public Builder clearErrorMessage() { @@ -1324,30 +1148,26 @@ public Builder clearErrorMessage() { return this; } /** - * - * *
      * Message that describes the error.
      * 
* * string error_message = 3; - * * @param value The bytes for errorMessage to set. * @return This builder for chaining. */ - public Builder setErrorMessageBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setErrorMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); errorMessage_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1357,12 +1177,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.StorageError) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.StorageError) private static final com.google.cloud.bigquery.storage.v1.StorageError DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.StorageError(); } @@ -1371,27 +1191,27 @@ public static com.google.cloud.bigquery.storage.v1.StorageError getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StorageError parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StorageError parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1406,4 +1226,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1.StorageError getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StorageErrorOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StorageErrorOrBuilder.java similarity index 64% rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StorageErrorOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StorageErrorOrBuilder.java index 37c0a789b3..8ab3dc08f2 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StorageErrorOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StorageErrorOrBuilder.java @@ -1,101 +1,69 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 // Protobuf Java Version: 3.25.2 package com.google.cloud.bigquery.storage.v1; -public interface StorageErrorOrBuilder - extends +public interface StorageErrorOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.StorageError) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * BigQuery Storage specific error code.
    * 
* * .google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode code = 1; - * * @return The enum numeric value on the wire for code. */ int getCodeValue(); /** - * - * *
    * BigQuery Storage specific error code.
    * 
* * .google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode code = 1; - * * @return The code. */ com.google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode getCode(); /** - * - * *
    * Name of the failed entity.
    * 
* * string entity = 2; - * * @return The entity. */ java.lang.String getEntity(); /** - * - * *
    * Name of the failed entity.
    * 
* * string entity = 2; - * * @return The bytes for entity. */ - com.google.protobuf.ByteString getEntityBytes(); + com.google.protobuf.ByteString + getEntityBytes(); /** - * - * *
    * Message that describes the error.
    * 
* * string error_message = 3; - * * @return The errorMessage. */ java.lang.String getErrorMessage(); /** - * - * *
    * Message that describes the error.
    * 
* * string error_message = 3; - * * @return The bytes for errorMessage. */ - com.google.protobuf.ByteString getErrorMessageBytes(); + com.google.protobuf.ByteString + getErrorMessageBytes(); } diff --git a/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..7e8f2b6346 --- /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,508 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1/storage.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.bigquery.storage.v1; + +public final class StorageProto { + private StorageProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_CreateReadSessionRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_CreateReadSessionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_ReadRowsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_ReadRowsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_ThrottleState_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_ThrottleState_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_StreamStats_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_StreamStats_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_StreamStats_Progress_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_StreamStats_Progress_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_ReadRowsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_ReadRowsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_CreateWriteStreamRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_CreateWriteStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_ProtoData_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_ProtoData_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_MissingValueInterpretationsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_MissingValueInterpretationsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_AppendResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_AppendResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_GetWriteStreamRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_GetWriteStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_FlushRowsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_FlushRowsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_FlushRowsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_FlushRowsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_StorageError_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_StorageError_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_RowError_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_RowError_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n.google/cloud/bigquery/storage/v1/stora" + + "ge.proto\022 google.cloud.bigquery.storage." + + "v1\032\034google/api/annotations.proto\032\027google" + + "/api/client.proto\032\037google/api/field_beha" + + "vior.proto\032\031google/api/resource.proto\032,g" + + "oogle/cloud/bigquery/storage/v1/arrow.pr" + + "oto\032+google/cloud/bigquery/storage/v1/av" + + "ro.proto\032/google/cloud/bigquery/storage/" + + "v1/protobuf.proto\032-google/cloud/bigquery" + + "/storage/v1/stream.proto\032,google/cloud/b" + + "igquery/storage/v1/table.proto\032\037google/p" + + "rotobuf/timestamp.proto\032\036google/protobuf" + + "/wrappers.proto\032\027google/rpc/status.proto" + + "\"\347\001\n\030CreateReadSessionRequest\022C\n\006parent\030" + + "\001 \001(\tB3\340A\002\372A-\n+cloudresourcemanager.goog" + + "leapis.com/Project\022H\n\014read_session\030\002 \001(\013" + + "2-.google.cloud.bigquery.storage.v1.Read" + + "SessionB\003\340A\002\022\030\n\020max_stream_count\030\003 \001(\005\022\"" + + "\n\032preferred_min_stream_count\030\004 \001(\005\"i\n\017Re" + + "adRowsRequest\022F\n\013read_stream\030\001 \001(\tB1\340A\002\372" + + "A+\n)bigquerystorage.googleapis.com/ReadS" + + "tream\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.bigque" + + "ry.storage.v1.StreamStats.Progress\032>\n\010Pr" + + "ogress\022\031\n\021at_response_start\030\001 \001(\001\022\027\n\017at_" + + "response_end\030\002 \001(\001\"\254\004\n\020ReadRowsResponse\022" + + "?\n\tavro_rows\030\003 \001(\0132*.google.cloud.bigque" + + "ry.storage.v1.AvroRowsH\000\022P\n\022arrow_record" + + "_batch\030\004 \001(\01322.google.cloud.bigquery.sto" + + "rage.v1.ArrowRecordBatchH\000\022\021\n\trow_count\030" + + "\006 \001(\003\022<\n\005stats\030\002 \001(\0132-.google.cloud.bigq" + + "uery.storage.v1.StreamStats\022G\n\016throttle_" + + "state\030\005 \001(\0132/.google.cloud.bigquery.stor" + + "age.v1.ThrottleState\022H\n\013avro_schema\030\007 \001(" + + "\0132,.google.cloud.bigquery.storage.v1.Avr" + + "oSchemaB\003\340A\003H\001\022J\n\014arrow_schema\030\010 \001(\0132-.g" + + "oogle.cloud.bigquery.storage.v1.ArrowSch" + + "emaB\003\340A\003H\001\022(\n\026uncompressed_byte_size\030\t \001" + + "(\003B\003\340A\001H\002\210\001\001B\006\n\004rowsB\010\n\006schemaB\031\n\027_uncom" + + "pressed_byte_size\"k\n\026SplitReadStreamRequ" + + "est\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n)bigquerystora" + + "ge.googleapis.com/ReadStream\022\020\n\010fraction" + + "\030\002 \001(\001\"\247\001\n\027SplitReadStreamResponse\022D\n\016pr" + + "imary_stream\030\001 \001(\0132,.google.cloud.bigque" + + "ry.storage.v1.ReadStream\022F\n\020remainder_st" + + "ream\030\002 \001(\0132,.google.cloud.bigquery.stora" + + "ge.v1.ReadStream\"\233\001\n\030CreateWriteStreamRe" + + "quest\0225\n\006parent\030\001 \001(\tB%\340A\002\372A\037\n\035bigquery." + + "googleapis.com/Table\022H\n\014write_stream\030\002 \001" + + "(\0132-.google.cloud.bigquery.storage.v1.Wr" + + "iteStreamB\003\340A\002\"\215\007\n\021AppendRowsRequest\022H\n\014" + + "write_stream\030\001 \001(\tB2\340A\002\372A,\n*bigquerystor" + + "age.googleapis.com/WriteStream\022+\n\006offset" + + "\030\002 \001(\0132\033.google.protobuf.Int64Value\022S\n\np" + + "roto_rows\030\004 \001(\0132=.google.cloud.bigquery." + + "storage.v1.AppendRowsRequest.ProtoDataH\000" + + "\022\020\n\010trace_id\030\006 \001(\t\022{\n\035missing_value_inte" + + "rpretations\030\007 \003(\0132T.google.cloud.bigquer" + + "y.storage.v1.AppendRowsRequest.MissingVa" + + "lueInterpretationsEntry\022\201\001\n$default_miss" + + "ing_value_interpretation\030\010 \001(\0162N.google." + + "cloud.bigquery.storage.v1.AppendRowsRequ" + + "est.MissingValueInterpretationB\003\340A\001\032\214\001\n\t" + + "ProtoData\022D\n\rwriter_schema\030\001 \001(\0132-.googl" + + "e.cloud.bigquery.storage.v1.ProtoSchema\022" + + "9\n\004rows\030\002 \001(\0132+.google.cloud.bigquery.st" + + "orage.v1.ProtoRows\032\222\001\n MissingValueInter" + + "pretationsEntry\022\013\n\003key\030\001 \001(\t\022]\n\005value\030\002 " + + "\001(\0162N.google.cloud.bigquery.storage.v1.A" + + "ppendRowsRequest.MissingValueInterpretat" + + "ion:\0028\001\"m\n\032MissingValueInterpretation\022,\n" + + "(MISSING_VALUE_INTERPRETATION_UNSPECIFIE" + + "D\020\000\022\016\n\nNULL_VALUE\020\001\022\021\n\rDEFAULT_VALUE\020\002B\006" + + "\n\004rows\"\373\002\n\022AppendRowsResponse\022Z\n\rappend_" + + "result\030\001 \001(\0132A.google.cloud.bigquery.sto" + + "rage.v1.AppendRowsResponse.AppendResultH" + + "\000\022#\n\005error\030\002 \001(\0132\022.google.rpc.StatusH\000\022E" + + "\n\016updated_schema\030\003 \001(\0132-.google.cloud.bi" + + "gquery.storage.v1.TableSchema\022>\n\nrow_err" + + "ors\030\004 \003(\0132*.google.cloud.bigquery.storag" + + "e.v1.RowError\022\024\n\014write_stream\030\005 \001(\t\032;\n\014A" + + "ppendResult\022+\n\006offset\030\001 \001(\0132\033.google.pro" + + "tobuf.Int64ValueB\n\n\010response\"\232\001\n\025GetWrit" + + "eStreamRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*bi" + + "gquerystorage.googleapis.com/WriteStream" + + "\022?\n\004view\030\003 \001(\01621.google.cloud.bigquery.s" + + "torage.v1.WriteStreamView\"s\n\036BatchCommit" + + "WriteStreamsRequest\0225\n\006parent\030\001 \001(\tB%\340A\002" + + "\372A\037\n\035bigquery.googleapis.com/Table\022\032\n\rwr" + + "ite_streams\030\002 \003(\tB\003\340A\002\"\231\001\n\037BatchCommitWr" + + "iteStreamsResponse\022/\n\013commit_time\030\001 \001(\0132" + + "\032.google.protobuf.Timestamp\022E\n\rstream_er" + + "rors\030\002 \003(\0132..google.cloud.bigquery.stora" + + "ge.v1.StorageError\"^\n\032FinalizeWriteStrea" + + "mRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*bigquery" + + "storage.googleapis.com/WriteStream\"0\n\033Fi" + + "nalizeWriteStreamResponse\022\021\n\trow_count\030\001" + + " \001(\003\"\211\001\n\020FlushRowsRequest\022H\n\014write_strea" + + "m\030\001 \001(\tB2\340A\002\372A,\n*bigquerystorage.googlea" + + "pis.com/WriteStream\022+\n\006offset\030\002 \001(\0132\033.go" + + "ogle.protobuf.Int64Value\"#\n\021FlushRowsRes" + + "ponse\022\016\n\006offset\030\001 \001(\003\"\244\004\n\014StorageError\022M" + + "\n\004code\030\001 \001(\0162?.google.cloud.bigquery.sto" + + "rage.v1.StorageError.StorageErrorCode\022\016\n" + + "\006entity\030\002 \001(\t\022\025\n\rerror_message\030\003 \001(\t\"\235\003\n" + + "\020StorageErrorCode\022\"\n\036STORAGE_ERROR_CODE_" + + "UNSPECIFIED\020\000\022\023\n\017TABLE_NOT_FOUND\020\001\022\034\n\030ST" + + "REAM_ALREADY_COMMITTED\020\002\022\024\n\020STREAM_NOT_F" + + "OUND\020\003\022\027\n\023INVALID_STREAM_TYPE\020\004\022\030\n\024INVAL" + + "ID_STREAM_STATE\020\005\022\024\n\020STREAM_FINALIZED\020\006\022" + + " \n\034SCHEMA_MISMATCH_EXTRA_FIELDS\020\007\022\031\n\025OFF" + + "SET_ALREADY_EXISTS\020\010\022\027\n\023OFFSET_OUT_OF_RA" + + "NGE\020\t\022\025\n\021CMEK_NOT_PROVIDED\020\n\022\031\n\025INVALID_" + + "CMEK_PROVIDED\020\013\022\031\n\025CMEK_ENCRYPTION_ERROR" + + "\020\014\022\025\n\021KMS_SERVICE_ERROR\020\r\022\031\n\025KMS_PERMISS" + + "ION_DENIED\020\016\"\263\001\n\010RowError\022\r\n\005index\030\001 \001(\003" + + "\022E\n\004code\030\002 \001(\01627.google.cloud.bigquery.s" + + "torage.v1.RowError.RowErrorCode\022\017\n\007messa" + + "ge\030\003 \001(\t\"@\n\014RowErrorCode\022\036\n\032ROW_ERROR_CO" + + "DE_UNSPECIFIED\020\000\022\020\n\014FIELDS_ERROR\020\0012\222\006\n\014B" + + "igQueryRead\022\351\001\n\021CreateReadSession\022:.goog" + + "le.cloud.bigquery.storage.v1.CreateReadS" + + "essionRequest\032-.google.cloud.bigquery.st" + + "orage.v1.ReadSession\"i\332A$parent,read_ses" + + "sion,max_stream_count\202\323\344\223\002<\"7/v1/{read_s" + + "ession.table=projects/*/datasets/*/table" + + "s/*}:\001*\022\317\001\n\010ReadRows\0221.google.cloud.bigq" + + "uery.storage.v1.ReadRowsRequest\0322.google" + + ".cloud.bigquery.storage.v1.ReadRowsRespo" + + "nse\"Z\332A\022read_stream,offset\202\323\344\223\002?\022=/v1/{r" + + "ead_stream=projects/*/locations/*/sessio" + + "ns/*/streams/*}0\001\022\306\001\n\017SplitReadStream\0228." + + "google.cloud.bigquery.storage.v1.SplitRe" + + "adStreamRequest\0329.google.cloud.bigquery." + + "storage.v1.SplitReadStreamResponse\">\202\323\344\223" + + "\0028\0226/v1/{name=projects/*/locations/*/ses" + + "sions/*/streams/*}\032{\312A\036bigquerystorage.g" + + "oogleapis.com\322AWhttps://www.googleapis.c" + + "om/auth/bigquery,https://www.googleapis." + + "com/auth/cloud-platform2\274\013\n\rBigQueryWrit" + + "e\022\327\001\n\021CreateWriteStream\022:.google.cloud.b" + + "igquery.storage.v1.CreateWriteStreamRequ" + + "est\032-.google.cloud.bigquery.storage.v1.W" + + "riteStream\"W\332A\023parent,write_stream\202\323\344\223\002;" + + "\"+/v1/{parent=projects/*/datasets/*/tabl" + + "es/*}:\014write_stream\022\322\001\n\nAppendRows\0223.goo" + + "gle.cloud.bigquery.storage.v1.AppendRows" + + "Request\0324.google.cloud.bigquery.storage." + + "v1.AppendRowsResponse\"U\332A\014write_stream\202\323" + + "\344\223\002@\";/v1/{write_stream=projects/*/datas" + + "ets/*/tables/*/streams/*}:\001*(\0010\001\022\277\001\n\016Get" + + "WriteStream\0227.google.cloud.bigquery.stor" + + "age.v1.GetWriteStreamRequest\032-.google.cl" + + "oud.bigquery.storage.v1.WriteStream\"E\332A\004" + + "name\202\323\344\223\0028\"3/v1/{name=projects/*/dataset" + + "s/*/tables/*/streams/*}:\001*\022\331\001\n\023FinalizeW" + + "riteStream\022<.google.cloud.bigquery.stora" + + "ge.v1.FinalizeWriteStreamRequest\032=.googl" + + "e.cloud.bigquery.storage.v1.FinalizeWrit" + + "eStreamResponse\"E\332A\004name\202\323\344\223\0028\"3/v1/{nam" + + "e=projects/*/datasets/*/tables/*/streams" + + "/*}:\001*\022\334\001\n\027BatchCommitWriteStreams\022@.goo" + + "gle.cloud.bigquery.storage.v1.BatchCommi" + + "tWriteStreamsRequest\032A.google.cloud.bigq" + + "uery.storage.v1.BatchCommitWriteStreamsR" + + "esponse\"<\332A\006parent\202\323\344\223\002-\022+/v1/{parent=pr" + + "ojects/*/datasets/*/tables/*}\022\313\001\n\tFlushR" + + "ows\0222.google.cloud.bigquery.storage.v1.F" + + "lushRowsRequest\0323.google.cloud.bigquery." + + "storage.v1.FlushRowsResponse\"U\332A\014write_s" + + "tream\202\323\344\223\002@\";/v1/{write_stream=projects/" + + "*/datasets/*/tables/*/streams/*}:\001*\032\260\001\312A" + + "\036bigquerystorage.googleapis.com\322A\213\001https" + + "://www.googleapis.com/auth/bigquery,http" + + "s://www.googleapis.com/auth/bigquery.ins" + + "ertdata,https://www.googleapis.com/auth/" + + "cloud-platformB\224\002\n$com.google.cloud.bigq" + + "uery.storage.v1B\014StorageProtoP\001Z>cloud.g" + + "oogle.com/go/bigquery/storage/apiv1/stor" + + "agepb;storagepb\252\002 Google.Cloud.BigQuery." + + "Storage.V1\312\002 Google\\Cloud\\BigQuery\\Stora" + + "ge\\V1\352AU\n\035bigquery.googleapis.com/Table\022" + + "4projects/{project}/datasets/{dataset}/t" + + "ables/{table}b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.bigquery.storage.v1.ArrowProto.getDescriptor(), + com.google.cloud.bigquery.storage.v1.AvroProto.getDescriptor(), + com.google.cloud.bigquery.storage.v1.ProtoBufProto.getDescriptor(), + com.google.cloud.bigquery.storage.v1.StreamProto.getDescriptor(), + com.google.cloud.bigquery.storage.v1.TableProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.protobuf.WrappersProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_cloud_bigquery_storage_v1_CreateReadSessionRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_storage_v1_CreateReadSessionRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_CreateReadSessionRequest_descriptor, + new java.lang.String[] { "Parent", "ReadSession", "MaxStreamCount", "PreferredMinStreamCount", }); + internal_static_google_cloud_bigquery_storage_v1_ReadRowsRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_storage_v1_ReadRowsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_ReadRowsRequest_descriptor, + new java.lang.String[] { "ReadStream", "Offset", }); + internal_static_google_cloud_bigquery_storage_v1_ThrottleState_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_bigquery_storage_v1_ThrottleState_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_ThrottleState_descriptor, + new java.lang.String[] { "ThrottlePercent", }); + internal_static_google_cloud_bigquery_storage_v1_StreamStats_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_bigquery_storage_v1_StreamStats_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_StreamStats_descriptor, + new java.lang.String[] { "Progress", }); + internal_static_google_cloud_bigquery_storage_v1_StreamStats_Progress_descriptor = + internal_static_google_cloud_bigquery_storage_v1_StreamStats_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_bigquery_storage_v1_StreamStats_Progress_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_StreamStats_Progress_descriptor, + new java.lang.String[] { "AtResponseStart", "AtResponseEnd", }); + internal_static_google_cloud_bigquery_storage_v1_ReadRowsResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_bigquery_storage_v1_ReadRowsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_ReadRowsResponse_descriptor, + new java.lang.String[] { "AvroRows", "ArrowRecordBatch", "RowCount", "Stats", "ThrottleState", "AvroSchema", "ArrowSchema", "UncompressedByteSize", "Rows", "Schema", }); + internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamRequest_descriptor, + new java.lang.String[] { "Name", "Fraction", }); + internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamResponse_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamResponse_descriptor, + new java.lang.String[] { "PrimaryStream", "RemainderStream", }); + internal_static_google_cloud_bigquery_storage_v1_CreateWriteStreamRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_bigquery_storage_v1_CreateWriteStreamRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_CreateWriteStreamRequest_descriptor, + new java.lang.String[] { "Parent", "WriteStream", }); + internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_descriptor, + new java.lang.String[] { "WriteStream", "Offset", "ProtoRows", "TraceId", "MissingValueInterpretations", "DefaultMissingValueInterpretation", "Rows", }); + internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_ProtoData_descriptor = + internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_ProtoData_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_ProtoData_descriptor, + new java.lang.String[] { "WriterSchema", "Rows", }); + internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_MissingValueInterpretationsEntry_descriptor = + internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_MissingValueInterpretationsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_MissingValueInterpretationsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_descriptor, + new java.lang.String[] { "AppendResult", "Error", "UpdatedSchema", "RowErrors", "WriteStream", "Response", }); + internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_AppendResult_descriptor = + internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_AppendResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_AppendResult_descriptor, + new java.lang.String[] { "Offset", }); + internal_static_google_cloud_bigquery_storage_v1_GetWriteStreamRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_bigquery_storage_v1_GetWriteStreamRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_GetWriteStreamRequest_descriptor, + new java.lang.String[] { "Name", "View", }); + internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsRequest_descriptor, + new java.lang.String[] { "Parent", "WriteStreams", }); + internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsResponse_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsResponse_descriptor, + new java.lang.String[] { "CommitTime", "StreamErrors", }); + internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamResponse_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamResponse_descriptor, + new java.lang.String[] { "RowCount", }); + internal_static_google_cloud_bigquery_storage_v1_FlushRowsRequest_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_bigquery_storage_v1_FlushRowsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_FlushRowsRequest_descriptor, + new java.lang.String[] { "WriteStream", "Offset", }); + internal_static_google_cloud_bigquery_storage_v1_FlushRowsResponse_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_bigquery_storage_v1_FlushRowsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_FlushRowsResponse_descriptor, + new java.lang.String[] { "Offset", }); + internal_static_google_cloud_bigquery_storage_v1_StorageError_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_bigquery_storage_v1_StorageError_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_StorageError_descriptor, + new java.lang.String[] { "Code", "Entity", "ErrorMessage", }); + internal_static_google_cloud_bigquery_storage_v1_RowError_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_bigquery_storage_v1_RowError_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_RowError_descriptor, + new java.lang.String[] { "Index", "Code", "Message", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceDefinition); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.bigquery.storage.v1.ArrowProto.getDescriptor(); + com.google.cloud.bigquery.storage.v1.AvroProto.getDescriptor(); + com.google.cloud.bigquery.storage.v1.ProtoBufProto.getDescriptor(); + com.google.cloud.bigquery.storage.v1.StreamProto.getDescriptor(); + com.google.cloud.bigquery.storage.v1.TableProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.protobuf.WrappersProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StreamProto.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StreamProto.java new file mode 100644 index 0000000000..c70558ace5 --- /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,186 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1/stream.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.bigquery.storage.v1; + +public final class StreamProto { + private StreamProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_ReadSession_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_ReadSession_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableModifiers_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableModifiers_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableReadOptions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableReadOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_ReadStream_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_ReadStream_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_WriteStream_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_WriteStream_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n-google/cloud/bigquery/storage/v1/strea" + + "m.proto\022 google.cloud.bigquery.storage.v" + + "1\032\037google/api/field_behavior.proto\032\031goog" + + "le/api/resource.proto\032,google/cloud/bigq" + + "uery/storage/v1/arrow.proto\032+google/clou" + + "d/bigquery/storage/v1/avro.proto\032,google" + + "/cloud/bigquery/storage/v1/table.proto\032\037" + + "google/protobuf/timestamp.proto\"\303\014\n\013Read" + + "Session\022\021\n\004name\030\001 \001(\tB\003\340A\003\0224\n\013expire_tim" + + "e\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\003" + + "\022F\n\013data_format\030\003 \001(\0162,.google.cloud.big" + + "query.storage.v1.DataFormatB\003\340A\005\022H\n\013avro" + + "_schema\030\004 \001(\0132,.google.cloud.bigquery.st" + + "orage.v1.AvroSchemaB\003\340A\003H\000\022J\n\014arrow_sche" + + "ma\030\005 \001(\0132-.google.cloud.bigquery.storage" + + ".v1.ArrowSchemaB\003\340A\003H\000\0224\n\005table\030\006 \001(\tB%\340" + + "A\005\372A\037\n\035bigquery.googleapis.com/Table\022Z\n\017" + + "table_modifiers\030\007 \001(\0132<.google.cloud.big" + + "query.storage.v1.ReadSession.TableModifi" + + "ersB\003\340A\001\022Y\n\014read_options\030\010 \001(\0132>.google." + + "cloud.bigquery.storage.v1.ReadSession.Ta" + + "bleReadOptionsB\003\340A\001\022B\n\007streams\030\n \003(\0132,.g" + + "oogle.cloud.bigquery.storage.v1.ReadStre" + + "amB\003\340A\003\022*\n\035estimated_total_bytes_scanned" + + "\030\014 \001(\003B\003\340A\003\022/\n\"estimated_total_physical_" + + "file_size\030\017 \001(\003B\003\340A\003\022 \n\023estimated_row_co" + + "unt\030\016 \001(\003B\003\340A\003\022\025\n\010trace_id\030\r \001(\tB\003\340A\001\032C\n" + + "\016TableModifiers\0221\n\rsnapshot_time\030\001 \001(\0132\032" + + ".google.protobuf.Timestamp\032\211\005\n\020TableRead" + + "Options\022\027\n\017selected_fields\030\001 \003(\t\022\027\n\017row_" + + "restriction\030\002 \001(\t\022g\n\033arrow_serialization" + + "_options\030\003 \001(\0132;.google.cloud.bigquery.s" + + "torage.v1.ArrowSerializationOptionsB\003\340A\001" + + "H\000\022e\n\032avro_serialization_options\030\004 \001(\0132:" + + ".google.cloud.bigquery.storage.v1.AvroSe" + + "rializationOptionsB\003\340A\001H\000\022#\n\021sample_perc" + + "entage\030\005 \001(\001B\003\340A\001H\001\210\001\001\022\205\001\n\032response_comp" + + "ression_codec\030\006 \001(\0162W.google.cloud.bigqu" + + "ery.storage.v1.ReadSession.TableReadOpti" + + "ons.ResponseCompressionCodecB\003\340A\001H\002\210\001\001\"j" + + "\n\030ResponseCompressionCodec\022*\n&RESPONSE_C" + + "OMPRESSION_CODEC_UNSPECIFIED\020\000\022\"\n\036RESPON" + + "SE_COMPRESSION_CODEC_LZ4\020\002B%\n#output_for" + + "mat_serialization_optionsB\024\n\022_sample_per" + + "centageB\035\n\033_response_compression_codec:k" + + "\352Ah\n*bigquerystorage.googleapis.com/Read" + + "Session\022:projects/{project}/locations/{l" + + "ocation}/sessions/{session}B\010\n\006schema\"\234\001" + + "\n\nReadStream\022\021\n\004name\030\001 \001(\tB\003\340A\003:{\352Ax\n)bi" + + "gquerystorage.googleapis.com/ReadStream\022" + + "Kprojects/{project}/locations/{location}" + + "/sessions/{session}/streams/{stream}\"\373\004\n" + + "\013WriteStream\022\021\n\004name\030\001 \001(\tB\003\340A\003\022E\n\004type\030" + + "\002 \001(\01622.google.cloud.bigquery.storage.v1" + + ".WriteStream.TypeB\003\340A\005\0224\n\013create_time\030\003 " + + "\001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013" + + "commit_time\030\004 \001(\0132\032.google.protobuf.Time" + + "stampB\003\340A\003\022H\n\014table_schema\030\005 \001(\0132-.googl" + + "e.cloud.bigquery.storage.v1.TableSchemaB" + + "\003\340A\003\022P\n\nwrite_mode\030\007 \001(\01627.google.cloud." + + "bigquery.storage.v1.WriteStream.WriteMod" + + "eB\003\340A\005\022\025\n\010location\030\010 \001(\tB\003\340A\005\"F\n\004Type\022\024\n" + + "\020TYPE_UNSPECIFIED\020\000\022\r\n\tCOMMITTED\020\001\022\013\n\007PE" + + "NDING\020\002\022\014\n\010BUFFERED\020\003\"3\n\tWriteMode\022\032\n\026WR" + + "ITE_MODE_UNSPECIFIED\020\000\022\n\n\006INSERT\020\001:v\352As\n" + + "*bigquerystorage.googleapis.com/WriteStr" + + "eam\022Eprojects/{project}/datasets/{datase" + + "t}/tables/{table}/streams/{stream}*>\n\nDa" + + "taFormat\022\033\n\027DATA_FORMAT_UNSPECIFIED\020\000\022\010\n" + + "\004AVRO\020\001\022\t\n\005ARROW\020\002*I\n\017WriteStreamView\022!\n" + + "\035WRITE_STREAM_VIEW_UNSPECIFIED\020\000\022\t\n\005BASI" + + "C\020\001\022\010\n\004FULL\020\002B\273\001\n$com.google.cloud.bigqu" + + "ery.storage.v1B\013StreamProtoP\001Z>cloud.goo" + + "gle.com/go/bigquery/storage/apiv1/storag" + + "epb;storagepb\252\002 Google.Cloud.BigQuery.St" + + "orage.V1\312\002 Google\\Cloud\\BigQuery\\Storage" + + "\\V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.bigquery.storage.v1.ArrowProto.getDescriptor(), + com.google.cloud.bigquery.storage.v1.AvroProto.getDescriptor(), + com.google.cloud.bigquery.storage.v1.TableProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_bigquery_storage_v1_ReadSession_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_storage_v1_ReadSession_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_ReadSession_descriptor, + new java.lang.String[] { "Name", "ExpireTime", "DataFormat", "AvroSchema", "ArrowSchema", "Table", "TableModifiers", "ReadOptions", "Streams", "EstimatedTotalBytesScanned", "EstimatedTotalPhysicalFileSize", "EstimatedRowCount", "TraceId", "Schema", }); + internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableModifiers_descriptor = + internal_static_google_cloud_bigquery_storage_v1_ReadSession_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableModifiers_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableModifiers_descriptor, + new java.lang.String[] { "SnapshotTime", }); + internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableReadOptions_descriptor = + internal_static_google_cloud_bigquery_storage_v1_ReadSession_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableReadOptions_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableReadOptions_descriptor, + new java.lang.String[] { "SelectedFields", "RowRestriction", "ArrowSerializationOptions", "AvroSerializationOptions", "SamplePercentage", "ResponseCompressionCodec", "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", }); + internal_static_google_cloud_bigquery_storage_v1_WriteStream_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_bigquery_storage_v1_WriteStream_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_WriteStream_descriptor, + new java.lang.String[] { "Name", "Type", "CreateTime", "CommitTime", "TableSchema", "WriteMode", "Location", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.bigquery.storage.v1.ArrowProto.getDescriptor(); + com.google.cloud.bigquery.storage.v1.AvroProto.getDescriptor(); + com.google.cloud.bigquery.storage.v1.TableProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/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 70% 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 10dc8fe721..2c0bbc701a 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,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 @@ -20,55 +5,49 @@ package com.google.cloud.bigquery.storage.v1; /** - * - * *
  * Estimated stream statistics for a given read Stream.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.StreamStats} */ -public final class StreamStats extends com.google.protobuf.GeneratedMessageV3 - implements +public final class StreamStats extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.StreamStats) StreamStatsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use StreamStats.newBuilder() to construct. private StreamStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private StreamStats() {} + private StreamStats() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StreamStats(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_StreamStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_StreamStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_StreamStats_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_StreamStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.StreamStats.class, - com.google.cloud.bigquery.storage.v1.StreamStats.Builder.class); + com.google.cloud.bigquery.storage.v1.StreamStats.class, com.google.cloud.bigquery.storage.v1.StreamStats.Builder.class); } - public interface ProgressOrBuilder - extends + public interface ProgressOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.StreamStats.Progress) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The fraction of rows assigned to the stream that have been processed by
      * the server so far, not including the rows in the current response
@@ -85,64 +64,59 @@ 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(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_StreamStats_Progress_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_StreamStats_Progress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_StreamStats_Progress_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_StreamStats_Progress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.StreamStats.Progress.class, - com.google.cloud.bigquery.storage.v1.StreamStats.Progress.Builder.class); + com.google.cloud.bigquery.storage.v1.StreamStats.Progress.class, com.google.cloud.bigquery.storage.v1.StreamStats.Progress.Builder.class); } public static final int AT_RESPONSE_START_FIELD_NUMBER = 1; private double atResponseStart_ = 0D; /** - * - * *
      * The fraction of rows assigned to the stream that have been processed by
      * the server so far, not including the rows in the current response
@@ -159,7 +133,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * double at_response_start = 1; - * * @return The atResponseStart. */ @java.lang.Override @@ -170,15 +143,12 @@ public double getAtResponseStart() { public static final int AT_RESPONSE_END_FIELD_NUMBER = 2; private double atResponseEnd_ = 0D; /** - * - * *
      * Similar to `at_response_start`, except that this value includes the
      * rows in the current response.
      * 
* * double at_response_end = 2; - * * @return The atResponseEnd. */ @java.lang.Override @@ -187,7 +157,6 @@ public double getAtResponseEnd() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -199,7 +168,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 (java.lang.Double.doubleToRawLongBits(atResponseStart_) != 0) { output.writeDouble(1, atResponseStart_); } @@ -216,10 +186,12 @@ public int getSerializedSize() { size = 0; if (java.lang.Double.doubleToRawLongBits(atResponseStart_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, atResponseStart_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(1, atResponseStart_); } if (java.lang.Double.doubleToRawLongBits(atResponseEnd_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, atResponseEnd_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(2, atResponseEnd_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -229,18 +201,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -253,109 +226,100 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + AT_RESPONSE_START_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getAtResponseStart())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getAtResponseStart())); hash = (37 * hash) + AT_RESPONSE_END_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getAtResponseEnd())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getAtResponseEnd())); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.bigquery.storage.v1.StreamStats.Progress parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.StreamStats.Progress parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.StreamStats.Progress parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.StreamStats.Progress parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.StreamStats.Progress parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.StreamStats.Progress parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1.StreamStats.Progress parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.StreamStats.Progress parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1.StreamStats.Progress parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.StreamStats.Progress parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.StreamStats.Progress parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1.StreamStats.Progress parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.StreamStats.Progress parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1.StreamStats.Progress parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.storage.v1.StreamStats.Progress prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.StreamStats.Progress prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -364,34 +328,36 @@ protected Builder newBuilderForType( Builder builder = new Builder(parent); return builder; } - /** Protobuf type {@code google.cloud.bigquery.storage.v1.StreamStats.Progress} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + /** + * Protobuf type {@code google.cloud.bigquery.storage.v1.StreamStats.Progress} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.StreamStats.Progress) com.google.cloud.bigquery.storage.v1.StreamStats.ProgressOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_StreamStats_Progress_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_StreamStats_Progress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_StreamStats_Progress_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_StreamStats_Progress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.StreamStats.Progress.class, - com.google.cloud.bigquery.storage.v1.StreamStats.Progress.Builder.class); + com.google.cloud.bigquery.storage.v1.StreamStats.Progress.class, com.google.cloud.bigquery.storage.v1.StreamStats.Progress.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1.StreamStats.Progress.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -402,9 +368,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 @@ -423,11 +389,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1.StreamStats.Progress result = new com.google.cloud.bigquery.storage.v1.StreamStats.Progress(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -446,41 +409,38 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.StreamStats.Prog public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.StreamStats.Progress) { - return mergeFrom((com.google.cloud.bigquery.storage.v1.StreamStats.Progress) other); + return mergeFrom((com.google.cloud.bigquery.storage.v1.StreamStats.Progress)other); } else { super.mergeFrom(other); return this; @@ -488,8 +448,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()); } @@ -522,25 +481,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 9: - { - atResponseStart_ = input.readDouble(); - bitField0_ |= 0x00000001; - break; - } // case 9 - case 17: - { - atResponseEnd_ = input.readDouble(); - bitField0_ |= 0x00000002; - break; - } // case 17 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 9: { + atResponseStart_ = input.readDouble(); + bitField0_ |= 0x00000001; + break; + } // case 9 + case 17: { + atResponseEnd_ = input.readDouble(); + bitField0_ |= 0x00000002; + break; + } // case 17 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -550,13 +506,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private double atResponseStart_; + private double atResponseStart_ ; /** - * - * *
        * The fraction of rows assigned to the stream that have been processed by
        * the server so far, not including the rows in the current response
@@ -573,7 +526,6 @@ public Builder mergeFrom(
        * 
* * double at_response_start = 1; - * * @return The atResponseStart. */ @java.lang.Override @@ -581,8 +533,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
@@ -599,7 +549,6 @@ public double getAtResponseStart() {
        * 
* * double at_response_start = 1; - * * @param value The atResponseStart to set. * @return This builder for chaining. */ @@ -611,8 +560,6 @@ public Builder setAtResponseStart(double value) { return this; } /** - * - * *
        * The fraction of rows assigned to the stream that have been processed by
        * the server so far, not including the rows in the current response
@@ -629,7 +576,6 @@ public Builder setAtResponseStart(double value) {
        * 
* * double at_response_start = 1; - * * @return This builder for chaining. */ public Builder clearAtResponseStart() { @@ -639,17 +585,14 @@ public Builder clearAtResponseStart() { return this; } - private double atResponseEnd_; + private double atResponseEnd_ ; /** - * - * *
        * Similar to `at_response_start`, except that this value includes the
        * rows in the current response.
        * 
* * double at_response_end = 2; - * * @return The atResponseEnd. */ @java.lang.Override @@ -657,15 +600,12 @@ 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. */ @@ -677,15 +617,12 @@ public Builder setAtResponseEnd(double value) { return this; } /** - * - * *
        * Similar to `at_response_start`, except that this value includes the
        * rows in the current response.
        * 
* * double at_response_end = 2; - * * @return This builder for chaining. */ public Builder clearAtResponseEnd() { @@ -694,7 +631,6 @@ public Builder clearAtResponseEnd() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -707,12 +643,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(); } @@ -721,28 +657,27 @@ public static com.google.cloud.bigquery.storage.v1.StreamStats.Progress getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Progress parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Progress parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -757,20 +692,18 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1.StreamStats.Progress getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int bitField0_; 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 @@ -778,25 +711,18 @@ public boolean hasProgress() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Represents the progress of the current stream.
    * 
* * .google.cloud.bigquery.storage.v1.StreamStats.Progress progress = 2; - * * @return The progress. */ @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.
    * 
@@ -805,13 +731,10 @@ public com.google.cloud.bigquery.storage.v1.StreamStats.Progress getProgress() { */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.StreamStats.ProgressOrBuilder getProgressOrBuilder() { - return progress_ == null - ? com.google.cloud.bigquery.storage.v1.StreamStats.Progress.getDefaultInstance() - : progress_; + return progress_ == null ? com.google.cloud.bigquery.storage.v1.StreamStats.Progress.getDefaultInstance() : progress_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -823,7 +746,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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getProgress()); } @@ -837,7 +761,8 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getProgress()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getProgress()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -847,17 +772,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1.StreamStats)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.StreamStats other = - (com.google.cloud.bigquery.storage.v1.StreamStats) obj; + com.google.cloud.bigquery.storage.v1.StreamStats other = (com.google.cloud.bigquery.storage.v1.StreamStats) obj; if (hasProgress() != other.hasProgress()) return false; if (hasProgress()) { - if (!getProgress().equals(other.getProgress())) return false; + if (!getProgress() + .equals(other.getProgress())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -879,127 +804,120 @@ public int hashCode() { return hash; } - public static com.google.cloud.bigquery.storage.v1.StreamStats parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.bigquery.storage.v1.StreamStats parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.StreamStats parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.StreamStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.StreamStats parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.StreamStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.StreamStats parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1.StreamStats parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.StreamStats parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1.StreamStats parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.StreamStats parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.StreamStats parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1.StreamStats parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.StreamStats parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1.StreamStats parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.StreamStats prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Estimated stream statistics for a given read Stream.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.StreamStats} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.StreamStats) com.google.cloud.bigquery.storage.v1.StreamStatsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_StreamStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_StreamStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_StreamStats_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_StreamStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.StreamStats.class, - com.google.cloud.bigquery.storage.v1.StreamStats.Builder.class); + com.google.cloud.bigquery.storage.v1.StreamStats.class, com.google.cloud.bigquery.storage.v1.StreamStats.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1.StreamStats.newBuilder() @@ -1007,17 +925,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) { getProgressFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1031,9 +949,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 @@ -1052,11 +970,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1.StreamStats result = new com.google.cloud.bigquery.storage.v1.StreamStats(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1065,7 +980,9 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.StreamStats resu int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.progress_ = progressBuilder_ == null ? progress_ : progressBuilder_.build(); + result.progress_ = progressBuilder_ == null + ? progress_ + : progressBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -1075,39 +992,38 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.StreamStats resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.StreamStats) { - return mergeFrom((com.google.cloud.bigquery.storage.v1.StreamStats) other); + return mergeFrom((com.google.cloud.bigquery.storage.v1.StreamStats)other); } else { super.mergeFrom(other); return this; @@ -1115,8 +1031,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()); } @@ -1146,19 +1061,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: - { - input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: { + input.readMessage( + getProgressFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1168,52 +1083,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.cloud.bigquery.storage.v1.StreamStats.Progress progress_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.StreamStats.Progress, - com.google.cloud.bigquery.storage.v1.StreamStats.Progress.Builder, - com.google.cloud.bigquery.storage.v1.StreamStats.ProgressOrBuilder> - progressBuilder_; + com.google.cloud.bigquery.storage.v1.StreamStats.Progress, com.google.cloud.bigquery.storage.v1.StreamStats.Progress.Builder, com.google.cloud.bigquery.storage.v1.StreamStats.ProgressOrBuilder> progressBuilder_; /** - * - * *
      * Represents the progress of the current stream.
      * 
* * .google.cloud.bigquery.storage.v1.StreamStats.Progress progress = 2; - * * @return Whether the progress field is set. */ public boolean hasProgress() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Represents the progress of the current stream.
      * 
* * .google.cloud.bigquery.storage.v1.StreamStats.Progress progress = 2; - * * @return The progress. */ public com.google.cloud.bigquery.storage.v1.StreamStats.Progress getProgress() { if (progressBuilder_ == null) { - return progress_ == null - ? com.google.cloud.bigquery.storage.v1.StreamStats.Progress.getDefaultInstance() - : progress_; + return progress_ == null ? com.google.cloud.bigquery.storage.v1.StreamStats.Progress.getDefaultInstance() : progress_; } else { return progressBuilder_.getMessage(); } } /** - * - * *
      * Represents the progress of the current stream.
      * 
@@ -1234,8 +1135,6 @@ public Builder setProgress(com.google.cloud.bigquery.storage.v1.StreamStats.Prog return this; } /** - * - * *
      * Represents the progress of the current stream.
      * 
@@ -1254,8 +1153,6 @@ public Builder setProgress( return this; } /** - * - * *
      * Represents the progress of the current stream.
      * 
@@ -1264,10 +1161,9 @@ public Builder setProgress( */ public Builder mergeProgress(com.google.cloud.bigquery.storage.v1.StreamStats.Progress value) { if (progressBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && progress_ != null - && progress_ - != com.google.cloud.bigquery.storage.v1.StreamStats.Progress.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + progress_ != null && + progress_ != com.google.cloud.bigquery.storage.v1.StreamStats.Progress.getDefaultInstance()) { getProgressBuilder().mergeFrom(value); } else { progress_ = value; @@ -1282,8 +1178,6 @@ public Builder mergeProgress(com.google.cloud.bigquery.storage.v1.StreamStats.Pr return this; } /** - * - * *
      * Represents the progress of the current stream.
      * 
@@ -1301,8 +1195,6 @@ public Builder clearProgress() { return this; } /** - * - * *
      * Represents the progress of the current stream.
      * 
@@ -1315,27 +1207,21 @@ public com.google.cloud.bigquery.storage.v1.StreamStats.Progress.Builder getProg return getProgressFieldBuilder().getBuilder(); } /** - * - * *
      * Represents the progress of the current stream.
      * 
* * .google.cloud.bigquery.storage.v1.StreamStats.Progress progress = 2; */ - public com.google.cloud.bigquery.storage.v1.StreamStats.ProgressOrBuilder - getProgressOrBuilder() { + public com.google.cloud.bigquery.storage.v1.StreamStats.ProgressOrBuilder getProgressOrBuilder() { if (progressBuilder_ != null) { return progressBuilder_.getMessageOrBuilder(); } else { - return progress_ == null - ? com.google.cloud.bigquery.storage.v1.StreamStats.Progress.getDefaultInstance() - : progress_; + return progress_ == null ? + com.google.cloud.bigquery.storage.v1.StreamStats.Progress.getDefaultInstance() : progress_; } } /** - * - * *
      * Represents the progress of the current stream.
      * 
@@ -1343,24 +1229,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); } @@ -1370,12 +1253,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(); } @@ -1384,27 +1267,27 @@ public static com.google.cloud.bigquery.storage.v1.StreamStats getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StreamStats parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StreamStats parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1419,4 +1302,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 62% 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 fe8a7f167b..10e3e3314e 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,56 +1,32 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 // Protobuf Java Version: 3.25.2 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/TableFieldSchema.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableFieldSchema.java similarity index 71% rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableFieldSchema.java rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableFieldSchema.java index 366bd08a89..69a55a3a57 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableFieldSchema.java +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableFieldSchema.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/table.proto @@ -20,24 +5,21 @@ package com.google.cloud.bigquery.storage.v1; /** - * - * *
  * TableFieldSchema defines a single field/column within a table schema.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.TableFieldSchema} */ -public final class TableFieldSchema extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TableFieldSchema extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.TableFieldSchema) TableFieldSchemaOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TableFieldSchema.newBuilder() to construct. private TableFieldSchema(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TableFieldSchema() { name_ = ""; type_ = 0; @@ -49,30 +31,30 @@ private TableFieldSchema() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TableFieldSchema(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.TableProto - .internal_static_google_cloud_bigquery_storage_v1_TableFieldSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.TableProto.internal_static_google_cloud_bigquery_storage_v1_TableFieldSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.TableProto - .internal_static_google_cloud_bigquery_storage_v1_TableFieldSchema_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.TableProto.internal_static_google_cloud_bigquery_storage_v1_TableFieldSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.TableFieldSchema.class, - com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder.class); + com.google.cloud.bigquery.storage.v1.TableFieldSchema.class, com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder.class); } - /** Protobuf enum {@code google.cloud.bigquery.storage.v1.TableFieldSchema.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + /** + * Protobuf enum {@code google.cloud.bigquery.storage.v1.TableFieldSchema.Type} + */ + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Illegal value
      * 
@@ -81,8 +63,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
      * 64K, UTF8
      * 
@@ -91,8 +71,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ STRING(1), /** - * - * *
      * 64-bit signed
      * 
@@ -101,8 +79,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ INT64(2), /** - * - * *
      * 64-bit IEEE floating point
      * 
@@ -111,8 +87,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ DOUBLE(3), /** - * - * *
      * Aggregate type
      * 
@@ -121,8 +95,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ STRUCT(4), /** - * - * *
      * 64K, Binary
      * 
@@ -131,8 +103,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ BYTES(5), /** - * - * *
      * 2-valued
      * 
@@ -141,8 +111,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ BOOL(6), /** - * - * *
      * 64-bit signed usec since UTC epoch
      * 
@@ -151,8 +119,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TIMESTAMP(7), /** - * - * *
      * Civil date - Year, Month, Day
      * 
@@ -161,8 +127,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ DATE(8), /** - * - * *
      * Civil time - Hour, Minute, Second, Microseconds
      * 
@@ -171,8 +135,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TIME(9), /** - * - * *
      * Combination of civil date and civil time
      * 
@@ -181,8 +143,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ DATETIME(10), /** - * - * *
      * Geography object
      * 
@@ -191,8 +151,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ GEOGRAPHY(11), /** - * - * *
      * Numeric value
      * 
@@ -201,8 +159,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ NUMERIC(12), /** - * - * *
      * BigNumeric value
      * 
@@ -211,8 +167,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ BIGNUMERIC(13), /** - * - * *
      * Interval
      * 
@@ -221,8 +175,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ INTERVAL(14), /** - * - * *
      * JSON, String
      * 
@@ -234,8 +186,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Illegal value
      * 
@@ -244,8 +194,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * 64K, UTF8
      * 
@@ -254,8 +202,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STRING_VALUE = 1; /** - * - * *
      * 64-bit signed
      * 
@@ -264,8 +210,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INT64_VALUE = 2; /** - * - * *
      * 64-bit IEEE floating point
      * 
@@ -274,8 +218,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DOUBLE_VALUE = 3; /** - * - * *
      * Aggregate type
      * 
@@ -284,8 +226,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STRUCT_VALUE = 4; /** - * - * *
      * 64K, Binary
      * 
@@ -294,8 +234,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BYTES_VALUE = 5; /** - * - * *
      * 2-valued
      * 
@@ -304,8 +242,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BOOL_VALUE = 6; /** - * - * *
      * 64-bit signed usec since UTC epoch
      * 
@@ -314,8 +250,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TIMESTAMP_VALUE = 7; /** - * - * *
      * Civil date - Year, Month, Day
      * 
@@ -324,8 +258,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DATE_VALUE = 8; /** - * - * *
      * Civil time - Hour, Minute, Second, Microseconds
      * 
@@ -334,8 +266,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TIME_VALUE = 9; /** - * - * *
      * Combination of civil date and civil time
      * 
@@ -344,8 +274,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DATETIME_VALUE = 10; /** - * - * *
      * Geography object
      * 
@@ -354,8 +282,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GEOGRAPHY_VALUE = 11; /** - * - * *
      * Numeric value
      * 
@@ -364,8 +290,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NUMERIC_VALUE = 12; /** - * - * *
      * BigNumeric value
      * 
@@ -374,8 +298,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BIGNUMERIC_VALUE = 13; /** - * - * *
      * Interval
      * 
@@ -384,8 +306,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INTERVAL_VALUE = 14; /** - * - * *
      * JSON, String
      * 
@@ -394,6 +314,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( @@ -418,77 +339,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.v1.TableFieldSchema.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.TableFieldSchema.getDescriptor().getEnumTypes().get(0); } private static final Type[] VALUES = values(); - public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Type valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -505,11 +411,12 @@ private Type(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.bigquery.storage.v1.TableFieldSchema.Type) } - /** Protobuf enum {@code google.cloud.bigquery.storage.v1.TableFieldSchema.Mode} */ - public enum Mode implements com.google.protobuf.ProtocolMessageEnum { + /** + * Protobuf enum {@code google.cloud.bigquery.storage.v1.TableFieldSchema.Mode} + */ + public enum Mode + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Illegal value
      * 
@@ -517,18 +424,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
      * 
@@ -536,13 +447,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( @@ -567,53 +485,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.v1.TableFieldSchema.getDescriptor() - .getEnumTypes() - .get(1); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.TableFieldSchema.getDescriptor().getEnumTypes().get(1); } private static final Mode[] VALUES = values(); - public static Mode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Mode valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -631,12 +546,9 @@ private Mode(int value) { } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The field name. The name must contain only letters (a-z, A-Z),
    * numbers (0-9), or underscores (_), and must start with a letter or
@@ -644,7 +556,6 @@ private Mode(int value) {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -653,15 +564,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
@@ -669,15 +579,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 { @@ -688,165 +599,114 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int TYPE_FIELD_NUMBER = 2; private int type_ = 0; /** - * - * *
    * Required. The field data type.
    * 
* - * - * .google.cloud.bigquery.storage.v1.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.storage.v1.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * Required. The field data type.
    * 
* - * - * .google.cloud.bigquery.storage.v1.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.storage.v1.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ - @java.lang.Override - public com.google.cloud.bigquery.storage.v1.TableFieldSchema.Type getType() { - com.google.cloud.bigquery.storage.v1.TableFieldSchema.Type result = - com.google.cloud.bigquery.storage.v1.TableFieldSchema.Type.forNumber(type_); - return result == null - ? com.google.cloud.bigquery.storage.v1.TableFieldSchema.Type.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.bigquery.storage.v1.TableFieldSchema.Type getType() { + com.google.cloud.bigquery.storage.v1.TableFieldSchema.Type result = com.google.cloud.bigquery.storage.v1.TableFieldSchema.Type.forNumber(type_); + return result == null ? com.google.cloud.bigquery.storage.v1.TableFieldSchema.Type.UNRECOGNIZED : result; } public static final int MODE_FIELD_NUMBER = 3; private int mode_ = 0; /** - * - * *
    * Optional. The field mode. The default value is NULLABLE.
    * 
* - * - * .google.cloud.bigquery.storage.v1.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.storage.v1.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for mode. */ - @java.lang.Override - public int getModeValue() { + @java.lang.Override public int getModeValue() { return mode_; } /** - * - * *
    * Optional. The field mode. The default value is NULLABLE.
    * 
* - * - * .google.cloud.bigquery.storage.v1.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.storage.v1.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The mode. */ - @java.lang.Override - public com.google.cloud.bigquery.storage.v1.TableFieldSchema.Mode getMode() { - com.google.cloud.bigquery.storage.v1.TableFieldSchema.Mode result = - com.google.cloud.bigquery.storage.v1.TableFieldSchema.Mode.forNumber(mode_); - return result == null - ? com.google.cloud.bigquery.storage.v1.TableFieldSchema.Mode.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.bigquery.storage.v1.TableFieldSchema.Mode getMode() { + com.google.cloud.bigquery.storage.v1.TableFieldSchema.Mode result = com.google.cloud.bigquery.storage.v1.TableFieldSchema.Mode.forNumber(mode_); + return result == null ? com.google.cloud.bigquery.storage.v1.TableFieldSchema.Mode.UNRECOGNIZED : result; } public static final int FIELDS_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private java.util.List fields_; /** - * - * *
    * Optional. Describes the nested schema fields if the type property is set to
    * STRUCT.
    * 
* - * - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public java.util.List getFieldsList() { return fields_; } /** - * - * *
    * Optional. Describes the nested schema fields if the type property is set to
    * STRUCT.
    * 
* - * - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.List + public java.util.List getFieldsOrBuilderList() { return fields_; } /** - * - * *
    * Optional. Describes the nested schema fields if the type property is set to
    * STRUCT.
    * 
* - * - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public int getFieldsCount() { return fields_.size(); } /** - * - * *
    * Optional. Describes the nested schema fields if the type property is set to
    * STRUCT.
    * 
* - * - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.TableFieldSchema getFields(int index) { return fields_.get(index); } /** - * - * *
    * Optional. Describes the nested schema fields if the type property is set to
    * STRUCT.
    * 
* - * - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder getFieldsOrBuilder( @@ -855,18 +715,14 @@ public com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder getFieldsO } public static final int DESCRIPTION_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * Optional. The field description. The maximum length is 1,024 characters.
    * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ @java.lang.Override @@ -875,29 +731,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 { @@ -908,8 +764,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int MAX_LENGTH_FIELD_NUMBER = 7; private long maxLength_ = 0L; /** - * - * *
    * Optional. Maximum length of values of this field for STRINGS or BYTES.
    *
@@ -926,7 +780,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
    * 
* * int64 max_length = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The maxLength. */ @java.lang.Override @@ -937,8 +790,6 @@ public long getMaxLength() { public static final int PRECISION_FIELD_NUMBER = 8; private long precision_ = 0L; /** - * - * *
    * Optional. Precision (maximum number of total digits in base 10) and scale
    * (maximum number of digits in the fractional part in base 10) constraints
@@ -975,7 +826,6 @@ public long getMaxLength() {
    * 
* * int64 precision = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The precision. */ @java.lang.Override @@ -986,14 +836,11 @@ public long getPrecision() { public static final int SCALE_FIELD_NUMBER = 9; private long scale_ = 0L; /** - * - * *
    * Optional. See documentation for precision.
    * 
* * int64 scale = 9 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The scale. */ @java.lang.Override @@ -1002,19 +849,15 @@ public long getScale() { } public static final int DEFAULT_VALUE_EXPRESSION_FIELD_NUMBER = 10; - @SuppressWarnings("serial") private volatile java.lang.Object defaultValueExpression_ = ""; /** - * - * *
    * Optional. A SQL expression to specify the [default value]
    * (https://cloud.google.com/bigquery/docs/default-values) for this field.
    * 
* * string default_value_expression = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The defaultValueExpression. */ @java.lang.Override @@ -1023,30 +866,30 @@ public java.lang.String getDefaultValueExpression() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultValueExpression_ = s; return s; } } /** - * - * *
    * Optional. A SQL expression to specify the [default value]
    * (https://cloud.google.com/bigquery/docs/default-values) for this field.
    * 
* * string default_value_expression = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for defaultValueExpression. */ @java.lang.Override - public com.google.protobuf.ByteString getDefaultValueExpressionBytes() { + public com.google.protobuf.ByteString + getDefaultValueExpressionBytes() { java.lang.Object ref = defaultValueExpression_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); defaultValueExpression_ = b; return b; } else { @@ -1055,7 +898,6 @@ public com.google.protobuf.ByteString getDefaultValueExpressionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1067,18 +909,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (type_ - != com.google.cloud.bigquery.storage.v1.TableFieldSchema.Type.TYPE_UNSPECIFIED - .getNumber()) { + if (type_ != com.google.cloud.bigquery.storage.v1.TableFieldSchema.Type.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, type_); } - if (mode_ - != com.google.cloud.bigquery.storage.v1.TableFieldSchema.Mode.MODE_UNSPECIFIED - .getNumber()) { + if (mode_ != com.google.cloud.bigquery.storage.v1.TableFieldSchema.Mode.MODE_UNSPECIFIED.getNumber()) { output.writeEnum(3, mode_); } for (int i = 0; i < fields_.size(); i++) { @@ -1111,30 +950,32 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (type_ - != com.google.cloud.bigquery.storage.v1.TableFieldSchema.Type.TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); + if (type_ != com.google.cloud.bigquery.storage.v1.TableFieldSchema.Type.TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, type_); } - if (mode_ - != com.google.cloud.bigquery.storage.v1.TableFieldSchema.Mode.MODE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, mode_); + if (mode_ != com.google.cloud.bigquery.storage.v1.TableFieldSchema.Mode.MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, mode_); } for (int i = 0; i < fields_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, fields_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, fields_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, description_); } if (maxLength_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(7, maxLength_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(7, maxLength_); } if (precision_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(8, precision_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(8, precision_); } if (scale_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(9, scale_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(9, scale_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultValueExpression_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, defaultValueExpression_); @@ -1147,23 +988,29 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1.TableFieldSchema)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.TableFieldSchema other = - (com.google.cloud.bigquery.storage.v1.TableFieldSchema) obj; + com.google.cloud.bigquery.storage.v1.TableFieldSchema other = (com.google.cloud.bigquery.storage.v1.TableFieldSchema) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (type_ != other.type_) return false; if (mode_ != other.mode_) return false; - if (!getFieldsList().equals(other.getFieldsList())) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (getMaxLength() != other.getMaxLength()) return false; - if (getPrecision() != other.getPrecision()) return false; - if (getScale() != other.getScale()) return false; - if (!getDefaultValueExpression().equals(other.getDefaultValueExpression())) return false; + if (!getFieldsList() + .equals(other.getFieldsList())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (getMaxLength() + != other.getMaxLength()) return false; + if (getPrecision() + != other.getPrecision()) return false; + if (getScale() + != other.getScale()) return false; + if (!getDefaultValueExpression() + .equals(other.getDefaultValueExpression())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1188,11 +1035,14 @@ public int hashCode() { hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getDescription().hashCode(); hash = (37 * hash) + MAX_LENGTH_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMaxLength()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getMaxLength()); hash = (37 * hash) + PRECISION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPrecision()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getPrecision()); hash = (37 * hash) + SCALE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getScale()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getScale()); hash = (37 * hash) + DEFAULT_VALUE_EXPRESSION_FIELD_NUMBER; hash = (53 * hash) + getDefaultValueExpression().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -1201,136 +1051,131 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1.TableFieldSchema parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.TableFieldSchema parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.TableFieldSchema parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.TableFieldSchema parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.TableFieldSchema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.TableFieldSchema parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1.TableFieldSchema parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.TableFieldSchema parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1.TableFieldSchema parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.TableFieldSchema parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.TableFieldSchema parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1.TableFieldSchema parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.TableFieldSchema parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1.TableFieldSchema parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.storage.v1.TableFieldSchema prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.TableFieldSchema prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * TableFieldSchema defines a single field/column within a table schema.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.TableFieldSchema} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.TableFieldSchema) com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.TableProto - .internal_static_google_cloud_bigquery_storage_v1_TableFieldSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.TableProto.internal_static_google_cloud_bigquery_storage_v1_TableFieldSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.TableProto - .internal_static_google_cloud_bigquery_storage_v1_TableFieldSchema_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.TableProto.internal_static_google_cloud_bigquery_storage_v1_TableFieldSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.TableFieldSchema.class, - com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder.class); + com.google.cloud.bigquery.storage.v1.TableFieldSchema.class, com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1.TableFieldSchema.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1354,9 +1199,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1.TableProto - .internal_static_google_cloud_bigquery_storage_v1_TableFieldSchema_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1.TableProto.internal_static_google_cloud_bigquery_storage_v1_TableFieldSchema_descriptor; } @java.lang.Override @@ -1375,18 +1220,14 @@ public com.google.cloud.bigquery.storage.v1.TableFieldSchema build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1.TableFieldSchema buildPartial() { - com.google.cloud.bigquery.storage.v1.TableFieldSchema result = - new com.google.cloud.bigquery.storage.v1.TableFieldSchema(this); + com.google.cloud.bigquery.storage.v1.TableFieldSchema result = new com.google.cloud.bigquery.storage.v1.TableFieldSchema(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.bigquery.storage.v1.TableFieldSchema result) { + private void buildPartialRepeatedFields(com.google.cloud.bigquery.storage.v1.TableFieldSchema result) { if (fieldsBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { fields_ = java.util.Collections.unmodifiableList(fields_); @@ -1430,39 +1271,38 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.TableFieldSchema public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.TableFieldSchema) { - return mergeFrom((com.google.cloud.bigquery.storage.v1.TableFieldSchema) other); + return mergeFrom((com.google.cloud.bigquery.storage.v1.TableFieldSchema)other); } else { super.mergeFrom(other); return this; @@ -1470,8 +1310,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.TableFieldSchema other) { - if (other == com.google.cloud.bigquery.storage.v1.TableFieldSchema.getDefaultInstance()) - return this; + if (other == com.google.cloud.bigquery.storage.v1.TableFieldSchema.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -1501,10 +1340,9 @@ public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.TableFieldSchema o fieldsBuilder_ = null; fields_ = other.fields_; bitField0_ = (bitField0_ & ~0x00000008); - fieldsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFieldsFieldBuilder() - : null; + fieldsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFieldsFieldBuilder() : null; } else { fieldsBuilder_.addAllMessages(other.fields_); } @@ -1555,75 +1393,65 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - type_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: - { - mode_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: - { - com.google.cloud.bigquery.storage.v1.TableFieldSchema m = - input.readMessage( - com.google.cloud.bigquery.storage.v1.TableFieldSchema.parser(), - extensionRegistry); - if (fieldsBuilder_ == null) { - ensureFieldsIsMutable(); - fields_.add(m); - } else { - fieldsBuilder_.addMessage(m); - } - break; - } // case 34 - case 50: - { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 50 - case 56: - { - maxLength_ = input.readInt64(); - bitField0_ |= 0x00000020; - break; - } // case 56 - case 64: - { - precision_ = input.readInt64(); - bitField0_ |= 0x00000040; - break; - } // case 64 - case 72: - { - scale_ = input.readInt64(); - bitField0_ |= 0x00000080; - break; - } // case 72 - case 82: - { - defaultValueExpression_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000100; - break; - } // case 82 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + type_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + mode_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + com.google.cloud.bigquery.storage.v1.TableFieldSchema m = + input.readMessage( + com.google.cloud.bigquery.storage.v1.TableFieldSchema.parser(), + extensionRegistry); + if (fieldsBuilder_ == null) { + ensureFieldsIsMutable(); + fields_.add(m); + } else { + fieldsBuilder_.addMessage(m); + } + break; + } // case 34 + case 50: { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 50 + case 56: { + maxLength_ = input.readInt64(); + bitField0_ |= 0x00000020; + break; + } // case 56 + case 64: { + precision_ = input.readInt64(); + bitField0_ |= 0x00000040; + break; + } // case 64 + case 72: { + scale_ = input.readInt64(); + bitField0_ |= 0x00000080; + break; + } // case 72 + case 82: { + defaultValueExpression_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 82 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1633,13 +1461,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The field name. The name must contain only letters (a-z, A-Z),
      * numbers (0-9), or underscores (_), and must start with a letter or
@@ -1647,13 +1472,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; @@ -1662,8 +1487,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
@@ -1671,14 +1494,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 { @@ -1686,8 +1510,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
@@ -1695,22 +1517,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The field name. The name must contain only letters (a-z, A-Z),
      * numbers (0-9), or underscores (_), and must start with a letter or
@@ -1718,7 +1536,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1728,8 +1545,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The field name. The name must contain only letters (a-z, A-Z),
      * numbers (0-9), or underscores (_), and must start with a letter or
@@ -1737,14 +1552,12 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1754,33 +1567,22 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int type_ = 0; /** - * - * *
      * Required. The field data type.
      * 
* - * - * .google.cloud.bigquery.storage.v1.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.storage.v1.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * Required. The field data type.
      * 
* - * - * .google.cloud.bigquery.storage.v1.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.storage.v1.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -1791,37 +1593,24 @@ public Builder setTypeValue(int value) { return this; } /** - * - * *
      * Required. The field data type.
      * 
* - * - * .google.cloud.bigquery.storage.v1.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.storage.v1.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.TableFieldSchema.Type getType() { - com.google.cloud.bigquery.storage.v1.TableFieldSchema.Type result = - com.google.cloud.bigquery.storage.v1.TableFieldSchema.Type.forNumber(type_); - return result == null - ? com.google.cloud.bigquery.storage.v1.TableFieldSchema.Type.UNRECOGNIZED - : result; + com.google.cloud.bigquery.storage.v1.TableFieldSchema.Type result = com.google.cloud.bigquery.storage.v1.TableFieldSchema.Type.forNumber(type_); + return result == null ? com.google.cloud.bigquery.storage.v1.TableFieldSchema.Type.UNRECOGNIZED : result; } /** - * - * *
      * Required. The field data type.
      * 
* - * - * .google.cloud.bigquery.storage.v1.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.storage.v1.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The type to set. * @return This builder for chaining. */ @@ -1835,16 +1624,11 @@ public Builder setType(com.google.cloud.bigquery.storage.v1.TableFieldSchema.Typ return this; } /** - * - * *
      * Required. The field data type.
      * 
* - * - * .google.cloud.bigquery.storage.v1.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.storage.v1.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearType() { @@ -1856,33 +1640,22 @@ public Builder clearType() { private int mode_ = 0; /** - * - * *
      * Optional. The field mode. The default value is NULLABLE.
      * 
* - * - * .google.cloud.bigquery.storage.v1.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.storage.v1.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for mode. */ - @java.lang.Override - public int getModeValue() { + @java.lang.Override public int getModeValue() { return mode_; } /** - * - * *
      * Optional. The field mode. The default value is NULLABLE.
      * 
* - * - * .google.cloud.bigquery.storage.v1.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.storage.v1.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for mode to set. * @return This builder for chaining. */ @@ -1893,37 +1666,24 @@ public Builder setModeValue(int value) { return this; } /** - * - * *
      * Optional. The field mode. The default value is NULLABLE.
      * 
* - * - * .google.cloud.bigquery.storage.v1.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.storage.v1.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The mode. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.TableFieldSchema.Mode getMode() { - com.google.cloud.bigquery.storage.v1.TableFieldSchema.Mode result = - com.google.cloud.bigquery.storage.v1.TableFieldSchema.Mode.forNumber(mode_); - return result == null - ? com.google.cloud.bigquery.storage.v1.TableFieldSchema.Mode.UNRECOGNIZED - : result; + com.google.cloud.bigquery.storage.v1.TableFieldSchema.Mode result = com.google.cloud.bigquery.storage.v1.TableFieldSchema.Mode.forNumber(mode_); + return result == null ? com.google.cloud.bigquery.storage.v1.TableFieldSchema.Mode.UNRECOGNIZED : result; } /** - * - * *
      * Optional. The field mode. The default value is NULLABLE.
      * 
* - * - * .google.cloud.bigquery.storage.v1.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.storage.v1.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param value The mode to set. * @return This builder for chaining. */ @@ -1937,16 +1697,11 @@ public Builder setMode(com.google.cloud.bigquery.storage.v1.TableFieldSchema.Mod return this; } /** - * - * *
      * Optional. The field mode. The default value is NULLABLE.
      * 
* - * - * .google.cloud.bigquery.storage.v1.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.storage.v1.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearMode() { @@ -1957,33 +1712,24 @@ public Builder clearMode() { } private java.util.List fields_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFieldsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - fields_ = - new java.util.ArrayList(fields_); + fields_ = new java.util.ArrayList(fields_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.TableFieldSchema, - com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder, - com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder> - fieldsBuilder_; + com.google.cloud.bigquery.storage.v1.TableFieldSchema, com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder, com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder> fieldsBuilder_; /** - * - * *
      * Optional. Describes the nested schema fields if the type property is set to
      * STRUCT.
      * 
* - * - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public java.util.List getFieldsList() { if (fieldsBuilder_ == null) { @@ -1993,16 +1739,12 @@ public java.util.List get } } /** - * - * *
      * Optional. Describes the nested schema fields if the type property is set to
      * STRUCT.
      * 
* - * - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public int getFieldsCount() { if (fieldsBuilder_ == null) { @@ -2012,16 +1754,12 @@ public int getFieldsCount() { } } /** - * - * *
      * Optional. Describes the nested schema fields if the type property is set to
      * STRUCT.
      * 
* - * - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.bigquery.storage.v1.TableFieldSchema getFields(int index) { if (fieldsBuilder_ == null) { @@ -2031,16 +1769,12 @@ public com.google.cloud.bigquery.storage.v1.TableFieldSchema getFields(int index } } /** - * - * *
      * Optional. Describes the nested schema fields if the type property is set to
      * STRUCT.
      * 
* - * - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setFields( int index, com.google.cloud.bigquery.storage.v1.TableFieldSchema value) { @@ -2057,16 +1791,12 @@ public Builder setFields( return this; } /** - * - * *
      * Optional. Describes the nested schema fields if the type property is set to
      * STRUCT.
      * 
* - * - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setFields( int index, com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder builderForValue) { @@ -2080,16 +1810,12 @@ public Builder setFields( return this; } /** - * - * *
      * Optional. Describes the nested schema fields if the type property is set to
      * STRUCT.
      * 
* - * - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addFields(com.google.cloud.bigquery.storage.v1.TableFieldSchema value) { if (fieldsBuilder_ == null) { @@ -2105,16 +1831,12 @@ public Builder addFields(com.google.cloud.bigquery.storage.v1.TableFieldSchema v return this; } /** - * - * *
      * Optional. Describes the nested schema fields if the type property is set to
      * STRUCT.
      * 
* - * - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addFields( int index, com.google.cloud.bigquery.storage.v1.TableFieldSchema value) { @@ -2131,16 +1853,12 @@ public Builder addFields( return this; } /** - * - * *
      * Optional. Describes the nested schema fields if the type property is set to
      * STRUCT.
      * 
* - * - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addFields( com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder builderForValue) { @@ -2154,16 +1872,12 @@ public Builder addFields( return this; } /** - * - * *
      * Optional. Describes the nested schema fields if the type property is set to
      * STRUCT.
      * 
* - * - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addFields( int index, com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder builderForValue) { @@ -2177,23 +1891,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.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAllFields( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fields_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, fields_); onChanged(); } else { fieldsBuilder_.addAllMessages(values); @@ -2201,16 +1911,12 @@ public Builder addAllFields( return this; } /** - * - * *
      * Optional. Describes the nested schema fields if the type property is set to
      * STRUCT.
      * 
* - * - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearFields() { if (fieldsBuilder_ == null) { @@ -2223,16 +1929,12 @@ public Builder clearFields() { return this; } /** - * - * *
      * Optional. Describes the nested schema fields if the type property is set to
      * STRUCT.
      * 
* - * - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder removeFields(int index) { if (fieldsBuilder_ == null) { @@ -2245,55 +1947,42 @@ public Builder removeFields(int index) { return this; } /** - * - * *
      * Optional. Describes the nested schema fields if the type property is set to
      * STRUCT.
      * 
* - * - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder getFieldsBuilder( int index) { return getFieldsFieldBuilder().getBuilder(index); } /** - * - * *
      * Optional. Describes the nested schema fields if the type property is set to
      * STRUCT.
      * 
* - * - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder getFieldsOrBuilder( int index) { if (fieldsBuilder_ == null) { - return fields_.get(index); - } else { + return fields_.get(index); } else { return fieldsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Optional. Describes the nested schema fields if the type property is set to
      * STRUCT.
      * 
* - * - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getFieldsOrBuilderList() { + public java.util.List + getFieldsOrBuilderList() { if (fieldsBuilder_ != null) { return fieldsBuilder_.getMessageOrBuilderList(); } else { @@ -2301,68 +1990,52 @@ public com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder getFieldsO } } /** - * - * *
      * Optional. Describes the nested schema fields if the type property is set to
      * STRUCT.
      * 
* - * - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder addFieldsBuilder() { - return getFieldsFieldBuilder() - .addBuilder(com.google.cloud.bigquery.storage.v1.TableFieldSchema.getDefaultInstance()); + return getFieldsFieldBuilder().addBuilder( + com.google.cloud.bigquery.storage.v1.TableFieldSchema.getDefaultInstance()); } /** - * - * *
      * Optional. Describes the nested schema fields if the type property is set to
      * STRUCT.
      * 
* - * - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder addFieldsBuilder( int index) { - return getFieldsFieldBuilder() - .addBuilder( - index, com.google.cloud.bigquery.storage.v1.TableFieldSchema.getDefaultInstance()); + return getFieldsFieldBuilder().addBuilder( + index, com.google.cloud.bigquery.storage.v1.TableFieldSchema.getDefaultInstance()); } /** - * - * *
      * Optional. Describes the nested schema fields if the type property is set to
      * STRUCT.
      * 
* - * - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getFieldsBuilderList() { + public java.util.List + getFieldsBuilderList() { return getFieldsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.TableFieldSchema, - com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder, - com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder> + com.google.cloud.bigquery.storage.v1.TableFieldSchema, com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder, com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder> getFieldsFieldBuilder() { if (fieldsBuilder_ == null) { - fieldsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.TableFieldSchema, - com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder, - com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder>( - fields_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); + fieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.storage.v1.TableFieldSchema, com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder, com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder>( + fields_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); fields_ = null; } return fieldsBuilder_; @@ -2370,20 +2043,18 @@ public com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder addFieldsBu private java.lang.Object description_ = ""; /** - * - * *
      * Optional. The field description. The maximum length is 1,024 characters.
      * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2392,21 +2063,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 { @@ -2414,35 +2084,28 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Optional. The field description. The maximum length is 1,024 characters.
      * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -2452,21 +2115,17 @@ public Builder clearDescription() { return this; } /** - * - * *
      * Optional. The field description. The maximum length is 1,024 characters.
      * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000010; @@ -2474,10 +2133,8 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { return this; } - private long maxLength_; + private long maxLength_ ; /** - * - * *
      * Optional. Maximum length of values of this field for STRINGS or BYTES.
      *
@@ -2494,7 +2151,6 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
      * 
* * int64 max_length = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The maxLength. */ @java.lang.Override @@ -2502,8 +2158,6 @@ public long getMaxLength() { return maxLength_; } /** - * - * *
      * Optional. Maximum length of values of this field for STRINGS or BYTES.
      *
@@ -2520,7 +2174,6 @@ public long getMaxLength() {
      * 
* * int64 max_length = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The maxLength to set. * @return This builder for chaining. */ @@ -2532,8 +2185,6 @@ public Builder setMaxLength(long value) { return this; } /** - * - * *
      * Optional. Maximum length of values of this field for STRINGS or BYTES.
      *
@@ -2550,7 +2201,6 @@ public Builder setMaxLength(long value) {
      * 
* * int64 max_length = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearMaxLength() { @@ -2560,10 +2210,8 @@ public Builder clearMaxLength() { return this; } - private long precision_; + private long precision_ ; /** - * - * *
      * Optional. Precision (maximum number of total digits in base 10) and scale
      * (maximum number of digits in the fractional part in base 10) constraints
@@ -2600,7 +2248,6 @@ public Builder clearMaxLength() {
      * 
* * int64 precision = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The precision. */ @java.lang.Override @@ -2608,8 +2255,6 @@ public long getPrecision() { return precision_; } /** - * - * *
      * Optional. Precision (maximum number of total digits in base 10) and scale
      * (maximum number of digits in the fractional part in base 10) constraints
@@ -2646,7 +2291,6 @@ public long getPrecision() {
      * 
* * int64 precision = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The precision to set. * @return This builder for chaining. */ @@ -2658,8 +2302,6 @@ public Builder setPrecision(long value) { return this; } /** - * - * *
      * Optional. Precision (maximum number of total digits in base 10) and scale
      * (maximum number of digits in the fractional part in base 10) constraints
@@ -2696,7 +2338,6 @@ public Builder setPrecision(long value) {
      * 
* * int64 precision = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPrecision() { @@ -2706,16 +2347,13 @@ public Builder clearPrecision() { return this; } - private long scale_; + private long scale_ ; /** - * - * *
      * Optional. See documentation for precision.
      * 
* * int64 scale = 9 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The scale. */ @java.lang.Override @@ -2723,14 +2361,11 @@ public long getScale() { return scale_; } /** - * - * *
      * Optional. See documentation for precision.
      * 
* * int64 scale = 9 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The scale to set. * @return This builder for chaining. */ @@ -2742,14 +2377,11 @@ public Builder setScale(long value) { return this; } /** - * - * *
      * Optional. See documentation for precision.
      * 
* * int64 scale = 9 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearScale() { @@ -2761,21 +2393,19 @@ public Builder clearScale() { private java.lang.Object defaultValueExpression_ = ""; /** - * - * *
      * Optional. A SQL expression to specify the [default value]
      * (https://cloud.google.com/bigquery/docs/default-values) for this field.
      * 
* * string default_value_expression = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The defaultValueExpression. */ public java.lang.String getDefaultValueExpression() { java.lang.Object ref = defaultValueExpression_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultValueExpression_ = s; return s; @@ -2784,22 +2414,21 @@ public java.lang.String getDefaultValueExpression() { } } /** - * - * *
      * Optional. A SQL expression to specify the [default value]
      * (https://cloud.google.com/bigquery/docs/default-values) for this field.
      * 
* * string default_value_expression = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for defaultValueExpression. */ - public com.google.protobuf.ByteString getDefaultValueExpressionBytes() { + public com.google.protobuf.ByteString + getDefaultValueExpressionBytes() { java.lang.Object ref = defaultValueExpression_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); defaultValueExpression_ = b; return b; } else { @@ -2807,37 +2436,30 @@ public com.google.protobuf.ByteString getDefaultValueExpressionBytes() { } } /** - * - * *
      * Optional. A SQL expression to specify the [default value]
      * (https://cloud.google.com/bigquery/docs/default-values) for this field.
      * 
* * string default_value_expression = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The defaultValueExpression to set. * @return This builder for chaining. */ - public Builder setDefaultValueExpression(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDefaultValueExpression( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } defaultValueExpression_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** - * - * *
      * Optional. A SQL expression to specify the [default value]
      * (https://cloud.google.com/bigquery/docs/default-values) for this field.
      * 
* * string default_value_expression = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDefaultValueExpression() { @@ -2847,31 +2469,27 @@ public Builder clearDefaultValueExpression() { return this; } /** - * - * *
      * Optional. A SQL expression to specify the [default value]
      * (https://cloud.google.com/bigquery/docs/default-values) for this field.
      * 
* * string default_value_expression = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for defaultValueExpression to set. * @return This builder for chaining. */ - public Builder setDefaultValueExpressionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDefaultValueExpressionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); defaultValueExpression_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2881,12 +2499,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.TableFieldSchema) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.TableFieldSchema) private static final com.google.cloud.bigquery.storage.v1.TableFieldSchema DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.TableFieldSchema(); } @@ -2895,27 +2513,27 @@ public static com.google.cloud.bigquery.storage.v1.TableFieldSchema getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TableFieldSchema parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TableFieldSchema parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2930,4 +2548,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1.TableFieldSchema getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableFieldSchemaOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableFieldSchemaOrBuilder.java similarity index 72% rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableFieldSchemaOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableFieldSchemaOrBuilder.java index 8860298476..5cf824027c 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableFieldSchemaOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableFieldSchemaOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/table.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.bigquery.storage.v1; -public interface TableFieldSchemaOrBuilder - extends +public interface TableFieldSchemaOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.TableFieldSchema) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The field name. The name must contain only letters (a-z, A-Z),
    * numbers (0-9), or underscores (_), and must start with a letter or
@@ -34,13 +16,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
@@ -48,164 +27,119 @@ 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.v1.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.storage.v1.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * Required. The field data type.
    * 
* - * - * .google.cloud.bigquery.storage.v1.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.storage.v1.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ com.google.cloud.bigquery.storage.v1.TableFieldSchema.Type getType(); /** - * - * *
    * Optional. The field mode. The default value is NULLABLE.
    * 
* - * - * .google.cloud.bigquery.storage.v1.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.storage.v1.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for mode. */ int getModeValue(); /** - * - * *
    * Optional. The field mode. The default value is NULLABLE.
    * 
* - * - * .google.cloud.bigquery.storage.v1.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.storage.v1.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The mode. */ com.google.cloud.bigquery.storage.v1.TableFieldSchema.Mode getMode(); /** - * - * *
    * Optional. Describes the nested schema fields if the type property is set to
    * STRUCT.
    * 
* - * - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List getFieldsList(); + java.util.List + getFieldsList(); /** - * - * *
    * Optional. Describes the nested schema fields if the type property is set to
    * STRUCT.
    * 
* - * - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.bigquery.storage.v1.TableFieldSchema getFields(int index); /** - * - * *
    * Optional. Describes the nested schema fields if the type property is set to
    * STRUCT.
    * 
* - * - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; */ int getFieldsCount(); /** - * - * *
    * Optional. Describes the nested schema fields if the type property is set to
    * STRUCT.
    * 
* - * - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List + java.util.List getFieldsOrBuilderList(); /** - * - * *
    * Optional. Describes the nested schema fields if the type property is set to
    * STRUCT.
    * 
* - * - * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder getFieldsOrBuilder(int index); + com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder getFieldsOrBuilder( + int index); /** - * - * *
    * Optional. The field description. The maximum length is 1,024 characters.
    * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Optional. The field description. The maximum length is 1,024 characters.
    * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Optional. Maximum length of values of this field for STRINGS or BYTES.
    *
@@ -222,14 +156,11 @@ public interface TableFieldSchemaOrBuilder
    * 
* * int64 max_length = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The maxLength. */ long getMaxLength(); /** - * - * *
    * Optional. Precision (maximum number of total digits in base 10) and scale
    * (maximum number of digits in the fractional part in base 10) constraints
@@ -266,48 +197,39 @@ public interface TableFieldSchemaOrBuilder
    * 
* * int64 precision = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The precision. */ long getPrecision(); /** - * - * *
    * Optional. See documentation for precision.
    * 
* * int64 scale = 9 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The scale. */ long getScale(); /** - * - * *
    * Optional. A SQL expression to specify the [default value]
    * (https://cloud.google.com/bigquery/docs/default-values) for this field.
    * 
* * string default_value_expression = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The defaultValueExpression. */ java.lang.String getDefaultValueExpression(); /** - * - * *
    * Optional. A SQL expression to specify the [default value]
    * (https://cloud.google.com/bigquery/docs/default-values) for this field.
    * 
* * string default_value_expression = 10 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for defaultValueExpression. */ - com.google.protobuf.ByteString getDefaultValueExpressionBytes(); + com.google.protobuf.ByteString + getDefaultValueExpressionBytes(); } diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableName.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableName.java similarity index 99% rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableName.java rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableName.java index f61a0c8637..32f6b9394c 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableName.java +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableName.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableProto.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableProto.java new file mode 100644 index 0000000000..79751a799c --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableProto.java @@ -0,0 +1,91 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1/table.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.bigquery.storage.v1; + +public final class TableProto { + private TableProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_TableSchema_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_TableSchema_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1_TableFieldSchema_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1_TableFieldSchema_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n,google/cloud/bigquery/storage/v1/table" + + ".proto\022 google.cloud.bigquery.storage.v1" + + "\032\037google/api/field_behavior.proto\"Q\n\013Tab" + + "leSchema\022B\n\006fields\030\001 \003(\01322.google.cloud." + + "bigquery.storage.v1.TableFieldSchema\"\254\005\n" + + "\020TableFieldSchema\022\021\n\004name\030\001 \001(\tB\003\340A\002\022J\n\004" + + "type\030\002 \001(\01627.google.cloud.bigquery.stora" + + "ge.v1.TableFieldSchema.TypeB\003\340A\002\022J\n\004mode" + + "\030\003 \001(\01627.google.cloud.bigquery.storage.v" + + "1.TableFieldSchema.ModeB\003\340A\001\022G\n\006fields\030\004" + + " \003(\01322.google.cloud.bigquery.storage.v1." + + "TableFieldSchemaB\003\340A\001\022\030\n\013description\030\006 \001" + + "(\tB\003\340A\001\022\027\n\nmax_length\030\007 \001(\003B\003\340A\001\022\026\n\tprec" + + "ision\030\010 \001(\003B\003\340A\001\022\022\n\005scale\030\t \001(\003B\003\340A\001\022%\n\030" + + "default_value_expression\030\n \001(\tB\003\340A\001\"\325\001\n\004" + + "Type\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\005BYT" + + "ES\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\010INTERVAL\020" + + "\016\022\010\n\004JSON\020\017\"F\n\004Mode\022\024\n\020MODE_UNSPECIFIED\020" + + "\000\022\014\n\010NULLABLE\020\001\022\014\n\010REQUIRED\020\002\022\014\n\010REPEATE" + + "D\020\003B\272\001\n$com.google.cloud.bigquery.storag" + + "e.v1B\nTableProtoP\001Z>cloud.google.com/go/" + + "bigquery/storage/apiv1/storagepb;storage" + + "pb\252\002 Google.Cloud.BigQuery.Storage.V1\312\002 " + + "Google\\Cloud\\BigQuery\\Storage\\V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + }); + internal_static_google_cloud_bigquery_storage_v1_TableSchema_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_storage_v1_TableSchema_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_TableSchema_descriptor, + new java.lang.String[] { "Fields", }); + internal_static_google_cloud_bigquery_storage_v1_TableFieldSchema_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_storage_v1_TableFieldSchema_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1_TableFieldSchema_descriptor, + new java.lang.String[] { "Name", "Type", "Mode", "Fields", "Description", "MaxLength", "Precision", "Scale", "DefaultValueExpression", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableSchema.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableSchema.java similarity index 71% rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableSchema.java rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableSchema.java index fe63a2a77c..1c0b29869a 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableSchema.java +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableSchema.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/table.proto @@ -20,8 +5,6 @@ package com.google.cloud.bigquery.storage.v1; /** - * - * *
  * Schema of a table. This schema is a subset of
  * google.cloud.bigquery.v2.TableSchema containing information necessary to
@@ -30,48 +13,43 @@
  *
  * Protobuf type {@code google.cloud.bigquery.storage.v1.TableSchema}
  */
-public final class TableSchema extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class TableSchema extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.TableSchema)
     TableSchemaOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use TableSchema.newBuilder() to construct.
   private TableSchema(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private TableSchema() {
     fields_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new TableSchema();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.bigquery.storage.v1.TableProto
-        .internal_static_google_cloud_bigquery_storage_v1_TableSchema_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.bigquery.storage.v1.TableProto.internal_static_google_cloud_bigquery_storage_v1_TableSchema_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.storage.v1.TableProto
-        .internal_static_google_cloud_bigquery_storage_v1_TableSchema_fieldAccessorTable
+    return com.google.cloud.bigquery.storage.v1.TableProto.internal_static_google_cloud_bigquery_storage_v1_TableSchema_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.storage.v1.TableSchema.class,
-            com.google.cloud.bigquery.storage.v1.TableSchema.Builder.class);
+            com.google.cloud.bigquery.storage.v1.TableSchema.class, com.google.cloud.bigquery.storage.v1.TableSchema.Builder.class);
   }
 
   public static final int FIELDS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List fields_;
   /**
-   *
-   *
    * 
    * Describes the fields in a table.
    * 
@@ -83,8 +61,6 @@ public java.util.List get return fields_; } /** - * - * *
    * Describes the fields in a table.
    * 
@@ -92,13 +68,11 @@ public java.util.List get * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 1; */ @java.lang.Override - public java.util.List + public java.util.List getFieldsOrBuilderList() { return fields_; } /** - * - * *
    * Describes the fields in a table.
    * 
@@ -110,8 +84,6 @@ public int getFieldsCount() { return fields_.size(); } /** - * - * *
    * Describes the fields in a table.
    * 
@@ -123,8 +95,6 @@ public com.google.cloud.bigquery.storage.v1.TableFieldSchema getFields(int index return fields_.get(index); } /** - * - * *
    * Describes the fields in a table.
    * 
@@ -138,7 +108,6 @@ public com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder getFieldsO } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -150,7 +119,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)); } @@ -164,7 +134,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -174,15 +145,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1.TableSchema)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.TableSchema other = - (com.google.cloud.bigquery.storage.v1.TableSchema) obj; + com.google.cloud.bigquery.storage.v1.TableSchema other = (com.google.cloud.bigquery.storage.v1.TableSchema) obj; - if (!getFieldsList().equals(other.getFieldsList())) return false; + if (!getFieldsList() + .equals(other.getFieldsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -203,104 +174,99 @@ public int hashCode() { return hash; } - public static com.google.cloud.bigquery.storage.v1.TableSchema parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.bigquery.storage.v1.TableSchema parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.TableSchema parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.TableSchema parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.TableSchema parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.TableSchema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.TableSchema parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1.TableSchema parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.TableSchema parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1.TableSchema parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.TableSchema parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.TableSchema parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1.TableSchema parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.TableSchema parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1.TableSchema parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.TableSchema prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Schema of a table. This schema is a subset of
    * google.cloud.bigquery.v2.TableSchema containing information necessary to
@@ -309,32 +275,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.bigquery.storage.v1.TableSchema}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.TableSchema)
       com.google.cloud.bigquery.storage.v1.TableSchemaOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.bigquery.storage.v1.TableProto
-          .internal_static_google_cloud_bigquery_storage_v1_TableSchema_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.bigquery.storage.v1.TableProto.internal_static_google_cloud_bigquery_storage_v1_TableSchema_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.storage.v1.TableProto
-          .internal_static_google_cloud_bigquery_storage_v1_TableSchema_fieldAccessorTable
+      return com.google.cloud.bigquery.storage.v1.TableProto.internal_static_google_cloud_bigquery_storage_v1_TableSchema_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.storage.v1.TableSchema.class,
-              com.google.cloud.bigquery.storage.v1.TableSchema.Builder.class);
+              com.google.cloud.bigquery.storage.v1.TableSchema.class, com.google.cloud.bigquery.storage.v1.TableSchema.Builder.class);
     }
 
     // Construct using com.google.cloud.bigquery.storage.v1.TableSchema.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -350,9 +317,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.bigquery.storage.v1.TableProto
-          .internal_static_google_cloud_bigquery_storage_v1_TableSchema_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.bigquery.storage.v1.TableProto.internal_static_google_cloud_bigquery_storage_v1_TableSchema_descriptor;
     }
 
     @java.lang.Override
@@ -371,18 +338,14 @@ public com.google.cloud.bigquery.storage.v1.TableSchema build() {
 
     @java.lang.Override
     public com.google.cloud.bigquery.storage.v1.TableSchema buildPartial() {
-      com.google.cloud.bigquery.storage.v1.TableSchema result =
-          new com.google.cloud.bigquery.storage.v1.TableSchema(this);
+      com.google.cloud.bigquery.storage.v1.TableSchema result = new com.google.cloud.bigquery.storage.v1.TableSchema(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.cloud.bigquery.storage.v1.TableSchema result) {
+    private void buildPartialRepeatedFields(com.google.cloud.bigquery.storage.v1.TableSchema result) {
       if (fieldsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           fields_ = java.util.Collections.unmodifiableList(fields_);
@@ -402,39 +365,38 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.TableSchema resu
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.storage.v1.TableSchema) {
-        return mergeFrom((com.google.cloud.bigquery.storage.v1.TableSchema) other);
+        return mergeFrom((com.google.cloud.bigquery.storage.v1.TableSchema)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -442,8 +404,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.TableSchema other) {
-      if (other == com.google.cloud.bigquery.storage.v1.TableSchema.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.bigquery.storage.v1.TableSchema.getDefaultInstance()) return this;
       if (fieldsBuilder_ == null) {
         if (!other.fields_.isEmpty()) {
           if (fields_.isEmpty()) {
@@ -462,10 +423,9 @@ public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.TableSchema other)
             fieldsBuilder_ = null;
             fields_ = other.fields_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            fieldsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getFieldsFieldBuilder()
-                    : null;
+            fieldsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getFieldsFieldBuilder() : null;
           } else {
             fieldsBuilder_.addAllMessages(other.fields_);
           }
@@ -497,27 +457,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.cloud.bigquery.storage.v1.TableFieldSchema m =
-                    input.readMessage(
-                        com.google.cloud.bigquery.storage.v1.TableFieldSchema.parser(),
-                        extensionRegistry);
-                if (fieldsBuilder_ == null) {
-                  ensureFieldsIsMutable();
-                  fields_.add(m);
-                } else {
-                  fieldsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.cloud.bigquery.storage.v1.TableFieldSchema m =
+                  input.readMessage(
+                      com.google.cloud.bigquery.storage.v1.TableFieldSchema.parser(),
+                      extensionRegistry);
+              if (fieldsBuilder_ == null) {
+                ensureFieldsIsMutable();
+                fields_.add(m);
+              } else {
+                fieldsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -527,29 +485,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List fields_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureFieldsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        fields_ =
-            new java.util.ArrayList(fields_);
+        fields_ = new java.util.ArrayList(fields_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.bigquery.storage.v1.TableFieldSchema,
-            com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder,
-            com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder>
-        fieldsBuilder_;
+        com.google.cloud.bigquery.storage.v1.TableFieldSchema, com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder, com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder> fieldsBuilder_;
 
     /**
-     *
-     *
      * 
      * Describes the fields in a table.
      * 
@@ -564,8 +514,6 @@ public java.util.List get } } /** - * - * *
      * Describes the fields in a table.
      * 
@@ -580,8 +528,6 @@ public int getFieldsCount() { } } /** - * - * *
      * Describes the fields in a table.
      * 
@@ -596,8 +542,6 @@ public com.google.cloud.bigquery.storage.v1.TableFieldSchema getFields(int index } } /** - * - * *
      * Describes the fields in a table.
      * 
@@ -619,8 +563,6 @@ public Builder setFields( return this; } /** - * - * *
      * Describes the fields in a table.
      * 
@@ -639,8 +581,6 @@ public Builder setFields( return this; } /** - * - * *
      * Describes the fields in a table.
      * 
@@ -661,8 +601,6 @@ public Builder addFields(com.google.cloud.bigquery.storage.v1.TableFieldSchema v return this; } /** - * - * *
      * Describes the fields in a table.
      * 
@@ -684,8 +622,6 @@ public Builder addFields( return this; } /** - * - * *
      * Describes the fields in a table.
      * 
@@ -704,8 +640,6 @@ public Builder addFields( return this; } /** - * - * *
      * Describes the fields in a table.
      * 
@@ -724,8 +658,6 @@ public Builder addFields( return this; } /** - * - * *
      * Describes the fields in a table.
      * 
@@ -733,11 +665,11 @@ public Builder addFields( * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 1; */ public Builder addAllFields( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fields_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, fields_); onChanged(); } else { fieldsBuilder_.addAllMessages(values); @@ -745,8 +677,6 @@ public Builder addAllFields( return this; } /** - * - * *
      * Describes the fields in a table.
      * 
@@ -764,8 +694,6 @@ public Builder clearFields() { return this; } /** - * - * *
      * Describes the fields in a table.
      * 
@@ -783,8 +711,6 @@ public Builder removeFields(int index) { return this; } /** - * - * *
      * Describes the fields in a table.
      * 
@@ -796,8 +722,6 @@ public com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder getFieldsBu return getFieldsFieldBuilder().getBuilder(index); } /** - * - * *
      * Describes the fields in a table.
      * 
@@ -807,22 +731,19 @@ public com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder getFieldsBu public com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder getFieldsOrBuilder( int index) { if (fieldsBuilder_ == null) { - return fields_.get(index); - } else { + return fields_.get(index); } else { return fieldsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Describes the fields in a table.
      * 
* * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 1; */ - public java.util.List - getFieldsOrBuilderList() { + public java.util.List + getFieldsOrBuilderList() { if (fieldsBuilder_ != null) { return fieldsBuilder_.getMessageOrBuilderList(); } else { @@ -830,8 +751,6 @@ public com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder getFieldsO } } /** - * - * *
      * Describes the fields in a table.
      * 
@@ -839,12 +758,10 @@ public com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder getFieldsO * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 1; */ public com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder addFieldsBuilder() { - return getFieldsFieldBuilder() - .addBuilder(com.google.cloud.bigquery.storage.v1.TableFieldSchema.getDefaultInstance()); + return getFieldsFieldBuilder().addBuilder( + com.google.cloud.bigquery.storage.v1.TableFieldSchema.getDefaultInstance()); } /** - * - * *
      * Describes the fields in a table.
      * 
@@ -853,43 +770,37 @@ public com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder addFieldsBu */ public com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder addFieldsBuilder( int index) { - return getFieldsFieldBuilder() - .addBuilder( - index, com.google.cloud.bigquery.storage.v1.TableFieldSchema.getDefaultInstance()); + return getFieldsFieldBuilder().addBuilder( + index, com.google.cloud.bigquery.storage.v1.TableFieldSchema.getDefaultInstance()); } /** - * - * *
      * Describes the fields in a table.
      * 
* * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 1; */ - public java.util.List - getFieldsBuilderList() { + public java.util.List + getFieldsBuilderList() { return getFieldsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.TableFieldSchema, - com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder, - com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder> + com.google.cloud.bigquery.storage.v1.TableFieldSchema, com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder, com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder> getFieldsFieldBuilder() { if (fieldsBuilder_ == null) { - fieldsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.TableFieldSchema, - com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder, - com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder>( - fields_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + fieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.storage.v1.TableFieldSchema, com.google.cloud.bigquery.storage.v1.TableFieldSchema.Builder, com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder>( + fields_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); fields_ = null; } return fieldsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -899,12 +810,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.TableSchema) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.TableSchema) private static final com.google.cloud.bigquery.storage.v1.TableSchema DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.TableSchema(); } @@ -913,27 +824,27 @@ public static com.google.cloud.bigquery.storage.v1.TableSchema getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TableSchema parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TableSchema parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -948,4 +859,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1.TableSchema getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableSchemaOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableSchemaOrBuilder.java similarity index 65% rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableSchemaOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableSchemaOrBuilder.java index d81d6bad8a..d4e000c03f 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableSchemaOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableSchemaOrBuilder.java @@ -1,42 +1,23 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/storage/v1/table.proto // Protobuf Java Version: 3.25.2 package com.google.cloud.bigquery.storage.v1; -public interface TableSchemaOrBuilder - extends +public interface TableSchemaOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.TableSchema) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Describes the fields in a table.
    * 
* * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 1; */ - java.util.List getFieldsList(); + java.util.List + getFieldsList(); /** - * - * *
    * Describes the fields in a table.
    * 
@@ -45,8 +26,6 @@ public interface TableSchemaOrBuilder */ com.google.cloud.bigquery.storage.v1.TableFieldSchema getFields(int index); /** - * - * *
    * Describes the fields in a table.
    * 
@@ -55,24 +34,21 @@ public interface TableSchemaOrBuilder */ int getFieldsCount(); /** - * - * *
    * Describes the fields in a table.
    * 
* * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 1; */ - java.util.List + java.util.List getFieldsOrBuilderList(); /** - * - * *
    * Describes the fields in a table.
    * 
* * repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 1; */ - com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder getFieldsOrBuilder(int index); + com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder getFieldsOrBuilder( + int index); } diff --git a/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 65% 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 9da777819d..9021122f73 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,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 @@ -20,59 +5,53 @@ package com.google.cloud.bigquery.storage.v1; /** - * - * *
  * Information on if the current connection is being throttled.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.ThrottleState} */ -public final class ThrottleState extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ThrottleState extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.ThrottleState) ThrottleStateOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ThrottleState.newBuilder() to construct. private ThrottleState(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ThrottleState() {} + private ThrottleState() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ThrottleState(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_ThrottleState_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_ThrottleState_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_ThrottleState_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_ThrottleState_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.ThrottleState.class, - com.google.cloud.bigquery.storage.v1.ThrottleState.Builder.class); + com.google.cloud.bigquery.storage.v1.ThrottleState.class, com.google.cloud.bigquery.storage.v1.ThrottleState.Builder.class); } public static final int THROTTLE_PERCENT_FIELD_NUMBER = 1; private int throttlePercent_ = 0; /** - * - * *
    * How much this connection is being throttled. Zero means no throttling,
    * 100 means fully throttled.
    * 
* * int32 throttle_percent = 1; - * * @return The throttlePercent. */ @java.lang.Override @@ -81,7 +60,6 @@ public int getThrottlePercent() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -93,7 +71,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_); } @@ -107,7 +86,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -117,15 +97,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1.ThrottleState)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.ThrottleState other = - (com.google.cloud.bigquery.storage.v1.ThrottleState) obj; + com.google.cloud.bigquery.storage.v1.ThrottleState other = (com.google.cloud.bigquery.storage.v1.ThrottleState) obj; - if (getThrottlePercent() != other.getThrottlePercent()) return false; + if (getThrottlePercent() + != other.getThrottlePercent()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -145,135 +125,131 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1.ThrottleState parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.ThrottleState parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.ThrottleState parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.ThrottleState parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.ThrottleState parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.ThrottleState parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1.ThrottleState parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.ThrottleState parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1.ThrottleState parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.ThrottleState parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.ThrottleState parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1.ThrottleState parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.ThrottleState parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1.ThrottleState parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.ThrottleState prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Information on if the current connection is being throttled.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.ThrottleState} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.ThrottleState) com.google.cloud.bigquery.storage.v1.ThrottleStateOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_ThrottleState_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_ThrottleState_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StorageProto - .internal_static_google_cloud_bigquery_storage_v1_ThrottleState_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StorageProto.internal_static_google_cloud_bigquery_storage_v1_ThrottleState_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.ThrottleState.class, - com.google.cloud.bigquery.storage.v1.ThrottleState.Builder.class); + com.google.cloud.bigquery.storage.v1.ThrottleState.class, com.google.cloud.bigquery.storage.v1.ThrottleState.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1.ThrottleState.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -283,9 +259,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 @@ -304,11 +280,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1.ThrottleState result = new com.google.cloud.bigquery.storage.v1.ThrottleState(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -324,39 +297,38 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.ThrottleState re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.ThrottleState) { - return mergeFrom((com.google.cloud.bigquery.storage.v1.ThrottleState) other); + return mergeFrom((com.google.cloud.bigquery.storage.v1.ThrottleState)other); } else { super.mergeFrom(other); return this; @@ -364,8 +336,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()); } @@ -395,19 +366,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - throttlePercent_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + throttlePercent_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -417,20 +386,16 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private int throttlePercent_; + private int throttlePercent_ ; /** - * - * *
      * How much this connection is being throttled. Zero means no throttling,
      * 100 means fully throttled.
      * 
* * int32 throttle_percent = 1; - * * @return The throttlePercent. */ @java.lang.Override @@ -438,15 +403,12 @@ 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. */ @@ -458,15 +420,12 @@ public Builder setThrottlePercent(int value) { return this; } /** - * - * *
      * How much this connection is being throttled. Zero means no throttling,
      * 100 means fully throttled.
      * 
* * int32 throttle_percent = 1; - * * @return This builder for chaining. */ public Builder clearThrottlePercent() { @@ -475,9 +434,9 @@ public Builder clearThrottlePercent() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -487,12 +446,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(); } @@ -501,27 +460,27 @@ public static com.google.cloud.bigquery.storage.v1.ThrottleState getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ThrottleState parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ThrottleState parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -536,4 +495,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..74a227c162 --- /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,21 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1/storage.proto + +// Protobuf Java Version: 3.25.2 +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/java/com/google/cloud/bigquery/storage/v1/WriteStream.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/WriteStream.java similarity index 67% rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/WriteStream.java rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/WriteStream.java index 262f749582..1be52d1517 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/WriteStream.java +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/WriteStream.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 @@ -20,24 +5,21 @@ package com.google.cloud.bigquery.storage.v1; /** - * - * *
  * Information about a single stream that gets data inside the storage system.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.WriteStream} */ -public final class WriteStream extends com.google.protobuf.GeneratedMessageV3 - implements +public final class WriteStream extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1.WriteStream) WriteStreamOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use WriteStream.newBuilder() to construct. private WriteStream(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private WriteStream() { name_ = ""; type_ = 0; @@ -47,38 +29,34 @@ private WriteStream() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new WriteStream(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StreamProto - .internal_static_google_cloud_bigquery_storage_v1_WriteStream_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StreamProto.internal_static_google_cloud_bigquery_storage_v1_WriteStream_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StreamProto - .internal_static_google_cloud_bigquery_storage_v1_WriteStream_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StreamProto.internal_static_google_cloud_bigquery_storage_v1_WriteStream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.WriteStream.class, - com.google.cloud.bigquery.storage.v1.WriteStream.Builder.class); + com.google.cloud.bigquery.storage.v1.WriteStream.class, com.google.cloud.bigquery.storage.v1.WriteStream.Builder.class); } /** - * - * *
    * Type enum of the stream.
    * 
* * Protobuf enum {@code google.cloud.bigquery.storage.v1.WriteStream.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unknown type.
      * 
@@ -87,8 +65,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.
@@ -98,8 +74,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     COMMITTED(1),
     /**
-     *
-     *
      * 
      * Data is invisible until the stream is committed.
      * 
@@ -108,8 +82,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ PENDING(2), /** - * - * *
      * Data is only visible up to the offset to which it was flushed.
      * 
@@ -121,8 +93,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unknown type.
      * 
@@ -131,8 +101,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.
@@ -142,8 +110,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int COMMITTED_VALUE = 1;
     /**
-     *
-     *
      * 
      * Data is invisible until the stream is committed.
      * 
@@ -152,8 +118,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.
      * 
@@ -162,6 +126,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( @@ -186,51 +151,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() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.bigquery.storage.v1.WriteStream.getDescriptor().getEnumTypes().get(0); } private static final Type[] VALUES = values(); - public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Type valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -248,18 +212,15 @@ private Type(int value) { } /** - * - * *
    * Mode enum of the stream.
    * 
* * Protobuf enum {@code google.cloud.bigquery.storage.v1.WriteStream.WriteMode} */ - public enum WriteMode implements com.google.protobuf.ProtocolMessageEnum { + public enum WriteMode + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unknown type.
      * 
@@ -268,8 +229,6 @@ public enum WriteMode implements com.google.protobuf.ProtocolMessageEnum { */ WRITE_MODE_UNSPECIFIED(0), /** - * - * *
      * Insert new records into the table.
      * It is the default value if customers do not specify it.
@@ -282,8 +241,6 @@ public enum WriteMode implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Unknown type.
      * 
@@ -292,8 +249,6 @@ public enum WriteMode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int WRITE_MODE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Insert new records into the table.
      * It is the default value if customers do not specify it.
@@ -303,6 +258,7 @@ public enum WriteMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int INSERT_VALUE = 1;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -327,47 +283,48 @@ public static WriteMode valueOf(int value) {
      */
     public static WriteMode forNumber(int value) {
       switch (value) {
-        case 0:
-          return WRITE_MODE_UNSPECIFIED;
-        case 1:
-          return INSERT;
-        default:
-          return null;
+        case 0: return WRITE_MODE_UNSPECIFIED;
+        case 1: return INSERT;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        WriteMode> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public WriteMode findValueByNumber(int number) {
+              return WriteMode.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public WriteMode findValueByNumber(int number) {
-            return WriteMode.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.bigquery.storage.v1.WriteStream.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final WriteMode[] VALUES = values();
 
-    public static WriteMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static WriteMode valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -386,19 +343,15 @@ private WriteMode(int value) {
 
   private int bitField0_;
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Output only. Name of the stream, in the form
    * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -407,30 +360,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 { @@ -441,57 +394,38 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int TYPE_FIELD_NUMBER = 2; private int type_ = 0; /** - * - * *
    * Immutable. Type of the stream.
    * 
* - * - * .google.cloud.bigquery.storage.v1.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.bigquery.storage.v1.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * Immutable. Type of the stream.
    * 
* - * - * .google.cloud.bigquery.storage.v1.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.bigquery.storage.v1.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; * @return The type. */ - @java.lang.Override - public com.google.cloud.bigquery.storage.v1.WriteStream.Type getType() { - com.google.cloud.bigquery.storage.v1.WriteStream.Type result = - com.google.cloud.bigquery.storage.v1.WriteStream.Type.forNumber(type_); - return result == null - ? com.google.cloud.bigquery.storage.v1.WriteStream.Type.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.bigquery.storage.v1.WriteStream.Type getType() { + com.google.cloud.bigquery.storage.v1.WriteStream.Type result = com.google.cloud.bigquery.storage.v1.WriteStream.Type.forNumber(type_); + return result == null ? com.google.cloud.bigquery.storage.v1.WriteStream.Type.UNRECOGNIZED : result; } public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. Create time of the stream. For the _default stream, this is
    * the creation_time of the table.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -499,16 +433,12 @@ public boolean hasCreateTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Output only. Create time of the stream. For the _default stream, this is
    * the creation_time of the table.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -516,15 +446,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() { @@ -534,8 +461,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
@@ -543,9 +468,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 @@ -553,8 +476,6 @@ public boolean hasCommitTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Output only. Commit time of the stream.
    * If a stream is of `COMMITTED` type, then it will have a commit_time same as
@@ -562,9 +483,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 @@ -572,8 +491,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
@@ -581,8 +498,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() { @@ -592,8 +508,6 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() { public static final int TABLE_SCHEMA_FIELD_NUMBER = 5; private com.google.cloud.bigquery.storage.v1.TableSchema tableSchema_; /** - * - * *
    * Output only. The schema of the destination table. It is only returned in
    * `CreateWriteStream` response. Caller should generate data that's
@@ -601,10 +515,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.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the tableSchema field is set. */ @java.lang.Override @@ -612,8 +523,6 @@ public boolean hasTableSchema() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * Output only. The schema of the destination table. It is only returned in
    * `CreateWriteStream` response. Caller should generate data that's
@@ -621,21 +530,14 @@ public boolean hasTableSchema() {
    * The table schema could go out of date during the life time of the stream.
    * 
* - * - * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The tableSchema. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.TableSchema getTableSchema() { - return tableSchema_ == null - ? com.google.cloud.bigquery.storage.v1.TableSchema.getDefaultInstance() - : tableSchema_; + return tableSchema_ == null ? com.google.cloud.bigquery.storage.v1.TableSchema.getDefaultInstance() : tableSchema_; } /** - * - * *
    * Output only. The schema of the destination table. It is only returned in
    * `CreateWriteStream` response. Caller should generate data that's
@@ -643,65 +545,43 @@ public com.google.cloud.bigquery.storage.v1.TableSchema getTableSchema() {
    * The table schema could go out of date during the life time of the stream.
    * 
* - * - * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.TableSchemaOrBuilder getTableSchemaOrBuilder() { - return tableSchema_ == null - ? com.google.cloud.bigquery.storage.v1.TableSchema.getDefaultInstance() - : tableSchema_; + return tableSchema_ == null ? com.google.cloud.bigquery.storage.v1.TableSchema.getDefaultInstance() : tableSchema_; } public static final int WRITE_MODE_FIELD_NUMBER = 7; private int writeMode_ = 0; /** - * - * *
    * Immutable. Mode of the stream.
    * 
* - * - * .google.cloud.bigquery.storage.v1.WriteStream.WriteMode write_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.bigquery.storage.v1.WriteStream.WriteMode write_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for writeMode. */ - @java.lang.Override - public int getWriteModeValue() { + @java.lang.Override public int getWriteModeValue() { return writeMode_; } /** - * - * *
    * Immutable. Mode of the stream.
    * 
* - * - * .google.cloud.bigquery.storage.v1.WriteStream.WriteMode write_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.bigquery.storage.v1.WriteStream.WriteMode write_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; * @return The writeMode. */ - @java.lang.Override - public com.google.cloud.bigquery.storage.v1.WriteStream.WriteMode getWriteMode() { - com.google.cloud.bigquery.storage.v1.WriteStream.WriteMode result = - com.google.cloud.bigquery.storage.v1.WriteStream.WriteMode.forNumber(writeMode_); - return result == null - ? com.google.cloud.bigquery.storage.v1.WriteStream.WriteMode.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.bigquery.storage.v1.WriteStream.WriteMode getWriteMode() { + com.google.cloud.bigquery.storage.v1.WriteStream.WriteMode result = com.google.cloud.bigquery.storage.v1.WriteStream.WriteMode.forNumber(writeMode_); + return result == null ? com.google.cloud.bigquery.storage.v1.WriteStream.WriteMode.UNRECOGNIZED : result; } public static final int LOCATION_FIELD_NUMBER = 8; - @SuppressWarnings("serial") private volatile java.lang.Object location_ = ""; /** - * - * *
    * Immutable. The geographic location where the stream's dataset resides. See
    * https://cloud.google.com/bigquery/docs/locations for supported
@@ -709,7 +589,6 @@ public com.google.cloud.bigquery.storage.v1.WriteStream.WriteMode getWriteMode()
    * 
* * string location = 8 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The location. */ @java.lang.Override @@ -718,15 +597,14 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** - * - * *
    * Immutable. The geographic location where the stream's dataset resides. See
    * https://cloud.google.com/bigquery/docs/locations for supported
@@ -734,15 +612,16 @@ public java.lang.String getLocation() {
    * 
* * string location = 8 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -751,7 +630,6 @@ public com.google.protobuf.ByteString getLocationBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -763,12 +641,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (type_ - != com.google.cloud.bigquery.storage.v1.WriteStream.Type.TYPE_UNSPECIFIED.getNumber()) { + if (type_ != com.google.cloud.bigquery.storage.v1.WriteStream.Type.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, type_); } if (((bitField0_ & 0x00000001) != 0)) { @@ -780,9 +658,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(5, getTableSchema()); } - if (writeMode_ - != com.google.cloud.bigquery.storage.v1.WriteStream.WriteMode.WRITE_MODE_UNSPECIFIED - .getNumber()) { + if (writeMode_ != com.google.cloud.bigquery.storage.v1.WriteStream.WriteMode.WRITE_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(7, writeMode_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { @@ -800,23 +676,25 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (type_ - != com.google.cloud.bigquery.storage.v1.WriteStream.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); + if (type_ != com.google.cloud.bigquery.storage.v1.WriteStream.Type.TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, type_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCreateTime()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCommitTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getCommitTime()); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getTableSchema()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getTableSchema()); } - if (writeMode_ - != com.google.cloud.bigquery.storage.v1.WriteStream.WriteMode.WRITE_MODE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, writeMode_); + if (writeMode_ != com.google.cloud.bigquery.storage.v1.WriteStream.WriteMode.WRITE_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(7, writeMode_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(location_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, location_); @@ -829,30 +707,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.WriteStream)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1.WriteStream other = - (com.google.cloud.bigquery.storage.v1.WriteStream) obj; + com.google.cloud.bigquery.storage.v1.WriteStream other = (com.google.cloud.bigquery.storage.v1.WriteStream) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (type_ != other.type_) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasCommitTime() != other.hasCommitTime()) return false; if (hasCommitTime()) { - if (!getCommitTime().equals(other.getCommitTime())) return false; + if (!getCommitTime() + .equals(other.getCommitTime())) return false; } if (hasTableSchema() != other.hasTableSchema()) return false; if (hasTableSchema()) { - if (!getTableSchema().equals(other.getTableSchema())) return false; + if (!getTableSchema() + .equals(other.getTableSchema())) return false; } if (writeMode_ != other.writeMode_) return false; - if (!getLocation().equals(other.getLocation())) return false; + if (!getLocation() + .equals(other.getLocation())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -889,127 +771,120 @@ public int hashCode() { return hash; } - public static com.google.cloud.bigquery.storage.v1.WriteStream parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.bigquery.storage.v1.WriteStream parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.WriteStream parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.WriteStream parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.WriteStream parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.WriteStream parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1.WriteStream parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1.WriteStream parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.WriteStream parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1.WriteStream parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.WriteStream parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1.WriteStream parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1.WriteStream parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1.WriteStream parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1.WriteStream parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1.WriteStream prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Information about a single stream that gets data inside the storage system.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1.WriteStream} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1.WriteStream) com.google.cloud.bigquery.storage.v1.WriteStreamOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1.StreamProto - .internal_static_google_cloud_bigquery_storage_v1_WriteStream_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1.StreamProto.internal_static_google_cloud_bigquery_storage_v1_WriteStream_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1.StreamProto - .internal_static_google_cloud_bigquery_storage_v1_WriteStream_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1.StreamProto.internal_static_google_cloud_bigquery_storage_v1_WriteStream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1.WriteStream.class, - com.google.cloud.bigquery.storage.v1.WriteStream.Builder.class); + com.google.cloud.bigquery.storage.v1.WriteStream.class, com.google.cloud.bigquery.storage.v1.WriteStream.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1.WriteStream.newBuilder() @@ -1017,19 +892,19 @@ 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) { getCreateTimeFieldBuilder(); getCommitTimeFieldBuilder(); getTableSchemaFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1057,9 +932,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1.StreamProto - .internal_static_google_cloud_bigquery_storage_v1_WriteStream_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1.StreamProto.internal_static_google_cloud_bigquery_storage_v1_WriteStream_descriptor; } @java.lang.Override @@ -1078,11 +953,8 @@ public com.google.cloud.bigquery.storage.v1.WriteStream build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1.WriteStream buildPartial() { - com.google.cloud.bigquery.storage.v1.WriteStream result = - new com.google.cloud.bigquery.storage.v1.WriteStream(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1.WriteStream result = new com.google.cloud.bigquery.storage.v1.WriteStream(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1097,16 +969,21 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.WriteStream resu } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.commitTime_ = commitTimeBuilder_ == null ? commitTime_ : commitTimeBuilder_.build(); + result.commitTime_ = commitTimeBuilder_ == null + ? commitTime_ + : commitTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000010) != 0)) { - result.tableSchema_ = - tableSchemaBuilder_ == null ? tableSchema_ : tableSchemaBuilder_.build(); + result.tableSchema_ = tableSchemaBuilder_ == null + ? tableSchema_ + : tableSchemaBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000020) != 0)) { @@ -1122,39 +999,38 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1.WriteStream resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1.WriteStream) { - return mergeFrom((com.google.cloud.bigquery.storage.v1.WriteStream) other); + return mergeFrom((com.google.cloud.bigquery.storage.v1.WriteStream)other); } else { super.mergeFrom(other); return this; @@ -1162,8 +1038,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.bigquery.storage.v1.WriteStream other) { - if (other == com.google.cloud.bigquery.storage.v1.WriteStream.getDefaultInstance()) - return this; + if (other == com.google.cloud.bigquery.storage.v1.WriteStream.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -1215,55 +1090,53 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - type_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - input.readMessage(getCommitTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - input.readMessage(getTableSchemaFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 56: - { - writeMode_ = input.readEnum(); - bitField0_ |= 0x00000020; - break; - } // case 56 - case 66: - { - location_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 66 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + type_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getCommitTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + input.readMessage( + getTableSchemaFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 56: { + writeMode_ = input.readEnum(); + bitField0_ |= 0x00000020; + break; + } // case 56 + case 66: { + location_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 66 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1273,26 +1146,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Output only. Name of the stream, in the form
      * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1301,22 +1171,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 { @@ -1324,37 +1193,30 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. Name of the stream, in the form
      * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1364,22 +1226,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. Name of the stream, in the form
      * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1389,33 +1247,22 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int type_ = 0; /** - * - * *
      * Immutable. Type of the stream.
      * 
* - * - * .google.cloud.bigquery.storage.v1.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.bigquery.storage.v1.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * Immutable. Type of the stream.
      * 
* - * - * .google.cloud.bigquery.storage.v1.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.bigquery.storage.v1.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -1426,37 +1273,24 @@ public Builder setTypeValue(int value) { return this; } /** - * - * *
      * Immutable. Type of the stream.
      * 
* - * - * .google.cloud.bigquery.storage.v1.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.bigquery.storage.v1.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; * @return The type. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.WriteStream.Type getType() { - com.google.cloud.bigquery.storage.v1.WriteStream.Type result = - com.google.cloud.bigquery.storage.v1.WriteStream.Type.forNumber(type_); - return result == null - ? com.google.cloud.bigquery.storage.v1.WriteStream.Type.UNRECOGNIZED - : result; + com.google.cloud.bigquery.storage.v1.WriteStream.Type result = com.google.cloud.bigquery.storage.v1.WriteStream.Type.forNumber(type_); + return result == null ? com.google.cloud.bigquery.storage.v1.WriteStream.Type.UNRECOGNIZED : result; } /** - * - * *
      * Immutable. Type of the stream.
      * 
* - * - * .google.cloud.bigquery.storage.v1.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.bigquery.storage.v1.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; * @param value The type to set. * @return This builder for chaining. */ @@ -1470,16 +1304,11 @@ public Builder setType(com.google.cloud.bigquery.storage.v1.WriteStream.Type val return this; } /** - * - * *
      * Immutable. Type of the stream.
      * 
* - * - * .google.cloud.bigquery.storage.v1.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.bigquery.storage.v1.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearType() { @@ -1491,61 +1320,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 ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Output only. Create time of the stream. For the _default stream, this is
      * the creation_time of the table.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Create time of the stream. For the _default stream, this is
      * the creation_time of the table.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1561,18 +1371,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(); } else { @@ -1583,22 +1390,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 (((bitField0_ & 0x00000004) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1613,16 +1416,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() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1635,16 +1434,12 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. Create time of the stream. For the _default stream, this is
      * the creation_time of the table.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; @@ -1652,50 +1447,38 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Create time of the stream. For the _default stream, this is
      * the creation_time of the table.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. Create time of the stream. For the _default stream, this is
      * the creation_time of the table.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1703,13 +1486,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
@@ -1717,18 +1495,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 ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Output only. Commit time of the stream.
      * If a stream is of `COMMITTED` type, then it will have a commit_time same as
@@ -1736,24 +1509,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
@@ -1761,9 +1527,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) { @@ -1779,8 +1543,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
@@ -1788,11 +1550,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(); } else { @@ -1803,8 +1564,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
@@ -1812,15 +1571,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 (((bitField0_ & 0x00000008) != 0) - && commitTime_ != null - && commitTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + commitTime_ != null && + commitTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCommitTimeBuilder().mergeFrom(value); } else { commitTime_ = value; @@ -1835,8 +1592,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
@@ -1844,9 +1599,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() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1859,8 +1612,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
@@ -1868,9 +1619,7 @@ public Builder clearCommitTime() {
      * means it is not committed.
      * 
* - * - * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCommitTimeBuilder() { bitField0_ |= 0x00000008; @@ -1878,8 +1627,6 @@ public com.google.protobuf.Timestamp.Builder getCommitTimeBuilder() { return getCommitTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Commit time of the stream.
      * If a stream is of `COMMITTED` type, then it will have a commit_time same as
@@ -1887,22 +1634,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
@@ -1910,22 +1652,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_; @@ -1933,13 +1670,8 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() { private com.google.cloud.bigquery.storage.v1.TableSchema tableSchema_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.TableSchema, - com.google.cloud.bigquery.storage.v1.TableSchema.Builder, - com.google.cloud.bigquery.storage.v1.TableSchemaOrBuilder> - tableSchemaBuilder_; + com.google.cloud.bigquery.storage.v1.TableSchema, com.google.cloud.bigquery.storage.v1.TableSchema.Builder, com.google.cloud.bigquery.storage.v1.TableSchemaOrBuilder> tableSchemaBuilder_; /** - * - * *
      * Output only. The schema of the destination table. It is only returned in
      * `CreateWriteStream` response. Caller should generate data that's
@@ -1947,18 +1679,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.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the tableSchema field is set. */ public boolean hasTableSchema() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Output only. The schema of the destination table. It is only returned in
      * `CreateWriteStream` response. Caller should generate data that's
@@ -1966,24 +1693,17 @@ public boolean hasTableSchema() {
      * The table schema could go out of date during the life time of the stream.
      * 
* - * - * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The tableSchema. */ public com.google.cloud.bigquery.storage.v1.TableSchema getTableSchema() { if (tableSchemaBuilder_ == null) { - return tableSchema_ == null - ? com.google.cloud.bigquery.storage.v1.TableSchema.getDefaultInstance() - : tableSchema_; + return tableSchema_ == null ? com.google.cloud.bigquery.storage.v1.TableSchema.getDefaultInstance() : tableSchema_; } else { return tableSchemaBuilder_.getMessage(); } } /** - * - * *
      * Output only. The schema of the destination table. It is only returned in
      * `CreateWriteStream` response. Caller should generate data that's
@@ -1991,9 +1711,7 @@ public com.google.cloud.bigquery.storage.v1.TableSchema getTableSchema() {
      * The table schema could go out of date during the life time of the stream.
      * 
* - * - * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setTableSchema(com.google.cloud.bigquery.storage.v1.TableSchema value) { if (tableSchemaBuilder_ == null) { @@ -2009,8 +1727,6 @@ public Builder setTableSchema(com.google.cloud.bigquery.storage.v1.TableSchema v return this; } /** - * - * *
      * Output only. The schema of the destination table. It is only returned in
      * `CreateWriteStream` response. Caller should generate data that's
@@ -2018,9 +1734,7 @@ public Builder setTableSchema(com.google.cloud.bigquery.storage.v1.TableSchema v
      * The table schema could go out of date during the life time of the stream.
      * 
* - * - * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setTableSchema( com.google.cloud.bigquery.storage.v1.TableSchema.Builder builderForValue) { @@ -2034,8 +1748,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
@@ -2043,16 +1755,13 @@ public Builder setTableSchema(
      * The table schema could go out of date during the life time of the stream.
      * 
* - * - * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeTableSchema(com.google.cloud.bigquery.storage.v1.TableSchema value) { if (tableSchemaBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && tableSchema_ != null - && tableSchema_ - != com.google.cloud.bigquery.storage.v1.TableSchema.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + tableSchema_ != null && + tableSchema_ != com.google.cloud.bigquery.storage.v1.TableSchema.getDefaultInstance()) { getTableSchemaBuilder().mergeFrom(value); } else { tableSchema_ = value; @@ -2067,8 +1776,6 @@ public Builder mergeTableSchema(com.google.cloud.bigquery.storage.v1.TableSchema return this; } /** - * - * *
      * Output only. The schema of the destination table. It is only returned in
      * `CreateWriteStream` response. Caller should generate data that's
@@ -2076,9 +1783,7 @@ public Builder mergeTableSchema(com.google.cloud.bigquery.storage.v1.TableSchema
      * The table schema could go out of date during the life time of the stream.
      * 
* - * - * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearTableSchema() { bitField0_ = (bitField0_ & ~0x00000010); @@ -2091,8 +1796,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
@@ -2100,9 +1803,7 @@ public Builder clearTableSchema() {
      * The table schema could go out of date during the life time of the stream.
      * 
* - * - * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.bigquery.storage.v1.TableSchema.Builder getTableSchemaBuilder() { bitField0_ |= 0x00000010; @@ -2110,8 +1811,6 @@ public com.google.cloud.bigquery.storage.v1.TableSchema.Builder getTableSchemaBu return getTableSchemaFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The schema of the destination table. It is only returned in
      * `CreateWriteStream` response. Caller should generate data that's
@@ -2119,22 +1818,17 @@ public com.google.cloud.bigquery.storage.v1.TableSchema.Builder getTableSchemaBu
      * The table schema could go out of date during the life time of the stream.
      * 
* - * - * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.bigquery.storage.v1.TableSchemaOrBuilder getTableSchemaOrBuilder() { if (tableSchemaBuilder_ != null) { return tableSchemaBuilder_.getMessageOrBuilder(); } else { - return tableSchema_ == null - ? com.google.cloud.bigquery.storage.v1.TableSchema.getDefaultInstance() - : tableSchema_; + return tableSchema_ == null ? + com.google.cloud.bigquery.storage.v1.TableSchema.getDefaultInstance() : tableSchema_; } } /** - * - * *
      * Output only. The schema of the destination table. It is only returned in
      * `CreateWriteStream` response. Caller should generate data that's
@@ -2142,22 +1836,17 @@ public com.google.cloud.bigquery.storage.v1.TableSchemaOrBuilder getTableSchemaO
      * The table schema could go out of date during the life time of the stream.
      * 
* - * - * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.TableSchema, - com.google.cloud.bigquery.storage.v1.TableSchema.Builder, - com.google.cloud.bigquery.storage.v1.TableSchemaOrBuilder> + com.google.cloud.bigquery.storage.v1.TableSchema, com.google.cloud.bigquery.storage.v1.TableSchema.Builder, com.google.cloud.bigquery.storage.v1.TableSchemaOrBuilder> getTableSchemaFieldBuilder() { if (tableSchemaBuilder_ == null) { - tableSchemaBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1.TableSchema, - com.google.cloud.bigquery.storage.v1.TableSchema.Builder, - com.google.cloud.bigquery.storage.v1.TableSchemaOrBuilder>( - getTableSchema(), getParentForChildren(), isClean()); + tableSchemaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1.TableSchema, com.google.cloud.bigquery.storage.v1.TableSchema.Builder, com.google.cloud.bigquery.storage.v1.TableSchemaOrBuilder>( + getTableSchema(), + getParentForChildren(), + isClean()); tableSchema_ = null; } return tableSchemaBuilder_; @@ -2165,33 +1854,22 @@ public com.google.cloud.bigquery.storage.v1.TableSchemaOrBuilder getTableSchemaO private int writeMode_ = 0; /** - * - * *
      * Immutable. Mode of the stream.
      * 
* - * - * .google.cloud.bigquery.storage.v1.WriteStream.WriteMode write_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.bigquery.storage.v1.WriteStream.WriteMode write_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for writeMode. */ - @java.lang.Override - public int getWriteModeValue() { + @java.lang.Override public int getWriteModeValue() { return writeMode_; } /** - * - * *
      * Immutable. Mode of the stream.
      * 
* - * - * .google.cloud.bigquery.storage.v1.WriteStream.WriteMode write_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.bigquery.storage.v1.WriteStream.WriteMode write_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; * @param value The enum numeric value on the wire for writeMode to set. * @return This builder for chaining. */ @@ -2202,37 +1880,24 @@ public Builder setWriteModeValue(int value) { return this; } /** - * - * *
      * Immutable. Mode of the stream.
      * 
* - * - * .google.cloud.bigquery.storage.v1.WriteStream.WriteMode write_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.bigquery.storage.v1.WriteStream.WriteMode write_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; * @return The writeMode. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1.WriteStream.WriteMode getWriteMode() { - com.google.cloud.bigquery.storage.v1.WriteStream.WriteMode result = - com.google.cloud.bigquery.storage.v1.WriteStream.WriteMode.forNumber(writeMode_); - return result == null - ? com.google.cloud.bigquery.storage.v1.WriteStream.WriteMode.UNRECOGNIZED - : result; + com.google.cloud.bigquery.storage.v1.WriteStream.WriteMode result = com.google.cloud.bigquery.storage.v1.WriteStream.WriteMode.forNumber(writeMode_); + return result == null ? com.google.cloud.bigquery.storage.v1.WriteStream.WriteMode.UNRECOGNIZED : result; } /** - * - * *
      * Immutable. Mode of the stream.
      * 
* - * - * .google.cloud.bigquery.storage.v1.WriteStream.WriteMode write_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.bigquery.storage.v1.WriteStream.WriteMode write_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; * @param value The writeMode to set. * @return This builder for chaining. */ @@ -2246,16 +1911,11 @@ public Builder setWriteMode(com.google.cloud.bigquery.storage.v1.WriteStream.Wri return this; } /** - * - * *
      * Immutable. Mode of the stream.
      * 
* - * - * .google.cloud.bigquery.storage.v1.WriteStream.WriteMode write_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.bigquery.storage.v1.WriteStream.WriteMode write_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearWriteMode() { @@ -2267,8 +1927,6 @@ public Builder clearWriteMode() { private java.lang.Object location_ = ""; /** - * - * *
      * Immutable. The geographic location where the stream's dataset resides. See
      * https://cloud.google.com/bigquery/docs/locations for supported
@@ -2276,13 +1934,13 @@ public Builder clearWriteMode() {
      * 
* * string location = 8 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -2291,8 +1949,6 @@ public java.lang.String getLocation() { } } /** - * - * *
      * Immutable. The geographic location where the stream's dataset resides. See
      * https://cloud.google.com/bigquery/docs/locations for supported
@@ -2300,14 +1956,15 @@ public java.lang.String getLocation() {
      * 
* * string location = 8 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for location. */ - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -2315,8 +1972,6 @@ public com.google.protobuf.ByteString getLocationBytes() { } } /** - * - * *
      * Immutable. The geographic location where the stream's dataset resides. See
      * https://cloud.google.com/bigquery/docs/locations for supported
@@ -2324,22 +1979,18 @@ public com.google.protobuf.ByteString getLocationBytes() {
      * 
* * string location = 8 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLocation( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } location_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * Immutable. The geographic location where the stream's dataset resides. See
      * https://cloud.google.com/bigquery/docs/locations for supported
@@ -2347,7 +1998,6 @@ public Builder setLocation(java.lang.String value) {
      * 
* * string location = 8 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return This builder for chaining. */ public Builder clearLocation() { @@ -2357,8 +2007,6 @@ public Builder clearLocation() { return this; } /** - * - * *
      * Immutable. The geographic location where the stream's dataset resides. See
      * https://cloud.google.com/bigquery/docs/locations for supported
@@ -2366,23 +2014,21 @@ public Builder clearLocation() {
      * 
* * string location = 8 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLocationBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); location_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2392,12 +2038,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1.WriteStream) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1.WriteStream) private static final com.google.cloud.bigquery.storage.v1.WriteStream DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1.WriteStream(); } @@ -2406,27 +2052,27 @@ public static com.google.cloud.bigquery.storage.v1.WriteStream getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WriteStream parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WriteStream parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2441,4 +2087,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1.WriteStream getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/WriteStreamName.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/WriteStreamName.java similarity index 99% rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/WriteStreamName.java rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/WriteStreamName.java index 0788d62153..b2ad84c56f 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/WriteStreamName.java +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/WriteStreamName.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/WriteStreamOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/WriteStreamOrBuilder.java similarity index 71% rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/WriteStreamOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/WriteStreamOrBuilder.java index 58a38ae10a..e6ecae44c1 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/WriteStreamOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/WriteStreamOrBuilder.java @@ -1,129 +1,85 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 // Protobuf Java Version: 3.25.2 package com.google.cloud.bigquery.storage.v1; -public interface WriteStreamOrBuilder - extends +public interface WriteStreamOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.WriteStream) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Name of the stream, in the form
    * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. Name of the stream, in the form
    * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Immutable. Type of the stream.
    * 
* - * - * .google.cloud.bigquery.storage.v1.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.bigquery.storage.v1.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * Immutable. Type of the stream.
    * 
* - * - * .google.cloud.bigquery.storage.v1.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.bigquery.storage.v1.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; * @return The type. */ com.google.cloud.bigquery.storage.v1.WriteStream.Type getType(); /** - * - * *
    * Output only. Create time of the stream. For the _default stream, this is
    * the creation_time of the table.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. Create time of the stream. For the _default stream, this is
    * the creation_time of the table.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. Create time of the stream. For the _default stream, this is
    * the creation_time of the table.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. Commit time of the stream.
    * If a stream is of `COMMITTED` type, then it will have a commit_time same as
@@ -131,15 +87,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
@@ -147,15 +99,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
@@ -163,14 +111,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
@@ -178,16 +123,11 @@ public interface WriteStreamOrBuilder
    * The table schema could go out of date during the life time of the stream.
    * 
* - * - * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the tableSchema field is set. */ boolean hasTableSchema(); /** - * - * *
    * Output only. The schema of the destination table. It is only returned in
    * `CreateWriteStream` response. Caller should generate data that's
@@ -195,16 +135,11 @@ public interface WriteStreamOrBuilder
    * The table schema could go out of date during the life time of the stream.
    * 
* - * - * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The tableSchema. */ com.google.cloud.bigquery.storage.v1.TableSchema getTableSchema(); /** - * - * *
    * Output only. The schema of the destination table. It is only returned in
    * `CreateWriteStream` response. Caller should generate data that's
@@ -212,44 +147,30 @@ public interface WriteStreamOrBuilder
    * The table schema could go out of date during the life time of the stream.
    * 
* - * - * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.storage.v1.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.bigquery.storage.v1.TableSchemaOrBuilder getTableSchemaOrBuilder(); /** - * - * *
    * Immutable. Mode of the stream.
    * 
* - * - * .google.cloud.bigquery.storage.v1.WriteStream.WriteMode write_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.bigquery.storage.v1.WriteStream.WriteMode write_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for writeMode. */ int getWriteModeValue(); /** - * - * *
    * Immutable. Mode of the stream.
    * 
* - * - * .google.cloud.bigquery.storage.v1.WriteStream.WriteMode write_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.bigquery.storage.v1.WriteStream.WriteMode write_mode = 7 [(.google.api.field_behavior) = IMMUTABLE]; * @return The writeMode. */ com.google.cloud.bigquery.storage.v1.WriteStream.WriteMode getWriteMode(); /** - * - * *
    * Immutable. The geographic location where the stream's dataset resides. See
    * https://cloud.google.com/bigquery/docs/locations for supported
@@ -257,13 +178,10 @@ public interface WriteStreamOrBuilder
    * 
* * string location = 8 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The location. */ java.lang.String getLocation(); /** - * - * *
    * Immutable. The geographic location where the stream's dataset resides. See
    * https://cloud.google.com/bigquery/docs/locations for supported
@@ -271,8 +189,8 @@ public interface WriteStreamOrBuilder
    * 
* * string location = 8 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for location. */ - com.google.protobuf.ByteString getLocationBytes(); + com.google.protobuf.ByteString + getLocationBytes(); } diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/WriteStreamView.java b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/WriteStreamView.java similarity index 70% rename from proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/WriteStreamView.java rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/WriteStreamView.java index ef7ffc043e..c55d21c035 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/WriteStreamView.java +++ b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/WriteStreamView.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 @@ -20,8 +5,6 @@ package com.google.cloud.bigquery.storage.v1; /** - * - * *
  * WriteStreamView is a view enum that controls what details about a write
  * stream should be returned.
@@ -29,10 +12,9 @@
  *
  * Protobuf enum {@code google.cloud.bigquery.storage.v1.WriteStreamView}
  */
-public enum WriteStreamView implements com.google.protobuf.ProtocolMessageEnum {
+public enum WriteStreamView
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * The default / unset value.
    * 
@@ -41,8 +23,6 @@ public enum WriteStreamView implements com.google.protobuf.ProtocolMessageEnum { */ WRITE_STREAM_VIEW_UNSPECIFIED(0), /** - * - * *
    * The BASIC projection returns basic metadata about a write stream.  The
    * basic view does not include schema information.  This is the default view
@@ -53,8 +33,6 @@ public enum WriteStreamView implements com.google.protobuf.ProtocolMessageEnum {
    */
   BASIC(1),
   /**
-   *
-   *
    * 
    * The FULL projection returns all available write stream metadata, including
    * the schema.  CreateWriteStream returns the full projection of write stream
@@ -68,8 +46,6 @@ public enum WriteStreamView implements com.google.protobuf.ProtocolMessageEnum {
   ;
 
   /**
-   *
-   *
    * 
    * The default / unset value.
    * 
@@ -78,8 +54,6 @@ public enum WriteStreamView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int WRITE_STREAM_VIEW_UNSPECIFIED_VALUE = 0; /** - * - * *
    * The BASIC projection returns basic metadata about a write stream.  The
    * basic view does not include schema information.  This is the default view
@@ -90,8 +64,6 @@ public enum WriteStreamView implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int BASIC_VALUE = 1;
   /**
-   *
-   *
    * 
    * The FULL projection returns all available write stream metadata, including
    * the schema.  CreateWriteStream returns the full projection of write stream
@@ -102,6 +74,7 @@ public enum WriteStreamView implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int FULL_VALUE = 2;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -126,49 +99,49 @@ public static WriteStreamView valueOf(int value) {
    */
   public static WriteStreamView forNumber(int value) {
     switch (value) {
-      case 0:
-        return WRITE_STREAM_VIEW_UNSPECIFIED;
-      case 1:
-        return BASIC;
-      case 2:
-        return FULL;
-      default:
-        return null;
+      case 0: return WRITE_STREAM_VIEW_UNSPECIFIED;
+      case 1: return BASIC;
+      case 2: return FULL;
+      default: return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap
+      internalGetValueMap() {
     return internalValueMap;
   }
-
-  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-      new com.google.protobuf.Internal.EnumLiteMap() {
-        public WriteStreamView findValueByNumber(int number) {
-          return WriteStreamView.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      WriteStreamView> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public WriteStreamView findValueByNumber(int number) {
+            return WriteStreamView.forNumber(number);
+          }
+        };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor
+      getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-
-  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+  public final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptorForType() {
     return getDescriptor();
   }
-
-  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptor() {
     return com.google.cloud.bigquery.storage.v1.StreamProto.getDescriptor().getEnumTypes().get(1);
   }
 
   private static final WriteStreamView[] VALUES = values();
 
-  public static WriteStreamView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static WriteStreamView valueOf(
+      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException(
+        "EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -184,3 +157,4 @@ private WriteStreamView(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.cloud.bigquery.storage.v1.WriteStreamView)
 }
+
diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/annotations.proto b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/annotations.proto
similarity index 100%
rename from proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/annotations.proto
rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/annotations.proto
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/protobuf.proto b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/protobuf.proto
similarity index 100%
rename from proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/protobuf.proto
rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/protobuf.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/proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/table.proto b/owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/table.proto
similarity index 100%
rename from proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/table.proto
rename to owl-bot-staging/v1/proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/table.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 de52098b24..26062d2fe2 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
@@ -1,5 +1,5 @@
 /*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
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 98%
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 8bf0b80d3d..0f7af2df7e 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
@@ -1,5 +1,5 @@
 /*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -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;
@@ -142,7 +143,6 @@ public static TransportChannelProvider defaultTransportChannelProvider() {
     return BigQueryStorageStubSettings.defaultTransportChannelProvider();
   }
 
-  @BetaApi("The surface for customizing headers is not stable yet and may change in the future.")
   public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() {
     return BigQueryStorageStubSettings.defaultApiClientHeaderProviderBuilder();
   }
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 98%
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
index c8396d62db..e5d0153413 100644
--- 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
@@ -1,5 +1,5 @@
 /*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
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 98%
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
index f3e4e0f101..84053f1842 100644
--- 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
@@ -1,5 +1,5 @@
 /*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
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 99%
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 2755d11d06..27ea7232bd 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
@@ -1,5 +1,5 @@
 /*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -198,7 +198,6 @@ 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(
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 99%
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
index 7e1c872fbd..30262c9466 100644
--- 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
@@ -1,5 +1,5 @@
 /*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
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 c0472c8a8e..9abbb112f3 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
@@ -1,5 +1,5 @@
 /*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -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/owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/main/resources/META-INF/native-image/com.google.cloud.bigquery.storage.v1beta1/reflect-config.json b/owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/main/resources/META-INF/native-image/com.google.cloud.bigquery.storage.v1beta1/reflect-config.json
new file mode 100644
index 0000000000..5f3339caea
--- /dev/null
+++ b/owl-bot-staging/v1beta1/google-cloud-bigquerystorage/src/main/resources/META-INF/native-image/com.google.cloud.bigquery.storage.v1beta1/reflect-config.json
@@ -0,0 +1,1559 @@
+[
+  {
+    "name": "com.google.api.ClientLibraryDestination",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.api.ClientLibraryOrganization",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.api.ClientLibrarySettings",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.api.ClientLibrarySettings$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.api.CommonLanguageSettings",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.api.CommonLanguageSettings$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.api.CppSettings",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.api.CppSettings$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.api.CustomHttpPattern",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.api.CustomHttpPattern$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.api.DotnetSettings",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.api.DotnetSettings$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.api.FieldBehavior",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.api.GoSettings",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.api.GoSettings$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.api.Http",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.api.Http$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.api.HttpRule",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.api.HttpRule$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.api.JavaSettings",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.api.JavaSettings$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.api.LaunchStage",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.api.MethodSettings",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.api.MethodSettings$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.api.MethodSettings$LongRunning",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.api.MethodSettings$LongRunning$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.api.NodeSettings",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.api.NodeSettings$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.api.PhpSettings",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.api.PhpSettings$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.api.Publishing",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.api.Publishing$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.api.PythonSettings",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.api.PythonSettings$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.api.ResourceDescriptor",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.api.ResourceDescriptor$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.api.ResourceDescriptor$History",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.api.ResourceDescriptor$Style",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.api.ResourceReference",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.api.ResourceReference$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.api.RubySettings",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.api.RubySettings$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.cloud.bigquery.storage.v1beta1.ArrowProto$ArrowRecordBatch",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.cloud.bigquery.storage.v1beta1.ArrowProto$ArrowRecordBatch$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.cloud.bigquery.storage.v1beta1.ArrowProto$ArrowSchema",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.cloud.bigquery.storage.v1beta1.ArrowProto$ArrowSchema$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.cloud.bigquery.storage.v1beta1.AvroProto$AvroRows",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.cloud.bigquery.storage.v1beta1.AvroProto$AvroRows$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.cloud.bigquery.storage.v1beta1.AvroProto$AvroSchema",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.cloud.bigquery.storage.v1beta1.AvroProto$AvroSchema$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.cloud.bigquery.storage.v1beta1.ReadOptions$TableReadOptions",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.cloud.bigquery.storage.v1beta1.ReadOptions$TableReadOptions$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.cloud.bigquery.storage.v1beta1.Storage$BatchCreateReadSessionStreamsRequest",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.cloud.bigquery.storage.v1beta1.Storage$BatchCreateReadSessionStreamsRequest$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.cloud.bigquery.storage.v1beta1.Storage$BatchCreateReadSessionStreamsResponse",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.cloud.bigquery.storage.v1beta1.Storage$BatchCreateReadSessionStreamsResponse$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.cloud.bigquery.storage.v1beta1.Storage$CreateReadSessionRequest",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.cloud.bigquery.storage.v1beta1.Storage$CreateReadSessionRequest$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.cloud.bigquery.storage.v1beta1.Storage$DataFormat",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.cloud.bigquery.storage.v1beta1.Storage$FinalizeStreamRequest",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.cloud.bigquery.storage.v1beta1.Storage$FinalizeStreamRequest$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.cloud.bigquery.storage.v1beta1.Storage$Progress",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.cloud.bigquery.storage.v1beta1.Storage$Progress$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.cloud.bigquery.storage.v1beta1.Storage$ReadRowsRequest",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.cloud.bigquery.storage.v1beta1.Storage$ReadRowsRequest$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.cloud.bigquery.storage.v1beta1.Storage$ReadRowsResponse",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.cloud.bigquery.storage.v1beta1.Storage$ReadRowsResponse$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.cloud.bigquery.storage.v1beta1.Storage$ReadSession",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.cloud.bigquery.storage.v1beta1.Storage$ReadSession$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.cloud.bigquery.storage.v1beta1.Storage$ShardingStrategy",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.cloud.bigquery.storage.v1beta1.Storage$SplitReadStreamRequest",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.cloud.bigquery.storage.v1beta1.Storage$SplitReadStreamRequest$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.cloud.bigquery.storage.v1beta1.Storage$SplitReadStreamResponse",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.cloud.bigquery.storage.v1beta1.Storage$SplitReadStreamResponse$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.cloud.bigquery.storage.v1beta1.Storage$Stream",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.cloud.bigquery.storage.v1beta1.Storage$Stream$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.cloud.bigquery.storage.v1beta1.Storage$StreamPosition",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.cloud.bigquery.storage.v1beta1.Storage$StreamPosition$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.cloud.bigquery.storage.v1beta1.Storage$StreamStatus",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.cloud.bigquery.storage.v1beta1.Storage$StreamStatus$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.cloud.bigquery.storage.v1beta1.Storage$ThrottleStatus",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.cloud.bigquery.storage.v1beta1.Storage$ThrottleStatus$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto$TableModifiers",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto$TableModifiers$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto$TableReference",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto$TableReference$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$DescriptorProto",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ExtensionRange",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ExtensionRange$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ReservedRange",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ReservedRange$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$Edition",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto$EnumReservedRange",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto$EnumReservedRange$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$EnumOptions",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$EnumOptions$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$EnumValueDescriptorProto",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$EnumValueDescriptorProto$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$EnumValueOptions",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$EnumValueOptions$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$Declaration",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$Declaration$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$VerificationState",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$FeatureSet",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$FeatureSet$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$FeatureSet$EnumType",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$FeatureSet$FieldPresence",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$FeatureSet$JsonFormat",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$FeatureSet$MessageEncoding",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$FeatureSet$RepeatedFieldEncoding",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$FeatureSet$Utf8Validation",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults$FeatureSetEditionDefault",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults$FeatureSetEditionDefault$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto$Label",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto$Type",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$FieldOptions",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$FieldOptions$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$FieldOptions$CType",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$FieldOptions$EditionDefault",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$FieldOptions$EditionDefault$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$FieldOptions$JSType",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$FieldOptions$OptionRetention",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$FieldOptions$OptionTargetType",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$FileDescriptorProto",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$FileDescriptorProto$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$FileDescriptorSet",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$FileDescriptorSet$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$FileOptions",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$FileOptions$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$FileOptions$OptimizeMode",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Annotation",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Annotation$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Annotation$Semantic",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$MessageOptions",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$MessageOptions$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$MethodDescriptorProto",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$MethodDescriptorProto$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$MethodOptions",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$MethodOptions$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$MethodOptions$IdempotencyLevel",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$OneofDescriptorProto",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$OneofDescriptorProto$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$OneofOptions",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$OneofOptions$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$ServiceDescriptorProto",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$ServiceDescriptorProto$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$ServiceOptions",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$ServiceOptions$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo$Location",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo$Location$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption$NamePart",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption$NamePart$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.Duration",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.Duration$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.Empty",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.Empty$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.Timestamp",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  },
+  {
+    "name": "com.google.protobuf.Timestamp$Builder",
+    "queryAllDeclaredConstructors": true,
+    "queryAllPublicConstructors": true,
+    "queryAllDeclaredMethods": true,
+    "allPublicMethods": true,
+    "allDeclaredClasses": true,
+    "allPublicClasses": true
+  }
+]
\ No newline at end of file
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 99%
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
index 0e25480089..898bb68c2b 100644
--- 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
@@ -1,5 +1,5 @@
 /*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
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 98%
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
index aba7162d36..bf7e19e5f7 100644
--- 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
@@ -1,5 +1,5 @@
 /*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
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 99%
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
index b1d6e58aae..9ca95b0661 100644
--- 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
@@ -1,5 +1,5 @@
 /*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
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 53%
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 732387dd7e..4a394ed7f0 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 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT 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.
@@ -37,301 +20,209 @@ public final class BigQueryStorageGrpc {
 
   private BigQueryStorageGrpc() {}
 
-  public static final java.lang.String SERVICE_NAME =
-      "google.cloud.bigquery.storage.v1beta1.BigQueryStorage";
+  public static final java.lang.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.
@@ -344,8 +235,6 @@ public BigQueryStorageFutureStub newStub(
   public interface AsyncService {
 
     /**
-     *
-     *
      * 
      * Creates a new read session. A read session divides the contents of a
      * BigQuery table into one or more streams, which can then be used to read
@@ -359,17 +248,12 @@ public interface AsyncService {
      * not require manual clean-up by the caller.
      * 
*/ - default void createReadSession( - com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateReadSessionMethod(), responseObserver); + default void createReadSession(com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateReadSessionMethod(), responseObserver); } /** - * - * *
      * Reads rows from the table in the format prescribed by the read session.
      * Each response contains one or more table rows, up to a maximum of 10 MiB
@@ -381,37 +265,24 @@ default void createReadSession(
      * session, and may change as other streams continue to read data.
      * 
*/ - default void readRows( - com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse> - responseObserver) { + default 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.
      * 
*/ - default void batchCreateReadSessionStreams( - com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest - request, - io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.storage.v1beta1.Storage - .BatchCreateReadSessionStreamsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getBatchCreateReadSessionStreamsMethod(), responseObserver); + default void batchCreateReadSessionStreams(com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchCreateReadSessionStreamsMethod(), responseObserver); } /** - * - * *
      * Causes a single stream in a ReadSession to gracefully stop. This
      * API can be used to dynamically adjust the parallelism of a batch processing
@@ -427,16 +298,12 @@ default void batchCreateReadSessionStreams(
      * Stream.
      * 
*/ - default void finalizeStream( - com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest request, + default void finalizeStream(com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getFinalizeStreamMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFinalizeStreamMethod(), responseObserver); } /** - * - * *
      * Splits a given read stream into two Streams. These streams are referred to
      * as the primary and the residual of the split. The original stream can still
@@ -451,19 +318,14 @@ default void finalizeStream(
      * This method is guaranteed to be idempotent.
      * 
*/ - default void splitReadStream( - com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSplitReadStreamMethod(), responseObserver); + default void splitReadStream(com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSplitReadStreamMethod(), responseObserver); } } /** * Base class for the server implementation of the service BigQueryStorage. - * *
    * BigQuery storage API.
    * The BigQuery storage API can be used to read data stored in BigQuery.
@@ -473,18 +335,16 @@ default void splitReadStream(
    * going forward.
    * 
*/ - public abstract static class BigQueryStorageImplBase + public static abstract class BigQueryStorageImplBase implements io.grpc.BindableService, AsyncService { - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return BigQueryStorageGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service BigQueryStorage. - * *
    * BigQuery storage API.
    * The BigQuery storage API can be used to read data stored in BigQuery.
@@ -496,18 +356,18 @@ public final io.grpc.ServerServiceDefinition bindService() {
    */
   public static final class BigQueryStorageStub
       extends io.grpc.stub.AbstractAsyncStub {
-    private BigQueryStorageStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private BigQueryStorageStub(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
     @java.lang.Override
-    protected BigQueryStorageStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    protected BigQueryStorageStub build(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       return new BigQueryStorageStub(channel, callOptions);
     }
 
     /**
-     *
-     *
      * 
      * Creates a new read session. A read session divides the contents of a
      * BigQuery table into one or more streams, which can then be used to read
@@ -521,19 +381,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
@@ -545,40 +399,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); } /** - * - * *
      * Causes a single stream in a ReadSession to gracefully stop. This
      * API can be used to dynamically adjust the parallelism of a batch processing
@@ -594,18 +434,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
@@ -620,21 +455,15 @@ 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); } } /** * A stub to allow clients to do synchronous rpc calls to service BigQueryStorage. - * *
    * BigQuery storage API.
    * The BigQuery storage API can be used to read data stored in BigQuery.
@@ -646,7 +475,8 @@ public void splitReadStream(
    */
   public static final class BigQueryStorageBlockingStub
       extends io.grpc.stub.AbstractBlockingStub {
-    private BigQueryStorageBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private BigQueryStorageBlockingStub(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
@@ -657,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
@@ -672,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
@@ -692,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); } /** - * - * *
      * Causes a single stream in a ReadSession to gracefully stop. This
      * API can be used to dynamically adjust the parallelism of a batch processing
@@ -733,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
@@ -756,9 +571,7 @@ 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); } @@ -766,7 +579,6 @@ public com.google.protobuf.Empty finalizeStream( /** * A stub to allow clients to do ListenableFuture-style rpc calls to service BigQueryStorage. - * *
    * BigQuery storage API.
    * The BigQuery storage API can be used to read data stored in BigQuery.
@@ -778,7 +590,8 @@ public com.google.protobuf.Empty finalizeStream(
    */
   public static final class BigQueryStorageFutureStub
       extends io.grpc.stub.AbstractFutureStub {
-    private BigQueryStorageFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private BigQueryStorageFutureStub(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
@@ -789,8 +602,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
@@ -804,36 +615,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); } /** - * - * *
      * Causes a single stream in a ReadSession to gracefully stop. This
      * API can be used to dynamically adjust the parallelism of a batch processing
@@ -849,16 +650,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
@@ -873,10 +671,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); } @@ -888,11 +684,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 AsyncService serviceImpl; private final int methodId; @@ -906,40 +702,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(); @@ -960,47 +740,45 @@ public io.grpc.stub.StreamObserver invoke( public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getCreateReadSessionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest, - com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession>( - service, METHODID_CREATE_READ_SESSION))) + getCreateReadSessionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest, + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession>( + service, METHODID_CREATE_READ_SESSION))) .addMethod( - getReadRowsMethod(), - io.grpc.stub.ServerCalls.asyncServerStreamingCall( - new MethodHandlers< - com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest, - com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse>( - service, METHODID_READ_ROWS))) + getReadRowsMethod(), + io.grpc.stub.ServerCalls.asyncServerStreamingCall( + new MethodHandlers< + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest, + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse>( + service, METHODID_READ_ROWS))) .addMethod( - getBatchCreateReadSessionStreamsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.storage.v1beta1.Storage - .BatchCreateReadSessionStreamsRequest, - com.google.cloud.bigquery.storage.v1beta1.Storage - .BatchCreateReadSessionStreamsResponse>( - service, METHODID_BATCH_CREATE_READ_SESSION_STREAMS))) + getBatchCreateReadSessionStreamsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest, + com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse>( + service, METHODID_BATCH_CREATE_READ_SESSION_STREAMS))) .addMethod( - getFinalizeStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest, - com.google.protobuf.Empty>(service, METHODID_FINALIZE_STREAM))) + getFinalizeStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest, + com.google.protobuf.Empty>( + service, METHODID_FINALIZE_STREAM))) .addMethod( - getSplitReadStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest, - com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse>( - service, METHODID_SPLIT_READ_STREAM))) + getSplitReadStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest, + com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse>( + service, METHODID_SPLIT_READ_STREAM))) .build(); } - private 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 @@ -1042,16 +820,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 62% 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 55f4fb95d5..02657ea7f2 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 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 @@ -21,86 +6,77 @@ 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(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.ArrowProto - .internal_static_google_cloud_bigquery_storage_v1beta1_ArrowSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.internal_static_google_cloud_bigquery_storage_v1beta1_ArrowSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.ArrowProto - .internal_static_google_cloud_bigquery_storage_v1beta1_ArrowSchema_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.internal_static_google_cloud_bigquery_storage_v1beta1_ArrowSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.class, - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.class, com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.Builder.class); } public static final int SERIALIZED_SCHEMA_FIELD_NUMBER = 1; private com.google.protobuf.ByteString serializedSchema_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * IPC serialized Arrow schema.
      * 
* * bytes serialized_schema = 1; - * * @return The serializedSchema. */ @java.lang.Override @@ -109,7 +85,6 @@ public com.google.protobuf.ByteString getSerializedSchema() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -121,7 +96,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_); } @@ -135,7 +111,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -145,15 +122,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema other = - (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) obj; + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema other = (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) obj; - if (!getSerializedSchema().equals(other.getSerializedSchema())) return false; + if (!getSerializedSchema() + .equals(other.getSerializedSchema())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -173,95 +150,89 @@ 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 @@ -271,42 +242,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Arrow schema.
      * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.ArrowSchema} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta1.ArrowSchema) com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchemaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.ArrowProto - .internal_static_google_cloud_bigquery_storage_v1beta1_ArrowSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.internal_static_google_cloud_bigquery_storage_v1beta1_ArrowSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.ArrowProto - .internal_static_google_cloud_bigquery_storage_v1beta1_ArrowSchema_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.internal_static_google_cloud_bigquery_storage_v1beta1_ArrowSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.class, - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.class, com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.Builder.class); } - // Construct using - // com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.newBuilder() - private Builder() {} + // Construct using com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -316,16 +284,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 @@ -339,17 +305,13 @@ public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema build() @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema buildPartial() { - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema result = - new com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema result = new com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema result) { + private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.serializedSchema_ = serializedSchema_; @@ -360,53 +322,46 @@ private void buildPartial0( 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()); } @@ -436,19 +391,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - serializedSchema_ = input.readBytes(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + serializedSchema_ = input.readBytes(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -458,20 +411,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.protobuf.ByteString serializedSchema_ = - com.google.protobuf.ByteString.EMPTY; + private com.google.protobuf.ByteString serializedSchema_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
        * IPC serialized Arrow schema.
        * 
* * bytes serialized_schema = 1; - * * @return The serializedSchema. */ @java.lang.Override @@ -479,35 +427,27 @@ public com.google.protobuf.ByteString getSerializedSchema() { return serializedSchema_; } /** - * - * *
        * IPC serialized Arrow schema.
        * 
* * bytes serialized_schema = 1; - * * @param value The serializedSchema to set. * @return This builder for chaining. */ public Builder setSerializedSchema(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } serializedSchema_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * IPC serialized Arrow schema.
        * 
* * bytes serialized_schema = 1; - * * @return This builder for chaining. */ public Builder clearSerializedSchema() { @@ -516,7 +456,6 @@ public Builder clearSerializedSchema() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -529,44 +468,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta1.ArrowSchema) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta1.ArrowSchema) - private static final com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema(); } - public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema - getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ArrowSchema parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ArrowSchema parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -578,99 +514,84 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema - getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ArrowRecordBatchOrBuilder - extends + public interface ArrowRecordBatchOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * IPC serialized Arrow RecordBatch.
      * 
* * bytes serialized_record_batch = 1; - * * @return The serializedRecordBatch. */ com.google.protobuf.ByteString getSerializedRecordBatch(); /** - * - * *
      * The count of rows in the returning block.
      * 
* * int64 row_count = 2; - * * @return The rowCount. */ long getRowCount(); } /** - * - * *
    * Arrow RecordBatch.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch} */ - public static final class ArrowRecordBatch extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ArrowRecordBatch extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch) ArrowRecordBatchOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ArrowRecordBatch.newBuilder() to construct. private ArrowRecordBatch(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ArrowRecordBatch() { serializedRecordBatch_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ArrowRecordBatch(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.ArrowProto - .internal_static_google_cloud_bigquery_storage_v1beta1_ArrowRecordBatch_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.internal_static_google_cloud_bigquery_storage_v1beta1_ArrowRecordBatch_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.ArrowProto - .internal_static_google_cloud_bigquery_storage_v1beta1_ArrowRecordBatch_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.internal_static_google_cloud_bigquery_storage_v1beta1_ArrowRecordBatch_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch.class, - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch.class, com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch.Builder.class); } public static final int SERIALIZED_RECORD_BATCH_FIELD_NUMBER = 1; - private com.google.protobuf.ByteString serializedRecordBatch_ = - com.google.protobuf.ByteString.EMPTY; + private com.google.protobuf.ByteString serializedRecordBatch_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * IPC serialized Arrow RecordBatch.
      * 
* * bytes serialized_record_batch = 1; - * * @return The serializedRecordBatch. */ @java.lang.Override @@ -681,14 +602,11 @@ public com.google.protobuf.ByteString getSerializedRecordBatch() { public static final int ROW_COUNT_FIELD_NUMBER = 2; private long rowCount_ = 0L; /** - * - * *
      * The count of rows in the returning block.
      * 
* * int64 row_count = 2; - * * @return The rowCount. */ @java.lang.Override @@ -697,7 +615,6 @@ public long getRowCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -709,7 +626,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_); } @@ -726,10 +644,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -739,16 +659,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -763,102 +684,97 @@ public int hashCode() { hash = (37 * hash) + SERIALIZED_RECORD_BATCH_FIELD_NUMBER; hash = (53 * hash) + getSerializedRecordBatch().hashCode(); hash = (37 * hash) + ROW_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRowCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getRowCount()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -868,43 +784,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Arrow RecordBatch.
      * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch) com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatchOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.ArrowProto - .internal_static_google_cloud_bigquery_storage_v1beta1_ArrowRecordBatch_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.internal_static_google_cloud_bigquery_storage_v1beta1_ArrowRecordBatch_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.ArrowProto - .internal_static_google_cloud_bigquery_storage_v1beta1_ArrowRecordBatch_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.internal_static_google_cloud_bigquery_storage_v1beta1_ArrowRecordBatch_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch.class, - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch.Builder - .class); + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch.class, com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch.Builder.class); } - // Construct using - // com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch.newBuilder() - private Builder() {} + // Construct using com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -915,22 +827,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); } @@ -939,17 +848,13 @@ public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch bui @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch buildPartial() { - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch result = - new com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch result = new com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch result) { + private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.serializedRecordBatch_ = serializedRecordBatch_; @@ -963,54 +868,46 @@ private void buildPartial0( 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()); } @@ -1043,25 +940,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - serializedRecordBatch_ = input.readBytes(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - rowCount_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + serializedRecordBatch_ = input.readBytes(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + rowCount_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1071,20 +965,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.protobuf.ByteString serializedRecordBatch_ = - com.google.protobuf.ByteString.EMPTY; + private com.google.protobuf.ByteString serializedRecordBatch_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
        * IPC serialized Arrow RecordBatch.
        * 
* * bytes serialized_record_batch = 1; - * * @return The serializedRecordBatch. */ @java.lang.Override @@ -1092,35 +981,27 @@ public com.google.protobuf.ByteString getSerializedRecordBatch() { return serializedRecordBatch_; } /** - * - * *
        * IPC serialized Arrow RecordBatch.
        * 
* * bytes serialized_record_batch = 1; - * * @param value The serializedRecordBatch to set. * @return This builder for chaining. */ public Builder setSerializedRecordBatch(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } serializedRecordBatch_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * IPC serialized Arrow RecordBatch.
        * 
* * bytes serialized_record_batch = 1; - * * @return This builder for chaining. */ public Builder clearSerializedRecordBatch() { @@ -1130,16 +1011,13 @@ public Builder clearSerializedRecordBatch() { return this; } - private long rowCount_; + private long rowCount_ ; /** - * - * *
        * The count of rows in the returning block.
        * 
* * int64 row_count = 2; - * * @return The rowCount. */ @java.lang.Override @@ -1147,14 +1025,11 @@ 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. */ @@ -1166,14 +1041,11 @@ public Builder setRowCount(long value) { return this; } /** - * - * *
        * The count of rows in the returning block.
        * 
* * int64 row_count = 2; - * * @return This builder for chaining. */ public Builder clearRowCount() { @@ -1182,7 +1054,6 @@ public Builder clearRowCount() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1195,45 +1066,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch) - private static final com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch(); + DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch(); } - public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch - getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowRecordBatch getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ArrowRecordBatch parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ArrowRecordBatch parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1245,58 +1112,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|\n)com.google.cloud.bigquery.storag" - + "e.v1beta1B\nArrowProtoZCcloud.google.com/" - + "go/bigquery/storage/apiv1beta1/storagepb" - + ";storagepbb\006proto3" + "\n1google/cloud/bigquery/storage/v1beta1/" + + "arrow.proto\022%google.cloud.bigquery.stora" + + "ge.v1beta1\"(\n\013ArrowSchema\022\031\n\021serialized_" + + "schema\030\001 \001(\014\"F\n\020ArrowRecordBatch\022\037\n\027seri" + + "alized_record_batch\030\001 \001(\014\022\021\n\trow_count\030\002" + + " \001(\003B|\n)com.google.cloud.bigquery.storag" + + "e.v1beta1B\nArrowProtoZCcloud.google.com/" + + "go/bigquery/storage/apiv1beta1/storagepb" + + ";storagepbb\006proto3" }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); internal_static_google_cloud_bigquery_storage_v1beta1_ArrowSchema_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_storage_v1beta1_ArrowSchema_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta1_ArrowSchema_descriptor, - new java.lang.String[] { - "SerializedSchema", - }); + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_storage_v1beta1_ArrowSchema_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta1_ArrowSchema_descriptor, + new java.lang.String[] { "SerializedSchema", }); internal_static_google_cloud_bigquery_storage_v1beta1_ArrowRecordBatch_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_storage_v1beta1_ArrowRecordBatch_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta1_ArrowRecordBatch_descriptor, - new java.lang.String[] { - "SerializedRecordBatch", "RowCount", - }); + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_storage_v1beta1_ArrowRecordBatch_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta1_ArrowRecordBatch_descriptor, + new java.lang.String[] { "SerializedRecordBatch", "RowCount", }); } // @@protoc_insertion_point(outer_class_scope) diff --git a/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 65% 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 7d68e7ce7c..72139f5476 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 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 @@ -21,103 +6,91 @@ 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(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.AvroProto - .internal_static_google_cloud_bigquery_storage_v1beta1_AvroSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.AvroProto.internal_static_google_cloud_bigquery_storage_v1beta1_AvroSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.AvroProto - .internal_static_google_cloud_bigquery_storage_v1beta1_AvroSchema_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.AvroProto.internal_static_google_cloud_bigquery_storage_v1beta1_AvroSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.class, - com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.class, com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.Builder.class); } public static final int SCHEMA_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object schema_ = ""; /** - * - * *
      * Json serialized schema, as described at
      * https://avro.apache.org/docs/1.8.1/spec.html
      * 
* * string schema = 1; - * * @return The schema. */ @java.lang.Override @@ -126,30 +99,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 { @@ -158,7 +131,6 @@ public com.google.protobuf.ByteString getSchemaBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -170,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schema_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, schema_); } @@ -194,15 +167,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema other = - (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) obj; + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema other = (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) obj; - if (!getSchema().equals(other.getSchema())) return false; + if (!getSchema() + .equals(other.getSchema())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -222,94 +195,89 @@ 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 @@ -319,41 +287,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Avro schema.
      * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.AvroSchema} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta1.AvroSchema) com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchemaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.AvroProto - .internal_static_google_cloud_bigquery_storage_v1beta1_AvroSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.AvroProto.internal_static_google_cloud_bigquery_storage_v1beta1_AvroSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.AvroProto - .internal_static_google_cloud_bigquery_storage_v1beta1_AvroSchema_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.AvroProto.internal_static_google_cloud_bigquery_storage_v1beta1_AvroSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.class, - com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.class, com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -363,14 +329,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(); } @@ -385,17 +350,13 @@ public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema buildPartial() { - com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema result = - new com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema result = new com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema result) { + private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.schema_ = schema_; @@ -406,52 +367,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) other); + return mergeFrom((com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema other) { - if (other - == com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema other) { + if (other == com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.getDefaultInstance()) return this; if (!other.getSchema().isEmpty()) { schema_ = other.schema_; bitField0_ |= 0x00000001; @@ -483,19 +438,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - schema_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + schema_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -505,26 +458,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object schema_ = ""; /** - * - * *
        * Json serialized schema, as described at
        * https://avro.apache.org/docs/1.8.1/spec.html
        * 
* * string schema = 1; - * * @return The schema. */ public java.lang.String getSchema() { java.lang.Object ref = schema_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schema_ = s; return s; @@ -533,22 +483,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 { @@ -556,37 +505,30 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSchema( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } schema_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Json serialized schema, as described at
        * https://avro.apache.org/docs/1.8.1/spec.html
        * 
* * string schema = 1; - * * @return This builder for chaining. */ public Builder clearSchema() { @@ -596,29 +538,24 @@ public Builder clearSchema() { return this; } /** - * - * *
        * Json serialized schema, as described at
        * https://avro.apache.org/docs/1.8.1/spec.html
        * 
* * string schema = 1; - * * @param value The bytes for schema to set. * @return This builder for chaining. */ - public Builder setSchemaBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSchemaBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); schema_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -631,44 +568,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta1.AvroSchema) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta1.AvroSchema) - private static final com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema(); } - public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema - getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AvroSchema parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AvroSchema parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -680,99 +614,84 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema - getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface AvroRowsOrBuilder - extends + public interface AvroRowsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta1.AvroRows) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Binary serialized rows in a block.
      * 
* * bytes serialized_binary_rows = 1; - * * @return The serializedBinaryRows. */ com.google.protobuf.ByteString getSerializedBinaryRows(); /** - * - * *
      * The count of rows in the returning block.
      * 
* * int64 row_count = 2; - * * @return The rowCount. */ long getRowCount(); } /** - * - * *
    * Avro rows.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.AvroRows} */ - public static final class AvroRows extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class AvroRows extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta1.AvroRows) AvroRowsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AvroRows.newBuilder() to construct. private AvroRows(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AvroRows() { serializedBinaryRows_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AvroRows(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.AvroProto - .internal_static_google_cloud_bigquery_storage_v1beta1_AvroRows_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.AvroProto.internal_static_google_cloud_bigquery_storage_v1beta1_AvroRows_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.AvroProto - .internal_static_google_cloud_bigquery_storage_v1beta1_AvroRows_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.AvroProto.internal_static_google_cloud_bigquery_storage_v1beta1_AvroRows_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows.class, - com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows.class, com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows.Builder.class); } public static final int SERIALIZED_BINARY_ROWS_FIELD_NUMBER = 1; - private com.google.protobuf.ByteString serializedBinaryRows_ = - com.google.protobuf.ByteString.EMPTY; + private com.google.protobuf.ByteString serializedBinaryRows_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * Binary serialized rows in a block.
      * 
* * bytes serialized_binary_rows = 1; - * * @return The serializedBinaryRows. */ @java.lang.Override @@ -783,14 +702,11 @@ public com.google.protobuf.ByteString getSerializedBinaryRows() { public static final int ROW_COUNT_FIELD_NUMBER = 2; private long rowCount_ = 0L; /** - * - * *
      * The count of rows in the returning block.
      * 
* * int64 row_count = 2; - * * @return The rowCount. */ @java.lang.Override @@ -799,7 +715,6 @@ public long getRowCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -811,7 +726,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_); } @@ -828,10 +744,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -841,16 +759,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -865,101 +784,97 @@ public int hashCode() { hash = (37 * hash) + SERIALIZED_BINARY_ROWS_FIELD_NUMBER; hash = (53 * hash) + getSerializedBinaryRows().hashCode(); hash = (37 * hash) + ROW_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRowCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getRowCount()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -969,41 +884,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Avro rows.
      * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.AvroRows} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta1.AvroRows) com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRowsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.AvroProto - .internal_static_google_cloud_bigquery_storage_v1beta1_AvroRows_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.AvroProto.internal_static_google_cloud_bigquery_storage_v1beta1_AvroRows_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.AvroProto - .internal_static_google_cloud_bigquery_storage_v1beta1_AvroRows_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.AvroProto.internal_static_google_cloud_bigquery_storage_v1beta1_AvroRows_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows.class, - com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows.class, com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1014,14 +927,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(); } @@ -1036,17 +948,13 @@ public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows buildPartial() { - com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows result = - new com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows result = new com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows result) { + private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.serializedBinaryRows_ = serializedBinaryRows_; @@ -1060,41 +968,38 @@ private void buildPartial0( 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; @@ -1102,9 +1007,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()); } @@ -1137,25 +1040,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - serializedBinaryRows_ = input.readBytes(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - rowCount_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + serializedBinaryRows_ = input.readBytes(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + rowCount_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1165,20 +1065,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.protobuf.ByteString serializedBinaryRows_ = - com.google.protobuf.ByteString.EMPTY; + private com.google.protobuf.ByteString serializedBinaryRows_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
        * Binary serialized rows in a block.
        * 
* * bytes serialized_binary_rows = 1; - * * @return The serializedBinaryRows. */ @java.lang.Override @@ -1186,35 +1081,27 @@ public com.google.protobuf.ByteString getSerializedBinaryRows() { return serializedBinaryRows_; } /** - * - * *
        * Binary serialized rows in a block.
        * 
* * bytes serialized_binary_rows = 1; - * * @param value The serializedBinaryRows to set. * @return This builder for chaining. */ public Builder setSerializedBinaryRows(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } serializedBinaryRows_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Binary serialized rows in a block.
        * 
* * bytes serialized_binary_rows = 1; - * * @return This builder for chaining. */ public Builder clearSerializedBinaryRows() { @@ -1224,16 +1111,13 @@ public Builder clearSerializedBinaryRows() { return this; } - private long rowCount_; + private long rowCount_ ; /** - * - * *
        * The count of rows in the returning block.
        * 
* * int64 row_count = 2; - * * @return The rowCount. */ @java.lang.Override @@ -1241,14 +1125,11 @@ 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. */ @@ -1260,14 +1141,11 @@ public Builder setRowCount(long value) { return this; } /** - * - * *
        * The count of rows in the returning block.
        * 
* * int64 row_count = 2; - * * @return This builder for chaining. */ public Builder clearRowCount() { @@ -1276,7 +1154,6 @@ public Builder clearRowCount() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1289,44 +1166,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta1.AvroRows) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta1.AvroRows) - private static final com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows(); } - public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows - getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AvroRows parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AvroRows parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1338,57 +1212,56 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows - getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta1_AvroSchema_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1beta1_AvroSchema_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_bigquery_storage_v1beta1_AvroSchema_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta1_AvroRows_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1beta1_AvroRows_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_bigquery_storage_v1beta1_AvroRows_fieldAccessorTable; - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { return descriptor; } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; static { java.lang.String[] descriptorData = { - "\n0google/cloud/bigquery/storage/v1beta1/" - + "avro.proto\022%google.cloud.bigquery.storag" - + "e.v1beta1\"\034\n\nAvroSchema\022\016\n\006schema\030\001 \001(\t\"" - + "=\n\010AvroRows\022\036\n\026serialized_binary_rows\030\001 " - + "\001(\014\022\021\n\trow_count\030\002 \001(\003B{\n)com.google.clo" - + "ud.bigquery.storage.v1beta1B\tAvroProtoZC" - + "cloud.google.com/go/bigquery/storage/api" - + "v1beta1/storagepb;storagepbb\006proto3" + "\n0google/cloud/bigquery/storage/v1beta1/" + + "avro.proto\022%google.cloud.bigquery.storag" + + "e.v1beta1\"\034\n\nAvroSchema\022\016\n\006schema\030\001 \001(\t\"" + + "=\n\010AvroRows\022\036\n\026serialized_binary_rows\030\001 " + + "\001(\014\022\021\n\trow_count\030\002 \001(\003B{\n)com.google.clo" + + "ud.bigquery.storage.v1beta1B\tAvroProtoZC" + + "cloud.google.com/go/bigquery/storage/api" + + "v1beta1/storagepb;storagepbb\006proto3" }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); internal_static_google_cloud_bigquery_storage_v1beta1_AvroSchema_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_storage_v1beta1_AvroSchema_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta1_AvroSchema_descriptor, - new java.lang.String[] { - "Schema", - }); + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_storage_v1beta1_AvroSchema_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta1_AvroSchema_descriptor, + new java.lang.String[] { "Schema", }); internal_static_google_cloud_bigquery_storage_v1beta1_AvroRows_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_storage_v1beta1_AvroRows_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta1_AvroRows_descriptor, - new java.lang.String[] { - "SerializedBinaryRows", "RowCount", - }); + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_storage_v1beta1_AvroRows_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta1_AvroRows_descriptor, + new java.lang.String[] { "SerializedBinaryRows", "RowCount", }); } // @@protoc_insertion_point(outer_class_scope) diff --git a/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 99% 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 index 633c2072ca..0e5813f2d4 100644 --- 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 @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. 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 81% 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 ebef322f72..efe45c1ce6 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 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 @@ -21,21 +6,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. The names of the fields in the table to be returned. If no
      * field names are specified, then all fields in the table are returned.
@@ -87,13 +71,11 @@ public interface TableReadOptionsOrBuilder
      * 
* * repeated string selected_fields = 1; - * * @return A list containing the selectedFields. */ - java.util.List getSelectedFieldsList(); + java.util.List + getSelectedFieldsList(); /** - * - * *
      * Optional. The names of the fields in the table to be returned. If no
      * field names are specified, then all fields in the table are returned.
@@ -145,13 +127,10 @@ public interface TableReadOptionsOrBuilder
      * 
* * repeated string selected_fields = 1; - * * @return The count of selectedFields. */ int getSelectedFieldsCount(); /** - * - * *
      * Optional. The names of the fields in the table to be returned. If no
      * field names are specified, then all fields in the table are returned.
@@ -203,14 +182,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. The names of the fields in the table to be returned. If no
      * field names are specified, then all fields in the table are returned.
@@ -262,15 +238,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 SQL query. Aggregates are not supported.
@@ -285,13 +259,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 SQL query. Aggregates are not supported.
@@ -306,64 +277,58 @@ 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.emptyList(); + selectedFields_ = + com.google.protobuf.LazyStringArrayList.emptyList(); rowRestriction_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TableReadOptions(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.ReadOptions - .internal_static_google_cloud_bigquery_storage_v1beta1_TableReadOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.ReadOptions.internal_static_google_cloud_bigquery_storage_v1beta1_TableReadOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.ReadOptions - .internal_static_google_cloud_bigquery_storage_v1beta1_TableReadOptions_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.ReadOptions.internal_static_google_cloud_bigquery_storage_v1beta1_TableReadOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.class, - com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.class, com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.Builder.class); } public static final int SELECTED_FIELDS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList selectedFields_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
      * Optional. The names of the fields in the table to be returned. If no
      * field names are specified, then all fields in the table are returned.
@@ -415,15 +380,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. The names of the fields in the table to be returned. If no
      * field names are specified, then all fields in the table are returned.
@@ -475,15 +438,12 @@ public com.google.protobuf.ProtocolStringList getSelectedFieldsList() {
      * 
* * repeated string selected_fields = 1; - * * @return The count of selectedFields. */ public int getSelectedFieldsCount() { return selectedFields_.size(); } /** - * - * *
      * Optional. The names of the fields in the table to be returned. If no
      * field names are specified, then all fields in the table are returned.
@@ -535,7 +495,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. */ @@ -543,8 +502,6 @@ public java.lang.String getSelectedFields(int index) { return selectedFields_.get(index); } /** - * - * *
      * Optional. The names of the fields in the table to be returned. If no
      * field names are specified, then all fields in the table are returned.
@@ -596,21 +553,18 @@ public java.lang.String getSelectedFields(int index) {
      * 
* * repeated string selected_fields = 1; - * * @param index The index of the value to return. * @return The bytes of the selectedFields at the given index. */ - public com.google.protobuf.ByteString getSelectedFieldsBytes(int index) { + public com.google.protobuf.ByteString + getSelectedFieldsBytes(int index) { return selectedFields_.getByteString(index); } public static final int ROW_RESTRICTION_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object rowRestriction_ = ""; /** - * - * *
      * Optional. SQL text filtering statement, similar to a WHERE clause in
      * a SQL query. Aggregates are not supported.
@@ -625,7 +579,6 @@ public com.google.protobuf.ByteString getSelectedFieldsBytes(int index) {
      * 
* * string row_restriction = 2; - * * @return The rowRestriction. */ @java.lang.Override @@ -634,15 +587,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 SQL query. Aggregates are not supported.
@@ -657,15 +609,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 { @@ -674,7 +627,6 @@ public com.google.protobuf.ByteString getRowRestrictionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -686,7 +638,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)); } @@ -721,17 +674,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions)) { + if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions other = - (com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions) obj; + com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions other = (com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions) obj; - if (!getSelectedFieldsList().equals(other.getSelectedFieldsList())) return false; - if (!getRowRestriction().equals(other.getRowRestriction())) return false; + if (!getSelectedFieldsList() + .equals(other.getSelectedFieldsList())) return false; + if (!getRowRestriction() + .equals(other.getRowRestriction())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -755,95 +708,89 @@ 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 @@ -853,69 +800,63 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Options dictating how we read a table.
      * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.TableReadOptions} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta1.TableReadOptions) com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.ReadOptions - .internal_static_google_cloud_bigquery_storage_v1beta1_TableReadOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.ReadOptions.internal_static_google_cloud_bigquery_storage_v1beta1_TableReadOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.ReadOptions - .internal_static_google_cloud_bigquery_storage_v1beta1_TableReadOptions_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.ReadOptions.internal_static_google_cloud_bigquery_storage_v1beta1_TableReadOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.class, - com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.Builder - .class); + com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.class, com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.Builder.class); } - // Construct using - // com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.newBuilder() - private Builder() {} + // Construct using com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; - selectedFields_ = com.google.protobuf.LazyStringArrayList.emptyList(); + selectedFields_ = + com.google.protobuf.LazyStringArrayList.emptyList(); rowRestriction_ = ""; return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1beta1.ReadOptions - .internal_static_google_cloud_bigquery_storage_v1beta1_TableReadOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1beta1.ReadOptions.internal_static_google_cloud_bigquery_storage_v1beta1_TableReadOptions_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions - getDefaultInstanceForType() { - return com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions - .getDefaultInstance(); + public com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions getDefaultInstanceForType() { + return com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.getDefaultInstance(); } @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions build() { - com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions result = - buildPartial(); + com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -924,17 +865,13 @@ public com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions bu @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions buildPartial() { - com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions result = - new com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions result = new com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions result) { + private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { selectedFields_.makeImmutable(); @@ -949,54 +886,46 @@ private void buildPartial0( 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_; @@ -1038,26 +967,23 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureSelectedFieldsIsMutable(); - selectedFields_.add(s); - break; - } // case 10 - case 18: - { - rowRestriction_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensureSelectedFieldsIsMutable(); + selectedFields_.add(s); + break; + } // case 10 + case 18: { + rowRestriction_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1067,12 +993,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.LazyStringArrayList selectedFields_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureSelectedFieldsIsMutable() { if (!selectedFields_.isModifiable()) { selectedFields_ = new com.google.protobuf.LazyStringArrayList(selectedFields_); @@ -1080,8 +1004,6 @@ private void ensureSelectedFieldsIsMutable() { bitField0_ |= 0x00000001; } /** - * - * *
        * Optional. The names of the fields in the table to be returned. If no
        * field names are specified, then all fields in the table are returned.
@@ -1133,16 +1055,14 @@ private void ensureSelectedFieldsIsMutable() {
        * 
* * repeated string selected_fields = 1; - * * @return A list containing the selectedFields. */ - public com.google.protobuf.ProtocolStringList getSelectedFieldsList() { + public com.google.protobuf.ProtocolStringList + getSelectedFieldsList() { selectedFields_.makeImmutable(); return selectedFields_; } /** - * - * *
        * Optional. The names of the fields in the table to be returned. If no
        * field names are specified, then all fields in the table are returned.
@@ -1194,15 +1114,12 @@ public com.google.protobuf.ProtocolStringList getSelectedFieldsList() {
        * 
* * repeated string selected_fields = 1; - * * @return The count of selectedFields. */ public int getSelectedFieldsCount() { return selectedFields_.size(); } /** - * - * *
        * Optional. The names of the fields in the table to be returned. If no
        * field names are specified, then all fields in the table are returned.
@@ -1254,7 +1171,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. */ @@ -1262,8 +1178,6 @@ public java.lang.String getSelectedFields(int index) { return selectedFields_.get(index); } /** - * - * *
        * Optional. The names of the fields in the table to be returned. If no
        * field names are specified, then all fields in the table are returned.
@@ -1315,16 +1229,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. The names of the fields in the table to be returned. If no
        * field names are specified, then all fields in the table are returned.
@@ -1376,15 +1288,13 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSelectedFields( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureSelectedFieldsIsMutable(); selectedFields_.set(index, value); bitField0_ |= 0x00000001; @@ -1392,8 +1302,6 @@ public Builder setSelectedFields(int index, java.lang.String value) { return this; } /** - * - * *
        * Optional. The names of the fields in the table to be returned. If no
        * field names are specified, then all fields in the table are returned.
@@ -1445,14 +1353,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addSelectedFields( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureSelectedFieldsIsMutable(); selectedFields_.add(value); bitField0_ |= 0x00000001; @@ -1460,8 +1366,6 @@ public Builder addSelectedFields(java.lang.String value) { return this; } /** - * - * *
        * Optional. The names of the fields in the table to be returned. If no
        * field names are specified, then all fields in the table are returned.
@@ -1513,20 +1417,19 @@ 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_); bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Optional. The names of the fields in the table to be returned. If no
        * field names are specified, then all fields in the table are returned.
@@ -1578,19 +1481,16 @@ public Builder addAllSelectedFields(java.lang.Iterable values)
        * 
* * repeated string selected_fields = 1; - * * @return This builder for chaining. */ public Builder clearSelectedFields() { - selectedFields_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - ; + selectedFields_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; onChanged(); return this; } /** - * - * *
        * Optional. The names of the fields in the table to be returned. If no
        * field names are specified, then all fields in the table are returned.
@@ -1642,14 +1542,12 @@ public Builder clearSelectedFields() {
        * 
* * repeated string selected_fields = 1; - * * @param value The bytes of the selectedFields to add. * @return This builder for chaining. */ - public Builder addSelectedFieldsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addSelectedFieldsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureSelectedFieldsIsMutable(); selectedFields_.add(value); @@ -1660,8 +1558,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 SQL query. Aggregates are not supported.
@@ -1676,13 +1572,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; @@ -1691,8 +1587,6 @@ public java.lang.String getRowRestriction() { } } /** - * - * *
        * Optional. SQL text filtering statement, similar to a WHERE clause in
        * a SQL query. Aggregates are not supported.
@@ -1707,14 +1601,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 { @@ -1722,8 +1617,6 @@ public com.google.protobuf.ByteString getRowRestrictionBytes() { } } /** - * - * *
        * Optional. SQL text filtering statement, similar to a WHERE clause in
        * a SQL query. Aggregates are not supported.
@@ -1738,22 +1631,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRowRestriction( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } rowRestriction_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * Optional. SQL text filtering statement, similar to a WHERE clause in
        * a SQL query. Aggregates are not supported.
@@ -1768,7 +1657,6 @@ public Builder setRowRestriction(java.lang.String value) {
        * 
* * string row_restriction = 2; - * * @return This builder for chaining. */ public Builder clearRowRestriction() { @@ -1778,8 +1666,6 @@ public Builder clearRowRestriction() { return this; } /** - * - * *
        * Optional. SQL text filtering statement, similar to a WHERE clause in
        * a SQL query. Aggregates are not supported.
@@ -1794,21 +1680,18 @@ public Builder clearRowRestriction() {
        * 
* * string row_restriction = 2; - * * @param value The bytes for rowRestriction to set. * @return This builder for chaining. */ - public Builder setRowRestrictionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRowRestrictionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); rowRestriction_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1821,45 +1704,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta1.TableReadOptions) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta1.TableReadOptions) - private static final com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions(); + DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions(); } - public static com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions - getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TableReadOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TableReadOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1871,45 +1750,45 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions - getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta1_TableReadOptions_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1beta1_TableReadOptions_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_bigquery_storage_v1beta1_TableReadOptions_fieldAccessorTable; - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { return descriptor; } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; static { java.lang.String[] descriptorData = { - "\n8google/cloud/bigquery/storage/v1beta1/" - + "read_options.proto\022%google.cloud.bigquer" - + "y.storage.v1beta1\"D\n\020TableReadOptions\022\027\n" - + "\017selected_fields\030\001 \003(\t\022\027\n\017row_restrictio" - + "n\030\002 \001(\tBp\n)com.google.cloud.bigquery.sto" - + "rage.v1beta1ZCcloud.google.com/go/bigque" - + "ry/storage/apiv1beta1/storagepb;storagep" - + "bb\006proto3" + "\n8google/cloud/bigquery/storage/v1beta1/" + + "read_options.proto\022%google.cloud.bigquer" + + "y.storage.v1beta1\"D\n\020TableReadOptions\022\027\n" + + "\017selected_fields\030\001 \003(\t\022\027\n\017row_restrictio" + + "n\030\002 \001(\tBp\n)com.google.cloud.bigquery.sto" + + "rage.v1beta1ZCcloud.google.com/go/bigque" + + "ry/storage/apiv1beta1/storagepb;storagep" + + "bb\006proto3" }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); internal_static_google_cloud_bigquery_storage_v1beta1_TableReadOptions_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_storage_v1beta1_TableReadOptions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta1_TableReadOptions_descriptor, - new java.lang.String[] { - "SelectedFields", "RowRestriction", - }); + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_storage_v1beta1_TableReadOptions_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta1_TableReadOptions_descriptor, + new java.lang.String[] { "SelectedFields", "RowRestriction", }); } // @@protoc_insertion_point(outer_class_scope) diff --git a/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 65% 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 385fca0bfb..982f9f4674 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 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 @@ -21,25 +6,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.
      * 
@@ -48,8 +33,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.
@@ -59,8 +42,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.
@@ -73,8 +54,6 @@ public enum DataFormat implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Data format is unspecified.
      * 
@@ -83,8 +62,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.
@@ -94,8 +71,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.
@@ -105,6 +80,7 @@ public enum DataFormat implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ARROW_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -129,51 +105,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;
@@ -191,18 +165,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.
      * 
@@ -211,8 +182,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
@@ -224,8 +193,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
@@ -242,8 +209,6 @@ public enum ShardingStrategy implements com.google.protobuf.ProtocolMessageEnum
     ;
 
     /**
-     *
-     *
      * 
      * Same as LIQUID.
      * 
@@ -252,8 +217,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
@@ -265,8 +228,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
@@ -280,6 +241,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(
@@ -304,45 +266,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();
@@ -350,7 +307,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;
@@ -367,96 +325,82 @@ private ShardingStrategy(int value) {
     // @@protoc_insertion_point(enum_scope:google.cloud.bigquery.storage.v1beta1.ShardingStrategy)
   }
 
-  public interface StreamOrBuilder
-      extends
+  public interface StreamOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta1.Stream)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Name of the stream, in the form
      * `projects/{project_id}/locations/{location}/streams/{stream_id}`.
      * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
      * Name of the stream, in the form
      * `projects/{project_id}/locations/{location}/streams/{stream_id}`.
      * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } /** - * - * *
    * Information about a single data stream within a read session.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.Stream} */ - public static final class Stream extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Stream extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta1.Stream) StreamOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Stream.newBuilder() to construct. private Stream(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Stream() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Stream(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.Storage - .internal_static_google_cloud_bigquery_storage_v1beta1_Stream_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_Stream_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.Storage - .internal_static_google_cloud_bigquery_storage_v1beta1_Stream_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_Stream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.class, - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.class, com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
      * Name of the stream, in the form
      * `projects/{project_id}/locations/{location}/streams/{stream_id}`.
      * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -465,30 +409,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 { @@ -497,7 +441,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -509,7 +452,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -533,15 +477,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta1.Storage.Stream)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream other = - (com.google.cloud.bigquery.storage.v1beta1.Storage.Stream) obj; + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream other = (com.google.cloud.bigquery.storage.v1beta1.Storage.Stream) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -561,94 +505,89 @@ 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 @@ -658,41 +597,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Information about a single data stream within a read session.
      * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.Stream} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta1.Stream) com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.Storage - .internal_static_google_cloud_bigquery_storage_v1beta1_Stream_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_Stream_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.Storage - .internal_static_google_cloud_bigquery_storage_v1beta1_Stream_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_Stream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.class, - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.class, com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -702,9 +639,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 @@ -723,11 +660,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream result = new com.google.cloud.bigquery.storage.v1beta1.Storage.Stream(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -743,41 +677,38 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.Storage.Str public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta1.Storage.Stream) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta1.Storage.Stream) other); + return mergeFrom((com.google.cloud.bigquery.storage.v1beta1.Storage.Stream)other); } else { super.mergeFrom(other); return this; @@ -785,8 +716,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_; bitField0_ |= 0x00000001; @@ -818,19 +748,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -840,26 +768,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
        * Name of the stream, in the form
        * `projects/{project_id}/locations/{location}/streams/{stream_id}`.
        * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -868,22 +793,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 { @@ -891,37 +815,30 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Name of the stream, in the form
        * `projects/{project_id}/locations/{location}/streams/{stream_id}`.
        * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -931,29 +848,24 @@ public Builder clearName() { return this; } /** - * - * *
        * Name of the stream, in the form
        * `projects/{project_id}/locations/{location}/streams/{stream_id}`.
        * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -966,12 +878,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(); } @@ -980,28 +892,27 @@ public static com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Stream parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Stream parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1016,40 +927,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.
      * 
@@ -1059,72 +962,63 @@ 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(); } - 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); } private int bitField0_; 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 @@ -1132,25 +1026,18 @@ public boolean hasStream() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * 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.
      * 
@@ -1159,22 +1046,17 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getStream() { */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getStreamOrBuilder() { - return stream_ == null - ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() - : stream_; + return stream_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() : stream_; } public static final int OFFSET_FIELD_NUMBER = 2; private long offset_ = 0L; /** - * - * *
      * Position in the stream.
      * 
* * int64 offset = 2; - * * @return The offset. */ @java.lang.Override @@ -1183,7 +1065,6 @@ public long getOffset() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1195,7 +1076,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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getStream()); } @@ -1212,10 +1094,12 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStream()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getStream()); } if (offset_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, offset_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, offset_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1225,19 +1109,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1254,102 +1139,97 @@ public int hashCode() { hash = (53 * hash) + getStream().hashCode(); } hash = (37 * hash) + OFFSET_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getOffset()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getOffset()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1359,51 +1239,45 @@ 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) { getStreamFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1418,16 +1292,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 @@ -1441,21 +1313,19 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition build() @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition buildPartial() { - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition result = - new com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition result = new com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition result) { + private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.stream_ = streamBuilder_ == null ? stream_ : streamBuilder_.build(); + result.stream_ = streamBuilder_ == null + ? stream_ + : streamBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { @@ -1468,53 +1338,46 @@ private void buildPartial0( 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()); } @@ -1547,25 +1410,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getStreamFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - offset_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getStreamFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + offset_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1575,52 +1437,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.cloud.bigquery.storage.v1beta1.Storage.Stream stream_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder> - streamBuilder_; + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder> streamBuilder_; /** - * - * *
        * Identifier for a given Stream.
        * 
* * .google.cloud.bigquery.storage.v1beta1.Stream stream = 1; - * * @return Whether the stream field is set. */ public boolean hasStream() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * Identifier for a given Stream.
        * 
* * .google.cloud.bigquery.storage.v1beta1.Stream stream = 1; - * * @return The stream. */ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getStream() { if (streamBuilder_ == null) { - return stream_ == null - ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() - : stream_; + return stream_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() : stream_; } else { return streamBuilder_.getMessage(); } } /** - * - * *
        * Identifier for a given Stream.
        * 
@@ -1641,8 +1489,6 @@ public Builder setStream(com.google.cloud.bigquery.storage.v1beta1.Storage.Strea return this; } /** - * - * *
        * Identifier for a given Stream.
        * 
@@ -1661,8 +1507,6 @@ public Builder setStream( return this; } /** - * - * *
        * Identifier for a given Stream.
        * 
@@ -1671,11 +1515,9 @@ public Builder setStream( */ public Builder mergeStream(com.google.cloud.bigquery.storage.v1beta1.Storage.Stream value) { if (streamBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && stream_ != null - && stream_ - != com.google.cloud.bigquery.storage.v1beta1.Storage.Stream - .getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + stream_ != null && + stream_ != com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance()) { getStreamBuilder().mergeFrom(value); } else { stream_ = value; @@ -1690,8 +1532,6 @@ public Builder mergeStream(com.google.cloud.bigquery.storage.v1beta1.Storage.Str return this; } /** - * - * *
        * Identifier for a given Stream.
        * 
@@ -1709,8 +1549,6 @@ public Builder clearStream() { return this; } /** - * - * *
        * Identifier for a given Stream.
        * 
@@ -1723,27 +1561,21 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder getStrea return getStreamFieldBuilder().getBuilder(); } /** - * - * *
        * Identifier for a given Stream.
        * 
* * .google.cloud.bigquery.storage.v1beta1.Stream stream = 1; */ - public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder - getStreamOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getStreamOrBuilder() { if (streamBuilder_ != null) { return streamBuilder_.getMessageOrBuilder(); } else { - return stream_ == null - ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() - : stream_; + return stream_ == null ? + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() : stream_; } } /** - * - * *
        * Identifier for a given Stream.
        * 
@@ -1751,32 +1583,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 @@ -1784,14 +1610,11 @@ public long getOffset() { return offset_; } /** - * - * *
        * Position in the stream.
        * 
* * int64 offset = 2; - * * @param value The offset to set. * @return This builder for chaining. */ @@ -1803,14 +1626,11 @@ public Builder setOffset(long value) { return this; } /** - * - * *
        * Position in the stream.
        * 
* * int64 offset = 2; - * * @return This builder for chaining. */ public Builder clearOffset() { @@ -1819,7 +1639,6 @@ public Builder clearOffset() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1832,44 +1651,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta1.StreamPosition) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta1.StreamPosition) - private static final com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition(); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition - getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StreamPosition parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StreamPosition parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1881,73 +1697,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 +1760,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 +1831,6 @@ public interface ReadSessionOrBuilder */ com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getStreams(int index); /** - * - * *
      * Streams associated with this session.
      * 
@@ -2060,19 +1839,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 +1858,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 +1933,21 @@ com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getStreamsOrBu com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.SchemaCase getSchemaCase(); } /** - * - * *
    * Information returned from a `CreateReadSession` request.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.ReadSession} */ - public static final class ReadSession extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ReadSession extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta1.ReadSession) ReadSessionOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ReadSession.newBuilder() to construct. private ReadSession(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ReadSession() { name_ = ""; streams_ = java.util.Collections.emptyList(); @@ -2210,40 +1956,35 @@ private ReadSession() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReadSession(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.Storage - .internal_static_google_cloud_bigquery_storage_v1beta1_ReadSession_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_ReadSession_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.Storage - .internal_static_google_cloud_bigquery_storage_v1beta1_ReadSession_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_ReadSession_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.class, - com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.class, com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.Builder.class); } private int bitField0_; private int schemaCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object schema_; - public enum SchemaCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { AVRO_SCHEMA(5), ARROW_SCHEMA(6), SCHEMA_NOT_SET(0); private final int value; - private SchemaCase(int value) { this.value = value; } @@ -2259,40 +2000,33 @@ public static SchemaCase valueOf(int value) { public static SchemaCase forNumber(int value) { switch (value) { - case 5: - return AVRO_SCHEMA; - case 6: - return ARROW_SCHEMA; - case 0: - return SCHEMA_NOT_SET; - default: - return null; + case 5: return AVRO_SCHEMA; + case 6: return ARROW_SCHEMA; + case 0: return SCHEMA_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public SchemaCase getSchemaCase() { - return SchemaCase.forNumber(schemaCase_); + public SchemaCase + getSchemaCase() { + return SchemaCase.forNumber( + schemaCase_); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
      * Unique identifier for the session, in the form
      * `projects/{project_id}/locations/{location}/sessions/{session_id}`.
      * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -2301,30 +2035,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 { @@ -2335,15 +2069,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 @@ -2351,15 +2082,12 @@ public boolean hasExpireTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Time at which the session becomes invalid. After this time, subsequent
      * requests to read this Session will return errors.
      * 
* * .google.protobuf.Timestamp expire_time = 2; - * * @return The expireTime. */ @java.lang.Override @@ -2367,8 +2095,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.
@@ -2383,14 +2109,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 @@ -2398,26 +2121,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.
      * 
@@ -2425,24 +2143,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 @@ -2450,26 +2164,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.
      * 
@@ -2477,21 +2186,17 @@ public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema getArrow * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 6; */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchemaOrBuilder - getArrowSchemaOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchemaOrBuilder getArrowSchemaOrBuilder() { if (schemaCase_ == 6) { - return (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) schema_; + return (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) schema_; } return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.getDefaultInstance(); } public static final int STREAMS_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private java.util.List streams_; /** - * - * *
      * Streams associated with this session.
      * 
@@ -2499,13 +2204,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.
      * 
@@ -2513,14 +2215,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.
      * 
@@ -2532,8 +2231,6 @@ public int getStreamsCount() { return streams_.size(); } /** - * - * *
      * Streams associated with this session.
      * 
@@ -2545,8 +2242,6 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getStreams(int i return streams_.get(index); } /** - * - * *
      * Streams associated with this session.
      * 
@@ -2560,17 +2255,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 @@ -2578,27 +2269,18 @@ public boolean hasTableReference() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * 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.
      * 
@@ -2606,26 +2288,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() { - return tableReference_ == null - ? com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference - .getDefaultInstance() - : tableReference_; + public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReferenceOrBuilder getTableReferenceOrBuilder() { + return tableReference_ == null ? com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.getDefaultInstance() : tableReference_; } public static final int TABLE_MODIFIERS_FIELD_NUMBER = 8; - private com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers - tableModifiers_; + private com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers tableModifiers_; /** - * - * *
      * Any modifiers which are applied when reading from the specified table.
      * 
* * .google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 8; - * * @return Whether the tableModifiers field is set. */ @java.lang.Override @@ -2633,27 +2307,18 @@ public boolean hasTableModifiers() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * 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.
      * 
@@ -2661,55 +2326,37 @@ 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() { - return tableModifiers_ == null - ? com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers - .getDefaultInstance() - : tableModifiers_; + public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiersOrBuilder getTableModifiersOrBuilder() { + return tableModifiers_ == null ? com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.getDefaultInstance() : tableModifiers_; } public static final int SHARDING_STRATEGY_FIELD_NUMBER = 9; private int shardingStrategy_ = 0; /** - * - * *
      * The strategy to use for distributing data among the streams.
      * 
* * .google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 9; - * * @return The enum numeric value on the wire for shardingStrategy. */ - @java.lang.Override - public int getShardingStrategyValue() { + @java.lang.Override public int getShardingStrategyValue() { return shardingStrategy_; } /** - * - * *
      * The strategy to use for distributing data among the streams.
      * 
* * .google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 9; - * * @return The shardingStrategy. */ - @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy - getShardingStrategy() { - com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy result = - com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.forNumber( - shardingStrategy_); - return result == null - ? com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy getShardingStrategy() { + com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy result = com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.forNumber(shardingStrategy_); + return result == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2721,7 +2368,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -2732,12 +2380,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 (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(7, getTableReference()); @@ -2745,10 +2391,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(8, getTableModifiers()); } - if (shardingStrategy_ - != com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy - .SHARDING_STRATEGY_UNSPECIFIED - .getNumber()) { + if (shardingStrategy_ != com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.SHARDING_STRATEGY_UNSPECIFIED.getNumber()) { output.writeEnum(9, shardingStrategy_); } getUnknownFields().writeTo(output); @@ -2764,32 +2407,32 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (((bitField0_ & 0x00000001) != 0)) { - 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 (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getTableReference()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getTableReference()); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getTableModifiers()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getTableModifiers()); } - if (shardingStrategy_ - != com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy - .SHARDING_STRATEGY_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, shardingStrategy_); + if (shardingStrategy_ != com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.SHARDING_STRATEGY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(9, shardingStrategy_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2799,36 +2442,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: @@ -2882,94 +2531,89 @@ 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 @@ -2979,32 +2623,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() @@ -3012,20 +2651,20 @@ 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) { getExpireTimeFieldBuilder(); getStreamsFieldBuilder(); getTableReferenceFieldBuilder(); getTableModifiersFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -3066,14 +2705,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(); } @@ -3088,19 +2726,15 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession buildPartial() { - com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession result = - new com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession(this); + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession result = new com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession result) { + private void buildPartialRepeatedFields(com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession result) { if (streamsBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0)) { streams_ = java.util.Collections.unmodifiableList(streams_); @@ -3112,26 +2746,28 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession result) { + private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.expireTime_ = - expireTimeBuilder_ == null ? expireTime_ : expireTimeBuilder_.build(); + result.expireTime_ = expireTimeBuilder_ == null + ? expireTime_ + : expireTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000020) != 0)) { - result.tableReference_ = - tableReferenceBuilder_ == null ? tableReference_ : tableReferenceBuilder_.build(); + result.tableReference_ = tableReferenceBuilder_ == null + ? tableReference_ + : tableReferenceBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000040) != 0)) { - result.tableModifiers_ = - tableModifiersBuilder_ == null ? tableModifiers_ : tableModifiersBuilder_.build(); + result.tableModifiers_ = tableModifiersBuilder_ == null + ? tableModifiers_ + : tableModifiersBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000080) != 0)) { @@ -3140,14 +2776,15 @@ private void buildPartial0( result.bitField0_ |= to_bitField0_; } - private void buildPartialOneofs( - com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession result) { + private void buildPartialOneofs(com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession result) { result.schemaCase_ = schemaCase_; result.schema_ = this.schema_; - if (schemaCase_ == 5 && avroSchemaBuilder_ != null) { + if (schemaCase_ == 5 && + avroSchemaBuilder_ != null) { result.schema_ = avroSchemaBuilder_.build(); } - if (schemaCase_ == 6 && arrowSchemaBuilder_ != null) { + if (schemaCase_ == 6 && + arrowSchemaBuilder_ != null) { result.schema_ = arrowSchemaBuilder_.build(); } } @@ -3156,52 +2793,46 @@ private void buildPartialOneofs( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession) other); + return mergeFrom((com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession other) { - if (other - == com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession other) { + if (other == com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -3228,10 +2859,9 @@ public Builder mergeFrom( streamsBuilder_ = null; streams_ = other.streams_; bitField0_ = (bitField0_ & ~0x00000010); - streamsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getStreamsFieldBuilder() - : null; + streamsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getStreamsFieldBuilder() : null; } else { streamsBuilder_.addAllMessages(other.streams_); } @@ -3247,20 +2877,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.getUnknownFields()); onChanged(); @@ -3288,71 +2915,70 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getExpireTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 34: - { - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream m = - input.readMessage( - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.parser(), - extensionRegistry); - if (streamsBuilder_ == null) { - ensureStreamsIsMutable(); - streams_.add(m); - } else { - streamsBuilder_.addMessage(m); - } - break; - } // case 34 - case 42: - { - input.readMessage(getAvroSchemaFieldBuilder().getBuilder(), extensionRegistry); - schemaCase_ = 5; - break; - } // case 42 - case 50: - { - input.readMessage(getArrowSchemaFieldBuilder().getBuilder(), extensionRegistry); - schemaCase_ = 6; - break; - } // case 50 - case 58: - { - input.readMessage( - getTableReferenceFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 58 - case 66: - { - input.readMessage( - getTableModifiersFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 66 - case 72: - { - shardingStrategy_ = input.readEnum(); - bitField0_ |= 0x00000080; - break; - } // case 72 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getExpireTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 34: { + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream m = + input.readMessage( + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.parser(), + extensionRegistry); + if (streamsBuilder_ == null) { + ensureStreamsIsMutable(); + streams_.add(m); + } else { + streamsBuilder_.addMessage(m); + } + break; + } // case 34 + case 42: { + input.readMessage( + getAvroSchemaFieldBuilder().getBuilder(), + extensionRegistry); + schemaCase_ = 5; + break; + } // case 42 + case 50: { + input.readMessage( + getArrowSchemaFieldBuilder().getBuilder(), + extensionRegistry); + schemaCase_ = 6; + break; + } // case 50 + case 58: { + input.readMessage( + getTableReferenceFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 58 + case 66: { + input.readMessage( + getTableModifiersFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 66 + case 72: { + shardingStrategy_ = input.readEnum(); + bitField0_ |= 0x00000080; + break; + } // case 72 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3362,12 +2988,12 @@ public Builder mergeFrom( } // finally return this; } - private int schemaCase_ = 0; private java.lang.Object schema_; - - public SchemaCase getSchemaCase() { - return SchemaCase.forNumber(schemaCase_); + public SchemaCase + getSchemaCase() { + return SchemaCase.forNumber( + schemaCase_); } public Builder clearSchema() { @@ -3381,21 +3007,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; @@ -3404,22 +3028,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 { @@ -3427,37 +3050,30 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Unique identifier for the session, in the form
        * `projects/{project_id}/locations/{location}/sessions/{session_id}`.
        * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -3467,22 +3083,18 @@ public Builder clearName() { return this; } /** - * - * *
        * Unique identifier for the session, in the form
        * `projects/{project_id}/locations/{location}/sessions/{session_id}`.
        * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -3492,49 +3104,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 ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * Time at which the session becomes invalid. After this time, subsequent
        * requests to read this Session will return errors.
        * 
* * .google.protobuf.Timestamp expire_time = 2; - * * @return The expireTime. */ public com.google.protobuf.Timestamp getExpireTime() { if (expireTimeBuilder_ == null) { - return expireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expireTime_; + return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } else { return expireTimeBuilder_.getMessage(); } } /** - * - * *
        * Time at which the session becomes invalid. After this time, subsequent
        * requests to read this Session will return errors.
@@ -3556,8 +3155,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.
@@ -3565,7 +3162,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();
         } else {
@@ -3576,8 +3174,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.
@@ -3587,9 +3183,9 @@ public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForVal
        */
       public Builder mergeExpireTime(com.google.protobuf.Timestamp value) {
         if (expireTimeBuilder_ == null) {
-          if (((bitField0_ & 0x00000002) != 0)
-              && expireTime_ != null
-              && expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000002) != 0) &&
+            expireTime_ != null &&
+            expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
             getExpireTimeBuilder().mergeFrom(value);
           } else {
             expireTime_ = value;
@@ -3604,8 +3200,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.
@@ -3624,8 +3218,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.
@@ -3639,8 +3231,6 @@ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() {
         return getExpireTimeFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Time at which the session becomes invalid. After this time, subsequent
        * requests to read this Session will return errors.
@@ -3652,14 +3242,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.
@@ -3668,36 +3255,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 @@ -3705,14 +3283,11 @@ public boolean hasAvroSchema() { return schemaCase_ == 5; } /** - * - * *
        * Avro schema.
        * 
* * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 5; - * * @return The avroSchema. */ @java.lang.Override @@ -3721,27 +3296,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(); @@ -3755,8 +3325,6 @@ public Builder setAvroSchema( return this; } /** - * - * *
        * Avro schema.
        * 
@@ -3775,26 +3343,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; } @@ -3810,8 +3370,6 @@ public Builder mergeAvroSchema( return this; } /** - * - * *
        * Avro schema.
        * 
@@ -3835,21 +3393,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.
        * 
@@ -3857,21 +3410,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.
        * 
@@ -3879,20 +3428,14 @@ 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()); @@ -3904,19 +3447,13 @@ public Builder clearAvroSchema() { } 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 @@ -3924,14 +3461,11 @@ public boolean hasArrowSchema() { return schemaCase_ == 6; } /** - * - * *
        * Arrow schema.
        * 
* * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 6; - * * @return The arrowSchema. */ @java.lang.Override @@ -3940,27 +3474,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(); @@ -3974,8 +3503,6 @@ public Builder setArrowSchema( return this; } /** - * - * *
        * Arrow schema.
        * 
@@ -3983,8 +3510,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(); @@ -3995,26 +3521,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; } @@ -4030,8 +3548,6 @@ public Builder mergeArrowSchema( return this; } /** - * - * *
        * Arrow schema.
        * 
@@ -4055,21 +3571,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.
        * 
@@ -4077,21 +3588,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.
        * 
@@ -4099,21 +3606,14 @@ 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()); @@ -4125,34 +3625,25 @@ public Builder clearArrowSchema() { } private java.util.List streams_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureStreamsIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { - streams_ = - new java.util.ArrayList( - streams_); + streams_ = new java.util.ArrayList(streams_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder> - streamsBuilder_; + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder> streamsBuilder_; /** - * - * *
        * Streams associated with this session.
        * 
* * repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 4; */ - public java.util.List - getStreamsList() { + public java.util.List getStreamsList() { if (streamsBuilder_ == null) { return java.util.Collections.unmodifiableList(streams_); } else { @@ -4160,8 +3651,6 @@ private void ensureStreamsIsMutable() { } } /** - * - * *
        * Streams associated with this session.
        * 
@@ -4176,8 +3665,6 @@ public int getStreamsCount() { } } /** - * - * *
        * Streams associated with this session.
        * 
@@ -4192,8 +3679,6 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getStreams(int i } } /** - * - * *
        * Streams associated with this session.
        * 
@@ -4215,8 +3700,6 @@ public Builder setStreams( return this; } /** - * - * *
        * Streams associated with this session.
        * 
@@ -4224,8 +3707,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()); @@ -4236,8 +3718,6 @@ public Builder setStreams( return this; } /** - * - * *
        * Streams associated with this session.
        * 
@@ -4258,8 +3738,6 @@ public Builder addStreams(com.google.cloud.bigquery.storage.v1beta1.Storage.Stre return this; } /** - * - * *
        * Streams associated with this session.
        * 
@@ -4281,8 +3759,6 @@ public Builder addStreams( return this; } /** - * - * *
        * Streams associated with this session.
        * 
@@ -4301,8 +3777,6 @@ public Builder addStreams( return this; } /** - * - * *
        * Streams associated with this session.
        * 
@@ -4310,8 +3784,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()); @@ -4322,8 +3795,6 @@ public Builder addStreams( return this; } /** - * - * *
        * Streams associated with this session.
        * 
@@ -4331,11 +3802,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); @@ -4343,8 +3814,6 @@ public Builder addAllStreams( return this; } /** - * - * *
        * Streams associated with this session.
        * 
@@ -4362,8 +3831,6 @@ public Builder clearStreams() { return this; } /** - * - * *
        * Streams associated with this session.
        * 
@@ -4381,8 +3848,6 @@ public Builder removeStreams(int index) { return this; } /** - * - * *
        * Streams associated with this session.
        * 
@@ -4394,8 +3859,6 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder getStrea return getStreamsFieldBuilder().getBuilder(index); } /** - * - * *
        * Streams associated with this session.
        * 
@@ -4405,23 +3868,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 { @@ -4429,8 +3888,6 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getStre } } /** - * - * *
        * Streams associated with this session.
        * 
@@ -4438,13 +3895,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.
        * 
@@ -4453,96 +3907,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_ & 0x00000010) != 0), getParentForChildren(), isClean()); + streamsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder>( + streams_, + ((bitField0_ & 0x00000010) != 0), + getParentForChildren(), + isClean()); streams_ = null; } return streamsBuilder_; } - private com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference - tableReference_; + private com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference tableReference_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference, - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.Builder, - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReferenceOrBuilder> - tableReferenceBuilder_; + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference, com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.Builder, com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReferenceOrBuilder> tableReferenceBuilder_; /** - * - * *
        * Table that this ReadSession is reading from.
        * 
* * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 7; - * * @return Whether the tableReference field is set. */ public boolean hasTableReference() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
        * Table that this ReadSession is reading from.
        * 
* * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 7; - * * @return The tableReference. */ - public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference - getTableReference() { + public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference getTableReference() { if (tableReferenceBuilder_ == null) { - return tableReference_ == null - ? com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference - .getDefaultInstance() - : tableReference_; + return tableReference_ == null ? com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.getDefaultInstance() : tableReference_; } else { return tableReferenceBuilder_.getMessage(); } } /** - * - * *
        * Table that this ReadSession is reading from.
        * 
* * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 7; */ - public Builder setTableReference( - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference value) { + public Builder setTableReference(com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference value) { if (tableReferenceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4556,8 +3986,6 @@ public Builder setTableReference( return this; } /** - * - * *
        * Table that this ReadSession is reading from.
        * 
@@ -4565,8 +3993,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(); } else { @@ -4577,22 +4004,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 (((bitField0_ & 0x00000020) != 0) - && tableReference_ != null - && tableReference_ - != com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference - .getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) && + tableReference_ != null && + tableReference_ != com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.getDefaultInstance()) { getTableReferenceBuilder().mergeFrom(value); } else { tableReference_ = value; @@ -4607,8 +4029,6 @@ public Builder mergeTableReference( return this; } /** - * - * *
        * Table that this ReadSession is reading from.
        * 
@@ -4626,43 +4046,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() { bitField0_ |= 0x00000020; onChanged(); return getTableReferenceFieldBuilder().getBuilder(); } /** - * - * *
        * Table that this ReadSession is reading from.
        * 
* * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 7; */ - public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReferenceOrBuilder - getTableReferenceOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReferenceOrBuilder getTableReferenceOrBuilder() { if (tableReferenceBuilder_ != null) { return tableReferenceBuilder_.getMessageOrBuilder(); } else { - return tableReference_ == null - ? com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference - .getDefaultInstance() - : tableReference_; + return tableReference_ == null ? + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.getDefaultInstance() : tableReference_; } } /** - * - * *
        * Table that this ReadSession is reading from.
        * 
@@ -4670,78 +4080,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 ((bitField0_ & 0x00000040) != 0); } /** - * - * *
        * Any modifiers which are applied when reading from the specified table.
        * 
* * .google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 8; - * * @return The tableModifiers. */ - public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers - getTableModifiers() { + public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers getTableModifiers() { if (tableModifiersBuilder_ == null) { - return tableModifiers_ == null - ? com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers - .getDefaultInstance() - : tableModifiers_; + return tableModifiers_ == null ? com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.getDefaultInstance() : tableModifiers_; } else { return tableModifiersBuilder_.getMessage(); } } /** - * - * *
        * Any modifiers which are applied when reading from the specified table.
        * 
* * .google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 8; */ - public Builder setTableModifiers( - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers value) { + public Builder setTableModifiers(com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers value) { if (tableModifiersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4755,8 +4143,6 @@ public Builder setTableModifiers( return this; } /** - * - * *
        * Any modifiers which are applied when reading from the specified table.
        * 
@@ -4764,8 +4150,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(); } else { @@ -4776,22 +4161,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 (((bitField0_ & 0x00000040) != 0) - && tableModifiers_ != null - && tableModifiers_ - != com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers - .getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) && + tableModifiers_ != null && + tableModifiers_ != com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.getDefaultInstance()) { getTableModifiersBuilder().mergeFrom(value); } else { tableModifiers_ = value; @@ -4806,8 +4186,6 @@ public Builder mergeTableModifiers( return this; } /** - * - * *
        * Any modifiers which are applied when reading from the specified table.
        * 
@@ -4825,43 +4203,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() { bitField0_ |= 0x00000040; onChanged(); return getTableModifiersFieldBuilder().getBuilder(); } /** - * - * *
        * Any modifiers which are applied when reading from the specified table.
        * 
* * .google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 8; */ - public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiersOrBuilder - getTableModifiersOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiersOrBuilder getTableModifiersOrBuilder() { if (tableModifiersBuilder_ != null) { return tableModifiersBuilder_.getMessageOrBuilder(); } else { - return tableModifiers_ == null - ? com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers - .getDefaultInstance() - : tableModifiers_; + return tableModifiers_ == null ? + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.getDefaultInstance() : tableModifiers_; } } /** - * - * *
        * Any modifiers which are applied when reading from the specified table.
        * 
@@ -4869,19 +4237,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_; @@ -4889,29 +4252,22 @@ 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. */ @@ -4922,40 +4278,28 @@ public Builder setShardingStrategyValue(int value) { return this; } /** - * - * *
        * The strategy to use for distributing data among the streams.
        * 
* * .google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 9; - * * @return The shardingStrategy. */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy - getShardingStrategy() { - com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy result = - com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.forNumber( - shardingStrategy_); - return result == null - ? com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.UNRECOGNIZED - : result; + public com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy getShardingStrategy() { + com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy result = com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.forNumber(shardingStrategy_); + return result == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.UNRECOGNIZED : result; } /** - * - * *
        * The strategy to use for distributing data among the streams.
        * 
* * .google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 9; - * * @param value The shardingStrategy to set. * @return This builder for chaining. */ - public Builder setShardingStrategy( - com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy value) { + public Builder setShardingStrategy(com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy value) { if (value == null) { throw new NullPointerException(); } @@ -4965,14 +4309,11 @@ public Builder setShardingStrategy( 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() { @@ -4981,7 +4322,6 @@ public Builder clearShardingStrategy() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4994,44 +4334,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta1.ReadSession) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta1.ReadSession) - private static final com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession(); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession - getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadSession parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadSession parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5043,133 +4380,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
@@ -5181,104 +4480,80 @@ 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.
      * DATA_FORMAT_UNSPECIFIED not supported.
      * 
* * .google.cloud.bigquery.storage.v1beta1.DataFormat format = 5; - * * @return The enum numeric value on the wire for format. */ int getFormatValue(); /** - * - * *
      * Data output format. Currently default to Avro.
      * DATA_FORMAT_UNSPECIFIED not supported.
      * 
* * .google.cloud.bigquery.storage.v1beta1.DataFormat format = 5; - * * @return The format. */ com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat getFormat(); /** - * - * *
      * The strategy to use for distributing data among multiple streams. Currently
      * defaults to liquid sharding.
      * 
* * .google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 7; - * * @return The enum numeric value on the wire for shardingStrategy. */ int getShardingStrategyValue(); /** - * - * *
      * The strategy to use for distributing data among multiple streams. Currently
      * defaults to liquid sharding.
      * 
* * .google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 7; - * * @return The shardingStrategy. */ com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy getShardingStrategy(); } /** - * - * *
    * Creates a new read session, which may include additional options such as
    * requested parallelism, projection filters and constraints.
@@ -5286,16 +4561,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;
@@ -5304,41 +4578,33 @@ private CreateReadSessionRequest() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new CreateReadSessionRequest();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.bigquery.storage.v1beta1.Storage
-          .internal_static_google_cloud_bigquery_storage_v1beta1_CreateReadSessionRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_CreateReadSessionRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.bigquery.storage.v1beta1.Storage
-          .internal_static_google_cloud_bigquery_storage_v1beta1_CreateReadSessionRequest_fieldAccessorTable
+      return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_CreateReadSessionRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest.class,
-              com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest.Builder
-                  .class);
+              com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest.class, com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest.Builder.class);
     }
 
     private int bitField0_;
     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 @@ -5346,63 +4612,40 @@ public boolean hasTableReference() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. Reference to the table to read.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The tableReference. */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference - getTableReference() { - return tableReference_ == null - ? com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference - .getDefaultInstance() - : tableReference_; + public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference getTableReference() { + return tableReference_ == null ? com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.getDefaultInstance() : tableReference_; } /** - * - * *
      * Required. Reference to the table to read.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReferenceOrBuilder - getTableReferenceOrBuilder() { - return tableReference_ == null - ? com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference - .getDefaultInstance() - : tableReference_; + public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReferenceOrBuilder getTableReferenceOrBuilder() { + return tableReference_ == null ? com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.getDefaultInstance() : tableReference_; } public static final int PARENT_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
      * Required. String of the form `projects/{project_id}` indicating the
      * project this ReadSession is associated with. This is the project that will
      * be billed for usage.
      * 
* - * - * string parent = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -5411,33 +4654,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 { @@ -5446,17 +4687,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 @@ -5464,27 +4701,18 @@ public boolean hasTableModifiers() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * 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).
      * 
@@ -5492,19 +4720,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() { - return tableModifiers_ == null - ? com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers - .getDefaultInstance() - : tableModifiers_; + public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiersOrBuilder getTableModifiersOrBuilder() { + return tableModifiers_ == null ? com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.getDefaultInstance() : tableModifiers_; } public static final int REQUESTED_STREAMS_FIELD_NUMBER = 3; private int requestedStreams_ = 0; /** - * - * *
      * Initial number of streams. If unset or 0, we will
      * provide a value of streams so as to produce reasonable throughput. Must be
@@ -5516,7 +4738,6 @@ public boolean hasTableModifiers() {
      * 
* * int32 requested_streams = 3; - * * @return The requestedStreams. */ @java.lang.Override @@ -5527,14 +4748,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 @@ -5542,26 +4760,18 @@ public boolean hasReadOptions() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * 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).
      * 
@@ -5569,96 +4779,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() { - return readOptions_ == null - ? com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions - .getDefaultInstance() - : readOptions_; + public com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptionsOrBuilder getReadOptionsOrBuilder() { + return readOptions_ == null ? com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.getDefaultInstance() : readOptions_; } public static final int FORMAT_FIELD_NUMBER = 5; private int format_ = 0; /** - * - * *
      * Data output format. Currently default to Avro.
      * DATA_FORMAT_UNSPECIFIED not supported.
      * 
* * .google.cloud.bigquery.storage.v1beta1.DataFormat format = 5; - * * @return The enum numeric value on the wire for format. */ - @java.lang.Override - public int getFormatValue() { + @java.lang.Override public int getFormatValue() { return format_; } /** - * - * *
      * Data output format. Currently default to Avro.
      * DATA_FORMAT_UNSPECIFIED not supported.
      * 
* * .google.cloud.bigquery.storage.v1beta1.DataFormat format = 5; - * * @return The format. */ - @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat getFormat() { - com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat result = - com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat.forNumber(format_); - return result == null - ? com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat getFormat() { + com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat result = com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat.forNumber(format_); + return result == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat.UNRECOGNIZED : result; } public static final int SHARDING_STRATEGY_FIELD_NUMBER = 7; private int shardingStrategy_ = 0; /** - * - * *
      * The strategy to use for distributing data among multiple streams. Currently
      * defaults to liquid sharding.
      * 
* * .google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 7; - * * @return The enum numeric value on the wire for shardingStrategy. */ - @java.lang.Override - public int getShardingStrategyValue() { + @java.lang.Override public int getShardingStrategyValue() { return shardingStrategy_; } /** - * - * *
      * The strategy to use for distributing data among multiple streams. Currently
      * defaults to liquid sharding.
      * 
* * .google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 7; - * * @return The shardingStrategy. */ - @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy - getShardingStrategy() { - com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy result = - com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.forNumber( - shardingStrategy_); - return result == null - ? com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy getShardingStrategy() { + com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy result = com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.forNumber(shardingStrategy_); + return result == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5670,7 +4851,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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getTableReference()); } @@ -5683,18 +4865,13 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(4, getReadOptions()); } - if (format_ - != com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat.DATA_FORMAT_UNSPECIFIED - .getNumber()) { + if (format_ != com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat.DATA_FORMAT_UNSPECIFIED.getNumber()) { output.writeEnum(5, format_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, parent_); } - if (shardingStrategy_ - != com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy - .SHARDING_STRATEGY_UNSPECIFIED - .getNumber()) { + if (shardingStrategy_ != com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.SHARDING_STRATEGY_UNSPECIFIED.getNumber()) { output.writeEnum(7, shardingStrategy_); } getUnknownFields().writeTo(output); @@ -5707,30 +4884,31 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTableReference()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getTableReference()); } if (((bitField0_ & 0x00000002) != 0)) { - 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 (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getReadOptions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getReadOptions()); } - if (format_ - != com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat.DATA_FORMAT_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, format_); + if (format_ != com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat.DATA_FORMAT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, format_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, parent_); } - if (shardingStrategy_ - != com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy - .SHARDING_STRATEGY_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, shardingStrategy_); + if (shardingStrategy_ != com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.SHARDING_STRATEGY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(7, shardingStrategy_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -5740,28 +4918,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; @@ -5801,101 +4982,90 @@ 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 @@ -5905,8 +5075,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Creates a new read session, which may include additional options such as
      * requested parallelism, projection filters and constraints.
@@ -5914,46 +5082,41 @@ 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) {
           getTableReferenceFieldBuilder();
           getTableModifiersFieldBuilder();
           getReadOptionsFieldBuilder();
         }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -5981,22 +5144,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);
         }
@@ -6004,40 +5164,38 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionReques
       }
 
       @java.lang.Override
-      public com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest
-          buildPartial() {
-        com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest result =
-            new com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+      public com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest buildPartial() {
+        com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest result = new com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(
-          com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest result) {
+      private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest result) {
         int from_bitField0_ = bitField0_;
         int to_bitField0_ = 0;
         if (((from_bitField0_ & 0x00000001) != 0)) {
-          result.tableReference_ =
-              tableReferenceBuilder_ == null ? tableReference_ : tableReferenceBuilder_.build();
+          result.tableReference_ = tableReferenceBuilder_ == null
+              ? tableReference_
+              : tableReferenceBuilder_.build();
           to_bitField0_ |= 0x00000001;
         }
         if (((from_bitField0_ & 0x00000002) != 0)) {
           result.parent_ = parent_;
         }
         if (((from_bitField0_ & 0x00000004) != 0)) {
-          result.tableModifiers_ =
-              tableModifiersBuilder_ == null ? tableModifiers_ : tableModifiersBuilder_.build();
+          result.tableModifiers_ = tableModifiersBuilder_ == null
+              ? tableModifiers_
+              : tableModifiersBuilder_.build();
           to_bitField0_ |= 0x00000002;
         }
         if (((from_bitField0_ & 0x00000008) != 0)) {
           result.requestedStreams_ = requestedStreams_;
         }
         if (((from_bitField0_ & 0x00000010) != 0)) {
-          result.readOptions_ =
-              readOptionsBuilder_ == null ? readOptions_ : readOptionsBuilder_.build();
+          result.readOptions_ = readOptionsBuilder_ == null
+              ? readOptions_
+              : readOptionsBuilder_.build();
           to_bitField0_ |= 0x00000004;
         }
         if (((from_bitField0_ & 0x00000020) != 0)) {
@@ -6053,54 +5211,46 @@ private void buildPartial0(
       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());
         }
@@ -6150,57 +5300,53 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  input.readMessage(
-                      getTableReferenceFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              case 18:
-                {
-                  input.readMessage(
-                      getTableModifiersFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000004;
-                  break;
-                } // case 18
-              case 24:
-                {
-                  requestedStreams_ = input.readInt32();
-                  bitField0_ |= 0x00000008;
-                  break;
-                } // case 24
-              case 34:
-                {
-                  input.readMessage(getReadOptionsFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000010;
-                  break;
-                } // case 34
-              case 40:
-                {
-                  format_ = input.readEnum();
-                  bitField0_ |= 0x00000020;
-                  break;
-                } // case 40
-              case 50:
-                {
-                  parent_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000002;
-                  break;
-                } // case 50
-              case 56:
-                {
-                  shardingStrategy_ = input.readEnum();
-                  bitField0_ |= 0x00000040;
-                  break;
-                } // case 56
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                input.readMessage(
+                    getTableReferenceFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              case 18: {
+                input.readMessage(
+                    getTableModifiersFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 18
+              case 24: {
+                requestedStreams_ = input.readInt32();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 24
+              case 34: {
+                input.readMessage(
+                    getReadOptionsFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 34
+              case 40: {
+                format_ = input.readEnum();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 40
+              case 50: {
+                parent_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 50
+              case 56: {
+                shardingStrategy_ = input.readEnum();
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 56
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -6210,69 +5356,45 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
-      private com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference
-          tableReference_;
+      private com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference tableReference_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference,
-              com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.Builder,
-              com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReferenceOrBuilder>
-          tableReferenceBuilder_;
+          com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference, com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.Builder, com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReferenceOrBuilder> tableReferenceBuilder_;
       /**
-       *
-       *
        * 
        * Required. Reference to the table to read.
        * 
* - * - * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the tableReference field is set. */ public boolean hasTableReference() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * Required. Reference to the table to read.
        * 
* - * - * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The tableReference. */ - public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference - getTableReference() { + public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference getTableReference() { if (tableReferenceBuilder_ == null) { - return tableReference_ == null - ? com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference - .getDefaultInstance() - : tableReference_; + return tableReference_ == null ? com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.getDefaultInstance() : tableReference_; } else { return tableReferenceBuilder_.getMessage(); } } /** - * - * *
        * Required. Reference to the table to read.
        * 
* - * - * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setTableReference( - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference value) { + public Builder setTableReference(com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference value) { if (tableReferenceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6286,19 +5408,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(); } else { @@ -6309,24 +5426,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 (((bitField0_ & 0x00000001) != 0) - && tableReference_ != null - && tableReference_ - != com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference - .getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + tableReference_ != null && + tableReference_ != com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.getDefaultInstance()) { getTableReferenceBuilder().mergeFrom(value); } else { tableReference_ = value; @@ -6341,15 +5451,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() { bitField0_ = (bitField0_ & ~0x00000001); @@ -6362,69 +5468,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() { bitField0_ |= 0x00000001; onChanged(); return getTableReferenceFieldBuilder().getBuilder(); } /** - * - * *
        * Required. Reference to the table to read.
        * 
* - * - * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReferenceOrBuilder - getTableReferenceOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReferenceOrBuilder getTableReferenceOrBuilder() { if (tableReferenceBuilder_ != null) { return tableReferenceBuilder_.getMessageOrBuilder(); } else { - return tableReference_ == null - ? com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference - .getDefaultInstance() - : tableReference_; + return tableReference_ == null ? + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.getDefaultInstance() : tableReference_; } } /** - * - * *
        * Required. Reference to the table to read.
        * 
* - * - * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.storage.v1beta1.TableReference table_reference = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference, - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.Builder, - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReferenceOrBuilder> + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference, com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.Builder, com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReferenceOrBuilder> getTableReferenceFieldBuilder() { if (tableReferenceBuilder_ == null) { - tableReferenceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference, - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference - .Builder, - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto - .TableReferenceOrBuilder>( - getTableReference(), getParentForChildren(), isClean()); + tableReferenceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference, com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.Builder, com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReferenceOrBuilder>( + getTableReference(), + getParentForChildren(), + isClean()); tableReference_ = null; } return tableReferenceBuilder_; @@ -6432,24 +5517,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; @@ -6458,25 +5539,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 { @@ -6484,43 +5562,32 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * Required. String of the form `projects/{project_id}` indicating the
        * project this ReadSession is associated with. This is the project that will
        * be billed for usage.
        * 
* - * - * string parent = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -6530,25 +5597,19 @@ public Builder clearParent() { return this; } /** - * - * *
        * Required. String of the form `projects/{project_id}` indicating the
        * project this ReadSession is associated with. This is the project that will
        * be billed for usage.
        * 
* - * - * string parent = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000002; @@ -6556,60 +5617,43 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers - tableModifiers_; + private com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers tableModifiers_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers, - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.Builder, - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiersOrBuilder> - tableModifiersBuilder_; + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers, com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.Builder, com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiersOrBuilder> tableModifiersBuilder_; /** - * - * *
        * Any modifiers to the Table (e.g. snapshot timestamp).
        * 
* * .google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 2; - * * @return Whether the tableModifiers field is set. */ public boolean hasTableModifiers() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
        * Any modifiers to the Table (e.g. snapshot timestamp).
        * 
* * .google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 2; - * * @return The tableModifiers. */ - public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers - getTableModifiers() { + public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers getTableModifiers() { if (tableModifiersBuilder_ == null) { - return tableModifiers_ == null - ? com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers - .getDefaultInstance() - : tableModifiers_; + return tableModifiers_ == null ? com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.getDefaultInstance() : tableModifiers_; } else { return tableModifiersBuilder_.getMessage(); } } /** - * - * *
        * Any modifiers to the Table (e.g. snapshot timestamp).
        * 
* * .google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 2; */ - public Builder setTableModifiers( - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers value) { + public Builder setTableModifiers(com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers value) { if (tableModifiersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6623,8 +5667,6 @@ public Builder setTableModifiers( return this; } /** - * - * *
        * Any modifiers to the Table (e.g. snapshot timestamp).
        * 
@@ -6632,8 +5674,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(); } else { @@ -6644,22 +5685,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 (((bitField0_ & 0x00000004) != 0) - && tableModifiers_ != null - && tableModifiers_ - != com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers - .getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + tableModifiers_ != null && + tableModifiers_ != com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.getDefaultInstance()) { getTableModifiersBuilder().mergeFrom(value); } else { tableModifiers_ = value; @@ -6674,8 +5710,6 @@ public Builder mergeTableModifiers( return this; } /** - * - * *
        * Any modifiers to the Table (e.g. snapshot timestamp).
        * 
@@ -6693,43 +5727,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() { bitField0_ |= 0x00000004; onChanged(); return getTableModifiersFieldBuilder().getBuilder(); } /** - * - * *
        * Any modifiers to the Table (e.g. snapshot timestamp).
        * 
* * .google.cloud.bigquery.storage.v1beta1.TableModifiers table_modifiers = 2; */ - public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiersOrBuilder - getTableModifiersOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiersOrBuilder getTableModifiersOrBuilder() { if (tableModifiersBuilder_ != null) { return tableModifiersBuilder_.getMessageOrBuilder(); } else { - return tableModifiers_ == null - ? com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers - .getDefaultInstance() - : tableModifiers_; + return tableModifiers_ == null ? + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers.getDefaultInstance() : tableModifiers_; } } /** - * - * *
        * Any modifiers to the Table (e.g. snapshot timestamp).
        * 
@@ -6737,28 +5761,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
@@ -6770,7 +5787,6 @@ public Builder clearTableModifiers() {
        * 
* * int32 requested_streams = 3; - * * @return The requestedStreams. */ @java.lang.Override @@ -6778,8 +5794,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
@@ -6791,7 +5805,6 @@ public int getRequestedStreams() {
        * 
* * int32 requested_streams = 3; - * * @param value The requestedStreams to set. * @return This builder for chaining. */ @@ -6803,8 +5816,6 @@ public Builder setRequestedStreams(int value) { return this; } /** - * - * *
        * Initial number of streams. If unset or 0, we will
        * provide a value of streams so as to produce reasonable throughput. Must be
@@ -6816,7 +5827,6 @@ public Builder setRequestedStreams(int value) {
        * 
* * int32 requested_streams = 3; - * * @return This builder for chaining. */ public Builder clearRequestedStreams() { @@ -6828,57 +5838,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 ((bitField0_ & 0x00000010) != 0); } /** - * - * *
        * Read options for this session (e.g. column selection, filters).
        * 
* * .google.cloud.bigquery.storage.v1beta1.TableReadOptions read_options = 4; - * * @return The readOptions. */ - public com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions - getReadOptions() { + public com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions getReadOptions() { if (readOptionsBuilder_ == null) { - return readOptions_ == null - ? com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions - .getDefaultInstance() - : readOptions_; + return readOptions_ == null ? com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.getDefaultInstance() : readOptions_; } else { return readOptionsBuilder_.getMessage(); } } /** - * - * *
        * Read options for this session (e.g. column selection, filters).
        * 
* * .google.cloud.bigquery.storage.v1beta1.TableReadOptions read_options = 4; */ - public Builder setReadOptions( - com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions value) { + public Builder setReadOptions(com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions value) { if (readOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6892,8 +5886,6 @@ public Builder setReadOptions( return this; } /** - * - * *
        * Read options for this session (e.g. column selection, filters).
        * 
@@ -6901,8 +5893,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(); } else { @@ -6913,22 +5904,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 (((bitField0_ & 0x00000010) != 0) - && readOptions_ != null - && readOptions_ - != com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions - .getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + readOptions_ != null && + readOptions_ != com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.getDefaultInstance()) { getReadOptionsBuilder().mergeFrom(value); } else { readOptions_ = value; @@ -6943,8 +5929,6 @@ public Builder mergeReadOptions( return this; } /** - * - * *
        * Read options for this session (e.g. column selection, filters).
        * 
@@ -6962,43 +5946,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() { bitField0_ |= 0x00000010; onChanged(); return getReadOptionsFieldBuilder().getBuilder(); } /** - * - * *
        * Read options for this session (e.g. column selection, filters).
        * 
* * .google.cloud.bigquery.storage.v1beta1.TableReadOptions read_options = 4; */ - public com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptionsOrBuilder - getReadOptionsOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptionsOrBuilder getReadOptionsOrBuilder() { if (readOptionsBuilder_ != null) { return readOptionsBuilder_.getMessageOrBuilder(); } else { - return readOptions_ == null - ? com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions - .getDefaultInstance() - : readOptions_; + return readOptions_ == null ? + com.google.cloud.bigquery.storage.v1beta1.ReadOptions.TableReadOptions.getDefaultInstance() : readOptions_; } } /** - * - * *
        * Read options for this session (e.g. column selection, filters).
        * 
@@ -7006,17 +5980,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_; @@ -7024,31 +5995,24 @@ public Builder clearReadOptions() { private int format_ = 0; /** - * - * *
        * Data output format. Currently default to Avro.
        * DATA_FORMAT_UNSPECIFIED not supported.
        * 
* * .google.cloud.bigquery.storage.v1beta1.DataFormat format = 5; - * * @return The enum numeric value on the wire for format. */ - @java.lang.Override - public int getFormatValue() { + @java.lang.Override public int getFormatValue() { return format_; } /** - * - * *
        * Data output format. Currently default to Avro.
        * DATA_FORMAT_UNSPECIFIED not supported.
        * 
* * .google.cloud.bigquery.storage.v1beta1.DataFormat format = 5; - * * @param value The enum numeric value on the wire for format to set. * @return This builder for chaining. */ @@ -7059,35 +6023,26 @@ public Builder setFormatValue(int value) { return this; } /** - * - * *
        * Data output format. Currently default to Avro.
        * DATA_FORMAT_UNSPECIFIED not supported.
        * 
* * .google.cloud.bigquery.storage.v1beta1.DataFormat format = 5; - * * @return The format. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat getFormat() { - com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat result = - com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat.forNumber(format_); - return result == null - ? com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat.UNRECOGNIZED - : result; + com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat result = com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat.forNumber(format_); + return result == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.DataFormat.UNRECOGNIZED : result; } /** - * - * *
        * Data output format. Currently default to Avro.
        * DATA_FORMAT_UNSPECIFIED not supported.
        * 
* * .google.cloud.bigquery.storage.v1beta1.DataFormat format = 5; - * * @param value The format to set. * @return This builder for chaining. */ @@ -7101,15 +6056,12 @@ public Builder setFormat(com.google.cloud.bigquery.storage.v1beta1.Storage.DataF return this; } /** - * - * *
        * Data output format. Currently default to Avro.
        * DATA_FORMAT_UNSPECIFIED not supported.
        * 
* * .google.cloud.bigquery.storage.v1beta1.DataFormat format = 5; - * * @return This builder for chaining. */ public Builder clearFormat() { @@ -7121,31 +6073,24 @@ 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. */ @@ -7156,42 +6101,30 @@ public Builder setShardingStrategyValue(int value) { return this; } /** - * - * *
        * The strategy to use for distributing data among multiple streams. Currently
        * defaults to liquid sharding.
        * 
* * .google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 7; - * * @return The shardingStrategy. */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy - getShardingStrategy() { - com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy result = - com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.forNumber( - shardingStrategy_); - return result == null - ? com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.UNRECOGNIZED - : result; + public com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy getShardingStrategy() { + com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy result = com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.forNumber(shardingStrategy_); + return result == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy.UNRECOGNIZED : result; } /** - * - * *
        * The strategy to use for distributing data among multiple streams. Currently
        * defaults to liquid sharding.
        * 
* * .google.cloud.bigquery.storage.v1beta1.ShardingStrategy sharding_strategy = 7; - * * @param value The shardingStrategy to set. * @return This builder for chaining. */ - public Builder setShardingStrategy( - com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy value) { + public Builder setShardingStrategy(com.google.cloud.bigquery.storage.v1beta1.Storage.ShardingStrategy value) { if (value == null) { throw new NullPointerException(); } @@ -7201,15 +6134,12 @@ public Builder setShardingStrategy( 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() { @@ -7218,7 +6148,6 @@ public Builder clearShardingStrategy() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7231,45 +6160,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta1.CreateReadSessionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta1.CreateReadSessionRequest) - private static final com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest(); + DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest(); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateReadSessionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateReadSessionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7281,123 +6206,99 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest - getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1beta1.Storage.CreateReadSessionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ReadRowsRequestOrBuilder - extends + public interface ReadRowsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta1.ReadRowsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. Identifier of the position in the stream to start reading from.
      * The offset requested must be less than the last row read from ReadRows.
      * Requesting a larger offset is undefined.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the readPosition field is set. */ boolean hasReadPosition(); /** - * - * *
      * Required. Identifier of the position in the stream to start reading from.
      * The offset requested must be less than the last row read from ReadRows.
      * Requesting a larger offset is undefined.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The readPosition. */ com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition getReadPosition(); /** - * - * *
      * Required. Identifier of the position in the stream to start reading from.
      * The offset requested must be less than the last row read from ReadRows.
      * Requesting a larger offset is undefined.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPositionOrBuilder - getReadPositionOrBuilder(); + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPositionOrBuilder getReadPositionOrBuilder(); } /** - * - * *
    * Requesting row data via `ReadRows` must provide Stream position information.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.ReadRowsRequest} */ - public static final class ReadRowsRequest extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ReadRowsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta1.ReadRowsRequest) ReadRowsRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ReadRowsRequest.newBuilder() to construct. private ReadRowsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ReadRowsRequest() {} + private ReadRowsRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReadRowsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.Storage - .internal_static_google_cloud_bigquery_storage_v1beta1_ReadRowsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_ReadRowsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.Storage - .internal_static_google_cloud_bigquery_storage_v1beta1_ReadRowsRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_ReadRowsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest.class, - com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest.class, com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest.Builder.class); } private int bitField0_; 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 @@ -7405,49 +6306,34 @@ public boolean hasReadPosition() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. Identifier of the position in the stream to start reading from.
      * The offset requested must be less than the last row read from ReadRows.
      * Requesting a larger offset is undefined.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The readPosition. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition getReadPosition() { - return readPosition_ == null - ? com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.getDefaultInstance() - : readPosition_; + return readPosition_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.getDefaultInstance() : readPosition_; } /** - * - * *
      * Required. Identifier of the position in the stream to start reading from.
      * The offset requested must be less than the last row read from ReadRows.
      * Requesting a larger offset is undefined.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPositionOrBuilder - getReadPositionOrBuilder() { - return readPosition_ == null - ? com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.getDefaultInstance() - : readPosition_; + public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPositionOrBuilder getReadPositionOrBuilder() { + return readPosition_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.getDefaultInstance() : readPosition_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7459,7 +6345,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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getReadPosition()); } @@ -7473,7 +6360,8 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getReadPosition()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getReadPosition()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -7483,17 +6371,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest other = - (com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest) obj; + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest other = (com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest) obj; if (hasReadPosition() != other.hasReadPosition()) return false; if (hasReadPosition()) { - if (!getReadPosition().equals(other.getReadPosition())) return false; + if (!getReadPosition() + .equals(other.getReadPosition())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -7516,95 +6404,89 @@ 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 @@ -7614,51 +6496,45 @@ 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) { getReadPositionFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -7672,16 +6548,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 @@ -7695,22 +6569,19 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest build() @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest buildPartial() { - com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest result = - new com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest result = new com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest result) { + private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.readPosition_ = - readPositionBuilder_ == null ? readPosition_ : readPositionBuilder_.build(); + result.readPosition_ = readPositionBuilder_ == null + ? readPosition_ + : readPositionBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -7720,53 +6591,46 @@ private void buildPartial0( 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()); } @@ -7796,19 +6660,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getReadPositionFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getReadPositionFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -7818,73 +6682,51 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition readPosition_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition, - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.Builder, - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPositionOrBuilder> - readPositionBuilder_; + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPositionOrBuilder> readPositionBuilder_; /** - * - * *
        * Required. Identifier of the position in the stream to start reading from.
        * The offset requested must be less than the last row read from ReadRows.
        * Requesting a larger offset is undefined.
        * 
* - * - * .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the readPosition field is set. */ public boolean hasReadPosition() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * Required. Identifier of the position in the stream to start reading from.
        * The offset requested must be less than the last row read from ReadRows.
        * Requesting a larger offset is undefined.
        * 
* - * - * .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The readPosition. */ public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition getReadPosition() { if (readPositionBuilder_ == null) { - return readPosition_ == null - ? com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition - .getDefaultInstance() - : readPosition_; + return readPosition_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.getDefaultInstance() : readPosition_; } else { return readPositionBuilder_.getMessage(); } } /** - * - * *
        * Required. Identifier of the position in the stream to start reading from.
        * The offset requested must be less than the last row read from ReadRows.
        * Requesting a larger offset is undefined.
        * 
* - * - * .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setReadPosition( - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition value) { + public Builder setReadPosition(com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition value) { if (readPositionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7898,21 +6740,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(); } else { @@ -7923,26 +6760,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 (((bitField0_ & 0x00000001) != 0) - && readPosition_ != null - && readPosition_ - != com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition - .getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + readPosition_ != null && + readPosition_ != com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.getDefaultInstance()) { getReadPositionBuilder().mergeFrom(value); } else { readPosition_ = value; @@ -7957,17 +6787,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() { bitField0_ = (bitField0_ & ~0x00000001); @@ -7980,78 +6806,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() { bitField0_ |= 0x00000001; onChanged(); return getReadPositionFieldBuilder().getBuilder(); } /** - * - * *
        * Required. Identifier of the position in the stream to start reading from.
        * The offset requested must be less than the last row read from ReadRows.
        * Requesting a larger offset is undefined.
        * 
* - * - * .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPositionOrBuilder - getReadPositionOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPositionOrBuilder getReadPositionOrBuilder() { if (readPositionBuilder_ != null) { return readPositionBuilder_.getMessageOrBuilder(); } else { - return readPosition_ == null - ? com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition - .getDefaultInstance() - : readPosition_; + return readPosition_ == null ? + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.getDefaultInstance() : readPosition_; } } /** - * - * *
        * Required. Identifier of the position in the stream to start reading from.
        * The offset requested must be less than the last row read from ReadRows.
        * Requesting a larger offset is undefined.
        * 
* - * - * .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition, - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.Builder, - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPositionOrBuilder> + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPositionOrBuilder> getReadPositionFieldBuilder() { if (readPositionBuilder_ == null) { - readPositionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition, - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.Builder, - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPositionOrBuilder>( - getReadPosition(), getParentForChildren(), isClean()); + readPositionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPosition.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamPositionOrBuilder>( + getReadPosition(), + getParentForChildren(), + isClean()); readPosition_ = null; } return readPositionBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -8064,44 +6870,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta1.ReadRowsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta1.ReadRowsRequest) - private static final com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest(); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadRowsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadRowsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8113,20 +6916,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
@@ -8134,14 +6934,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
@@ -8153,38 +6950,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.
      * 
@@ -8194,8 +6982,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
@@ -8205,59 +6991,53 @@ 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(); } - 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); } private int bitField0_; public static final int ESTIMATED_ROW_COUNT_FIELD_NUMBER = 1; private long estimatedRowCount_ = 0L; /** - * - * *
      * Number of estimated rows in the current stream. May change over time as
      * different readers in the stream progress at rates which are relatively fast
@@ -8265,7 +7045,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * int64 estimated_row_count = 1; - * * @return The estimatedRowCount. */ @java.lang.Override @@ -8276,8 +7055,6 @@ public long getEstimatedRowCount() { public static final int FRACTION_CONSUMED_FIELD_NUMBER = 2; private float fractionConsumed_ = 0F; /** - * - * *
      * A value in the range [0.0, 1.0] that represents the fraction of rows
      * assigned to this stream that have been processed by the server. In the
@@ -8289,7 +7066,6 @@ public long getEstimatedRowCount() {
      * 
* * float fraction_consumed = 2; - * * @return The fractionConsumed. */ @java.lang.Override @@ -8300,14 +7076,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 @@ -8315,25 +7088,18 @@ public boolean hasProgress() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * 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.
      * 
@@ -8341,18 +7107,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() { - return progress_ == null - ? com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.getDefaultInstance() - : progress_; + public com.google.cloud.bigquery.storage.v1beta1.Storage.ProgressOrBuilder getProgressOrBuilder() { + return progress_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.getDefaultInstance() : progress_; } public static final int IS_SPLITTABLE_FIELD_NUMBER = 3; private boolean isSplittable_ = false; /** - * - * *
      * Whether this stream can be split. For sessions that use the LIQUID sharding
      * strategy, this value is always false. For BALANCED sessions, this value is
@@ -8362,7 +7123,6 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Progress getProgress()
      * 
* * bool is_splittable = 3; - * * @return The isSplittable. */ @java.lang.Override @@ -8371,7 +7131,6 @@ public boolean getIsSplittable() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -8383,7 +7142,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_); } @@ -8406,16 +7166,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 (java.lang.Float.floatToRawIntBits(fractionConsumed_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, fractionConsumed_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, fractionConsumed_); } if (isSplittable_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, isSplittable_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, isSplittable_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getProgress()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getProgress()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -8425,22 +7189,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -8453,109 +7220,107 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ESTIMATED_ROW_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getEstimatedRowCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getEstimatedRowCount()); hash = (37 * hash) + FRACTION_CONSUMED_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getFractionConsumed()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getFractionConsumed()); if (hasProgress()) { hash = (37 * hash) + PROGRESS_FIELD_NUMBER; hash = (53 * hash) + getProgress().hashCode(); } hash = (37 * hash) + IS_SPLITTABLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsSplittable()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIsSplittable()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -8565,32 +7330,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() @@ -8598,17 +7358,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) { getProgressFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -8625,14 +7385,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(); } @@ -8647,17 +7406,13 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus buildPartial() { - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus result = - new com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus result = new com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus result) { + private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.estimatedRowCount_ = estimatedRowCount_; @@ -8667,7 +7422,9 @@ private void buildPartial0( } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { - result.progress_ = progressBuilder_ == null ? progress_ : progressBuilder_.build(); + result.progress_ = progressBuilder_ == null + ? progress_ + : progressBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000008) != 0)) { @@ -8680,52 +7437,46 @@ private void buildPartial0( 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()); } @@ -8764,37 +7515,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - estimatedRowCount_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 21: - { - fractionConsumed_ = input.readFloat(); - bitField0_ |= 0x00000002; - break; - } // case 21 - case 24: - { - isSplittable_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 24 - case 34: - { - input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + estimatedRowCount_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 21: { + fractionConsumed_ = input.readFloat(); + bitField0_ |= 0x00000002; + break; + } // case 21 + case 24: { + isSplittable_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 24 + case 34: { + input.readMessage( + getProgressFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -8804,13 +7552,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private long estimatedRowCount_; + private long estimatedRowCount_ ; /** - * - * *
        * Number of estimated rows in the current stream. May change over time as
        * different readers in the stream progress at rates which are relatively fast
@@ -8818,7 +7563,6 @@ public Builder mergeFrom(
        * 
* * int64 estimated_row_count = 1; - * * @return The estimatedRowCount. */ @java.lang.Override @@ -8826,8 +7570,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
@@ -8835,7 +7577,6 @@ public long getEstimatedRowCount() {
        * 
* * int64 estimated_row_count = 1; - * * @param value The estimatedRowCount to set. * @return This builder for chaining. */ @@ -8847,8 +7588,6 @@ public Builder setEstimatedRowCount(long value) { return this; } /** - * - * *
        * Number of estimated rows in the current stream. May change over time as
        * different readers in the stream progress at rates which are relatively fast
@@ -8856,7 +7595,6 @@ public Builder setEstimatedRowCount(long value) {
        * 
* * int64 estimated_row_count = 1; - * * @return This builder for chaining. */ public Builder clearEstimatedRowCount() { @@ -8866,10 +7604,8 @@ public Builder clearEstimatedRowCount() { return this; } - private float fractionConsumed_; + private float fractionConsumed_ ; /** - * - * *
        * A value in the range [0.0, 1.0] that represents the fraction of rows
        * assigned to this stream that have been processed by the server. In the
@@ -8881,7 +7617,6 @@ public Builder clearEstimatedRowCount() {
        * 
* * float fraction_consumed = 2; - * * @return The fractionConsumed. */ @java.lang.Override @@ -8889,8 +7624,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
@@ -8902,7 +7635,6 @@ public float getFractionConsumed() {
        * 
* * float fraction_consumed = 2; - * * @param value The fractionConsumed to set. * @return This builder for chaining. */ @@ -8914,8 +7646,6 @@ public Builder setFractionConsumed(float value) { return this; } /** - * - * *
        * A value in the range [0.0, 1.0] that represents the fraction of rows
        * assigned to this stream that have been processed by the server. In the
@@ -8927,7 +7657,6 @@ public Builder setFractionConsumed(float value) {
        * 
* * float fraction_consumed = 2; - * * @return This builder for chaining. */ public Builder clearFractionConsumed() { @@ -8939,47 +7668,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 ((bitField0_ & 0x00000004) != 0); } /** - * - * *
        * Represents the progress of the current stream.
        * 
* * .google.cloud.bigquery.storage.v1beta1.Progress progress = 4; - * * @return The progress. */ public com.google.cloud.bigquery.storage.v1beta1.Storage.Progress getProgress() { if (progressBuilder_ == null) { - return progress_ == null - ? com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.getDefaultInstance() - : progress_; + return progress_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.getDefaultInstance() : progress_; } else { return progressBuilder_.getMessage(); } } /** - * - * *
        * Represents the progress of the current stream.
        * 
@@ -9000,8 +7716,6 @@ public Builder setProgress(com.google.cloud.bigquery.storage.v1beta1.Storage.Pro return this; } /** - * - * *
        * Represents the progress of the current stream.
        * 
@@ -9020,22 +7734,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 (((bitField0_ & 0x00000004) != 0) - && progress_ != null - && progress_ - != com.google.cloud.bigquery.storage.v1beta1.Storage.Progress - .getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + progress_ != null && + progress_ != com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.getDefaultInstance()) { getProgressBuilder().mergeFrom(value); } else { progress_ = value; @@ -9050,8 +7759,6 @@ public Builder mergeProgress( return this; } /** - * - * *
        * Represents the progress of the current stream.
        * 
@@ -9069,42 +7776,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() { bitField0_ |= 0x00000004; onChanged(); return getProgressFieldBuilder().getBuilder(); } /** - * - * *
        * Represents the progress of the current stream.
        * 
* * .google.cloud.bigquery.storage.v1beta1.Progress progress = 4; */ - public com.google.cloud.bigquery.storage.v1beta1.Storage.ProgressOrBuilder - getProgressOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.Storage.ProgressOrBuilder getProgressOrBuilder() { if (progressBuilder_ != null) { return progressBuilder_.getMessageOrBuilder(); } else { - return progress_ == null - ? com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.getDefaultInstance() - : progress_; + return progress_ == null ? + com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.getDefaultInstance() : progress_; } } /** - * - * *
        * Represents the progress of the current stream.
        * 
@@ -9112,26 +7810,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
@@ -9141,7 +7834,6 @@ public Builder clearProgress() {
        * 
* * bool is_splittable = 3; - * * @return The isSplittable. */ @java.lang.Override @@ -9149,8 +7841,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
@@ -9160,7 +7850,6 @@ public boolean getIsSplittable() {
        * 
* * bool is_splittable = 3; - * * @param value The isSplittable to set. * @return This builder for chaining. */ @@ -9172,8 +7861,6 @@ public Builder setIsSplittable(boolean value) { return this; } /** - * - * *
        * Whether this stream can be split. For sessions that use the LIQUID sharding
        * strategy, this value is always false. For BALANCED sessions, this value is
@@ -9183,7 +7870,6 @@ public Builder setIsSplittable(boolean value) {
        * 
* * bool is_splittable = 3; - * * @return This builder for chaining. */ public Builder clearIsSplittable() { @@ -9192,7 +7878,6 @@ public Builder clearIsSplittable() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -9205,44 +7890,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta1.StreamStatus) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta1.StreamStatus) - private static final com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus(); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus - getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StreamStatus parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StreamStatus parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9254,20 +7936,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.
@@ -9283,64 +7962,59 @@ 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(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.Storage - .internal_static_google_cloud_bigquery_storage_v1beta1_Progress_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_Progress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.Storage - .internal_static_google_cloud_bigquery_storage_v1beta1_Progress_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_Progress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.class, - com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.class, com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.Builder.class); } public static final int AT_RESPONSE_START_FIELD_NUMBER = 1; private float atResponseStart_ = 0F; /** - * - * *
      * The fraction of rows assigned to the stream that have been processed by the
      * server so far, not including the rows in the current response message.
@@ -9356,7 +8030,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * float at_response_start = 1; - * * @return The atResponseStart. */ @java.lang.Override @@ -9367,15 +8040,12 @@ public float getAtResponseStart() { public static final int AT_RESPONSE_END_FIELD_NUMBER = 2; private float atResponseEnd_ = 0F; /** - * - * *
      * Similar to `at_response_start`, except that this value includes the rows in
      * the current response.
      * 
* * float at_response_end = 2; - * * @return The atResponseEnd. */ @java.lang.Override @@ -9384,7 +8054,6 @@ public float getAtResponseEnd() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -9396,7 +8065,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 (java.lang.Float.floatToRawIntBits(atResponseStart_) != 0) { output.writeFloat(1, atResponseStart_); } @@ -9413,10 +8083,12 @@ public int getSerializedSize() { size = 0; if (java.lang.Float.floatToRawIntBits(atResponseStart_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(1, atResponseStart_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(1, atResponseStart_); } if (java.lang.Float.floatToRawIntBits(atResponseEnd_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, atResponseEnd_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, atResponseEnd_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -9426,18 +8098,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -9450,103 +8123,100 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + AT_RESPONSE_START_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getAtResponseStart()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getAtResponseStart()); hash = (37 * hash) + AT_RESPONSE_END_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getAtResponseEnd()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getAtResponseEnd()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.bigquery.storage.v1beta1.Storage.Progress parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.Progress parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.Progress parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.Progress parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.Progress parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.Progress parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1beta1.Storage.Progress parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta1.Storage.Progress parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.Progress parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.Progress parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta1.Storage.Progress parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1beta1.Storage.Progress parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.Progress parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.Progress parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public 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 @@ -9555,34 +8225,36 @@ protected Builder newBuilderForType( Builder builder = new Builder(parent); return builder; } - /** Protobuf type {@code google.cloud.bigquery.storage.v1beta1.Progress} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + /** + * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.Progress} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta1.Progress) com.google.cloud.bigquery.storage.v1beta1.Storage.ProgressOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.Storage - .internal_static_google_cloud_bigquery_storage_v1beta1_Progress_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_Progress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.Storage - .internal_static_google_cloud_bigquery_storage_v1beta1_Progress_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_Progress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.class, - com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.class, com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1beta1.Storage.Progress.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -9593,14 +8265,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(); } @@ -9615,17 +8286,13 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Progress build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.Storage.Progress buildPartial() { - com.google.cloud.bigquery.storage.v1beta1.Storage.Progress result = - new com.google.cloud.bigquery.storage.v1beta1.Storage.Progress(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1beta1.Storage.Progress result = new com.google.cloud.bigquery.storage.v1beta1.Storage.Progress(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.storage.v1beta1.Storage.Progress result) { + private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.Storage.Progress result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.atResponseStart_ = atResponseStart_; @@ -9639,41 +8306,38 @@ private void buildPartial0( 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; @@ -9681,9 +8345,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()); } @@ -9716,25 +8378,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 13: - { - atResponseStart_ = input.readFloat(); - bitField0_ |= 0x00000001; - break; - } // case 13 - case 21: - { - atResponseEnd_ = input.readFloat(); - bitField0_ |= 0x00000002; - break; - } // case 21 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 13: { + atResponseStart_ = input.readFloat(); + bitField0_ |= 0x00000001; + break; + } // case 13 + case 21: { + atResponseEnd_ = input.readFloat(); + bitField0_ |= 0x00000002; + break; + } // case 21 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -9744,13 +8403,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private float atResponseStart_; + private float atResponseStart_ ; /** - * - * *
        * The fraction of rows assigned to the stream that have been processed by the
        * server so far, not including the rows in the current response message.
@@ -9766,7 +8422,6 @@ public Builder mergeFrom(
        * 
* * float at_response_start = 1; - * * @return The atResponseStart. */ @java.lang.Override @@ -9774,8 +8429,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.
@@ -9791,7 +8444,6 @@ public float getAtResponseStart() {
        * 
* * float at_response_start = 1; - * * @param value The atResponseStart to set. * @return This builder for chaining. */ @@ -9803,8 +8455,6 @@ public Builder setAtResponseStart(float value) { return this; } /** - * - * *
        * The fraction of rows assigned to the stream that have been processed by the
        * server so far, not including the rows in the current response message.
@@ -9820,7 +8470,6 @@ public Builder setAtResponseStart(float value) {
        * 
* * float at_response_start = 1; - * * @return This builder for chaining. */ public Builder clearAtResponseStart() { @@ -9830,17 +8479,14 @@ public Builder clearAtResponseStart() { return this; } - private float atResponseEnd_; + private float atResponseEnd_ ; /** - * - * *
        * Similar to `at_response_start`, except that this value includes the rows in
        * the current response.
        * 
* * float at_response_end = 2; - * * @return The atResponseEnd. */ @java.lang.Override @@ -9848,15 +8494,12 @@ 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. */ @@ -9868,15 +8511,12 @@ public Builder setAtResponseEnd(float value) { return this; } /** - * - * *
        * Similar to `at_response_start`, except that this value includes the rows in
        * the current response.
        * 
* * float at_response_end = 2; - * * @return This builder for chaining. */ public Builder clearAtResponseEnd() { @@ -9885,7 +8525,6 @@ public Builder clearAtResponseEnd() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -9898,13 +8537,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(); } @@ -9913,28 +8551,27 @@ public static com.google.cloud.bigquery.storage.v1beta1.Storage.Progress getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Progress parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Progress parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9949,81 +8586,72 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.bigquery.storage.v1beta1.Storage.Progress getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ThrottleStatusOrBuilder - extends + public interface ThrottleStatusOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta1.ThrottleStatus) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * How much this connection is being throttled.
      * 0 is no throttling, 100 is completely throttled.
      * 
* * int32 throttle_percent = 1; - * * @return The throttlePercent. */ int getThrottlePercent(); } /** - * - * *
    * Information on if the current connection is being throttled.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.ThrottleStatus} */ - public static final class ThrottleStatus extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ThrottleStatus extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta1.ThrottleStatus) ThrottleStatusOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ThrottleStatus.newBuilder() to construct. private ThrottleStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ThrottleStatus() {} + private ThrottleStatus() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ThrottleStatus(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.Storage - .internal_static_google_cloud_bigquery_storage_v1beta1_ThrottleStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_ThrottleStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.Storage - .internal_static_google_cloud_bigquery_storage_v1beta1_ThrottleStatus_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_ThrottleStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.class, - com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.class, com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.Builder.class); } public static final int THROTTLE_PERCENT_FIELD_NUMBER = 1; private int throttlePercent_ = 0; /** - * - * *
      * How much this connection is being throttled.
      * 0 is no throttling, 100 is completely throttled.
      * 
* * int32 throttle_percent = 1; - * * @return The throttlePercent. */ @java.lang.Override @@ -10032,7 +8660,6 @@ public int getThrottlePercent() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -10044,7 +8671,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_); } @@ -10058,7 +8686,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -10068,15 +8697,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus other = - (com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus) obj; + com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus other = (com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus) obj; - if (getThrottlePercent() != other.getThrottlePercent()) return false; + if (getThrottlePercent() + != other.getThrottlePercent()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -10096,95 +8725,89 @@ 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 @@ -10194,42 +8817,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Information on if the current connection is being throttled.
      * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.ThrottleStatus} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta1.ThrottleStatus) com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.Storage - .internal_static_google_cloud_bigquery_storage_v1beta1_ThrottleStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_ThrottleStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.Storage - .internal_static_google_cloud_bigquery_storage_v1beta1_ThrottleStatus_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_ThrottleStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.class, - com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.class, com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.Builder.class); } - // Construct using - // com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.newBuilder() - private Builder() {} + // Construct using com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.newBuilder() + private Builder() { + + } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + } @java.lang.Override public Builder clear() { super.clear(); @@ -10239,16 +8859,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 @@ -10262,17 +8880,13 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus build() @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus buildPartial() { - com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus result = - new com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus result = new com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus result) { + private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.throttlePercent_ = throttlePercent_; @@ -10283,53 +8897,46 @@ private void buildPartial0( 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()); } @@ -10359,19 +8966,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - throttlePercent_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + throttlePercent_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -10381,20 +8986,16 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private int throttlePercent_; + private int throttlePercent_ ; /** - * - * *
        * How much this connection is being throttled.
        * 0 is no throttling, 100 is completely throttled.
        * 
* * int32 throttle_percent = 1; - * * @return The throttlePercent. */ @java.lang.Override @@ -10402,15 +9003,12 @@ 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. */ @@ -10422,15 +9020,12 @@ public Builder setThrottlePercent(int value) { return this; } /** - * - * *
        * How much this connection is being throttled.
        * 0 is no throttling, 100 is completely throttled.
        * 
* * int32 throttle_percent = 1; - * * @return This builder for chaining. */ public Builder clearThrottlePercent() { @@ -10439,7 +9034,6 @@ public Builder clearThrottlePercent() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -10452,44 +9046,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta1.ThrottleStatus) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta1.ThrottleStatus) - private static final com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus(); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus - getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ThrottleStatus parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ThrottleStatus parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -10501,44 +9092,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.
      * 
@@ -10548,44 +9130,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
@@ -10594,38 +9165,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.
      * 
@@ -10635,34 +9197,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.
@@ -10670,100 +9224,67 @@ 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();
 
     /**
-     *
-     *
      * 
      * Output only. Avro schema.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the avroSchema field is set. */ boolean hasAvroSchema(); /** - * - * *
      * Output only. Avro schema.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The avroSchema. */ com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema getAvroSchema(); /** - * - * *
      * Output only. Avro schema.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchemaOrBuilder - getAvroSchemaOrBuilder(); + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchemaOrBuilder getAvroSchemaOrBuilder(); /** - * - * *
      * Output only. Arrow schema.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the arrowSchema field is set. */ boolean hasArrowSchema(); /** - * - * *
      * Output only. Arrow schema.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The arrowSchema. */ com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema getArrowSchema(); /** - * - * *
      * Output only. Arrow schema.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchemaOrBuilder - getArrowSchemaOrBuilder(); + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchemaOrBuilder getArrowSchemaOrBuilder(); com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse.RowsCase getRowsCase(); com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse.SchemaCase getSchemaCase(); } /** - * - * *
    * Response from calling `ReadRows` may include row data, progress and
    * throttling information.
@@ -10771,54 +9292,49 @@ 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();
     }
 
-    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 bitField0_;
     private int rowsCase_ = 0;
-
     @SuppressWarnings("serial")
     private java.lang.Object rows_;
-
     public enum RowsCase
-        implements
-            com.google.protobuf.Internal.EnumLite,
+        implements com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       AVRO_ROWS(3),
       ARROW_RECORD_BATCH(4),
       ROWS_NOT_SET(0);
       private final int value;
-
       private RowsCase(int value) {
         this.value = value;
       }
@@ -10834,40 +9350,33 @@ public static RowsCase valueOf(int value) {
 
       public static RowsCase forNumber(int value) {
         switch (value) {
-          case 3:
-            return AVRO_ROWS;
-          case 4:
-            return ARROW_RECORD_BATCH;
-          case 0:
-            return ROWS_NOT_SET;
-          default:
-            return null;
+          case 3: return AVRO_ROWS;
+          case 4: return ARROW_RECORD_BATCH;
+          case 0: return ROWS_NOT_SET;
+          default: return null;
         }
       }
-
       public int getNumber() {
         return this.value;
       }
     };
 
-    public RowsCase getRowsCase() {
-      return RowsCase.forNumber(rowsCase_);
+    public RowsCase
+    getRowsCase() {
+      return RowsCase.forNumber(
+          rowsCase_);
     }
 
     private int schemaCase_ = 0;
-
     @SuppressWarnings("serial")
     private java.lang.Object schema_;
-
     public enum SchemaCase
-        implements
-            com.google.protobuf.Internal.EnumLite,
+        implements com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       AVRO_SCHEMA(7),
       ARROW_SCHEMA(8),
       SCHEMA_NOT_SET(0);
       private final int value;
-
       private SchemaCase(int value) {
         this.value = value;
       }
@@ -10883,36 +9392,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.v1beta1.AvroRows avro_rows = 3; - * * @return Whether the avroRows field is set. */ @java.lang.Override @@ -10920,26 +9423,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.
      * 
@@ -10947,24 +9445,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 @@ -10972,28 +9466,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.
      * 
@@ -11001,20 +9488,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_ = 0L; /** - * - * *
      * Number of serialized rows in the rows block. This value is recorded here,
      * in addition to the row_count values in the output-specific messages in
@@ -11023,7 +9506,6 @@ public boolean hasArrowRecordBatch() {
      * 
* * int64 row_count = 6; - * * @return The rowCount. */ @java.lang.Override @@ -11034,14 +9516,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 @@ -11049,25 +9528,18 @@ public boolean hasStatus() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * 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.
      * 
@@ -11075,25 +9547,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() { - return status_ == null - ? com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus.getDefaultInstance() - : status_; + public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatusOrBuilder getStatusOrBuilder() { + return status_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus.getDefaultInstance() : status_; } public static final int THROTTLE_STATUS_FIELD_NUMBER = 5; private com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus throttleStatus_; /** - * - * *
      * Throttling status. If unset, the latest response still describes
      * the current throttling status.
      * 
* * .google.cloud.bigquery.storage.v1beta1.ThrottleStatus throttle_status = 5; - * * @return Whether the throttleStatus field is set. */ @java.lang.Override @@ -11101,26 +9567,19 @@ public boolean hasThrottleStatus() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Throttling status. If unset, the latest response still describes
      * the current throttling status.
      * 
* * .google.cloud.bigquery.storage.v1beta1.ThrottleStatus throttle_status = 5; - * * @return The throttleStatus. */ @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.
@@ -11129,25 +9588,17 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus getThrot
      * .google.cloud.bigquery.storage.v1beta1.ThrottleStatus throttle_status = 5;
      */
     @java.lang.Override
-    public com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatusOrBuilder
-        getThrottleStatusOrBuilder() {
-      return throttleStatus_ == null
-          ? com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.getDefaultInstance()
-          : throttleStatus_;
+    public com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatusOrBuilder getThrottleStatusOrBuilder() {
+      return throttleStatus_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.getDefaultInstance() : throttleStatus_;
     }
 
     public static final int AVRO_SCHEMA_FIELD_NUMBER = 7;
     /**
-     *
-     *
      * 
      * Output only. Avro schema.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the avroSchema field is set. */ @java.lang.Override @@ -11155,57 +9606,42 @@ public boolean hasAvroSchema() { return schemaCase_ == 7; } /** - * - * *
      * Output only. Avro schema.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The avroSchema. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema getAvroSchema() { if (schemaCase_ == 7) { - return (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) schema_; + return (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) schema_; } return com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.getDefaultInstance(); } /** - * - * *
      * Output only. Avro schema.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchemaOrBuilder - getAvroSchemaOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchemaOrBuilder getAvroSchemaOrBuilder() { if (schemaCase_ == 7) { - return (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) schema_; + return (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) schema_; } return com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.getDefaultInstance(); } public static final int ARROW_SCHEMA_FIELD_NUMBER = 8; /** - * - * *
      * Output only. Arrow schema.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the arrowSchema field is set. */ @java.lang.Override @@ -11213,47 +9649,36 @@ public boolean hasArrowSchema() { return schemaCase_ == 8; } /** - * - * *
      * Output only. Arrow schema.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The arrowSchema. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema getArrowSchema() { if (schemaCase_ == 8) { - return (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) schema_; + return (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) schema_; } return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.getDefaultInstance(); } /** - * - * *
      * Output only. Arrow schema.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchemaOrBuilder - getArrowSchemaOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchemaOrBuilder getArrowSchemaOrBuilder() { if (schemaCase_ == 8) { - return (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) schema_; + return (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) schema_; } return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -11265,17 +9690,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 (((bitField0_ & 0x00000001) != 0)) { 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 (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(5, getThrottleStatus()); @@ -11284,12 +9708,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeInt64(6, rowCount_); } if (schemaCase_ == 7) { - output.writeMessage( - 7, (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) schema_); + output.writeMessage(7, (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) schema_); } if (schemaCase_ == 8) { - output.writeMessage( - 8, (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) schema_); + output.writeMessage(8, (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) schema_); } getUnknownFields().writeTo(output); } @@ -11301,33 +9723,32 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - 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 (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getThrottleStatus()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getThrottleStatus()); } if (rowCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(6, rowCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(6, rowCount_); } if (schemaCase_ == 7) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 7, (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) schema_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) schema_); } if (schemaCase_ == 8) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 8, (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) schema_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) schema_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -11337,30 +9758,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: @@ -11368,10 +9793,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: @@ -11388,7 +9815,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(); @@ -11427,95 +9855,89 @@ 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 @@ -11525,8 +9947,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Response from calling `ReadRows` may include row data, progress and
      * throttling information.
@@ -11534,44 +9954,40 @@ 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) {
           getStatusFieldBuilder();
           getThrottleStatusFieldBuilder();
         }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -11607,16 +10023,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
@@ -11630,51 +10044,53 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse build(
 
       @java.lang.Override
       public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse buildPartial() {
-        com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse result =
-            new com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse result = new com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         buildPartialOneofs(result);
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(
-          com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse result) {
+      private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000004) != 0)) {
           result.rowCount_ = rowCount_;
         }
         int to_bitField0_ = 0;
         if (((from_bitField0_ & 0x00000008) != 0)) {
-          result.status_ = statusBuilder_ == null ? status_ : statusBuilder_.build();
+          result.status_ = statusBuilder_ == null
+              ? status_
+              : statusBuilder_.build();
           to_bitField0_ |= 0x00000001;
         }
         if (((from_bitField0_ & 0x00000010) != 0)) {
-          result.throttleStatus_ =
-              throttleStatusBuilder_ == null ? throttleStatus_ : throttleStatusBuilder_.build();
+          result.throttleStatus_ = throttleStatusBuilder_ == null
+              ? throttleStatus_
+              : throttleStatusBuilder_.build();
           to_bitField0_ |= 0x00000002;
         }
         result.bitField0_ |= to_bitField0_;
       }
 
-      private void buildPartialOneofs(
-          com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse result) {
+      private void buildPartialOneofs(com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse result) {
         result.rowsCase_ = rowsCase_;
         result.rows_ = this.rows_;
-        if (rowsCase_ == 3 && avroRowsBuilder_ != null) {
+        if (rowsCase_ == 3 &&
+            avroRowsBuilder_ != null) {
           result.rows_ = avroRowsBuilder_.build();
         }
-        if (rowsCase_ == 4 && arrowRecordBatchBuilder_ != null) {
+        if (rowsCase_ == 4 &&
+            arrowRecordBatchBuilder_ != null) {
           result.rows_ = arrowRecordBatchBuilder_.build();
         }
         result.schemaCase_ = schemaCase_;
         result.schema_ = this.schema_;
-        if (schemaCase_ == 7 && avroSchemaBuilder_ != null) {
+        if (schemaCase_ == 7 &&
+            avroSchemaBuilder_ != null) {
           result.schema_ = avroSchemaBuilder_.build();
         }
-        if (schemaCase_ == 8 && arrowSchemaBuilder_ != null) {
+        if (schemaCase_ == 8 &&
+            arrowSchemaBuilder_ != null) {
           result.schema_ = arrowSchemaBuilder_.build();
         }
       }
@@ -11683,53 +10099,46 @@ private void buildPartialOneofs(
       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());
         }
@@ -11740,36 +10149,30 @@ 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;
+          }
         }
         switch (other.getSchemaCase()) {
-          case AVRO_SCHEMA:
-            {
-              mergeAvroSchema(other.getAvroSchema());
-              break;
-            }
-          case ARROW_SCHEMA:
-            {
-              mergeArrowSchema(other.getArrowSchema());
-              break;
-            }
-          case SCHEMA_NOT_SET:
-            {
-              break;
-            }
+          case AVRO_SCHEMA: {
+            mergeAvroSchema(other.getAvroSchema());
+            break;
+          }
+          case ARROW_SCHEMA: {
+            mergeArrowSchema(other.getArrowSchema());
+            break;
+          }
+          case SCHEMA_NOT_SET: {
+            break;
+          }
         }
         this.mergeUnknownFields(other.getUnknownFields());
         onChanged();
@@ -11797,57 +10200,59 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 18:
-                {
-                  input.readMessage(getStatusFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000008;
-                  break;
-                } // case 18
-              case 26:
-                {
-                  input.readMessage(getAvroRowsFieldBuilder().getBuilder(), extensionRegistry);
-                  rowsCase_ = 3;
-                  break;
-                } // case 26
-              case 34:
-                {
-                  input.readMessage(
-                      getArrowRecordBatchFieldBuilder().getBuilder(), extensionRegistry);
-                  rowsCase_ = 4;
-                  break;
-                } // case 34
-              case 42:
-                {
-                  input.readMessage(
-                      getThrottleStatusFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000010;
-                  break;
-                } // case 42
-              case 48:
-                {
-                  rowCount_ = input.readInt64();
-                  bitField0_ |= 0x00000004;
-                  break;
-                } // case 48
-              case 58:
-                {
-                  input.readMessage(getAvroSchemaFieldBuilder().getBuilder(), extensionRegistry);
-                  schemaCase_ = 7;
-                  break;
-                } // case 58
-              case 66:
-                {
-                  input.readMessage(getArrowSchemaFieldBuilder().getBuilder(), extensionRegistry);
-                  schemaCase_ = 8;
-                  break;
-                } // case 66
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 18: {
+                input.readMessage(
+                    getStatusFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 18
+              case 26: {
+                input.readMessage(
+                    getAvroRowsFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                rowsCase_ = 3;
+                break;
+              } // case 26
+              case 34: {
+                input.readMessage(
+                    getArrowRecordBatchFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                rowsCase_ = 4;
+                break;
+              } // case 34
+              case 42: {
+                input.readMessage(
+                    getThrottleStatusFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+              case 48: {
+                rowCount_ = input.readInt64();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 48
+              case 58: {
+                input.readMessage(
+                    getAvroSchemaFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                schemaCase_ = 7;
+                break;
+              } // case 58
+              case 66: {
+                input.readMessage(
+                    getArrowSchemaFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                schemaCase_ = 8;
+                break;
+              } // case 66
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -11857,12 +10262,12 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int rowsCase_ = 0;
       private java.lang.Object rows_;
-
-      public RowsCase getRowsCase() {
-        return RowsCase.forNumber(rowsCase_);
+      public RowsCase
+          getRowsCase() {
+        return RowsCase.forNumber(
+            rowsCase_);
       }
 
       public Builder clearRows() {
@@ -11874,9 +10279,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() {
@@ -11889,19 +10295,13 @@ public Builder clearSchema() {
       private int bitField0_;
 
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows,
-              com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows.Builder,
-              com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRowsOrBuilder>
-          avroRowsBuilder_;
+          com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows, com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRows.Builder, com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroRowsOrBuilder> avroRowsBuilder_;
       /**
-       *
-       *
        * 
        * Serialized row data in AVRO format.
        * 
* * .google.cloud.bigquery.storage.v1beta1.AvroRows avro_rows = 3; - * * @return Whether the avroRows field is set. */ @java.lang.Override @@ -11909,14 +10309,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 @@ -11934,16 +10331,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(); @@ -11957,8 +10351,6 @@ public Builder setAvroRows( return this; } /** - * - * *
        * Serialized row data in AVRO format.
        * 
@@ -11977,26 +10369,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; } @@ -12012,8 +10396,6 @@ public Builder mergeAvroRows( return this; } /** - * - * *
        * Serialized row data in AVRO format.
        * 
@@ -12037,21 +10419,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.
        * 
@@ -12059,8 +10436,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 { @@ -12071,8 +10447,6 @@ public Builder clearAvroRows() { } } /** - * - * *
        * Serialized row data in AVRO format.
        * 
@@ -12080,20 +10454,14 @@ 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()); @@ -12105,20 +10473,13 @@ public Builder clearAvroRows() { } 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 @@ -12126,46 +10487,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(); @@ -12179,18 +10529,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(); @@ -12201,28 +10547,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; } @@ -12238,14 +10574,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) { @@ -12264,68 +10597,49 @@ 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()); @@ -12336,10 +10650,8 @@ public Builder clearArrowRecordBatch() { 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
@@ -12348,7 +10660,6 @@ public Builder clearArrowRecordBatch() {
        * 
* * int64 row_count = 6; - * * @return The rowCount. */ @java.lang.Override @@ -12356,8 +10667,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
@@ -12366,7 +10675,6 @@ public long getRowCount() {
        * 
* * int64 row_count = 6; - * * @param value The rowCount to set. * @return This builder for chaining. */ @@ -12378,8 +10686,6 @@ public Builder setRowCount(long value) { return this; } /** - * - * *
        * Number of serialized rows in the rows block. This value is recorded here,
        * in addition to the row_count values in the output-specific messages in
@@ -12388,7 +10694,6 @@ public Builder setRowCount(long value) {
        * 
* * int64 row_count = 6; - * * @return This builder for chaining. */ public Builder clearRowCount() { @@ -12400,55 +10705,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 ((bitField0_ & 0x00000008) != 0); } /** - * - * *
        * Estimated stream statistics.
        * 
* * .google.cloud.bigquery.storage.v1beta1.StreamStatus status = 2; - * * @return The status. */ public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus getStatus() { if (statusBuilder_ == null) { - return status_ == null - ? com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus.getDefaultInstance() - : status_; + return status_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus.getDefaultInstance() : status_; } else { return statusBuilder_.getMessage(); } } /** - * - * *
        * Estimated stream statistics.
        * 
* * .google.cloud.bigquery.storage.v1beta1.StreamStatus status = 2; */ - public Builder setStatus( - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus value) { + public Builder setStatus(com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus value) { if (statusBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12462,8 +10753,6 @@ public Builder setStatus( return this; } /** - * - * *
        * Estimated stream statistics.
        * 
@@ -12482,22 +10771,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 (((bitField0_ & 0x00000008) != 0) - && status_ != null - && status_ - != com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus - .getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + status_ != null && + status_ != com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus.getDefaultInstance()) { getStatusBuilder().mergeFrom(value); } else { status_ = value; @@ -12512,8 +10796,6 @@ public Builder mergeStatus( return this; } /** - * - * *
        * Estimated stream statistics.
        * 
@@ -12531,42 +10813,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() { bitField0_ |= 0x00000008; onChanged(); return getStatusFieldBuilder().getBuilder(); } /** - * - * *
        * Estimated stream statistics.
        * 
* * .google.cloud.bigquery.storage.v1beta1.StreamStatus status = 2; */ - public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatusOrBuilder - getStatusOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { - return status_ == null - ? com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus.getDefaultInstance() - : status_; + return status_ == null ? + com.google.cloud.bigquery.storage.v1beta1.Storage.StreamStatus.getDefaultInstance() : status_; } } /** - * - * *
        * Estimated stream statistics.
        * 
@@ -12574,17 +10847,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_; @@ -12592,50 +10862,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 ((bitField0_ & 0x00000010) != 0); } /** - * - * *
        * Throttling status. If unset, the latest response still describes
        * the current throttling status.
        * 
* * .google.cloud.bigquery.storage.v1beta1.ThrottleStatus throttle_status = 5; - * * @return The throttleStatus. */ public com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus getThrottleStatus() { if (throttleStatusBuilder_ == null) { - return throttleStatus_ == null - ? com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus - .getDefaultInstance() - : throttleStatus_; + return throttleStatus_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.getDefaultInstance() : throttleStatus_; } else { return throttleStatusBuilder_.getMessage(); } } /** - * - * *
        * Throttling status. If unset, the latest response still describes
        * the current throttling status.
@@ -12643,8 +10899,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();
@@ -12658,8 +10913,6 @@ public Builder setThrottleStatus(
         return this;
       }
       /**
-       *
-       *
        * 
        * Throttling status. If unset, the latest response still describes
        * the current throttling status.
@@ -12668,8 +10921,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();
         } else {
@@ -12680,8 +10932,6 @@ public Builder setThrottleStatus(
         return this;
       }
       /**
-       *
-       *
        * 
        * Throttling status. If unset, the latest response still describes
        * the current throttling status.
@@ -12689,14 +10939,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 (((bitField0_ & 0x00000010) != 0)
-              && throttleStatus_ != null
-              && throttleStatus_
-                  != com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus
-                      .getDefaultInstance()) {
+          if (((bitField0_ & 0x00000010) != 0) &&
+            throttleStatus_ != null &&
+            throttleStatus_ != com.google.cloud.bigquery.storage.v1beta1.Storage.ThrottleStatus.getDefaultInstance()) {
             getThrottleStatusBuilder().mergeFrom(value);
           } else {
             throttleStatus_ = value;
@@ -12711,8 +10958,6 @@ public Builder mergeThrottleStatus(
         return this;
       }
       /**
-       *
-       *
        * 
        * Throttling status. If unset, the latest response still describes
        * the current throttling status.
@@ -12731,8 +10976,6 @@ public Builder clearThrottleStatus() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Throttling status. If unset, the latest response still describes
        * the current throttling status.
@@ -12740,15 +10983,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() {
         bitField0_ |= 0x00000010;
         onChanged();
         return getThrottleStatusFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Throttling status. If unset, the latest response still describes
        * the current throttling status.
@@ -12756,20 +10996,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.
@@ -12778,38 +11013,27 @@ 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_;
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema,
-              com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.Builder,
-              com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchemaOrBuilder>
-          avroSchemaBuilder_;
+          com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema, com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.Builder, com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchemaOrBuilder> avroSchemaBuilder_;
       /**
-       *
-       *
        * 
        * Output only. Avro schema.
        * 
* - * - * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the avroSchema field is set. */ @java.lang.Override @@ -12817,16 +11041,11 @@ public boolean hasAvroSchema() { return schemaCase_ == 7; } /** - * - * *
        * Output only. Avro schema.
        * 
* - * - * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The avroSchema. */ @java.lang.Override @@ -12835,29 +11054,22 @@ public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema getAvroSch if (schemaCase_ == 7) { return (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) schema_; } - return com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema - .getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.getDefaultInstance(); } else { if (schemaCase_ == 7) { return avroSchemaBuilder_.getMessage(); } - return com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema - .getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.getDefaultInstance(); } } /** - * - * *
        * Output only. Avro schema.
        * 
* - * - * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setAvroSchema( - com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema value) { + public Builder setAvroSchema(com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema value) { if (avroSchemaBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12871,15 +11083,11 @@ public Builder setAvroSchema( return this; } /** - * - * *
        * Output only. Avro schema.
        * 
* - * - * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setAvroSchema( com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.Builder builderForValue) { @@ -12893,28 +11101,18 @@ public Builder setAvroSchema( return this; } /** - * - * *
        * Output only. Avro schema.
        * 
* - * - * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeAvroSchema( - com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema value) { + public Builder mergeAvroSchema(com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema value) { if (avroSchemaBuilder_ == null) { - if (schemaCase_ == 7 - && schema_ - != com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema - .getDefaultInstance()) { - schema_ = - com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.newBuilder( - (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) schema_) - .mergeFrom(value) - .buildPartial(); + if (schemaCase_ == 7 && + schema_ != com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.getDefaultInstance()) { + schema_ = com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.newBuilder((com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) schema_) + .mergeFrom(value).buildPartial(); } else { schema_ = value; } @@ -12930,15 +11128,11 @@ public Builder mergeAvroSchema( return this; } /** - * - * *
        * Output only. Avro schema.
        * 
* - * - * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearAvroSchema() { if (avroSchemaBuilder_ == null) { @@ -12957,70 +11151,49 @@ public Builder clearAvroSchema() { return this; } /** - * - * *
        * Output only. Avro schema.
        * 
* - * - * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.Builder - getAvroSchemaBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.Builder getAvroSchemaBuilder() { return getAvroSchemaFieldBuilder().getBuilder(); } /** - * - * *
        * Output only. Avro schema.
        * 
* - * - * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchemaOrBuilder - getAvroSchemaOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchemaOrBuilder getAvroSchemaOrBuilder() { if ((schemaCase_ == 7) && (avroSchemaBuilder_ != null)) { return avroSchemaBuilder_.getMessageOrBuilder(); } else { if (schemaCase_ == 7) { return (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) schema_; } - return com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema - .getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.getDefaultInstance(); } } /** - * - * *
        * Output only. Avro schema.
        * 
* - * - * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema, - com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.Builder, - com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchemaOrBuilder> + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema, com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.Builder, com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchemaOrBuilder> getAvroSchemaFieldBuilder() { if (avroSchemaBuilder_ == null) { if (!(schemaCase_ == 7)) { - schema_ = - com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.getDefaultInstance(); + schema_ = com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.getDefaultInstance(); } - avroSchemaBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema, - com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.Builder, - com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchemaOrBuilder>( + avroSchemaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema, com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema.Builder, com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchemaOrBuilder>( (com.google.cloud.bigquery.storage.v1beta1.AvroProto.AvroSchema) schema_, getParentForChildren(), isClean()); @@ -13032,21 +11205,13 @@ public Builder clearAvroSchema() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema, - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.Builder, - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchemaOrBuilder> - arrowSchemaBuilder_; + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema, com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.Builder, com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchemaOrBuilder> arrowSchemaBuilder_; /** - * - * *
        * Output only. Arrow schema.
        * 
* - * - * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the arrowSchema field is set. */ @java.lang.Override @@ -13054,16 +11219,11 @@ public boolean hasArrowSchema() { return schemaCase_ == 8; } /** - * - * *
        * Output only. Arrow schema.
        * 
* - * - * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The arrowSchema. */ @java.lang.Override @@ -13072,29 +11232,22 @@ public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema getArrow if (schemaCase_ == 8) { return (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) schema_; } - return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema - .getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.getDefaultInstance(); } else { if (schemaCase_ == 8) { return arrowSchemaBuilder_.getMessage(); } - return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema - .getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.getDefaultInstance(); } } /** - * - * *
        * Output only. Arrow schema.
        * 
* - * - * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setArrowSchema( - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema value) { + public Builder setArrowSchema(com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema value) { if (arrowSchemaBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -13108,19 +11261,14 @@ public Builder setArrowSchema( return this; } /** - * - * *
        * Output only. Arrow schema.
        * 
* - * - * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder 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(); @@ -13131,28 +11279,18 @@ public Builder setArrowSchema( return this; } /** - * - * *
        * Output only. Arrow schema.
        * 
* - * - * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeArrowSchema( - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema value) { + public Builder mergeArrowSchema(com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema value) { if (arrowSchemaBuilder_ == null) { - if (schemaCase_ == 8 - && schema_ - != com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema - .getDefaultInstance()) { - schema_ = - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.newBuilder( - (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) schema_) - .mergeFrom(value) - .buildPartial(); + if (schemaCase_ == 8 && + schema_ != com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.getDefaultInstance()) { + schema_ = com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.newBuilder((com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) schema_) + .mergeFrom(value).buildPartial(); } else { schema_ = value; } @@ -13168,15 +11306,11 @@ public Builder mergeArrowSchema( return this; } /** - * - * *
        * Output only. Arrow schema.
        * 
* - * - * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearArrowSchema() { if (arrowSchemaBuilder_ == null) { @@ -13195,71 +11329,49 @@ public Builder clearArrowSchema() { return this; } /** - * - * *
        * Output only. Arrow schema.
        * 
* - * - * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.Builder - getArrowSchemaBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.Builder getArrowSchemaBuilder() { return getArrowSchemaFieldBuilder().getBuilder(); } /** - * - * *
        * Output only. Arrow schema.
        * 
* - * - * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchemaOrBuilder - getArrowSchemaOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchemaOrBuilder getArrowSchemaOrBuilder() { if ((schemaCase_ == 8) && (arrowSchemaBuilder_ != null)) { return arrowSchemaBuilder_.getMessageOrBuilder(); } else { if (schemaCase_ == 8) { return (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) schema_; } - return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema - .getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.getDefaultInstance(); } } /** - * - * *
        * Output only. Arrow schema.
        * 
* - * - * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema, - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.Builder, - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchemaOrBuilder> + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema, com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.Builder, com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchemaOrBuilder> getArrowSchemaFieldBuilder() { if (arrowSchemaBuilder_ == null) { if (!(schemaCase_ == 8)) { - schema_ = - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema - .getDefaultInstance(); + schema_ = com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.getDefaultInstance(); } - arrowSchemaBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema, - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.Builder, - com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchemaOrBuilder>( + arrowSchemaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema, com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema.Builder, com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchemaOrBuilder>( (com.google.cloud.bigquery.storage.v1beta1.ArrowProto.ArrowSchema) schema_, getParentForChildren(), isClean()); @@ -13269,7 +11381,6 @@ public Builder clearArrowSchema() { onChanged(); return arrowSchemaBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -13282,44 +11393,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta1.ReadRowsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta1.ReadRowsResponse) - private static final com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse(); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse - getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadRowsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadRowsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -13331,64 +11439,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
@@ -13396,74 +11487,60 @@ 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(); } - 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); } private int bitField0_; 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 @@ -13471,50 +11548,34 @@ public boolean hasSession() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. Must be a non-expired session obtained from a call to
      * CreateReadSession. Only the name field needs to be set.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The session. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession getSession() { - return session_ == null - ? com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.getDefaultInstance() - : session_; + return session_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.getDefaultInstance() : session_; } /** - * - * *
      * Required. Must be a non-expired session obtained from a call to
      * CreateReadSession. Only the name field needs to be set.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSessionOrBuilder - getSessionOrBuilder() { - return session_ == null - ? com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.getDefaultInstance() - : session_; + public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSessionOrBuilder getSessionOrBuilder() { + return session_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.getDefaultInstance() : session_; } public static final int REQUESTED_STREAMS_FIELD_NUMBER = 2; private int requestedStreams_ = 0; /** - * - * *
      * Required. Number of new streams requested. Must be positive.
      * Number of added streams may be less than this, see CreateReadSessionRequest
@@ -13522,7 +11583,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 @@ -13531,7 +11591,6 @@ public int getRequestedStreams() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -13543,7 +11602,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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getSession()); } @@ -13560,10 +11620,12 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSession()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getSession()); } if (requestedStreams_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, requestedStreams_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, requestedStreams_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -13573,22 +11635,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -13611,114 +11671,90 @@ 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 @@ -13728,56 +11764,46 @@ 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) { getSessionFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -13792,23 +11818,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); } @@ -13816,26 +11838,20 @@ 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); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest buildPartial() { + com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest result = new com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest - result) { + private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.session_ = sessionBuilder_ == null ? session_ : sessionBuilder_.build(); + result.session_ = sessionBuilder_ == null + ? session_ + : sessionBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { @@ -13848,59 +11864,46 @@ private void buildPartial0( 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()); } @@ -13933,25 +11936,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getSessionFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - requestedStreams_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getSessionFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + requestedStreams_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -13961,69 +11963,48 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession session_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession, - com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.Builder, - com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSessionOrBuilder> - sessionBuilder_; + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession, com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSessionOrBuilder> sessionBuilder_; /** - * - * *
        * Required. Must be a non-expired session obtained from a call to
        * CreateReadSession. Only the name field needs to be set.
        * 
* - * - * .google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the session field is set. */ public boolean hasSession() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * Required. Must be a non-expired session obtained from a call to
        * CreateReadSession. Only the name field needs to be set.
        * 
* - * - * .google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The session. */ public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession getSession() { if (sessionBuilder_ == null) { - return session_ == null - ? com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.getDefaultInstance() - : session_; + return session_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.getDefaultInstance() : session_; } else { return sessionBuilder_.getMessage(); } } /** - * - * *
        * Required. Must be a non-expired session obtained from a call to
        * CreateReadSession. Only the name field needs to be set.
        * 
* - * - * .google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setSession( - com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession value) { + public Builder setSession(com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession value) { if (sessionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -14037,16 +12018,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) { @@ -14060,25 +12037,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 (((bitField0_ & 0x00000001) != 0) - && session_ != null - && session_ - != com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession - .getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + session_ != null && + session_ != com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.getDefaultInstance()) { getSessionBuilder().mergeFrom(value); } else { session_ = value; @@ -14093,16 +12063,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() { bitField0_ = (bitField0_ & ~0x00000001); @@ -14115,78 +12081,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() { bitField0_ |= 0x00000001; onChanged(); return getSessionFieldBuilder().getBuilder(); } /** - * - * *
        * Required. Must be a non-expired session obtained from a call to
        * CreateReadSession. Only the name field needs to be set.
        * 
* - * - * .google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSessionOrBuilder - getSessionOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSessionOrBuilder getSessionOrBuilder() { if (sessionBuilder_ != null) { return sessionBuilder_.getMessageOrBuilder(); } else { - return session_ == null - ? com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.getDefaultInstance() - : session_; + return session_ == null ? + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.getDefaultInstance() : session_; } } /** - * - * *
        * Required. Must be a non-expired session obtained from a call to
        * CreateReadSession. Only the name field needs to be set.
        * 
* - * - * .google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.storage.v1beta1.ReadSession session = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession, - com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.Builder, - com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSessionOrBuilder> + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession, com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSessionOrBuilder> getSessionFieldBuilder() { if (sessionBuilder_ == null) { - sessionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession, - com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.Builder, - com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSessionOrBuilder>( - getSession(), getParentForChildren(), isClean()); + sessionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession, com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSession.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.ReadSessionOrBuilder>( + getSession(), + getParentForChildren(), + isClean()); session_ = null; } return sessionBuilder_; } - private int requestedStreams_; + private int requestedStreams_ ; /** - * - * *
        * Required. Number of new streams requested. Must be positive.
        * Number of added streams may be less than this, see CreateReadSessionRequest
@@ -14194,7 +12140,6 @@ public Builder clearSession() {
        * 
* * int32 requested_streams = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The requestedStreams. */ @java.lang.Override @@ -14202,8 +12147,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
@@ -14211,7 +12154,6 @@ public int getRequestedStreams() {
        * 
* * int32 requested_streams = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The requestedStreams to set. * @return This builder for chaining. */ @@ -14223,8 +12165,6 @@ public Builder setRequestedStreams(int value) { return this; } /** - * - * *
        * Required. Number of new streams requested. Must be positive.
        * Number of added streams may be less than this, see CreateReadSessionRequest
@@ -14232,7 +12172,6 @@ public Builder setRequestedStreams(int value) {
        * 
* * int32 requested_streams = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearRequestedStreams() { @@ -14241,7 +12180,6 @@ public Builder clearRequestedStreams() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -14254,48 +12192,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta1.BatchCreateReadSessionStreamsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta1.BatchCreateReadSessionStreamsRequest) - private static final com.google.cloud.bigquery.storage.v1beta1.Storage - .BatchCreateReadSessionStreamsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.bigquery.storage.v1beta1.Storage - .BatchCreateReadSessionStreamsRequest(); + DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest(); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage - .BatchCreateReadSessionStreamsRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchCreateReadSessionStreamsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchCreateReadSessionStreamsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -14307,30 +12238,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.
      * 
@@ -14339,8 +12266,6 @@ public interface BatchCreateReadSessionStreamsResponseOrBuilder */ com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getStreams(int index); /** - * - * *
      * Newly added streams.
      * 
@@ -14349,19 +12274,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.
      * 
@@ -14372,62 +12293,50 @@ com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getStreamsOrBu int index); } /** - * - * *
    * The response from `BatchCreateReadSessionStreams` returns the stream
    * identifiers for the newly created streams.
    * 
* - * Protobuf type {@code - * google.cloud.bigquery.storage.v1beta1.BatchCreateReadSessionStreamsResponse} + * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.BatchCreateReadSessionStreamsResponse} */ - public static final class BatchCreateReadSessionStreamsResponse - extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class BatchCreateReadSessionStreamsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta1.BatchCreateReadSessionStreamsResponse) BatchCreateReadSessionStreamsResponseOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchCreateReadSessionStreamsResponse.newBuilder() to construct. - private BatchCreateReadSessionStreamsResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private BatchCreateReadSessionStreamsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchCreateReadSessionStreamsResponse() { streams_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BatchCreateReadSessionStreamsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.Storage - .internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.Storage - .internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsResponse_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.Storage - .BatchCreateReadSessionStreamsResponse.class, - com.google.cloud.bigquery.storage.v1beta1.Storage - .BatchCreateReadSessionStreamsResponse.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse.class, com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse.Builder.class); } public static final int STREAMS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List streams_; /** - * - * *
      * Newly added streams.
      * 
@@ -14435,13 +12344,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.
      * 
@@ -14449,14 +12355,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.
      * 
@@ -14468,8 +12371,6 @@ public int getStreamsCount() { return streams_.size(); } /** - * - * *
      * Newly added streams.
      * 
@@ -14481,8 +12382,6 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getStreams(int i return streams_.get(index); } /** - * - * *
      * Newly added streams.
      * 
@@ -14496,7 +12395,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; @@ -14508,7 +12406,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)); } @@ -14522,7 +12421,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -14532,21 +12432,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -14567,114 +12461,90 @@ 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 @@ -14684,47 +12554,40 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * The response from `BatchCreateReadSessionStreams` returns the stream
      * identifiers for the newly created streams.
      * 
* - * Protobuf type {@code - * google.cloud.bigquery.storage.v1beta1.BatchCreateReadSessionStreamsResponse} + * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.BatchCreateReadSessionStreamsResponse} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta1.BatchCreateReadSessionStreamsResponse) - com.google.cloud.bigquery.storage.v1beta1.Storage - .BatchCreateReadSessionStreamsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.Storage - .internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsResponse_descriptor; + com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.Storage - .internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsResponse_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.Storage - .BatchCreateReadSessionStreamsResponse.class, - com.google.cloud.bigquery.storage.v1beta1.Storage - .BatchCreateReadSessionStreamsResponse.Builder.class); + com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse.class, com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse.Builder.class); } - // Construct using - // com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse.newBuilder() - private Builder() {} + // Construct using com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -14740,23 +12603,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); } @@ -14764,23 +12623,15 @@ 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); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse - result) { + private void buildPartialRepeatedFields(com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse result) { if (streamsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { streams_ = java.util.Collections.unmodifiableList(streams_); @@ -14792,9 +12643,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse - result) { + private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse result) { int from_bitField0_ = bitField0_; } @@ -14802,59 +12651,46 @@ private void buildPartial0( 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()) { @@ -14873,10 +12709,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_); } @@ -14908,27 +12743,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream m = - input.readMessage( - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.parser(), - extensionRegistry); - if (streamsBuilder_ == null) { - ensureStreamsIsMutable(); - streams_.add(m); - } else { - streamsBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream m = + input.readMessage( + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.parser(), + extensionRegistry); + if (streamsBuilder_ == null) { + ensureStreamsIsMutable(); + streams_.add(m); + } else { + streamsBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -14938,38 +12771,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List streams_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureStreamsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - streams_ = - new java.util.ArrayList( - streams_); + streams_ = new java.util.ArrayList(streams_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder> - streamsBuilder_; + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder> streamsBuilder_; /** - * - * *
        * Newly added streams.
        * 
* * repeated .google.cloud.bigquery.storage.v1beta1.Stream streams = 1; */ - public java.util.List - getStreamsList() { + public java.util.List getStreamsList() { if (streamsBuilder_ == null) { return java.util.Collections.unmodifiableList(streams_); } else { @@ -14977,8 +12800,6 @@ private void ensureStreamsIsMutable() { } } /** - * - * *
        * Newly added streams.
        * 
@@ -14993,8 +12814,6 @@ public int getStreamsCount() { } } /** - * - * *
        * Newly added streams.
        * 
@@ -15009,8 +12828,6 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getStreams(int i } } /** - * - * *
        * Newly added streams.
        * 
@@ -15032,8 +12849,6 @@ public Builder setStreams( return this; } /** - * - * *
        * Newly added streams.
        * 
@@ -15041,8 +12856,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()); @@ -15053,8 +12867,6 @@ public Builder setStreams( return this; } /** - * - * *
        * Newly added streams.
        * 
@@ -15075,8 +12887,6 @@ public Builder addStreams(com.google.cloud.bigquery.storage.v1beta1.Storage.Stre return this; } /** - * - * *
        * Newly added streams.
        * 
@@ -15098,8 +12908,6 @@ public Builder addStreams( return this; } /** - * - * *
        * Newly added streams.
        * 
@@ -15118,8 +12926,6 @@ public Builder addStreams( return this; } /** - * - * *
        * Newly added streams.
        * 
@@ -15127,8 +12933,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()); @@ -15139,8 +12944,6 @@ public Builder addStreams( return this; } /** - * - * *
        * Newly added streams.
        * 
@@ -15148,11 +12951,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); @@ -15160,8 +12963,6 @@ public Builder addAllStreams( return this; } /** - * - * *
        * Newly added streams.
        * 
@@ -15179,8 +12980,6 @@ public Builder clearStreams() { return this; } /** - * - * *
        * Newly added streams.
        * 
@@ -15198,8 +12997,6 @@ public Builder removeStreams(int index) { return this; } /** - * - * *
        * Newly added streams.
        * 
@@ -15211,8 +13008,6 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder getStrea return getStreamsFieldBuilder().getBuilder(index); } /** - * - * *
        * Newly added streams.
        * 
@@ -15222,23 +13017,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 { @@ -15246,8 +13037,6 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getStre } } /** - * - * *
        * Newly added streams.
        * 
@@ -15255,13 +13044,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.
        * 
@@ -15270,42 +13056,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) { @@ -15318,48 +13096,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta1.BatchCreateReadSessionStreamsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta1.BatchCreateReadSessionStreamsResponse) - private static final com.google.cloud.bigquery.storage.v1beta1.Storage - .BatchCreateReadSessionStreamsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.bigquery.storage.v1beta1.Storage - .BatchCreateReadSessionStreamsResponse(); + DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse(); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage - .BatchCreateReadSessionStreamsResponse - getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchCreateReadSessionStreamsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchCreateReadSessionStreamsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -15371,115 +13142,91 @@ public com.google.protobuf.Parser getPars } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse - getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1beta1.Storage.BatchCreateReadSessionStreamsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface FinalizeStreamRequestOrBuilder - extends + public interface FinalizeStreamRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta1.FinalizeStreamRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. Stream to finalize.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the stream field is set. */ boolean hasStream(); /** - * - * *
      * Required. Stream to finalize.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The stream. */ com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getStream(); /** - * - * *
      * Required. Stream to finalize.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getStreamOrBuilder(); } /** - * - * *
    * Request information for invoking `FinalizeStream`.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.FinalizeStreamRequest} */ - public static final class FinalizeStreamRequest extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class FinalizeStreamRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta1.FinalizeStreamRequest) FinalizeStreamRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FinalizeStreamRequest.newBuilder() to construct. private FinalizeStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private FinalizeStreamRequest() {} + private FinalizeStreamRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FinalizeStreamRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.Storage - .internal_static_google_cloud_bigquery_storage_v1beta1_FinalizeStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_FinalizeStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.Storage - .internal_static_google_cloud_bigquery_storage_v1beta1_FinalizeStreamRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.Storage.internal_static_google_cloud_bigquery_storage_v1beta1_FinalizeStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest.class, - com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest.Builder - .class); + com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest.class, com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest.Builder.class); } private int bitField0_; 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 @@ -15487,44 +13234,30 @@ public boolean hasStream() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. Stream to finalize.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The stream. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getStream() { - return stream_ == null - ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() - : stream_; + return stream_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() : stream_; } /** - * - * *
      * Required. Stream to finalize.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getStreamOrBuilder() { - return stream_ == null - ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() - : stream_; + return stream_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() : stream_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -15536,7 +13269,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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getStream()); } @@ -15550,7 +13284,8 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStream()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getStream()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -15560,18 +13295,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -15594,95 +13328,89 @@ 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 @@ -15692,52 +13420,45 @@ 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) { getStreamFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -15751,22 +13472,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); } @@ -15774,23 +13492,20 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest b } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest - buildPartial() { - com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest result = - new com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest buildPartial() { + com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest result = new com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest result) { + private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.stream_ = streamBuilder_ == null ? stream_ : streamBuilder_.build(); + result.stream_ = streamBuilder_ == null + ? stream_ + : streamBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -15800,54 +13515,46 @@ private void buildPartial0( 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()); } @@ -15877,19 +13584,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: - { - input.readMessage(getStreamFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: { + input.readMessage( + getStreamFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -15899,63 +13606,43 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.cloud.bigquery.storage.v1beta1.Storage.Stream stream_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder> - streamBuilder_; + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder> streamBuilder_; /** - * - * *
        * Required. Stream to finalize.
        * 
* - * - * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the stream field is set. */ public boolean hasStream() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * Required. Stream to finalize.
        * 
* - * - * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The stream. */ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getStream() { if (streamBuilder_ == null) { - return stream_ == null - ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() - : stream_; + return stream_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() : stream_; } else { return streamBuilder_.getMessage(); } } /** - * - * *
        * Required. Stream to finalize.
        * 
* - * - * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setStream(com.google.cloud.bigquery.storage.v1beta1.Storage.Stream value) { if (streamBuilder_ == null) { @@ -15971,15 +13658,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) { @@ -15993,23 +13676,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 (((bitField0_ & 0x00000001) != 0) - && stream_ != null - && stream_ - != com.google.cloud.bigquery.storage.v1beta1.Storage.Stream - .getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + stream_ != null && + stream_ != com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance()) { getStreamBuilder().mergeFrom(value); } else { stream_ = value; @@ -16024,15 +13701,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() { bitField0_ = (bitField0_ & ~0x00000001); @@ -16045,15 +13718,11 @@ public Builder clearStream() { return this; } /** - * - * *
        * Required. Stream to finalize.
        * 
* - * - * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder getStreamBuilder() { bitField0_ |= 0x00000001; @@ -16061,54 +13730,40 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder getStrea return getStreamFieldBuilder().getBuilder(); } /** - * - * *
        * Required. Stream to finalize.
        * 
* - * - * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder - getStreamOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getStreamOrBuilder() { if (streamBuilder_ != null) { return streamBuilder_.getMessageOrBuilder(); } else { - return stream_ == null - ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() - : stream_; + return stream_ == null ? + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() : stream_; } } /** - * - * *
        * Required. Stream to finalize.
        * 
* - * - * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder> + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder> getStreamFieldBuilder() { if (streamBuilder_ == null) { - streamBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder>( - getStream(), getParentForChildren(), isClean()); + streamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder>( + getStream(), + getParentForChildren(), + isClean()); stream_ = null; } return streamBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -16121,45 +13776,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta1.FinalizeStreamRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta1.FinalizeStreamRequest) - private static final com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest(); + DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest(); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta1.Storage.FinalizeStreamRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FinalizeStreamRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FinalizeStreamRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -16171,61 +13822,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
@@ -16237,68 +13871,58 @@ 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(); } - 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); } private int bitField0_; 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 @@ -16306,48 +13930,32 @@ public boolean hasOriginalStream() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. Stream to split.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The originalStream. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getOriginalStream() { - return originalStream_ == null - ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() - : originalStream_; + return originalStream_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() : originalStream_; } /** - * - * *
      * Required. Stream to split.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder - getOriginalStreamOrBuilder() { - return originalStream_ == null - ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() - : originalStream_; + public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getOriginalStreamOrBuilder() { + return originalStream_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() : originalStream_; } public static final int FRACTION_FIELD_NUMBER = 2; private float fraction_ = 0F; /** - * - * *
      * A value in the range (0.0, 1.0) that specifies the fractional point at
      * which the original stream should be split. The actual split point is
@@ -16359,7 +13967,6 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getOriginalStrea
      * 
* * float fraction = 2; - * * @return The fraction. */ @java.lang.Override @@ -16368,7 +13975,6 @@ public float getFraction() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -16380,7 +13986,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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getOriginalStream()); } @@ -16397,10 +14004,12 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOriginalStream()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getOriginalStream()); } if (java.lang.Float.floatToRawIntBits(fraction_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(2, fraction_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, fraction_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -16410,21 +14019,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest)) { + if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest other = - (com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest) obj; + com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest other = (com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest) obj; if (hasOriginalStream() != other.hasOriginalStream()) return false; if (hasOriginalStream()) { - if (!getOriginalStream().equals(other.getOriginalStream())) return false; + if (!getOriginalStream() + .equals(other.getOriginalStream())) return false; } if (java.lang.Float.floatToIntBits(getFraction()) - != java.lang.Float.floatToIntBits(other.getFraction())) return false; + != java.lang.Float.floatToIntBits( + other.getFraction())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -16441,107 +14050,97 @@ public int hashCode() { hash = (53 * hash) + getOriginalStream().hashCode(); } hash = (37 * hash) + FRACTION_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getFraction()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getFraction()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -16551,52 +14150,45 @@ 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) { getOriginalStreamFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -16611,22 +14203,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); } @@ -16634,24 +14223,20 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest - buildPartial() { - com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest result = - new com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest buildPartial() { + com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest result = new com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest result) { + private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.originalStream_ = - originalStreamBuilder_ == null ? originalStream_ : originalStreamBuilder_.build(); + result.originalStream_ = originalStreamBuilder_ == null + ? originalStream_ + : originalStreamBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { @@ -16664,54 +14249,46 @@ private void buildPartial0( 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()); } @@ -16744,26 +14321,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getOriginalStreamFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 21: - { - fraction_ = input.readFloat(); - bitField0_ |= 0x00000002; - break; - } // case 21 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getOriginalStreamFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 21: { + fraction_ = input.readFloat(); + bitField0_ |= 0x00000002; + break; + } // case 21 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -16773,66 +14348,45 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.cloud.bigquery.storage.v1beta1.Storage.Stream originalStream_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder> - originalStreamBuilder_; + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder> originalStreamBuilder_; /** - * - * *
        * Required. Stream to split.
        * 
* - * - * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the originalStream field is set. */ public boolean hasOriginalStream() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * Required. Stream to split.
        * 
* - * - * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The originalStream. */ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getOriginalStream() { if (originalStreamBuilder_ == null) { - return originalStream_ == null - ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() - : originalStream_; + return originalStream_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() : originalStream_; } else { return originalStreamBuilder_.getMessage(); } } /** - * - * *
        * Required. Stream to split.
        * 
* - * - * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setOriginalStream( - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream value) { + public Builder setOriginalStream(com.google.cloud.bigquery.storage.v1beta1.Storage.Stream value) { if (originalStreamBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -16846,15 +14400,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) { @@ -16868,24 +14418,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 (((bitField0_ & 0x00000001) != 0) - && originalStream_ != null - && originalStream_ - != com.google.cloud.bigquery.storage.v1beta1.Storage.Stream - .getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + originalStream_ != null && + originalStream_ != com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance()) { getOriginalStreamBuilder().mergeFrom(value); } else { originalStream_ = value; @@ -16900,15 +14443,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() { bitField0_ = (bitField0_ & ~0x00000001); @@ -16921,75 +14460,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() { bitField0_ |= 0x00000001; onChanged(); return getOriginalStreamFieldBuilder().getBuilder(); } /** - * - * *
        * Required. Stream to split.
        * 
* - * - * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder - getOriginalStreamOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getOriginalStreamOrBuilder() { if (originalStreamBuilder_ != null) { return originalStreamBuilder_.getMessageOrBuilder(); } else { - return originalStream_ == null - ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() - : originalStream_; + return originalStream_ == null ? + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() : originalStream_; } } /** - * - * *
        * Required. Stream to split.
        * 
* - * - * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder> + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder> getOriginalStreamFieldBuilder() { if (originalStreamBuilder_ == null) { - originalStreamBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder>( - getOriginalStream(), getParentForChildren(), isClean()); + originalStreamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder>( + getOriginalStream(), + getParentForChildren(), + isClean()); originalStream_ = null; } return originalStreamBuilder_; } - private float fraction_; + private float fraction_ ; /** - * - * *
        * A value in the range (0.0, 1.0) that specifies the fractional point at
        * which the original stream should be split. The actual split point is
@@ -17001,7 +14520,6 @@ public Builder clearOriginalStream() {
        * 
* * float fraction = 2; - * * @return The fraction. */ @java.lang.Override @@ -17009,8 +14527,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
@@ -17022,7 +14538,6 @@ public float getFraction() {
        * 
* * float fraction = 2; - * * @param value The fraction to set. * @return This builder for chaining. */ @@ -17034,8 +14549,6 @@ public Builder setFraction(float value) { return this; } /** - * - * *
        * A value in the range (0.0, 1.0) that specifies the fractional point at
        * which the original stream should be split. The actual split point is
@@ -17047,7 +14560,6 @@ public Builder setFraction(float value) {
        * 
* * float fraction = 2; - * * @return This builder for chaining. */ public Builder clearFraction() { @@ -17056,7 +14568,6 @@ public Builder clearFraction() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -17069,45 +14580,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta1.SplitReadStreamRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta1.SplitReadStreamRequest) - private static final com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest(); + DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest(); } - public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SplitReadStreamRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SplitReadStreamRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -17119,20 +14626,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
@@ -17140,13 +14644,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
@@ -17154,13 +14655,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
@@ -17172,34 +14670,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.
@@ -17210,54 +14700,48 @@ 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(); } - 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); } private int bitField0_; 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
@@ -17265,7 +14749,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 @@ -17273,8 +14756,6 @@ public boolean hasPrimaryStream() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Primary stream, which contains the beginning portion of
      * |original_stream|. An empty value indicates that the original stream can no
@@ -17282,18 +14763,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
@@ -17303,25 +14779,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() {
-      return primaryStream_ == null
-          ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance()
-          : primaryStream_;
+    public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getPrimaryStreamOrBuilder() {
+      return primaryStream_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() : primaryStream_;
     }
 
     public static final int REMAINDER_STREAM_FIELD_NUMBER = 2;
     private com.google.cloud.bigquery.storage.v1beta1.Storage.Stream remainderStream_;
     /**
-     *
-     *
      * 
      * Remainder stream, which contains the tail of |original_stream|. An empty
      * value indicates that the original stream can no longer be split.
      * 
* * .google.cloud.bigquery.storage.v1beta1.Stream remainder_stream = 2; - * * @return Whether the remainderStream field is set. */ @java.lang.Override @@ -17329,26 +14799,19 @@ public boolean hasRemainderStream() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Remainder stream, which contains the tail of |original_stream|. An empty
      * value indicates that the original stream can no longer be split.
      * 
* * .google.cloud.bigquery.storage.v1beta1.Stream remainder_stream = 2; - * * @return The remainderStream. */ @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.
@@ -17357,15 +14820,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() {
-      return remainderStream_ == null
-          ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance()
-          : remainderStream_;
+    public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getRemainderStreamOrBuilder() {
+      return remainderStream_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() : remainderStream_;
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -17377,7 +14836,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 (((bitField0_ & 0x00000001) != 0)) {
         output.writeMessage(1, getPrimaryStream());
       }
@@ -17394,10 +14854,12 @@ public int getSerializedSize() {
 
       size = 0;
       if (((bitField0_ & 0x00000001) != 0)) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPrimaryStream());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, getPrimaryStream());
       }
       if (((bitField0_ & 0x00000002) != 0)) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRemainderStream());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, getRemainderStream());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -17407,22 +14869,22 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
-      if (!(obj
-          instanceof com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse)) {
+      if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse)) {
         return super.equals(obj);
       }
-      com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse other =
-          (com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse) obj;
+      com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse other = (com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse) obj;
 
       if (hasPrimaryStream() != other.hasPrimaryStream()) return false;
       if (hasPrimaryStream()) {
-        if (!getPrimaryStream().equals(other.getPrimaryStream())) return false;
+        if (!getPrimaryStream()
+            .equals(other.getPrimaryStream())) return false;
       }
       if (hasRemainderStream() != other.hasRemainderStream()) return false;
       if (hasRemainderStream()) {
-        if (!getRemainderStream().equals(other.getRemainderStream())) return false;
+        if (!getRemainderStream()
+            .equals(other.getRemainderStream())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -17448,101 +14910,90 @@ 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
@@ -17552,53 +15003,46 @@ 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) { getPrimaryStreamFieldBuilder(); getRemainderStreamFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -17617,22 +15061,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); } @@ -17640,29 +15081,26 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse - buildPartial() { - com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse result = - new com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse buildPartial() { + com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse result = new com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse result) { + private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.primaryStream_ = - primaryStreamBuilder_ == null ? primaryStream_ : primaryStreamBuilder_.build(); + result.primaryStream_ = primaryStreamBuilder_ == null + ? primaryStream_ + : primaryStreamBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.remainderStream_ = - remainderStreamBuilder_ == null ? remainderStream_ : remainderStreamBuilder_.build(); + result.remainderStream_ = remainderStreamBuilder_ == null + ? remainderStream_ + : remainderStreamBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; @@ -17672,54 +15110,46 @@ private void buildPartial0( 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()); } @@ -17752,26 +15182,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getPrimaryStreamFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage( - getRemainderStreamFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getPrimaryStreamFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getRemainderStreamFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -17781,18 +15211,12 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.cloud.bigquery.storage.v1beta1.Storage.Stream primaryStream_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, - com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, - com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder> - primaryStreamBuilder_; + com.google.cloud.bigquery.storage.v1beta1.Storage.Stream, com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder, com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder> primaryStreamBuilder_; /** - * - * *
        * Primary stream, which contains the beginning portion of
        * |original_stream|. An empty value indicates that the original stream can no
@@ -17800,15 +15224,12 @@ public Builder mergeFrom(
        * 
* * .google.cloud.bigquery.storage.v1beta1.Stream primary_stream = 1; - * * @return Whether the primaryStream field is set. */ public boolean hasPrimaryStream() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * Primary stream, which contains the beginning portion of
        * |original_stream|. An empty value indicates that the original stream can no
@@ -17816,21 +15237,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
@@ -17839,8 +15255,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();
@@ -17854,8 +15269,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
@@ -17876,8 +15289,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
@@ -17886,14 +15297,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 (((bitField0_ & 0x00000001) != 0)
-              && primaryStream_ != null
-              && primaryStream_
-                  != com.google.cloud.bigquery.storage.v1beta1.Storage.Stream
-                      .getDefaultInstance()) {
+          if (((bitField0_ & 0x00000001) != 0) &&
+            primaryStream_ != null &&
+            primaryStream_ != com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance()) {
             getPrimaryStreamBuilder().mergeFrom(value);
           } else {
             primaryStream_ = value;
@@ -17908,8 +15316,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
@@ -17929,8 +15335,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
@@ -17939,15 +15343,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() {
         bitField0_ |= 0x00000001;
         onChanged();
         return getPrimaryStreamFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Primary stream, which contains the beginning portion of
        * |original_stream|. An empty value indicates that the original stream can no
@@ -17956,19 +15357,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
@@ -17978,17 +15375,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_;
@@ -17996,49 +15390,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 ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * Remainder stream, which contains the tail of |original_stream|. An empty
        * value indicates that the original stream can no longer be split.
        * 
* * .google.cloud.bigquery.storage.v1beta1.Stream remainder_stream = 2; - * * @return The remainderStream. */ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getRemainderStream() { if (remainderStreamBuilder_ == null) { - return remainderStream_ == null - ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() - : remainderStream_; + return remainderStream_ == null ? com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance() : remainderStream_; } else { return remainderStreamBuilder_.getMessage(); } } /** - * - * *
        * Remainder stream, which contains the tail of |original_stream|. An empty
        * value indicates that the original stream can no longer be split.
@@ -18046,8 +15427,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();
@@ -18061,8 +15441,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.
@@ -18082,8 +15460,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.
@@ -18091,14 +15467,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 (((bitField0_ & 0x00000002) != 0)
-              && remainderStream_ != null
-              && remainderStream_
-                  != com.google.cloud.bigquery.storage.v1beta1.Storage.Stream
-                      .getDefaultInstance()) {
+          if (((bitField0_ & 0x00000002) != 0) &&
+            remainderStream_ != null &&
+            remainderStream_ != com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.getDefaultInstance()) {
             getRemainderStreamBuilder().mergeFrom(value);
           } else {
             remainderStream_ = value;
@@ -18113,8 +15486,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.
@@ -18133,8 +15504,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.
@@ -18142,15 +15511,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() {
         bitField0_ |= 0x00000002;
         onChanged();
         return getRemainderStreamFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Remainder stream, which contains the tail of |original_stream|. An empty
        * value indicates that the original stream can no longer be split.
@@ -18158,19 +15524,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.
@@ -18179,22 +15541,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) {
@@ -18207,45 +15565,41 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta1.SplitReadStreamResponse)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta1.SplitReadStreamResponse)
-    private static final com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse
-        DEFAULT_INSTANCE;
-
+    private static final com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse DEFAULT_INSTANCE;
     static {
-      DEFAULT_INSTANCE =
-          new com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse();
+      DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse();
     }
 
-    public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse
-        getDefaultInstance() {
+    public static com.google.cloud.bigquery.storage.v1beta1.Storage.SplitReadStreamResponse getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public SplitReadStreamResponse parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public SplitReadStreamResponse parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -18257,353 +15611,316 @@ 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\"\211\004\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"
-          + "eStatus\022M\n\013avro_schema\030\007 \001(\01321.google.cl"
-          + "oud.bigquery.storage.v1beta1.AvroSchemaB"
-          + "\003\340A\003H\001\022O\n\014arrow_schema\030\010 \001(\01322.google.cl"
-          + "oud.bigquery.storage.v1beta1.ArrowSchema"
-          + "B\003\340A\003H\001B\006\n\004rowsB\010\n\006schema\"\220\001\n$BatchCreat"
-          + "eReadSessionStreamsRequest\022H\n\007session\030\001 "
-          + "\001(\01322.google.cloud.bigquery.storage.v1be"
-          + "ta1.ReadSessionB\003\340A\002\022\036\n\021requested_stream"
-          + "s\030\002 \001(\005B\003\340A\002\"g\n%BatchCreateReadSessionSt"
-          + "reamsResponse\022>\n\007streams\030\001 \003(\0132-.google."
-          + "cloud.bigquery.storage.v1beta1.Stream\"[\n"
-          + "\025FinalizeStreamRequest\022B\n\006stream\030\002 \001(\0132-"
-          + ".google.cloud.bigquery.storage.v1beta1.S"
-          + "treamB\003\340A\002\"w\n\026SplitReadStreamRequest\022K\n\017"
-          + "original_stream\030\001 \001(\0132-.google.cloud.big"
-          + "query.storage.v1beta1.StreamB\003\340A\002\022\020\n\010fra"
-          + "ction\030\002 \001(\002\"\251\001\n\027SplitReadStreamResponse\022"
-          + "E\n\016primary_stream\030\001 \001(\0132-.google.cloud.b"
-          + "igquery.storage.v1beta1.Stream\022G\n\020remain"
-          + "der_stream\030\002 \001(\0132-.google.cloud.bigquery"
-          + ".storage.v1beta1.Stream*>\n\nDataFormat\022\033\n"
-          + "\027DATA_FORMAT_UNSPECIFIED\020\000\022\010\n\004AVRO\020\001\022\t\n\005"
-          + "ARROW\020\003*O\n\020ShardingStrategy\022!\n\035SHARDING_"
-          + "STRATEGY_UNSPECIFIED\020\000\022\n\n\006LIQUID\020\001\022\014\n\010BA"
-          + "LANCED\020\0022\267\n\n\017BigQueryStorage\022\263\002\n\021CreateR"
-          + "eadSession\022?.google.cloud.bigquery.stora"
-          + "ge.v1beta1.CreateReadSessionRequest\0322.go"
-          + "ogle.cloud.bigquery.storage.v1beta1.Read"
-          + "Session\"\250\001\332A(table_reference,parent,requ"
-          + "ested_streams\202\323\344\223\002w\"0/v1beta1/{table_ref"
-          + "erence.project_id=projects/*}:\001*Z@\";/v1b"
-          + "eta1/{table_reference.dataset_id=project"
-          + "s/*/datasets/*}:\001*\022\320\001\n\010ReadRows\0226.google"
-          + ".cloud.bigquery.storage.v1beta1.ReadRows"
-          + "Request\0327.google.cloud.bigquery.storage."
-          + "v1beta1.ReadRowsResponse\"Q\332A\rread_positi"
-          + "on\202\323\344\223\002;\0229/v1beta1/{read_position.stream"
-          + ".name=projects/*/streams/*}0\001\022\220\002\n\035BatchC"
-          + "reateReadSessionStreams\022K.google.cloud.b"
-          + "igquery.storage.v1beta1.BatchCreateReadS"
-          + "essionStreamsRequest\032L.google.cloud.bigq"
-          + "uery.storage.v1beta1.BatchCreateReadSess"
-          + "ionStreamsResponse\"T\332A\031session,requested"
-          + "_streams\202\323\344\223\0022\"-/v1beta1/{session.name=p"
-          + "rojects/*/sessions/*}:\001*\022\247\001\n\016FinalizeStr"
-          + "eam\022<.google.cloud.bigquery.storage.v1be"
-          + "ta1.FinalizeStreamRequest\032\026.google.proto"
-          + "buf.Empty\"?\332A\006stream\202\323\344\223\0020\"+/v1beta1/{st"
-          + "ream.name=projects/*/streams/*}:\001*\022\340\001\n\017S"
-          + "plitReadStream\022=.google.cloud.bigquery.s"
-          + "torage.v1beta1.SplitReadStreamRequest\032>."
-          + "google.cloud.bigquery.storage.v1beta1.Sp"
-          + "litReadStreamResponse\"N\332A\017original_strea"
-          + "m\202\323\344\223\0026\0224/v1beta1/{original_stream.name="
-          + "projects/*/streams/*}\032{\312A\036bigquerystorag"
-          + "e.googleapis.com\322AWhttps://www.googleapi"
-          + "s.com/auth/bigquery,https://www.googleap"
-          + "is.com/auth/cloud-platformBp\n)com.google"
-          + ".cloud.bigquery.storage.v1beta1ZCcloud.g"
-          + "oogle.com/go/bigquery/storage/apiv1beta1"
-          + "/storagepb;storagepbb\006proto3"
+      "\n3google/cloud/bigquery/storage/v1beta1/" +
+      "storage.proto\022%google.cloud.bigquery.sto" +
+      "rage.v1beta1\032\034google/api/annotations.pro" +
+      "to\032\027google/api/client.proto\032\037google/api/" +
+      "field_behavior.proto\032\031google/api/resourc" +
+      "e.proto\0321google/cloud/bigquery/storage/v" +
+      "1beta1/arrow.proto\0320google/cloud/bigquer" +
+      "y/storage/v1beta1/avro.proto\0328google/clo" +
+      "ud/bigquery/storage/v1beta1/read_options" +
+      ".proto\032;google/cloud/bigquery/storage/v1" +
+      "beta1/table_reference.proto\032\033google/prot" +
+      "obuf/empty.proto\032\037google/protobuf/timest" +
+      "amp.proto\"|\n\006Stream\022\014\n\004name\030\001 \001(\t:d\352Aa\n%" +
+      "bigquerystorage.googleapis.com/Stream\0228p" +
+      "rojects/{project}/locations/{location}/s" +
+      "treams/{stream}\"_\n\016StreamPosition\022=\n\006str" +
+      "eam\030\001 \001(\0132-.google.cloud.bigquery.storag" +
+      "e.v1beta1.Stream\022\016\n\006offset\030\002 \001(\003\"\215\005\n\013Rea" +
+      "dSession\022\014\n\004name\030\001 \001(\t\022/\n\013expire_time\030\002 " +
+      "\001(\0132\032.google.protobuf.Timestamp\022H\n\013avro_" +
+      "schema\030\005 \001(\01321.google.cloud.bigquery.sto" +
+      "rage.v1beta1.AvroSchemaH\000\022J\n\014arrow_schem" +
+      "a\030\006 \001(\01322.google.cloud.bigquery.storage." +
+      "v1beta1.ArrowSchemaH\000\022>\n\007streams\030\004 \003(\0132-" +
+      ".google.cloud.bigquery.storage.v1beta1.S" +
+      "tream\022N\n\017table_reference\030\007 \001(\01325.google." +
+      "cloud.bigquery.storage.v1beta1.TableRefe" +
+      "rence\022N\n\017table_modifiers\030\010 \001(\01325.google." +
+      "cloud.bigquery.storage.v1beta1.TableModi" +
+      "fiers\022R\n\021sharding_strategy\030\t \001(\01627.googl" +
+      "e.cloud.bigquery.storage.v1beta1.Shardin" +
+      "gStrategy:k\352Ah\n*bigquerystorage.googleap" +
+      "is.com/ReadSession\022:projects/{project}/l" +
+      "ocations/{location}/sessions/{session}B\010" +
+      "\n\006schema\"\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\"\211\004\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" +
+      "eStatus\022M\n\013avro_schema\030\007 \001(\01321.google.cl" +
+      "oud.bigquery.storage.v1beta1.AvroSchemaB" +
+      "\003\340A\003H\001\022O\n\014arrow_schema\030\010 \001(\01322.google.cl" +
+      "oud.bigquery.storage.v1beta1.ArrowSchema" +
+      "B\003\340A\003H\001B\006\n\004rowsB\010\n\006schema\"\220\001\n$BatchCreat" +
+      "eReadSessionStreamsRequest\022H\n\007session\030\001 " +
+      "\001(\01322.google.cloud.bigquery.storage.v1be" +
+      "ta1.ReadSessionB\003\340A\002\022\036\n\021requested_stream" +
+      "s\030\002 \001(\005B\003\340A\002\"g\n%BatchCreateReadSessionSt" +
+      "reamsResponse\022>\n\007streams\030\001 \003(\0132-.google." +
+      "cloud.bigquery.storage.v1beta1.Stream\"[\n" +
+      "\025FinalizeStreamRequest\022B\n\006stream\030\002 \001(\0132-" +
+      ".google.cloud.bigquery.storage.v1beta1.S" +
+      "treamB\003\340A\002\"w\n\026SplitReadStreamRequest\022K\n\017" +
+      "original_stream\030\001 \001(\0132-.google.cloud.big" +
+      "query.storage.v1beta1.StreamB\003\340A\002\022\020\n\010fra" +
+      "ction\030\002 \001(\002\"\251\001\n\027SplitReadStreamResponse\022" +
+      "E\n\016primary_stream\030\001 \001(\0132-.google.cloud.b" +
+      "igquery.storage.v1beta1.Stream\022G\n\020remain" +
+      "der_stream\030\002 \001(\0132-.google.cloud.bigquery" +
+      ".storage.v1beta1.Stream*>\n\nDataFormat\022\033\n" +
+      "\027DATA_FORMAT_UNSPECIFIED\020\000\022\010\n\004AVRO\020\001\022\t\n\005" +
+      "ARROW\020\003*O\n\020ShardingStrategy\022!\n\035SHARDING_" +
+      "STRATEGY_UNSPECIFIED\020\000\022\n\n\006LIQUID\020\001\022\014\n\010BA" +
+      "LANCED\020\0022\267\n\n\017BigQueryStorage\022\263\002\n\021CreateR" +
+      "eadSession\022?.google.cloud.bigquery.stora" +
+      "ge.v1beta1.CreateReadSessionRequest\0322.go" +
+      "ogle.cloud.bigquery.storage.v1beta1.Read" +
+      "Session\"\250\001\332A(table_reference,parent,requ" +
+      "ested_streams\202\323\344\223\002w\"0/v1beta1/{table_ref" +
+      "erence.project_id=projects/*}:\001*Z@\";/v1b" +
+      "eta1/{table_reference.dataset_id=project" +
+      "s/*/datasets/*}:\001*\022\320\001\n\010ReadRows\0226.google" +
+      ".cloud.bigquery.storage.v1beta1.ReadRows" +
+      "Request\0327.google.cloud.bigquery.storage." +
+      "v1beta1.ReadRowsResponse\"Q\332A\rread_positi" +
+      "on\202\323\344\223\002;\0229/v1beta1/{read_position.stream" +
+      ".name=projects/*/streams/*}0\001\022\220\002\n\035BatchC" +
+      "reateReadSessionStreams\022K.google.cloud.b" +
+      "igquery.storage.v1beta1.BatchCreateReadS" +
+      "essionStreamsRequest\032L.google.cloud.bigq" +
+      "uery.storage.v1beta1.BatchCreateReadSess" +
+      "ionStreamsResponse\"T\332A\031session,requested" +
+      "_streams\202\323\344\223\0022\"-/v1beta1/{session.name=p" +
+      "rojects/*/sessions/*}:\001*\022\247\001\n\016FinalizeStr" +
+      "eam\022<.google.cloud.bigquery.storage.v1be" +
+      "ta1.FinalizeStreamRequest\032\026.google.proto" +
+      "buf.Empty\"?\332A\006stream\202\323\344\223\0020\"+/v1beta1/{st" +
+      "ream.name=projects/*/streams/*}:\001*\022\340\001\n\017S" +
+      "plitReadStream\022=.google.cloud.bigquery.s" +
+      "torage.v1beta1.SplitReadStreamRequest\032>." +
+      "google.cloud.bigquery.storage.v1beta1.Sp" +
+      "litReadStreamResponse\"N\332A\017original_strea" +
+      "m\202\323\344\223\0026\0224/v1beta1/{original_stream.name=" +
+      "projects/*/streams/*}\032{\312A\036bigquerystorag" +
+      "e.googleapis.com\322AWhttps://www.googleapi" +
+      "s.com/auth/bigquery,https://www.googleap" +
+      "is.com/auth/cloud-platformBp\n)com.google" +
+      ".cloud.bigquery.storage.v1beta1ZCcloud.g" +
+      "oogle.com/go/bigquery/storage/apiv1beta1" +
+      "/storagepb;storagepbb\006proto3"
     };
-    descriptor =
-        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
-            descriptorData,
-            new com.google.protobuf.Descriptors.FileDescriptor[] {
-              com.google.api.AnnotationsProto.getDescriptor(),
-              com.google.api.ClientProto.getDescriptor(),
-              com.google.api.FieldBehaviorProto.getDescriptor(),
-              com.google.api.ResourceProto.getDescriptor(),
-              com.google.cloud.bigquery.storage.v1beta1.ArrowProto.getDescriptor(),
-              com.google.cloud.bigquery.storage.v1beta1.AvroProto.getDescriptor(),
-              com.google.cloud.bigquery.storage.v1beta1.ReadOptions.getDescriptor(),
-              com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.getDescriptor(),
-              com.google.protobuf.EmptyProto.getDescriptor(),
-              com.google.protobuf.TimestampProto.getDescriptor(),
-            });
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.api.AnnotationsProto.getDescriptor(),
+          com.google.api.ClientProto.getDescriptor(),
+          com.google.api.FieldBehaviorProto.getDescriptor(),
+          com.google.api.ResourceProto.getDescriptor(),
+          com.google.cloud.bigquery.storage.v1beta1.ArrowProto.getDescriptor(),
+          com.google.cloud.bigquery.storage.v1beta1.AvroProto.getDescriptor(),
+          com.google.cloud.bigquery.storage.v1beta1.ReadOptions.getDescriptor(),
+          com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.getDescriptor(),
+          com.google.protobuf.EmptyProto.getDescriptor(),
+          com.google.protobuf.TimestampProto.getDescriptor(),
+        });
     internal_static_google_cloud_bigquery_storage_v1beta1_Stream_descriptor =
-        getDescriptor().getMessageTypes().get(0);
-    internal_static_google_cloud_bigquery_storage_v1beta1_Stream_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_bigquery_storage_v1beta1_Stream_descriptor,
-            new java.lang.String[] {
-              "Name",
-            });
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_bigquery_storage_v1beta1_Stream_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_bigquery_storage_v1beta1_Stream_descriptor,
+        new java.lang.String[] { "Name", });
     internal_static_google_cloud_bigquery_storage_v1beta1_StreamPosition_descriptor =
-        getDescriptor().getMessageTypes().get(1);
-    internal_static_google_cloud_bigquery_storage_v1beta1_StreamPosition_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_bigquery_storage_v1beta1_StreamPosition_descriptor,
-            new java.lang.String[] {
-              "Stream", "Offset",
-            });
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_bigquery_storage_v1beta1_StreamPosition_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_bigquery_storage_v1beta1_StreamPosition_descriptor,
+        new java.lang.String[] { "Stream", "Offset", });
     internal_static_google_cloud_bigquery_storage_v1beta1_ReadSession_descriptor =
-        getDescriptor().getMessageTypes().get(2);
-    internal_static_google_cloud_bigquery_storage_v1beta1_ReadSession_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_bigquery_storage_v1beta1_ReadSession_descriptor,
-            new java.lang.String[] {
-              "Name",
-              "ExpireTime",
-              "AvroSchema",
-              "ArrowSchema",
-              "Streams",
-              "TableReference",
-              "TableModifiers",
-              "ShardingStrategy",
-              "Schema",
-            });
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_bigquery_storage_v1beta1_ReadSession_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_bigquery_storage_v1beta1_ReadSession_descriptor,
+        new java.lang.String[] { "Name", "ExpireTime", "AvroSchema", "ArrowSchema", "Streams", "TableReference", "TableModifiers", "ShardingStrategy", "Schema", });
     internal_static_google_cloud_bigquery_storage_v1beta1_CreateReadSessionRequest_descriptor =
-        getDescriptor().getMessageTypes().get(3);
-    internal_static_google_cloud_bigquery_storage_v1beta1_CreateReadSessionRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_bigquery_storage_v1beta1_CreateReadSessionRequest_descriptor,
-            new java.lang.String[] {
-              "TableReference",
-              "Parent",
-              "TableModifiers",
-              "RequestedStreams",
-              "ReadOptions",
-              "Format",
-              "ShardingStrategy",
-            });
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_bigquery_storage_v1beta1_CreateReadSessionRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_bigquery_storage_v1beta1_CreateReadSessionRequest_descriptor,
+        new java.lang.String[] { "TableReference", "Parent", "TableModifiers", "RequestedStreams", "ReadOptions", "Format", "ShardingStrategy", });
     internal_static_google_cloud_bigquery_storage_v1beta1_ReadRowsRequest_descriptor =
-        getDescriptor().getMessageTypes().get(4);
-    internal_static_google_cloud_bigquery_storage_v1beta1_ReadRowsRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_bigquery_storage_v1beta1_ReadRowsRequest_descriptor,
-            new java.lang.String[] {
-              "ReadPosition",
-            });
+      getDescriptor().getMessageTypes().get(4);
+    internal_static_google_cloud_bigquery_storage_v1beta1_ReadRowsRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_bigquery_storage_v1beta1_ReadRowsRequest_descriptor,
+        new java.lang.String[] { "ReadPosition", });
     internal_static_google_cloud_bigquery_storage_v1beta1_StreamStatus_descriptor =
-        getDescriptor().getMessageTypes().get(5);
-    internal_static_google_cloud_bigquery_storage_v1beta1_StreamStatus_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_bigquery_storage_v1beta1_StreamStatus_descriptor,
-            new java.lang.String[] {
-              "EstimatedRowCount", "FractionConsumed", "Progress", "IsSplittable",
-            });
+      getDescriptor().getMessageTypes().get(5);
+    internal_static_google_cloud_bigquery_storage_v1beta1_StreamStatus_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_bigquery_storage_v1beta1_StreamStatus_descriptor,
+        new java.lang.String[] { "EstimatedRowCount", "FractionConsumed", "Progress", "IsSplittable", });
     internal_static_google_cloud_bigquery_storage_v1beta1_Progress_descriptor =
-        getDescriptor().getMessageTypes().get(6);
-    internal_static_google_cloud_bigquery_storage_v1beta1_Progress_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_bigquery_storage_v1beta1_Progress_descriptor,
-            new java.lang.String[] {
-              "AtResponseStart", "AtResponseEnd",
-            });
+      getDescriptor().getMessageTypes().get(6);
+    internal_static_google_cloud_bigquery_storage_v1beta1_Progress_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_bigquery_storage_v1beta1_Progress_descriptor,
+        new java.lang.String[] { "AtResponseStart", "AtResponseEnd", });
     internal_static_google_cloud_bigquery_storage_v1beta1_ThrottleStatus_descriptor =
-        getDescriptor().getMessageTypes().get(7);
-    internal_static_google_cloud_bigquery_storage_v1beta1_ThrottleStatus_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_bigquery_storage_v1beta1_ThrottleStatus_descriptor,
-            new java.lang.String[] {
-              "ThrottlePercent",
-            });
+      getDescriptor().getMessageTypes().get(7);
+    internal_static_google_cloud_bigquery_storage_v1beta1_ThrottleStatus_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_bigquery_storage_v1beta1_ThrottleStatus_descriptor,
+        new java.lang.String[] { "ThrottlePercent", });
     internal_static_google_cloud_bigquery_storage_v1beta1_ReadRowsResponse_descriptor =
-        getDescriptor().getMessageTypes().get(8);
-    internal_static_google_cloud_bigquery_storage_v1beta1_ReadRowsResponse_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_bigquery_storage_v1beta1_ReadRowsResponse_descriptor,
-            new java.lang.String[] {
-              "AvroRows",
-              "ArrowRecordBatch",
-              "RowCount",
-              "Status",
-              "ThrottleStatus",
-              "AvroSchema",
-              "ArrowSchema",
-              "Rows",
-              "Schema",
-            });
+      getDescriptor().getMessageTypes().get(8);
+    internal_static_google_cloud_bigquery_storage_v1beta1_ReadRowsResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_bigquery_storage_v1beta1_ReadRowsResponse_descriptor,
+        new java.lang.String[] { "AvroRows", "ArrowRecordBatch", "RowCount", "Status", "ThrottleStatus", "AvroSchema", "ArrowSchema", "Rows", "Schema", });
     internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsRequest_descriptor =
-        getDescriptor().getMessageTypes().get(9);
-    internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsRequest_descriptor,
-            new java.lang.String[] {
-              "Session", "RequestedStreams",
-            });
+      getDescriptor().getMessageTypes().get(9);
+    internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsRequest_descriptor,
+        new java.lang.String[] { "Session", "RequestedStreams", });
     internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsResponse_descriptor =
-        getDescriptor().getMessageTypes().get(10);
-    internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsResponse_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsResponse_descriptor,
-            new java.lang.String[] {
-              "Streams",
-            });
+      getDescriptor().getMessageTypes().get(10);
+    internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_bigquery_storage_v1beta1_BatchCreateReadSessionStreamsResponse_descriptor,
+        new java.lang.String[] { "Streams", });
     internal_static_google_cloud_bigquery_storage_v1beta1_FinalizeStreamRequest_descriptor =
-        getDescriptor().getMessageTypes().get(11);
-    internal_static_google_cloud_bigquery_storage_v1beta1_FinalizeStreamRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_bigquery_storage_v1beta1_FinalizeStreamRequest_descriptor,
-            new java.lang.String[] {
-              "Stream",
-            });
+      getDescriptor().getMessageTypes().get(11);
+    internal_static_google_cloud_bigquery_storage_v1beta1_FinalizeStreamRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_bigquery_storage_v1beta1_FinalizeStreamRequest_descriptor,
+        new java.lang.String[] { "Stream", });
     internal_static_google_cloud_bigquery_storage_v1beta1_SplitReadStreamRequest_descriptor =
-        getDescriptor().getMessageTypes().get(12);
-    internal_static_google_cloud_bigquery_storage_v1beta1_SplitReadStreamRequest_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_bigquery_storage_v1beta1_SplitReadStreamRequest_descriptor,
-            new java.lang.String[] {
-              "OriginalStream", "Fraction",
-            });
+      getDescriptor().getMessageTypes().get(12);
+    internal_static_google_cloud_bigquery_storage_v1beta1_SplitReadStreamRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_bigquery_storage_v1beta1_SplitReadStreamRequest_descriptor,
+        new java.lang.String[] { "OriginalStream", "Fraction", });
     internal_static_google_cloud_bigquery_storage_v1beta1_SplitReadStreamResponse_descriptor =
-        getDescriptor().getMessageTypes().get(13);
-    internal_static_google_cloud_bigquery_storage_v1beta1_SplitReadStreamResponse_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_bigquery_storage_v1beta1_SplitReadStreamResponse_descriptor,
-            new java.lang.String[] {
-              "PrimaryStream", "RemainderStream",
-            });
+      getDescriptor().getMessageTypes().get(13);
+    internal_static_google_cloud_bigquery_storage_v1beta1_SplitReadStreamResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_bigquery_storage_v1beta1_SplitReadStreamResponse_descriptor,
+        new java.lang.String[] { "PrimaryStream", "RemainderStream", });
     com.google.protobuf.ExtensionRegistry registry =
         com.google.protobuf.ExtensionRegistry.newInstance();
     registry.add(com.google.api.ClientProto.defaultHost);
@@ -18613,8 +15930,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 61%
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 d67149334d..49653b1cf4 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 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for 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
 
@@ -21,112 +6,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_ = ""; @@ -135,39 +103,33 @@ private TableReference() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TableReference(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto - .internal_static_google_cloud_bigquery_storage_v1beta1_TableReference_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.internal_static_google_cloud_bigquery_storage_v1beta1_TableReference_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto - .internal_static_google_cloud_bigquery_storage_v1beta1_TableReference_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.internal_static_google_cloud_bigquery_storage_v1beta1_TableReference_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.class, - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.Builder - .class); + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.class, com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object projectId_ = ""; /** - * - * *
      * The assigned project ID of the project.
      * 
* * string project_id = 1; - * * @return The projectId. */ @java.lang.Override @@ -176,29 +138,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 { @@ -207,18 +169,14 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } public static final int DATASET_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object datasetId_ = ""; /** - * - * *
      * The ID of the dataset in the above project.
      * 
* * string dataset_id = 2; - * * @return The datasetId. */ @java.lang.Override @@ -227,29 +185,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 { @@ -258,18 +216,14 @@ public com.google.protobuf.ByteString getDatasetIdBytes() { } public static final int TABLE_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object tableId_ = ""; /** - * - * *
      * The ID of the table in the above dataset.
      * 
* * string table_id = 3; - * * @return The tableId. */ @java.lang.Override @@ -278,29 +232,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 { @@ -309,7 +263,6 @@ public com.google.protobuf.ByteString getTableIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -321,7 +274,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -357,19 +311,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference)) { + if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference other = - (com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference) obj; + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference other = (com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference) obj; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getDatasetId().equals(other.getDatasetId())) return false; - if (!getTableId().equals(other.getTableId())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getDatasetId() + .equals(other.getDatasetId())) return false; + if (!getTableId() + .equals(other.getTableId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -392,101 +346,90 @@ 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 @@ -496,43 +439,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Table reference that includes just the 3 strings needed to identify a table.
      * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta1.TableReference} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta1.TableReference) com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReferenceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto - .internal_static_google_cloud_bigquery_storage_v1beta1_TableReference_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.internal_static_google_cloud_bigquery_storage_v1beta1_TableReference_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto - .internal_static_google_cloud_bigquery_storage_v1beta1_TableReference_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.internal_static_google_cloud_bigquery_storage_v1beta1_TableReference_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.class, - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.Builder - .class); + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.class, com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.Builder.class); } - // Construct using - // com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.newBuilder() - private Builder() {} + // Construct using com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -544,22 +483,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); } @@ -567,19 +503,14 @@ public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableRefere } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference - buildPartial() { - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference result = - new com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference buildPartial() { + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference result = new com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference result) { + private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.projectId_ = projectId_; @@ -596,55 +527,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference) { - return mergeFrom( - (com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference) other); + if (other instanceof com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference) { + return mergeFrom((com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference other) { - if (other - == com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference other) { + if (other == com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; bitField0_ |= 0x00000001; @@ -686,31 +608,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - datasetId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - tableId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + projectId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + datasetId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + tableId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -720,25 +638,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object projectId_ = ""; /** - * - * *
        * The assigned project ID of the project.
        * 
* * string project_id = 1; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -747,21 +662,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 { @@ -769,35 +683,28 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } projectId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The assigned project ID of the project.
        * 
* * string project_id = 1; - * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -807,21 +714,17 @@ public Builder clearProjectId() { return this; } /** - * - * *
        * The assigned project ID of the project.
        * 
* * string project_id = 1; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000001; @@ -831,20 +734,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; @@ -853,21 +754,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 { @@ -875,35 +775,28 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatasetId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } datasetId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * The ID of the dataset in the above project.
        * 
* * string dataset_id = 2; - * * @return This builder for chaining. */ public Builder clearDatasetId() { @@ -913,21 +806,17 @@ public Builder clearDatasetId() { return this; } /** - * - * *
        * The ID of the dataset in the above project.
        * 
* * string dataset_id = 2; - * * @param value The bytes for datasetId to set. * @return This builder for chaining. */ - public Builder setDatasetIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatasetIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); datasetId_ = value; bitField0_ |= 0x00000002; @@ -937,20 +826,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; @@ -959,21 +846,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 { @@ -981,35 +867,28 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } tableId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
        * The ID of the table in the above dataset.
        * 
* * string table_id = 3; - * * @return This builder for chaining. */ public Builder clearTableId() { @@ -1019,28 +898,23 @@ public Builder clearTableId() { return this; } /** - * - * *
        * The ID of the table in the above dataset.
        * 
* * string table_id = 3; - * * @param value The bytes for tableId to set. * @return This builder for chaining. */ - public Builder setTableIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tableId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1053,46 +927,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta1.TableReference) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta1.TableReference) - private static final com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto - .TableReference - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference(); + DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference(); } - public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference - getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableReference getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TableReference parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TableReference parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1104,44 +973,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.
      * 
@@ -1151,60 +1011,53 @@ 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(); } - 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); } private int bitField0_; 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 @@ -1212,25 +1065,18 @@ public boolean hasSnapshotTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The snapshot time of the table. If not set, interpreted as now.
      * 
* * .google.protobuf.Timestamp snapshot_time = 1; - * * @return The snapshotTime. */ @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.
      * 
@@ -1239,13 +1085,10 @@ public com.google.protobuf.Timestamp getSnapshotTime() { */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getSnapshotTimeOrBuilder() { - return snapshotTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : snapshotTime_; + return snapshotTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : snapshotTime_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1257,7 +1100,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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getSnapshotTime()); } @@ -1271,7 +1115,8 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSnapshotTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getSnapshotTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1281,19 +1126,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1315,101 +1158,90 @@ 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 @@ -1419,52 +1251,45 @@ 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) { getSnapshotTimeFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1478,22 +1303,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); } @@ -1501,24 +1323,20 @@ public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifi } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers - buildPartial() { - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers result = - new com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers buildPartial() { + com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers result = new com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers result) { + private void buildPartial0(com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.snapshotTime_ = - snapshotTimeBuilder_ == null ? snapshotTime_ : snapshotTimeBuilder_.build(); + result.snapshotTime_ = snapshotTimeBuilder_ == null + ? snapshotTime_ + : snapshotTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -1528,55 +1346,46 @@ private void buildPartial0( 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()); } @@ -1606,19 +1415,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getSnapshotTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getSnapshotTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1628,52 +1437,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.Timestamp snapshotTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - snapshotTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> snapshotTimeBuilder_; /** - * - * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
* * .google.protobuf.Timestamp snapshot_time = 1; - * * @return Whether the snapshotTime field is set. */ public boolean hasSnapshotTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
* * .google.protobuf.Timestamp snapshot_time = 1; - * * @return The snapshotTime. */ public com.google.protobuf.Timestamp getSnapshotTime() { if (snapshotTimeBuilder_ == null) { - return snapshotTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : snapshotTime_; + return snapshotTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : snapshotTime_; } else { return snapshotTimeBuilder_.getMessage(); } } /** - * - * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -1694,15 +1489,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(); } else { @@ -1713,8 +1507,6 @@ public Builder setSnapshotTime(com.google.protobuf.Timestamp.Builder builderForV return this; } /** - * - * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -1723,9 +1515,9 @@ public Builder setSnapshotTime(com.google.protobuf.Timestamp.Builder builderForV */ public Builder mergeSnapshotTime(com.google.protobuf.Timestamp value) { if (snapshotTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && snapshotTime_ != null - && snapshotTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + snapshotTime_ != null && + snapshotTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getSnapshotTimeBuilder().mergeFrom(value); } else { snapshotTime_ = value; @@ -1740,8 +1532,6 @@ public Builder mergeSnapshotTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -1759,8 +1549,6 @@ public Builder clearSnapshotTime() { return this; } /** - * - * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -1773,8 +1561,6 @@ public com.google.protobuf.Timestamp.Builder getSnapshotTimeBuilder() { return getSnapshotTimeFieldBuilder().getBuilder(); } /** - * - * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -1785,14 +1571,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.
        * 
@@ -1800,22 +1583,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) { @@ -1828,46 +1607,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta1.TableModifiers) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta1.TableModifiers) - private static final com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto - .TableModifiers - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers(); + DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers(); } - public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers - getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TableModifiers parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TableModifiers parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1879,63 +1653,60 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers - getDefaultInstanceForType() { + public com.google.cloud.bigquery.storage.v1beta1.TableReferenceProto.TableModifiers getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta1_TableReference_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1beta1_TableReference_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_bigquery_storage_v1beta1_TableReference_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta1_TableModifiers_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1beta1_TableModifiers_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_bigquery_storage_v1beta1_TableModifiers_fieldAccessorTable; - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { return descriptor; } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; static { java.lang.String[] descriptorData = { - "\n;google/cloud/bigquery/storage/v1beta1/" - + "table_reference.proto\022%google.cloud.bigq" - + "uery.storage.v1beta1\032\037google/protobuf/ti" - + "mestamp.proto\"J\n\016TableReference\022\022\n\nproje" - + "ct_id\030\001 \001(\t\022\022\n\ndataset_id\030\002 \001(\t\022\020\n\010table" - + "_id\030\003 \001(\t\"C\n\016TableModifiers\0221\n\rsnapshot_" - + "time\030\001 \001(\0132\032.google.protobuf.TimestampB\205" - + "\001\n)com.google.cloud.bigquery.storage.v1b" - + "eta1B\023TableReferenceProtoZCcloud.google." - + "com/go/bigquery/storage/apiv1beta1/stora" - + "gepb;storagepbb\006proto3" + "\n;google/cloud/bigquery/storage/v1beta1/" + + "table_reference.proto\022%google.cloud.bigq" + + "uery.storage.v1beta1\032\037google/protobuf/ti" + + "mestamp.proto\"J\n\016TableReference\022\022\n\nproje" + + "ct_id\030\001 \001(\t\022\022\n\ndataset_id\030\002 \001(\t\022\020\n\010table" + + "_id\030\003 \001(\t\"C\n\016TableModifiers\0221\n\rsnapshot_" + + "time\030\001 \001(\0132\032.google.protobuf.TimestampB\205" + + "\001\n)com.google.cloud.bigquery.storage.v1b" + + "eta1B\023TableReferenceProtoZCcloud.google." + + "com/go/bigquery/storage/apiv1beta1/stora" + + "gepb;storagepbb\006proto3" }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.TimestampProto.getDescriptor(), - }); + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.protobuf.TimestampProto.getDescriptor(), + }); internal_static_google_cloud_bigquery_storage_v1beta1_TableReference_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_storage_v1beta1_TableReference_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta1_TableReference_descriptor, - new java.lang.String[] { - "ProjectId", "DatasetId", "TableId", - }); + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_storage_v1beta1_TableReference_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta1_TableReference_descriptor, + new java.lang.String[] { "ProjectId", "DatasetId", "TableId", }); internal_static_google_cloud_bigquery_storage_v1beta1_TableModifiers_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_storage_v1beta1_TableModifiers_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta1_TableModifiers_descriptor, - new java.lang.String[] { - "SnapshotTime", - }); + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_storage_v1beta1_TableModifiers_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta1_TableModifiers_descriptor, + new java.lang.String[] { "SnapshotTime", }); com.google.protobuf.TimestampProto.getDescriptor(); } diff --git a/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 99% 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 ffa04007f9..c7843e2502 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 @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. 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 98% 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 e8717d346a..4ad81e3f73 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 @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -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; @@ -124,7 +125,6 @@ public static TransportChannelProvider defaultTransportChannelProvider() { return BigQueryReadStubSettings.defaultTransportChannelProvider(); } - @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { return BigQueryReadStubSettings.defaultApiClientHeaderProviderBuilder(); } 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 99% 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 6c09bd08cf..7862cf3241 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 @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. 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 98% 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 6f45f970ad..fc33e37ffb 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 @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -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; @@ -139,7 +140,6 @@ public static TransportChannelProvider defaultTransportChannelProvider() { return BigQueryWriteStubSettings.defaultTransportChannelProvider(); } - @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { return BigQueryWriteStubSettings.defaultApiClientHeaderProviderBuilder(); } 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 99% 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 index 1e88e416fe..f4b1b9dbae 100644 --- 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 @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. 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 98% 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 index 4ccb85c7bc..a94f2c50b6 100644 --- 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 @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. 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..77a19eae34 --- /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,392 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigquery.storage.v1beta2.stub; + +import com.google.api.core.ApiFunction; +import com.google.api.core.BetaApi; +import com.google.api.gax.core.GaxProperties; +import com.google.api.gax.core.GoogleCredentialsProvider; +import com.google.api.gax.core.InstantiatingExecutorProvider; +import com.google.api.gax.grpc.GaxGrpcProperties; +import com.google.api.gax.grpc.GrpcTransportChannel; +import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.retrying.RetrySettings; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.ServerStreamingCallSettings; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.StubSettings; +import com.google.api.gax.rpc.TransportChannelProvider; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest; +import com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest; +import com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse; +import com.google.cloud.bigquery.storage.v1beta2.ReadSession; +import com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest; +import com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse; +import com.google.common.collect.ImmutableList; +import com.google.common.collect.ImmutableMap; +import com.google.common.collect.ImmutableSet; +import com.google.common.collect.Lists; +import java.io.IOException; +import java.util.List; +import javax.annotation.Generated; +import org.threeten.bp.Duration; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Settings class to configure an instance of {@link BigQueryReadStub}. + * + *

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

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

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

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

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * BigQueryReadStubSettings.Builder baseBigQueryReadSettingsBuilder =
+ *     BigQueryReadStubSettings.newBuilder();
+ * baseBigQueryReadSettingsBuilder
+ *     .createReadSessionSettings()
+ *     .setRetrySettings(
+ *         baseBigQueryReadSettingsBuilder
+ *             .createReadSessionSettings()
+ *             .getRetrySettings()
+ *             .toBuilder()
+ *             .setTotalTimeout(Duration.ofSeconds(30))
+ *             .build());
+ * BigQueryReadStubSettings baseBigQueryReadSettings = baseBigQueryReadSettingsBuilder.build();
+ * }
+ */ +@BetaApi +@Generated("by gapic-generator-java") +public class BigQueryReadStubSettings extends StubSettings { + /** The default scopes of the service. */ + private static final ImmutableList DEFAULT_SERVICE_SCOPES = + ImmutableList.builder() + .add("https://www.googleapis.com/auth/bigquery") + .add("https://www.googleapis.com/auth/cloud-platform") + .build(); + + private final UnaryCallSettings createReadSessionSettings; + private final ServerStreamingCallSettings readRowsSettings; + private final UnaryCallSettings + splitReadStreamSettings; + + /** Returns the object with the settings used for calls to createReadSession. */ + public UnaryCallSettings createReadSessionSettings() { + return createReadSessionSettings; + } + + /** Returns the object with the settings used for calls to readRows. */ + public ServerStreamingCallSettings readRowsSettings() { + return readRowsSettings; + } + + /** Returns the object with the settings used for calls to splitReadStream. */ + public UnaryCallSettings + splitReadStreamSettings() { + return splitReadStreamSettings; + } + + public BigQueryReadStub createStub() throws IOException { + if (getTransportChannelProvider() + .getTransportName() + .equals(GrpcTransportChannel.getGrpcTransportName())) { + return GrpcBigQueryReadStub.create(this); + } + throw new UnsupportedOperationException( + String.format( + "Transport not supported: %s", getTransportChannelProvider().getTransportName())); + } + + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + + /** Returns the default service name. */ + @Override + public String getServiceName() { + return "bigquerystorage"; + } + + /** 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(); + } + + 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.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; + } + + /** Returns the endpoint set by the user or the the service's default endpoint. */ + @Override + public String getEndpoint() { + if (super.getEndpoint() != null) { + return super.getEndpoint(); + } + return getDefaultEndpoint(); + } + + @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 99% 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 index 53a503bb5c..ce1b295853 100644 --- 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 @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. 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 99% 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 4e27f2c4d3..07c09518f9 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 @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -205,7 +205,6 @@ 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( diff --git a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/GrpcBigQueryReadCallableFactory.java b/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/GrpcBigQueryReadCallableFactory.java similarity index 99% rename from google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/GrpcBigQueryReadCallableFactory.java rename to owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/GrpcBigQueryReadCallableFactory.java index 7e8912b32a..8cbdf44441 100644 --- a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/GrpcBigQueryReadCallableFactory.java +++ b/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/GrpcBigQueryReadCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/GrpcBigQueryReadStub.java b/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/GrpcBigQueryReadStub.java similarity index 99% rename from google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/GrpcBigQueryReadStub.java rename to owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/GrpcBigQueryReadStub.java index f173d06d73..e366e3a39c 100644 --- a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/GrpcBigQueryReadStub.java +++ b/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/GrpcBigQueryReadStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -35,6 +35,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/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/GrpcBigQueryWriteCallableFactory.java b/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/GrpcBigQueryWriteCallableFactory.java similarity index 99% rename from google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/GrpcBigQueryWriteCallableFactory.java rename to owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/GrpcBigQueryWriteCallableFactory.java index 78b0012d78..cd86f941ce 100644 --- a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/GrpcBigQueryWriteCallableFactory.java +++ b/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/GrpcBigQueryWriteCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/GrpcBigQueryWriteStub.java b/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/GrpcBigQueryWriteStub.java similarity index 99% rename from google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/GrpcBigQueryWriteStub.java rename to owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/GrpcBigQueryWriteStub.java index 1bb2cb0a87..d92fca906f 100644 --- a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/GrpcBigQueryWriteStub.java +++ b/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/GrpcBigQueryWriteStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -40,6 +40,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/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/resources/META-INF/native-image/com.google.cloud.bigquery.storage.v1beta2/reflect-config.json b/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/resources/META-INF/native-image/com.google.cloud.bigquery.storage.v1beta2/reflect-config.json new file mode 100644 index 0000000000..87e380b899 --- /dev/null +++ b/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/main/resources/META-INF/native-image/com.google.cloud.bigquery.storage.v1beta2/reflect-config.json @@ -0,0 +1,2027 @@ +[ + { + "name": "com.google.api.ClientLibraryDestination", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ClientLibraryOrganization", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ClientLibrarySettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ClientLibrarySettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CommonLanguageSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CommonLanguageSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CppSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CppSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CustomHttpPattern", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CustomHttpPattern$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.DotnetSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.DotnetSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.FieldBehavior", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.GoSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.GoSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.Http", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.Http$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.HttpRule", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.HttpRule$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.JavaSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.JavaSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.LaunchStage", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.MethodSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.MethodSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.MethodSettings$LongRunning", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.MethodSettings$LongRunning$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.NodeSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.NodeSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PhpSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PhpSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.Publishing", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.Publishing$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PythonSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PythonSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceDescriptor", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceDescriptor$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceDescriptor$History", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceDescriptor$Style", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceReference", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceReference$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.RubySettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.RubySettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest$ProtoData", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest$ProtoData$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse$AppendResult", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse$AppendResult$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.ArrowSchema", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.ArrowSchema$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions$Format", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.AvroRows", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.AvroRows$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.AvroSchema", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.AvroSchema$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.DataFormat", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.ProtoRows", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.ProtoRows$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.ProtoSchema", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.ProtoSchema$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.ReadSession", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.ReadSession$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.ReadSession$TableModifiers", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.ReadSession$TableModifiers$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.ReadSession$TableReadOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.ReadSession$TableReadOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.ReadStream", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.ReadStream$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.StorageError", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.StorageError$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.StorageError$StorageErrorCode", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.StreamStats", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.StreamStats$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.StreamStats$Progress", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.StreamStats$Progress$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema$Mode", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema$Type", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.TableSchema", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.TableSchema$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.ThrottleState", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.ThrottleState$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.WriteStream", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.WriteStream$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.bigquery.storage.v1beta2.WriteStream$Type", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Any", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Any$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.BoolValue", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.BoolValue$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.BytesValue", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.BytesValue$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ExtensionRange", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ExtensionRange$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ReservedRange", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ReservedRange$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$Edition", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto$EnumReservedRange", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto$EnumReservedRange$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumValueDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumValueDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumValueOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumValueOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$Declaration", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$Declaration$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$VerificationState", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$EnumType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$FieldPresence", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$JsonFormat", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$MessageEncoding", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$RepeatedFieldEncoding", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$Utf8Validation", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults$FeatureSetEditionDefault", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults$FeatureSetEditionDefault$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto$Label", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto$Type", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$CType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$EditionDefault", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$EditionDefault$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$JSType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$OptionRetention", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$OptionTargetType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileDescriptorSet", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileDescriptorSet$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileOptions$OptimizeMode", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Annotation", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Annotation$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Annotation$Semantic", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MessageOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MessageOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodOptions$IdempotencyLevel", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$OneofDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$OneofDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$OneofOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$OneofOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ServiceDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ServiceDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ServiceOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ServiceOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo$Location", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo$Location$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption$NamePart", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption$NamePart$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DoubleValue", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DoubleValue$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Duration", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Duration$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.FloatValue", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.FloatValue$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Int32Value", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Int32Value$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Int64Value", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Int64Value$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.StringValue", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.StringValue$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Timestamp", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Timestamp$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.UInt32Value", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.UInt32Value$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.UInt64Value", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.UInt64Value$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.rpc.Status", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.rpc.Status$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + } +] \ No newline at end of file diff --git a/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/BaseBigQueryReadClientTest.java b/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/BaseBigQueryReadClientTest.java similarity index 99% rename from google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/BaseBigQueryReadClientTest.java rename to owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/BaseBigQueryReadClientTest.java index d68a18da67..edb8579e0a 100644 --- a/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/BaseBigQueryReadClientTest.java +++ b/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/BaseBigQueryReadClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteClientTest.java b/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteClientTest.java similarity index 99% rename from google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteClientTest.java rename to owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteClientTest.java index 8ec0b90f6d..3267ea9730 100644 --- a/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteClientTest.java +++ b/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryWriteClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/MockBigQueryRead.java b/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/MockBigQueryRead.java similarity index 98% rename from google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/MockBigQueryRead.java rename to owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/MockBigQueryRead.java index 0b32f41823..f69447c84d 100644 --- a/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/MockBigQueryRead.java +++ b/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/MockBigQueryRead.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/MockBigQueryReadImpl.java b/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/MockBigQueryReadImpl.java similarity index 99% rename from google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/MockBigQueryReadImpl.java rename to owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/MockBigQueryReadImpl.java index 92768f1823..a700e30534 100644 --- a/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/MockBigQueryReadImpl.java +++ b/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/MockBigQueryReadImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/MockBigQueryWrite.java b/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/MockBigQueryWrite.java similarity index 98% rename from google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/MockBigQueryWrite.java rename to owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/MockBigQueryWrite.java index 8d78c72cd2..dae8c81793 100644 --- a/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/MockBigQueryWrite.java +++ b/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/MockBigQueryWrite.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/MockBigQueryWriteImpl.java b/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/MockBigQueryWriteImpl.java similarity index 99% rename from google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/MockBigQueryWriteImpl.java rename to owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/MockBigQueryWriteImpl.java index 098a1e7fa4..7563fcf9be 100644 --- a/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/MockBigQueryWriteImpl.java +++ b/owl-bot-staging/v1beta2/google-cloud-bigquerystorage/src/test/java/com/google/cloud/bigquery/storage/v1beta2/MockBigQueryWriteImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/grpc-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryReadGrpc.java b/owl-bot-staging/v1beta2/grpc-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryReadGrpc.java similarity index 59% rename from grpc-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryReadGrpc.java rename to owl-bot-staging/v1beta2/grpc-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryReadGrpc.java index 9d24be622d..a5bb7c7416 100644 --- a/grpc-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryReadGrpc.java +++ b/owl-bot-staging/v1beta2/grpc-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/BigQueryReadGrpc.java @@ -1,25 +1,8 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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.
@@ -35,194 +18,147 @@ public final class BigQueryReadGrpc {
 
   private BigQueryReadGrpc() {}
 
-  public static final java.lang.String SERVICE_NAME =
-      "google.cloud.bigquery.storage.v1beta2.BigQueryRead";
+  public static final java.lang.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.
@@ -233,8 +169,6 @@ public BigQueryReadFutureStub newStub(
   public interface AsyncService {
 
     /**
-     *
-     *
      * 
      * Creates a new read session. A read session divides the contents of a
      * BigQuery table into one or more streams, which can then be used to read
@@ -254,17 +188,12 @@ public interface AsyncService {
      * not require manual clean-up by the caller.
      * 
*/ - default void createReadSession( - com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateReadSessionMethod(), responseObserver); + default void createReadSession(com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateReadSessionMethod(), responseObserver); } /** - * - * *
      * Reads rows from the stream in the format prescribed by the ReadSession.
      * Each response contains one or more table rows, up to a maximum of 100 MiB
@@ -274,16 +203,12 @@ default void createReadSession(
      * state of the stream.
      * 
*/ - default void readRows( - com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + default void readRows(com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getReadRowsMethod(), responseObserver); } /** - * - * *
      * Splits a given `ReadStream` into two `ReadStream` objects. These
      * `ReadStream` objects are referred to as the primary and the residual
@@ -298,19 +223,14 @@ default void readRows(
      * completion.
      * 
*/ - default void splitReadStream( - com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSplitReadStreamMethod(), responseObserver); + default void splitReadStream(com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSplitReadStreamMethod(), responseObserver); } } /** * Base class for the server implementation of the service BigQueryRead. - * *
    * BigQuery Read API.
    * The Read API can be used to read data from BigQuery.
@@ -318,18 +238,16 @@ default void splitReadStream(
    * API at the same time.
    * 
*/ - public abstract static class BigQueryReadImplBase + public static abstract class BigQueryReadImplBase implements io.grpc.BindableService, AsyncService { - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return BigQueryReadGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service BigQueryRead. - * *
    * BigQuery Read API.
    * The Read API can be used to read data from BigQuery.
@@ -339,18 +257,18 @@ public final io.grpc.ServerServiceDefinition bindService() {
    */
   public static final class BigQueryReadStub
       extends io.grpc.stub.AbstractAsyncStub {
-    private BigQueryReadStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private BigQueryReadStub(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
     @java.lang.Override
-    protected BigQueryReadStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    protected BigQueryReadStub build(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       return new BigQueryReadStub(channel, callOptions);
     }
 
     /**
-     *
-     *
      * 
      * Creates a new read session. A read session divides the contents of a
      * BigQuery table into one or more streams, which can then be used to read
@@ -370,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.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
@@ -392,17 +304,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
@@ -417,21 +325,15 @@ 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); } } /** * A stub to allow clients to do synchronous rpc calls to service BigQueryRead. - * *
    * BigQuery Read API.
    * The Read API can be used to read data from BigQuery.
@@ -441,7 +343,8 @@ public void splitReadStream(
    */
   public static final class BigQueryReadBlockingStub
       extends io.grpc.stub.AbstractBlockingStub {
-    private BigQueryReadBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private BigQueryReadBlockingStub(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
@@ -452,8 +355,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
@@ -473,15 +374,12 @@ 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
@@ -498,8 +396,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
@@ -514,8 +410,7 @@ 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);
     }
@@ -523,7 +418,6 @@ public com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse splitRe
 
   /**
    * A stub to allow clients to do ListenableFuture-style rpc calls to service BigQueryRead.
-   *
    * 
    * BigQuery Read API.
    * The Read API can be used to read data from BigQuery.
@@ -533,7 +427,8 @@ public com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse splitRe
    */
   public static final class BigQueryReadFutureStub
       extends io.grpc.stub.AbstractFutureStub {
-    private BigQueryReadFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+    private BigQueryReadFutureStub(
+        io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
       super(channel, callOptions);
     }
 
@@ -544,8 +439,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
@@ -565,17 +458,13 @@ protected BigQueryReadFutureStub build(
      * 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
@@ -590,9 +479,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); } @@ -602,11 +490,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 AsyncService serviceImpl; private final int methodId; @@ -620,24 +508,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(); @@ -658,32 +538,31 @@ public io.grpc.stub.StreamObserver invoke( public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getCreateReadSessionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest, - com.google.cloud.bigquery.storage.v1beta2.ReadSession>( - service, METHODID_CREATE_READ_SESSION))) + getCreateReadSessionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest, + com.google.cloud.bigquery.storage.v1beta2.ReadSession>( + service, METHODID_CREATE_READ_SESSION))) .addMethod( - getReadRowsMethod(), - io.grpc.stub.ServerCalls.asyncServerStreamingCall( - new MethodHandlers< - com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest, - com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse>( - service, METHODID_READ_ROWS))) + getReadRowsMethod(), + io.grpc.stub.ServerCalls.asyncServerStreamingCall( + new MethodHandlers< + com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest, + com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse>( + service, METHODID_READ_ROWS))) .addMethod( - getSplitReadStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest, - com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse>( - service, METHODID_SPLIT_READ_STREAM))) + getSplitReadStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest, + com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse>( + service, METHODID_SPLIT_READ_STREAM))) .build(); } - private 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 @@ -725,14 +604,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..ee864da98b --- /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,845 @@ +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.
+ * The [google.cloud.bigquery.storage.v1
+ *   API](/bigquery/docs/reference/storage/rpc/google.cloud.bigquery.storage.v1)
+ *   should be used instead of the v1beta2 API for BigQueryWrite operations.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/bigquery/storage/v1beta2/storage.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class BigQueryWriteGrpc { + + private BigQueryWriteGrpc() {} + + public static final java.lang.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.
+   * The [google.cloud.bigquery.storage.v1
+   *   API](/bigquery/docs/reference/storage/rpc/google.cloud.bigquery.storage.v1)
+   *   should be used instead of the v1beta2 API for BigQueryWrite operations.
+   * 
+ */ + public interface AsyncService { + + /** + *
+     * Creates a write stream to the given table.
+     * Additionally, every table has a special COMMITTED stream named '_default'
+     * to which data can be written. This stream doesn't need to be created using
+     * CreateWriteStream. It is a stream that can be used simultaneously by any
+     * number of clients. Data written to this stream is considered committed as
+     * soon as an acknowledgement is received.
+     * 
+ */ + default void createWriteStream(com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateWriteStreamMethod(), responseObserver); + } + + /** + *
+     * Appends data to the given stream.
+     * If `offset` is specified, the `offset` is checked against the end of
+     * stream. The server returns `OUT_OF_RANGE` in `AppendRowsResponse` if an
+     * attempt is made to append to an offset beyond the current end of the stream
+     * or `ALREADY_EXISTS` if user provids an `offset` that has already been
+     * written to. User can retry with adjusted offset within the same RPC
+     * stream. If `offset` is not specified, append happens at the end of the
+     * stream.
+     * The response contains the offset at which the append happened. Responses
+     * are received in the same order in which requests are sent. There will be
+     * one response for each successful request. If the `offset` is not set in
+     * response, it means append didn't happen due to some errors. If one request
+     * fails, all the subsequent requests will also fail until a success request
+     * is made again.
+     * If the stream is of `PENDING` type, data will only be available for read
+     * operations after the stream is committed.
+     * 
+ */ + default io.grpc.stub.StreamObserver appendRows( + io.grpc.stub.StreamObserver responseObserver) { + return io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall(getAppendRowsMethod(), responseObserver); + } + + /** + *
+     * Gets a write stream.
+     * 
+ */ + default void getWriteStream(com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetWriteStreamMethod(), responseObserver); + } + + /** + *
+     * Finalize a write stream so that no new data can be appended to the
+     * stream. Finalize is not supported on the '_default' stream.
+     * 
+ */ + default void finalizeWriteStream(com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFinalizeWriteStreamMethod(), responseObserver); + } + + /** + *
+     * Atomically commits a group of `PENDING` streams that belong to the same
+     * `parent` table.
+     * Streams must be finalized before commit and cannot be committed multiple
+     * times. Once a stream is committed, data in the stream becomes available
+     * for read operations.
+     * 
+ */ + default void batchCommitWriteStreams(com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchCommitWriteStreamsMethod(), responseObserver); + } + + /** + *
+     * Flushes rows to a BUFFERED stream.
+     * If users are appending rows to BUFFERED stream, flush operation is
+     * required in order for the rows to become available for reading. A
+     * Flush operation flushes up to any previously flushed offset in a BUFFERED
+     * stream, to the offset specified in the request.
+     * Flush is not supported on the _default stream, since it is not BUFFERED.
+     * 
+ */ + default void flushRows(com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFlushRowsMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service BigQueryWrite. + *
+   * BigQuery Write API.
+   * The Write API can be used to write data to BigQuery.
+   * The [google.cloud.bigquery.storage.v1
+   *   API](/bigquery/docs/reference/storage/rpc/google.cloud.bigquery.storage.v1)
+   *   should be used instead of the v1beta2 API for BigQueryWrite operations.
+   * 
+ */ + public static abstract class BigQueryWriteImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return BigQueryWriteGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service BigQueryWrite. + *
+   * BigQuery Write API.
+   * The Write API can be used to write data to BigQuery.
+   * The [google.cloud.bigquery.storage.v1
+   *   API](/bigquery/docs/reference/storage/rpc/google.cloud.bigquery.storage.v1)
+   *   should be used instead of the v1beta2 API for BigQueryWrite operations.
+   * 
+ */ + public static final class BigQueryWriteStub + extends io.grpc.stub.AbstractAsyncStub { + private BigQueryWriteStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected BigQueryWriteStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigQueryWriteStub(channel, callOptions); + } + + /** + *
+     * Creates a write stream to the given table.
+     * Additionally, every table has a special COMMITTED stream named '_default'
+     * to which data can be written. This stream doesn't need to be created using
+     * CreateWriteStream. It is a stream that can be used simultaneously by any
+     * number of clients. Data written to this stream is considered committed as
+     * soon as an acknowledgement is received.
+     * 
+ */ + public void createWriteStream(com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateWriteStreamMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Appends data to the given stream.
+     * If `offset` is specified, the `offset` is checked against the end of
+     * stream. The server returns `OUT_OF_RANGE` in `AppendRowsResponse` if an
+     * attempt is made to append to an offset beyond the current end of the stream
+     * or `ALREADY_EXISTS` if user provids an `offset` that has already been
+     * written to. User can retry with adjusted offset within the same RPC
+     * stream. If `offset` is not specified, append happens at the end of the
+     * stream.
+     * The response contains the offset at which the append happened. Responses
+     * are received in the same order in which requests are sent. There will be
+     * one response for each successful request. If the `offset` is not set in
+     * response, it means append didn't happen due to some errors. If one request
+     * fails, all the subsequent requests will also fail until a success request
+     * is made again.
+     * If the stream is of `PENDING` type, data will only be available for read
+     * operations after the stream is committed.
+     * 
+ */ + public io.grpc.stub.StreamObserver appendRows( + io.grpc.stub.StreamObserver responseObserver) { + return io.grpc.stub.ClientCalls.asyncBidiStreamingCall( + getChannel().newCall(getAppendRowsMethod(), getCallOptions()), responseObserver); + } + + /** + *
+     * Gets a write stream.
+     * 
+ */ + public void getWriteStream(com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetWriteStreamMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Finalize a write stream so that no new data can be appended to the
+     * stream. Finalize is not supported on the '_default' stream.
+     * 
+ */ + public void finalizeWriteStream(com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getFinalizeWriteStreamMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Atomically commits a group of `PENDING` streams that belong to the same
+     * `parent` table.
+     * Streams must be finalized before commit and cannot be committed multiple
+     * times. Once a stream is committed, data in the stream becomes available
+     * for read operations.
+     * 
+ */ + public void batchCommitWriteStreams(com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchCommitWriteStreamsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Flushes rows to a BUFFERED stream.
+     * If users are appending rows to BUFFERED stream, flush operation is
+     * required in order for the rows to become available for reading. A
+     * Flush operation flushes up to any previously flushed offset in a BUFFERED
+     * stream, to the offset specified in the request.
+     * Flush is not supported on the _default stream, since it is not BUFFERED.
+     * 
+ */ + public void flushRows(com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getFlushRowsMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service BigQueryWrite. + *
+   * BigQuery Write API.
+   * The Write API can be used to write data to BigQuery.
+   * The [google.cloud.bigquery.storage.v1
+   *   API](/bigquery/docs/reference/storage/rpc/google.cloud.bigquery.storage.v1)
+   *   should be used instead of the v1beta2 API for BigQueryWrite operations.
+   * 
+ */ + public static final class BigQueryWriteBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private BigQueryWriteBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected BigQueryWriteBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigQueryWriteBlockingStub(channel, callOptions); + } + + /** + *
+     * Creates a write stream to the given table.
+     * Additionally, every table has a special COMMITTED stream named '_default'
+     * to which data can be written. This stream doesn't need to be created using
+     * CreateWriteStream. It is a stream that can be used simultaneously by any
+     * number of clients. Data written to this stream is considered committed as
+     * soon as an acknowledgement is received.
+     * 
+ */ + public com.google.cloud.bigquery.storage.v1beta2.WriteStream createWriteStream(com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateWriteStreamMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a write stream.
+     * 
+ */ + public com.google.cloud.bigquery.storage.v1beta2.WriteStream getWriteStream(com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetWriteStreamMethod(), getCallOptions(), request); + } + + /** + *
+     * Finalize a write stream so that no new data can be appended to the
+     * stream. Finalize is not supported on the '_default' stream.
+     * 
+ */ + public com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse finalizeWriteStream(com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getFinalizeWriteStreamMethod(), getCallOptions(), request); + } + + /** + *
+     * Atomically commits a group of `PENDING` streams that belong to the same
+     * `parent` table.
+     * Streams must be finalized before commit and cannot be committed multiple
+     * times. Once a stream is committed, data in the stream becomes available
+     * for read operations.
+     * 
+ */ + public com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse batchCommitWriteStreams(com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchCommitWriteStreamsMethod(), getCallOptions(), request); + } + + /** + *
+     * Flushes rows to a BUFFERED stream.
+     * If users are appending rows to BUFFERED stream, flush operation is
+     * required in order for the rows to become available for reading. A
+     * Flush operation flushes up to any previously flushed offset in a BUFFERED
+     * stream, to the offset specified in the request.
+     * Flush is not supported on the _default stream, since it is not BUFFERED.
+     * 
+ */ + public com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse flushRows(com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getFlushRowsMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service BigQueryWrite. + *
+   * BigQuery Write API.
+   * The Write API can be used to write data to BigQuery.
+   * The [google.cloud.bigquery.storage.v1
+   *   API](/bigquery/docs/reference/storage/rpc/google.cloud.bigquery.storage.v1)
+   *   should be used instead of the v1beta2 API for BigQueryWrite operations.
+   * 
+ */ + public static final class BigQueryWriteFutureStub + extends io.grpc.stub.AbstractFutureStub { + private BigQueryWriteFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected BigQueryWriteFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigQueryWriteFutureStub(channel, callOptions); + } + + /** + *
+     * Creates a write stream to the given table.
+     * Additionally, every table has a special COMMITTED stream named '_default'
+     * to which data can be written. This stream doesn't need to be created using
+     * CreateWriteStream. It is a stream that can be used simultaneously by any
+     * number of clients. Data written to this stream is considered committed as
+     * soon as an acknowledgement is received.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createWriteStream( + com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateWriteStreamMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a write stream.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getWriteStream( + com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetWriteStreamMethod(), getCallOptions()), request); + } + + /** + *
+     * Finalize a write stream so that no new data can be appended to the
+     * stream. Finalize is not supported on the '_default' stream.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture finalizeWriteStream( + com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getFinalizeWriteStreamMethod(), getCallOptions()), request); + } + + /** + *
+     * Atomically commits a group of `PENDING` streams that belong to the same
+     * `parent` table.
+     * Streams must be finalized before commit and cannot be committed multiple
+     * times. Once a stream is committed, data in the stream becomes available
+     * for read operations.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture batchCommitWriteStreams( + com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchCommitWriteStreamsMethod(), getCallOptions()), request); + } + + /** + *
+     * Flushes rows to a BUFFERED stream.
+     * If users are appending rows to BUFFERED stream, flush operation is
+     * required in order for the rows to become available for reading. A
+     * Flush operation flushes up to any previously flushed offset in a BUFFERED
+     * stream, to the offset specified in the request.
+     * Flush is not supported on the _default stream, since it is not BUFFERED.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture flushRows( + com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getFlushRowsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_WRITE_STREAM = 0; + private static final int METHODID_GET_WRITE_STREAM = 1; + private static final int METHODID_FINALIZE_WRITE_STREAM = 2; + private static final int METHODID_BATCH_COMMIT_WRITE_STREAMS = 3; + private static final int METHODID_FLUSH_ROWS = 4; + private static final int METHODID_APPEND_ROWS = 5; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_WRITE_STREAM: + serviceImpl.createWriteStream((com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_WRITE_STREAM: + serviceImpl.getWriteStream((com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_FINALIZE_WRITE_STREAM: + serviceImpl.finalizeWriteStream((com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_BATCH_COMMIT_WRITE_STREAMS: + serviceImpl.batchCommitWriteStreams((com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_FLUSH_ROWS: + serviceImpl.flushRows((com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_APPEND_ROWS: + return (io.grpc.stub.StreamObserver) serviceImpl.appendRows( + (io.grpc.stub.StreamObserver) responseObserver); + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateWriteStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest, + com.google.cloud.bigquery.storage.v1beta2.WriteStream>( + service, METHODID_CREATE_WRITE_STREAM))) + .addMethod( + getAppendRowsMethod(), + io.grpc.stub.ServerCalls.asyncBidiStreamingCall( + new MethodHandlers< + com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest, + com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse>( + service, METHODID_APPEND_ROWS))) + .addMethod( + getGetWriteStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest, + com.google.cloud.bigquery.storage.v1beta2.WriteStream>( + service, METHODID_GET_WRITE_STREAM))) + .addMethod( + getFinalizeWriteStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest, + com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse>( + service, METHODID_FINALIZE_WRITE_STREAM))) + .addMethod( + getBatchCommitWriteStreamsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest, + com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse>( + service, METHODID_BATCH_COMMIT_WRITE_STREAMS))) + .addMethod( + getFlushRowsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest, + com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse>( + service, METHODID_FLUSH_ROWS))) + .build(); + } + + private static abstract class BigQueryWriteBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + BigQueryWriteBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("BigQueryWrite"); + } + } + + private static final class BigQueryWriteFileDescriptorSupplier + extends BigQueryWriteBaseDescriptorSupplier { + BigQueryWriteFileDescriptorSupplier() {} + } + + private static final class BigQueryWriteMethodDescriptorSupplier + extends BigQueryWriteBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final java.lang.String methodName; + + BigQueryWriteMethodDescriptorSupplier(java.lang.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 70% 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 f4465438f5..dc86423ec4 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,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 @@ -20,24 +5,21 @@ 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_ = ""; @@ -45,57 +27,47 @@ private AppendRowsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AppendRowsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.class, - com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.class, com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.Builder.class); } - public interface ProtoDataOrBuilder - extends + public interface ProtoDataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Proto schema used to serialize the data.
      * 
* * .google.cloud.bigquery.storage.v1beta2.ProtoSchema writer_schema = 1; - * * @return Whether the writerSchema field is set. */ boolean hasWriterSchema(); /** - * - * *
      * Proto schema used to serialize the data.
      * 
* * .google.cloud.bigquery.storage.v1beta2.ProtoSchema writer_schema = 1; - * * @return The writerSchema. */ com.google.cloud.bigquery.storage.v1beta2.ProtoSchema getWriterSchema(); /** - * - * *
      * Proto schema used to serialize the data.
      * 
@@ -105,32 +77,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.
      * 
@@ -140,59 +104,53 @@ 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(); } - 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); } private int bitField0_; 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 @@ -200,25 +158,18 @@ public boolean hasWriterSchema() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Proto schema used to serialize the data.
      * 
* * .google.cloud.bigquery.storage.v1beta2.ProtoSchema writer_schema = 1; - * * @return The writerSchema. */ @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.
      * 
@@ -226,24 +177,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() { - return writerSchema_ == null - ? com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.getDefaultInstance() - : writerSchema_; + public com.google.cloud.bigquery.storage.v1beta2.ProtoSchemaOrBuilder getWriterSchemaOrBuilder() { + return writerSchema_ == null ? com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.getDefaultInstance() : writerSchema_; } public static final int ROWS_FIELD_NUMBER = 2; private com.google.cloud.bigquery.storage.v1beta2.ProtoRows rows_; /** - * - * *
      * Serialized row data in protobuf message format.
      * 
* * .google.cloud.bigquery.storage.v1beta2.ProtoRows rows = 2; - * * @return Whether the rows field is set. */ @java.lang.Override @@ -251,25 +196,18 @@ public boolean hasRows() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Serialized row data in protobuf message format.
      * 
* * .google.cloud.bigquery.storage.v1beta2.ProtoRows rows = 2; - * * @return The rows. */ @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.
      * 
@@ -278,13 +216,10 @@ public com.google.cloud.bigquery.storage.v1beta2.ProtoRows getRows() { */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.ProtoRowsOrBuilder getRowsOrBuilder() { - return rows_ == null - ? com.google.cloud.bigquery.storage.v1beta2.ProtoRows.getDefaultInstance() - : rows_; + return rows_ == null ? com.google.cloud.bigquery.storage.v1beta2.ProtoRows.getDefaultInstance() : rows_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -302,7 +237,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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getWriterSchema()); } @@ -319,10 +255,12 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getWriterSchema()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getWriterSchema()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRows()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRows()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -332,21 +270,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -373,95 +312,89 @@ 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 @@ -471,53 +404,46 @@ 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) { getWriterSchemaFieldBuilder(); getRowsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -536,22 +462,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); } @@ -560,26 +483,25 @@ public com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData bui @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData buildPartial() { - com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData result = - new com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData result = new com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData result) { + private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.writerSchema_ = - writerSchemaBuilder_ == null ? writerSchema_ : writerSchemaBuilder_.build(); + result.writerSchema_ = writerSchemaBuilder_ == null + ? writerSchema_ + : writerSchemaBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.rows_ = rowsBuilder_ == null ? rows_ : rowsBuilder_.build(); + result.rows_ = rowsBuilder_ == null + ? rows_ + : rowsBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; @@ -589,54 +511,46 @@ private void buildPartial0( 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()); } @@ -674,25 +588,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getWriterSchemaFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getRowsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getWriterSchemaFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getRowsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -702,52 +617,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.cloud.bigquery.storage.v1beta2.ProtoSchema writerSchema_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.ProtoSchema, - com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.Builder, - com.google.cloud.bigquery.storage.v1beta2.ProtoSchemaOrBuilder> - writerSchemaBuilder_; + com.google.cloud.bigquery.storage.v1beta2.ProtoSchema, com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.Builder, com.google.cloud.bigquery.storage.v1beta2.ProtoSchemaOrBuilder> writerSchemaBuilder_; /** - * - * *
        * Proto schema used to serialize the data.
        * 
* * .google.cloud.bigquery.storage.v1beta2.ProtoSchema writer_schema = 1; - * * @return Whether the writerSchema field is set. */ public boolean hasWriterSchema() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * Proto schema used to serialize the data.
        * 
* * .google.cloud.bigquery.storage.v1beta2.ProtoSchema writer_schema = 1; - * * @return The writerSchema. */ public com.google.cloud.bigquery.storage.v1beta2.ProtoSchema getWriterSchema() { if (writerSchemaBuilder_ == null) { - return writerSchema_ == null - ? com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.getDefaultInstance() - : writerSchema_; + return writerSchema_ == null ? com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.getDefaultInstance() : writerSchema_; } else { return writerSchemaBuilder_.getMessage(); } } /** - * - * *
        * Proto schema used to serialize the data.
        * 
@@ -768,8 +669,6 @@ public Builder setWriterSchema(com.google.cloud.bigquery.storage.v1beta2.ProtoSc return this; } /** - * - * *
        * Proto schema used to serialize the data.
        * 
@@ -788,21 +687,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 (((bitField0_ & 0x00000001) != 0) - && writerSchema_ != null - && writerSchema_ - != com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + writerSchema_ != null && + writerSchema_ != com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.getDefaultInstance()) { getWriterSchemaBuilder().mergeFrom(value); } else { writerSchema_ = value; @@ -817,8 +712,6 @@ public Builder mergeWriterSchema( return this; } /** - * - * *
        * Proto schema used to serialize the data.
        * 
@@ -836,42 +729,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() { bitField0_ |= 0x00000001; onChanged(); return getWriterSchemaFieldBuilder().getBuilder(); } /** - * - * *
        * Proto schema used to serialize the data.
        * 
* * .google.cloud.bigquery.storage.v1beta2.ProtoSchema writer_schema = 1; */ - public com.google.cloud.bigquery.storage.v1beta2.ProtoSchemaOrBuilder - getWriterSchemaOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta2.ProtoSchemaOrBuilder getWriterSchemaOrBuilder() { if (writerSchemaBuilder_ != null) { return writerSchemaBuilder_.getMessageOrBuilder(); } else { - return writerSchema_ == null - ? com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.getDefaultInstance() - : writerSchema_; + return writerSchema_ == null ? + com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.getDefaultInstance() : writerSchema_; } } /** - * - * *
        * Proto schema used to serialize the data.
        * 
@@ -879,17 +763,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_; @@ -897,47 +778,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 ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * Serialized row data in protobuf message format.
        * 
* * .google.cloud.bigquery.storage.v1beta2.ProtoRows rows = 2; - * * @return The rows. */ public com.google.cloud.bigquery.storage.v1beta2.ProtoRows getRows() { if (rowsBuilder_ == null) { - return rows_ == null - ? com.google.cloud.bigquery.storage.v1beta2.ProtoRows.getDefaultInstance() - : rows_; + return rows_ == null ? com.google.cloud.bigquery.storage.v1beta2.ProtoRows.getDefaultInstance() : rows_; } else { return rowsBuilder_.getMessage(); } } /** - * - * *
        * Serialized row data in protobuf message format.
        * 
@@ -958,8 +826,6 @@ public Builder setRows(com.google.cloud.bigquery.storage.v1beta2.ProtoRows value return this; } /** - * - * *
        * Serialized row data in protobuf message format.
        * 
@@ -978,8 +844,6 @@ public Builder setRows( return this; } /** - * - * *
        * Serialized row data in protobuf message format.
        * 
@@ -988,10 +852,9 @@ public Builder setRows( */ public Builder mergeRows(com.google.cloud.bigquery.storage.v1beta2.ProtoRows value) { if (rowsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && rows_ != null - && rows_ - != com.google.cloud.bigquery.storage.v1beta2.ProtoRows.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + rows_ != null && + rows_ != com.google.cloud.bigquery.storage.v1beta2.ProtoRows.getDefaultInstance()) { getRowsBuilder().mergeFrom(value); } else { rows_ = value; @@ -1006,8 +869,6 @@ public Builder mergeRows(com.google.cloud.bigquery.storage.v1beta2.ProtoRows val return this; } /** - * - * *
        * Serialized row data in protobuf message format.
        * 
@@ -1025,8 +886,6 @@ public Builder clearRows() { return this; } /** - * - * *
        * Serialized row data in protobuf message format.
        * 
@@ -1039,8 +898,6 @@ public com.google.cloud.bigquery.storage.v1beta2.ProtoRows.Builder getRowsBuilde return getRowsFieldBuilder().getBuilder(); } /** - * - * *
        * Serialized row data in protobuf message format.
        * 
@@ -1051,14 +908,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.
        * 
@@ -1066,22 +920,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) { @@ -1094,45 +944,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData) - private static final com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData(); + DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData(); } - public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData - getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProtoData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProtoData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1144,26 +990,22 @@ 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 bitField0_; private int rowsCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object rows_; - public enum RowsCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { PROTO_ROWS(4), ROWS_NOT_SET(0); private final int value; - private RowsCase(int value) { this.value = value; } @@ -1179,31 +1021,26 @@ public static RowsCase valueOf(int value) { public static RowsCase forNumber(int value) { switch (value) { - case 4: - return PROTO_ROWS; - case 0: - return ROWS_NOT_SET; - default: - return null; + case 4: return PROTO_ROWS; + case 0: return ROWS_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public RowsCase getRowsCase() { - return RowsCase.forNumber(rowsCase_); + public RowsCase + getRowsCase() { + return RowsCase.forNumber( + rowsCase_); } public static final int WRITE_STREAM_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object writeStream_ = ""; /** - * - * *
    * Required. The stream that is the target of the append operation. This value
    * must be specified for the initial request. If subsequent requests specify
@@ -1212,10 +1049,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 @@ -1224,15 +1058,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
@@ -1241,18 +1074,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 { @@ -1263,8 +1095,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
@@ -1273,7 +1103,6 @@ public com.google.protobuf.ByteString getWriteStreamBytes() {
    * 
* * .google.protobuf.Int64Value offset = 2; - * * @return Whether the offset field is set. */ @java.lang.Override @@ -1281,8 +1110,6 @@ public boolean hasOffset() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * If present, the write is only performed if the next append offset is same
    * as the provided value. If not present, the write is performed at the
@@ -1291,7 +1118,6 @@ public boolean hasOffset() {
    * 
* * .google.protobuf.Int64Value offset = 2; - * * @return The offset. */ @java.lang.Override @@ -1299,8 +1125,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
@@ -1317,14 +1141,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 @@ -1332,27 +1153,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.
    * 
@@ -1360,29 +1175,23 @@ public com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData get * .google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData proto_rows = 4; */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoDataOrBuilder - getProtoRowsOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoDataOrBuilder getProtoRowsOrBuilder() { if (rowsCase_ == 4) { - return (com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData) rows_; + return (com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData) rows_; } - return com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData - .getDefaultInstance(); + return com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData.getDefaultInstance(); } public static final int TRACE_ID_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object traceId_ = ""; /** - * - * *
    * Id set by client to annotate its identity. Only initial request setting is
    * respected.
    * 
* * string trace_id = 6; - * * @return The traceId. */ @java.lang.Override @@ -1391,30 +1200,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 { @@ -1423,7 +1232,6 @@ public com.google.protobuf.ByteString getTraceIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1441,7 +1249,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(writeStream_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, writeStream_); } @@ -1449,8 +1258,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(traceId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, traceId_); @@ -1468,12 +1276,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, writeStream_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getOffset()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getOffset()); } if (rowsCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, (com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData) rows_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest.ProtoData) rows_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(traceId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, traceId_); @@ -1486,24 +1294,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: @@ -1541,127 +1352,119 @@ 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() @@ -1669,17 +1472,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) { getOffsetFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1700,9 +1503,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 @@ -1721,11 +1524,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest result = new com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -1738,7 +1538,9 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.AppendRowsR } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.offset_ = offsetBuilder_ == null ? offset_ : offsetBuilder_.build(); + result.offset_ = offsetBuilder_ == null + ? offset_ + : offsetBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000008) != 0)) { @@ -1747,11 +1549,11 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.AppendRowsR result.bitField0_ |= to_bitField0_; } - private void buildPartialOneofs( - com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest result) { + private void buildPartialOneofs(com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest result) { result.rowsCase_ = rowsCase_; result.rows_ = this.rows_; - if (rowsCase_ == 4 && protoRowsBuilder_ != null) { + if (rowsCase_ == 4 && + protoRowsBuilder_ != null) { result.rows_ = protoRowsBuilder_.build(); } } @@ -1760,39 +1562,38 @@ private void buildPartialOneofs( 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; @@ -1800,8 +1601,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_; bitField0_ |= 0x00000001; @@ -1816,15 +1616,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.getUnknownFields()); onChanged(); @@ -1857,37 +1655,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - writeStream_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getOffsetFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 34: - { - input.readMessage(getProtoRowsFieldBuilder().getBuilder(), extensionRegistry); - rowsCase_ = 4; - break; - } // case 34 - case 50: - { - traceId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + writeStream_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getOffsetFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 34: { + input.readMessage( + getProtoRowsFieldBuilder().getBuilder(), + extensionRegistry); + rowsCase_ = 4; + break; + } // case 34 + case 50: { + traceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1897,12 +1694,12 @@ public Builder mergeFrom( } // finally return this; } - private int rowsCase_ = 0; private java.lang.Object rows_; - - public RowsCase getRowsCase() { - return RowsCase.forNumber(rowsCase_); + public RowsCase + getRowsCase() { + return RowsCase.forNumber( + rowsCase_); } public Builder clearRows() { @@ -1916,8 +1713,6 @@ public Builder clearRows() { private java.lang.Object writeStream_ = ""; /** - * - * *
      * Required. The stream that is the target of the append operation. This value
      * must be specified for the initial request. If subsequent requests specify
@@ -1926,16 +1721,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; @@ -1944,8 +1737,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
@@ -1954,17 +1745,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 { @@ -1972,8 +1762,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
@@ -1982,25 +1770,19 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setWriteStream( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } writeStream_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The stream that is the target of the append operation. This value
      * must be specified for the initial request. If subsequent requests specify
@@ -2009,10 +1791,7 @@ 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() { @@ -2022,8 +1801,6 @@ public Builder clearWriteStream() { return this; } /** - * - * *
      * Required. The stream that is the target of the append operation. This value
      * must be specified for the initial request. If subsequent requests specify
@@ -2032,17 +1809,13 @@ public Builder clearWriteStream() {
      * format `projects/{project}/datasets/{dataset}/tables/{table}/_default`.
      * 
* - * - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for writeStream to set. * @return This builder for chaining. */ - public Builder setWriteStreamBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setWriteStreamBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); writeStream_ = value; bitField0_ |= 0x00000001; @@ -2052,13 +1825,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
@@ -2067,15 +1835,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 ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * If present, the write is only performed if the next append offset is same
      * as the provided value. If not present, the write is performed at the
@@ -2084,7 +1849,6 @@ public boolean hasOffset() {
      * 
* * .google.protobuf.Int64Value offset = 2; - * * @return The offset. */ public com.google.protobuf.Int64Value getOffset() { @@ -2095,8 +1859,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
@@ -2120,8 +1882,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
@@ -2131,7 +1891,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();
       } else {
@@ -2142,8 +1903,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
@@ -2155,9 +1914,9 @@ public Builder setOffset(com.google.protobuf.Int64Value.Builder builderForValue)
      */
     public Builder mergeOffset(com.google.protobuf.Int64Value value) {
       if (offsetBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && offset_ != null
-            && offset_ != com.google.protobuf.Int64Value.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          offset_ != null &&
+          offset_ != com.google.protobuf.Int64Value.getDefaultInstance()) {
           getOffsetBuilder().mergeFrom(value);
         } else {
           offset_ = value;
@@ -2172,8 +1931,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
@@ -2194,8 +1951,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
@@ -2211,8 +1966,6 @@ public com.google.protobuf.Int64Value.Builder getOffsetBuilder() {
       return getOffsetFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If present, the write is only performed if the next append offset is same
      * as the provided value. If not present, the write is performed at the
@@ -2226,12 +1979,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
@@ -2242,37 +1994,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 @@ -2280,15 +2022,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 @@ -2297,28 +2035,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(); @@ -2332,18 +2064,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(); @@ -2354,27 +2082,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; } @@ -2390,14 +2109,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) { @@ -2416,68 +2132,49 @@ 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()); @@ -2490,21 +2187,19 @@ public Builder clearProtoRows() { 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; @@ -2513,22 +2208,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 { @@ -2536,37 +2230,30 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTraceId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } traceId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Id set by client to annotate its identity. Only initial request setting is
      * respected.
      * 
* * string trace_id = 6; - * * @return This builder for chaining. */ public Builder clearTraceId() { @@ -2576,31 +2263,27 @@ public Builder clearTraceId() { return this; } /** - * - * *
      * Id set by client to annotate its identity. Only initial request setting is
      * respected.
      * 
* * string trace_id = 6; - * * @param value The bytes for traceId to set. * @return This builder for chaining. */ - public Builder setTraceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTraceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); traceId_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2610,12 +2293,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(); } @@ -2624,27 +2307,27 @@ public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppendRowsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppendRowsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2659,4 +2342,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 35aade1afa..46b0acca93 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,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 // Protobuf Java Version: 3.25.2 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
@@ -35,16 +17,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
@@ -53,17 +30,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
@@ -72,13 +45,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
@@ -87,13 +57,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
@@ -106,67 +73,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(); 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 4c68cb1913..74a7041b7e 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,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 @@ -20,81 +5,69 @@ package com.google.cloud.bigquery.storage.v1beta2; /** - * - * *
  * Response message for `AppendRows`.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.AppendRowsResponse} */ -public final class AppendRowsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AppendRowsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.AppendRowsResponse) AppendRowsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AppendRowsResponse.newBuilder() to construct. private AppendRowsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private AppendRowsResponse() {} + private AppendRowsResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AppendRowsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsResponse_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_AppendRowsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.class, - com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.class, com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.Builder.class); } - public interface AppendResultOrBuilder - extends + public interface AppendResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The row offset at which the last append occurred. The offset will not be
      * set if appending using default streams.
      * 
* * .google.protobuf.Int64Value offset = 1; - * * @return Whether the offset field is set. */ boolean hasOffset(); /** - * - * *
      * The row offset at which the last append occurred. The offset will not be
      * set if appending using default streams.
      * 
* * .google.protobuf.Int64Value offset = 1; - * * @return The offset. */ com.google.protobuf.Int64Value getOffset(); /** - * - * *
      * The row offset at which the last append occurred. The offset will not be
      * set if appending using default streams.
@@ -105,61 +78,54 @@ 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(); } - 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); } private int bitField0_; 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 @@ -167,15 +133,12 @@ public boolean hasOffset() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The row offset at which the last append occurred. The offset will not be
      * set if appending using default streams.
      * 
* * .google.protobuf.Int64Value offset = 1; - * * @return The offset. */ @java.lang.Override @@ -183,8 +146,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.
@@ -198,7 +159,6 @@ public com.google.protobuf.Int64ValueOrBuilder getOffsetOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -210,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 {
       if (((bitField0_ & 0x00000001) != 0)) {
         output.writeMessage(1, getOffset());
       }
@@ -224,7 +185,8 @@ public int getSerializedSize() {
 
       size = 0;
       if (((bitField0_ & 0x00000001) != 0)) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOffset());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, getOffset());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -234,18 +196,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 (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -267,101 +228,90 @@ 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
@@ -371,52 +321,45 @@ 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) { getOffsetFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -430,22 +373,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); } @@ -453,23 +393,20 @@ public com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult - buildPartial() { - com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult result = - new com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult buildPartial() { + com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult result = new com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult result) { + private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.offset_ = offsetBuilder_ == null ? offset_ : offsetBuilder_.build(); + result.offset_ = offsetBuilder_ == null + ? offset_ + : offsetBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -479,54 +416,46 @@ private void buildPartial0( 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()); } @@ -556,19 +485,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getOffsetFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getOffsetFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -578,40 +507,30 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.Int64Value offset_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Int64Value, - com.google.protobuf.Int64Value.Builder, - com.google.protobuf.Int64ValueOrBuilder> - offsetBuilder_; + com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> offsetBuilder_; /** - * - * *
        * The row offset at which the last append occurred. The offset will not be
        * set if appending using default streams.
        * 
* * .google.protobuf.Int64Value offset = 1; - * * @return Whether the offset field is set. */ public boolean hasOffset() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * The row offset at which the last append occurred. The offset will not be
        * set if appending using default streams.
        * 
* * .google.protobuf.Int64Value offset = 1; - * * @return The offset. */ public com.google.protobuf.Int64Value getOffset() { @@ -622,8 +541,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.
@@ -645,8 +562,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.
@@ -654,7 +569,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();
         } else {
@@ -665,8 +581,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.
@@ -676,9 +590,9 @@ public Builder setOffset(com.google.protobuf.Int64Value.Builder builderForValue)
        */
       public Builder mergeOffset(com.google.protobuf.Int64Value value) {
         if (offsetBuilder_ == null) {
-          if (((bitField0_ & 0x00000001) != 0)
-              && offset_ != null
-              && offset_ != com.google.protobuf.Int64Value.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000001) != 0) &&
+            offset_ != null &&
+            offset_ != com.google.protobuf.Int64Value.getDefaultInstance()) {
             getOffsetBuilder().mergeFrom(value);
           } else {
             offset_ = value;
@@ -693,8 +607,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.
@@ -713,8 +625,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.
@@ -728,8 +638,6 @@ public com.google.protobuf.Int64Value.Builder getOffsetBuilder() {
         return getOffsetFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * The row offset at which the last append occurred. The offset will not be
        * set if appending using default streams.
@@ -741,12 +649,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.
@@ -755,22 +662,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) {
@@ -783,45 +686,41 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult)
-    private static final com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult
-        DEFAULT_INSTANCE;
-
+    private static final com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult DEFAULT_INSTANCE;
     static {
-      DEFAULT_INSTANCE =
-          new com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult();
+      DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult();
     }
 
-    public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult
-        getDefaultInstance() {
+    public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public AppendResult parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public AppendResult parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -833,27 +732,23 @@ 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 bitField0_;
   private int responseCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object response_;
-
   public enum ResponseCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     APPEND_RESULT(1),
     ERROR(2),
     RESPONSE_NOT_SET(0);
     private final int value;
-
     private ResponseCase(int value) {
       this.value = value;
     }
@@ -869,37 +764,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 @@ -907,50 +795,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.
@@ -975,7 +850,6 @@ public boolean hasAppendResult() {
    * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ @java.lang.Override @@ -983,8 +857,6 @@ public boolean hasError() { return responseCase_ == 2; } /** - * - * *
    * Error returned when problems were encountered.  If present,
    * it indicates rows were not accepted into the system.
@@ -1009,19 +881,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.
@@ -1050,7 +919,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();
   }
@@ -1058,8 +927,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
@@ -1067,7 +934,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 @@ -1075,8 +941,6 @@ public boolean hasUpdatedSchema() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * If backend detects a schema update, pass it to user so that user can
    * use it to input new type of message. It will be empty when no schema
@@ -1084,18 +948,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
@@ -1105,15 +964,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() {
-    return updatedSchema_ == null
-        ? com.google.cloud.bigquery.storage.v1beta2.TableSchema.getDefaultInstance()
-        : updatedSchema_;
+  public com.google.cloud.bigquery.storage.v1beta2.TableSchemaOrBuilder getUpdatedSchemaOrBuilder() {
+    return updatedSchema_ == null ? com.google.cloud.bigquery.storage.v1beta2.TableSchema.getDefaultInstance() : updatedSchema_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1125,10 +980,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_);
@@ -1146,19 +1001,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 (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdatedSchema());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getUpdatedSchema());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -1168,25 +1020,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:
@@ -1224,127 +1078,119 @@ 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() @@ -1352,17 +1198,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) { getUpdatedSchemaFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1384,14 +1230,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(); } @@ -1406,36 +1251,34 @@ public com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse buildPartial() { - com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse result = - new com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse result = new com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse result) { + private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { - result.updatedSchema_ = - updatedSchemaBuilder_ == null ? updatedSchema_ : updatedSchemaBuilder_.build(); + result.updatedSchema_ = updatedSchemaBuilder_ == null + ? updatedSchema_ + : updatedSchemaBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; } - private void buildPartialOneofs( - com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse result) { + private void buildPartialOneofs(com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse result) { result.responseCase_ = responseCase_; result.response_ = this.response_; - if (responseCase_ == 1 && appendResultBuilder_ != null) { + if (responseCase_ == 1 && + appendResultBuilder_ != null) { result.response_ = appendResultBuilder_.build(); } - if (responseCase_ == 2 && errorBuilder_ != null) { + if (responseCase_ == 2 && + errorBuilder_ != null) { result.response_ = errorBuilder_.build(); } } @@ -1444,39 +1287,38 @@ private void buildPartialOneofs( 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; @@ -1484,27 +1326,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.getUnknownFields()); onChanged(); @@ -1532,31 +1369,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getAppendResultFieldBuilder().getBuilder(), extensionRegistry); - responseCase_ = 1; - break; - } // case 10 - case 18: - { - input.readMessage(getErrorFieldBuilder().getBuilder(), extensionRegistry); - responseCase_ = 2; - break; - } // case 18 - case 26: - { - input.readMessage(getUpdatedSchemaFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getAppendResultFieldBuilder().getBuilder(), + extensionRegistry); + responseCase_ = 1; + break; + } // case 10 + case 18: { + input.readMessage( + getErrorFieldBuilder().getBuilder(), + extensionRegistry); + responseCase_ = 2; + break; + } // case 18 + case 26: { + input.readMessage( + getUpdatedSchemaFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1566,12 +1405,12 @@ public Builder mergeFrom( } // finally return this; } - private int responseCase_ = 0; private java.lang.Object response_; - - public ResponseCase getResponseCase() { - return ResponseCase.forNumber(responseCase_); + public ResponseCase + getResponseCase() { + return ResponseCase.forNumber( + responseCase_); } public Builder clearResponse() { @@ -1584,21 +1423,13 @@ public Builder clearResponse() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult, - com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult.Builder, - com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResultOrBuilder> - appendResultBuilder_; + com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult, com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult.Builder, com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResultOrBuilder> appendResultBuilder_; /** - * - * *
      * Result if the append is successful.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1; - * - * + * .google.cloud.bigquery.storage.v1beta2.AppendRowsResponse.AppendResult append_result = 1; * @return Whether the appendResult field is set. */ @java.lang.Override @@ -1606,49 +1437,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(); @@ -1662,19 +1479,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(); @@ -1685,29 +1497,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; } @@ -1723,15 +1524,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) { @@ -1750,74 +1547,50 @@ 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; @@ -1828,11 +1601,8 @@ public Builder clearAppendResult() { } 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.
@@ -1857,7 +1627,6 @@ public Builder clearAppendResult() {
      * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ @java.lang.Override @@ -1865,8 +1634,6 @@ public boolean hasError() { return responseCase_ == 2; } /** - * - * *
      * Error returned when problems were encountered.  If present,
      * it indicates rows were not accepted into the system.
@@ -1891,7 +1658,6 @@ public boolean hasError() {
      * 
* * .google.rpc.Status error = 2; - * * @return The error. */ @java.lang.Override @@ -1909,8 +1675,6 @@ public com.google.rpc.Status getError() { } } /** - * - * *
      * Error returned when problems were encountered.  If present,
      * it indicates rows were not accepted into the system.
@@ -1950,8 +1714,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.
@@ -1977,7 +1739,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();
@@ -1988,8 +1751,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.
@@ -2017,11 +1778,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;
         }
@@ -2037,8 +1797,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.
@@ -2081,8 +1839,6 @@ public Builder clearError() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Error returned when problems were encountered.  If present,
      * it indicates rows were not accepted into the system.
@@ -2112,8 +1868,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.
@@ -2151,8 +1905,6 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * Error returned when problems were encountered.  If present,
      * it indicates rows were not accepted into the system.
@@ -2179,18 +1931,17 @@ 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;
@@ -2200,13 +1951,8 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
 
     private com.google.cloud.bigquery.storage.v1beta2.TableSchema updatedSchema_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.bigquery.storage.v1beta2.TableSchema,
-            com.google.cloud.bigquery.storage.v1beta2.TableSchema.Builder,
-            com.google.cloud.bigquery.storage.v1beta2.TableSchemaOrBuilder>
-        updatedSchemaBuilder_;
+        com.google.cloud.bigquery.storage.v1beta2.TableSchema, com.google.cloud.bigquery.storage.v1beta2.TableSchema.Builder, com.google.cloud.bigquery.storage.v1beta2.TableSchemaOrBuilder> updatedSchemaBuilder_;
     /**
-     *
-     *
      * 
      * If backend detects a schema update, pass it to user so that user can
      * use it to input new type of message. It will be empty when no schema
@@ -2214,15 +1960,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 ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * If backend detects a schema update, pass it to user so that user can
      * use it to input new type of message. It will be empty when no schema
@@ -2230,21 +1973,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
@@ -2267,8 +2005,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
@@ -2289,8 +2025,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
@@ -2301,10 +2035,9 @@ public Builder setUpdatedSchema(
      */
     public Builder mergeUpdatedSchema(com.google.cloud.bigquery.storage.v1beta2.TableSchema value) {
       if (updatedSchemaBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && updatedSchema_ != null
-            && updatedSchema_
-                != com.google.cloud.bigquery.storage.v1beta2.TableSchema.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          updatedSchema_ != null &&
+          updatedSchema_ != com.google.cloud.bigquery.storage.v1beta2.TableSchema.getDefaultInstance()) {
           getUpdatedSchemaBuilder().mergeFrom(value);
         } else {
           updatedSchema_ = value;
@@ -2319,8 +2052,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
@@ -2340,8 +2071,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
@@ -2356,8 +2085,6 @@ public com.google.cloud.bigquery.storage.v1beta2.TableSchema.Builder getUpdatedS
       return getUpdatedSchemaFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If backend detects a schema update, pass it to user so that user can
      * use it to input new type of message. It will be empty when no schema
@@ -2366,19 +2093,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
@@ -2388,24 +2111,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);
     }
 
@@ -2415,13 +2135,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();
   }
@@ -2430,27 +2149,27 @@ public static com.google.cloud.bigquery.storage.v1beta2.AppendRowsResponse getDe
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public AppendRowsResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public AppendRowsResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2465,4 +2184,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 84%
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 2431aa6454..57ffd989d2 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,71 +1,41 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for 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
 
 // Protobuf Java Version: 3.25.2
 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.
@@ -90,13 +60,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.
@@ -121,13 +88,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.
@@ -156,8 +120,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
@@ -165,13 +127,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
@@ -179,13 +138,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
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..992e447688
--- /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,81 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/bigquery/storage/v1beta2/arrow.proto
+
+// Protobuf Java Version: 3.25.2
+package com.google.cloud.bigquery.storage.v1beta2;
+
+public final class ArrowProto {
+  private ArrowProto() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions(
+        (com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSchema_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSchema_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_bigquery_storage_v1beta2_ArrowRecordBatch_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_bigquery_storage_v1beta2_ArrowRecordBatch_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSerializationOptions_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSerializationOptions_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n1google/cloud/bigquery/storage/v1beta2/" +
+      "arrow.proto\022%google.cloud.bigquery.stora" +
+      "ge.v1beta2\"(\n\013ArrowSchema\022\031\n\021serialized_" +
+      "schema\030\001 \001(\014\"3\n\020ArrowRecordBatch\022\037\n\027seri" +
+      "alized_record_batch\030\001 \001(\014\"\266\001\n\031ArrowSeria" +
+      "lizationOptions\022W\n\006format\030\001 \001(\0162G.google" +
+      ".cloud.bigquery.storage.v1beta2.ArrowSer" +
+      "ializationOptions.Format\"@\n\006Format\022\026\n\022FO" +
+      "RMAT_UNSPECIFIED\020\000\022\016\n\nARROW_0_14\020\001\022\016\n\nAR" +
+      "ROW_0_15\020\002B~\n)com.google.cloud.bigquery." +
+      "storage.v1beta2B\nArrowProtoP\001ZCcloud.goo" +
+      "gle.com/go/bigquery/storage/apiv1beta2/s" +
+      "toragepb;storagepbb\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+        });
+    internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSchema_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSchema_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSchema_descriptor,
+        new java.lang.String[] { "SerializedSchema", });
+    internal_static_google_cloud_bigquery_storage_v1beta2_ArrowRecordBatch_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_bigquery_storage_v1beta2_ArrowRecordBatch_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_bigquery_storage_v1beta2_ArrowRecordBatch_descriptor,
+        new java.lang.String[] { "SerializedRecordBatch", });
+    internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSerializationOptions_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSerializationOptions_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSerializationOptions_descriptor,
+        new java.lang.String[] { "Format", });
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/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 65%
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 2edccbe8b5..9eced580ac 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,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for 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
 
@@ -20,61 +5,53 @@
 package com.google.cloud.bigquery.storage.v1beta2;
 
 /**
- *
- *
  * 
  * Arrow RecordBatch.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch} */ -public final class ArrowRecordBatch extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ArrowRecordBatch extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch) ArrowRecordBatchOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ArrowRecordBatch.newBuilder() to construct. private ArrowRecordBatch(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ArrowRecordBatch() { serializedRecordBatch_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ArrowRecordBatch(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.ArrowProto - .internal_static_google_cloud_bigquery_storage_v1beta2_ArrowRecordBatch_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.ArrowProto.internal_static_google_cloud_bigquery_storage_v1beta2_ArrowRecordBatch_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.ArrowProto - .internal_static_google_cloud_bigquery_storage_v1beta2_ArrowRecordBatch_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.ArrowProto.internal_static_google_cloud_bigquery_storage_v1beta2_ArrowRecordBatch_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch.class, - com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch.class, com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch.Builder.class); } public static final int SERIALIZED_RECORD_BATCH_FIELD_NUMBER = 1; - private com.google.protobuf.ByteString serializedRecordBatch_ = - com.google.protobuf.ByteString.EMPTY; + private com.google.protobuf.ByteString serializedRecordBatch_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * IPC-serialized Arrow RecordBatch.
    * 
* * bytes serialized_record_batch = 1; - * * @return The serializedRecordBatch. */ @java.lang.Override @@ -83,7 +60,6 @@ public com.google.protobuf.ByteString getSerializedRecordBatch() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -95,7 +71,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_); } @@ -109,7 +86,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -119,15 +97,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch other = - (com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch) obj; + com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch other = (com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch) obj; - if (!getSerializedRecordBatch().equals(other.getSerializedRecordBatch())) return false; + if (!getSerializedRecordBatch() + .equals(other.getSerializedRecordBatch())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -147,136 +125,131 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Arrow RecordBatch.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch) com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatchOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.ArrowProto - .internal_static_google_cloud_bigquery_storage_v1beta2_ArrowRecordBatch_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.ArrowProto.internal_static_google_cloud_bigquery_storage_v1beta2_ArrowRecordBatch_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.ArrowProto - .internal_static_google_cloud_bigquery_storage_v1beta2_ArrowRecordBatch_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.ArrowProto.internal_static_google_cloud_bigquery_storage_v1beta2_ArrowRecordBatch_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch.class, - com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch.class, com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -286,9 +259,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 @@ -307,11 +280,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch result = new com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -327,39 +297,38 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.ArrowRecord public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch) other); + return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch)other); } else { super.mergeFrom(other); return this; @@ -367,8 +336,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()); } @@ -398,19 +366,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - serializedRecordBatch_ = input.readBytes(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + serializedRecordBatch_ = input.readBytes(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,20 +386,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.protobuf.ByteString serializedRecordBatch_ = - com.google.protobuf.ByteString.EMPTY; + private com.google.protobuf.ByteString serializedRecordBatch_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * IPC-serialized Arrow RecordBatch.
      * 
* * bytes serialized_record_batch = 1; - * * @return The serializedRecordBatch. */ @java.lang.Override @@ -441,35 +402,27 @@ public com.google.protobuf.ByteString getSerializedRecordBatch() { return serializedRecordBatch_; } /** - * - * *
      * IPC-serialized Arrow RecordBatch.
      * 
* * bytes serialized_record_batch = 1; - * * @param value The serializedRecordBatch to set. * @return This builder for chaining. */ public Builder setSerializedRecordBatch(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } serializedRecordBatch_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * IPC-serialized Arrow RecordBatch.
      * 
* * bytes serialized_record_batch = 1; - * * @return This builder for chaining. */ public Builder clearSerializedRecordBatch() { @@ -478,9 +431,9 @@ public Builder clearSerializedRecordBatch() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -490,12 +443,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(); } @@ -504,27 +457,27 @@ public static com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ArrowRecordBatch parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ArrowRecordBatch parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -539,4 +492,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..494d9cf45e --- /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,20 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1beta2/arrow.proto + +// Protobuf Java Version: 3.25.2 +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 66% 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 4c72e54849..00a68c008a 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,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 @@ -20,8 +5,6 @@ package com.google.cloud.bigquery.storage.v1beta2; /** - * - * *
  * Arrow schema as specified in
  * https://arrow.apache.org/docs/python/api/datatypes.html
@@ -33,52 +16,47 @@
  *
  * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.ArrowSchema}
  */
-public final class ArrowSchema extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ArrowSchema extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.ArrowSchema)
     ArrowSchemaOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ArrowSchema.newBuilder() to construct.
   private ArrowSchema(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ArrowSchema() {
     serializedSchema_ = com.google.protobuf.ByteString.EMPTY;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ArrowSchema();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.bigquery.storage.v1beta2.ArrowProto
-        .internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSchema_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.bigquery.storage.v1beta2.ArrowProto.internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSchema_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.storage.v1beta2.ArrowProto
-        .internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSchema_fieldAccessorTable
+    return com.google.cloud.bigquery.storage.v1beta2.ArrowProto.internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSchema_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.class,
-            com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.Builder.class);
+            com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.class, com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.Builder.class);
   }
 
   public static final int SERIALIZED_SCHEMA_FIELD_NUMBER = 1;
   private com.google.protobuf.ByteString serializedSchema_ = com.google.protobuf.ByteString.EMPTY;
   /**
-   *
-   *
    * 
    * IPC serialized Arrow schema.
    * 
* * bytes serialized_schema = 1; - * * @return The serializedSchema. */ @java.lang.Override @@ -87,7 +65,6 @@ public com.google.protobuf.ByteString getSerializedSchema() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -99,7 +76,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_); } @@ -113,7 +91,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -123,15 +102,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta2.ArrowSchema)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta2.ArrowSchema other = - (com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) obj; + com.google.cloud.bigquery.storage.v1beta2.ArrowSchema other = (com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) obj; - if (!getSerializedSchema().equals(other.getSerializedSchema())) return false; + if (!getSerializedSchema() + .equals(other.getSerializedSchema())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -151,104 +130,98 @@ 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
@@ -260,32 +233,33 @@ 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()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -295,9 +269,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
@@ -316,11 +290,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);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.bigquery.storage.v1beta2.ArrowSchema result = new com.google.cloud.bigquery.storage.v1beta2.ArrowSchema(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -336,39 +307,38 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.ArrowSchema
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) {
-        return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) other);
+        return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.ArrowSchema)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -376,8 +346,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());
       }
@@ -407,19 +376,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                serializedSchema_ = input.readBytes();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              serializedSchema_ = input.readBytes();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -429,19 +396,15 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.protobuf.ByteString serializedSchema_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * IPC serialized Arrow schema.
      * 
* * bytes serialized_schema = 1; - * * @return The serializedSchema. */ @java.lang.Override @@ -449,35 +412,27 @@ public com.google.protobuf.ByteString getSerializedSchema() { return serializedSchema_; } /** - * - * *
      * IPC serialized Arrow schema.
      * 
* * bytes serialized_schema = 1; - * * @param value The serializedSchema to set. * @return This builder for chaining. */ public Builder setSerializedSchema(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } serializedSchema_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * IPC serialized Arrow schema.
      * 
* * bytes serialized_schema = 1; - * * @return This builder for chaining. */ public Builder clearSerializedSchema() { @@ -486,9 +441,9 @@ public Builder clearSerializedSchema() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -498,12 +453,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(); } @@ -512,27 +467,27 @@ public static com.google.cloud.bigquery.storage.v1beta2.ArrowSchema getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ArrowSchema parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ArrowSchema parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -547,4 +502,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..8e83516c0d --- /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,20 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1beta2/arrow.proto + +// Protobuf Java Version: 3.25.2 +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 61% 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 d4c6f07234..d26bffeff1 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,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 @@ -20,62 +5,55 @@ package com.google.cloud.bigquery.storage.v1beta2; /** - * - * *
  * Contains options specific to Arrow Serialization.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions} */ -public final class ArrowSerializationOptions extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ArrowSerializationOptions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions) ArrowSerializationOptionsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ArrowSerializationOptions.newBuilder() to construct. private ArrowSerializationOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ArrowSerializationOptions() { format_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ArrowSerializationOptions(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.ArrowProto - .internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSerializationOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.ArrowProto.internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSerializationOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.ArrowProto - .internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSerializationOptions_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.ArrowProto.internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSerializationOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.class, - com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.class, com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Builder.class); } /** - * - * *
    * The IPC format to use when serializing Arrow streams.
    * 
* * Protobuf enum {@code google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format} */ - public enum Format implements com.google.protobuf.ProtocolMessageEnum { + public enum Format + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * If unspecied the IPC format as of 0.15 release will be used.
      * 
@@ -84,8 +62,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.
      * 
@@ -94,8 +70,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ ARROW_0_14(1), /** - * - * *
      * Use the message format as of Apache Arrow Release 0.15.
      * 
@@ -107,8 +81,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * If unspecied the IPC format as of 0.15 release will be used.
      * 
@@ -117,8 +89,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.
      * 
@@ -127,8 +97,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.
      * 
@@ -137,6 +105,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( @@ -161,51 +130,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; @@ -225,45 +192,30 @@ private Format(int value) { public static final int FORMAT_FIELD_NUMBER = 1; private int format_ = 0; /** - * - * *
    * The Arrow IPC format to use.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format format = 1; - * - * + * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format format = 1; * @return The enum numeric value on the wire for format. */ - @java.lang.Override - public int getFormatValue() { + @java.lang.Override public int getFormatValue() { return format_; } /** - * - * *
    * The Arrow IPC format to use.
    * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format format = 1; - * - * + * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format format = 1; * @return The format. */ - @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format getFormat() { - com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format result = - com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format.forNumber( - format_); - return result == null - ? com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format getFormat() { + com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format result = com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format.forNumber(format_); + return result == null ? com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -275,11 +227,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_); } getUnknownFields().writeTo(output); @@ -291,11 +241,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -305,13 +253,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -333,138 +280,131 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Contains options specific to Arrow Serialization.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions) com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.ArrowProto - .internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSerializationOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.ArrowProto.internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSerializationOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.ArrowProto - .internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSerializationOptions_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.ArrowProto.internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSerializationOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.class, - com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.class, com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Builder.class); } - // Construct using - // com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.newBuilder() - private Builder() {} + // Construct using com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -474,16 +414,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 @@ -497,17 +435,13 @@ public com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions build @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions buildPartial() { - com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions result = - new com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions result = new com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions result) { + private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.format_ = format_; @@ -518,51 +452,46 @@ private void buildPartial0( 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()); } @@ -592,19 +521,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - format_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + format_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -614,36 +541,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int format_ = 0; /** - * - * *
      * The Arrow IPC format to use.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format format = 1; - * - * + * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format format = 1; * @return The enum numeric value on the wire for format. */ - @java.lang.Override - public int getFormatValue() { + @java.lang.Override public int getFormatValue() { return format_; } /** - * - * *
      * The Arrow IPC format to use.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format format = 1; - * - * + * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format format = 1; * @param value The enum numeric value on the wire for format to set. * @return This builder for chaining. */ @@ -654,41 +571,28 @@ public Builder setFormatValue(int value) { return this; } /** - * - * *
      * The Arrow IPC format to use.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format format = 1; - * - * + * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format format = 1; * @return The format. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format getFormat() { - com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format result = - com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format.forNumber( - format_); - return result == null - ? com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format.UNRECOGNIZED - : result; + com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format result = com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format.forNumber(format_); + return result == null ? com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format.UNRECOGNIZED : result; } /** - * - * *
      * The Arrow IPC format to use.
      * 
* - * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format format = 1; - * - * + * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format format = 1; * @param value The format to set. * @return This builder for chaining. */ - public Builder setFormat( - com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format value) { + public Builder setFormat(com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Format value) { if (value == null) { throw new NullPointerException(); } @@ -698,15 +602,11 @@ public Builder setFormat( 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() { @@ -715,9 +615,9 @@ public Builder clearFormat() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -727,43 +627,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions) - private static final com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions(); } - public static com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions - getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ArrowSerializationOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ArrowSerializationOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -775,8 +673,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 52% 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 9edf11df1e..bd404ccd8a 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,52 +1,28 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 // Protobuf Java Version: 3.25.2 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..d274b0f0ff --- /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,65 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1beta2/avro.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.bigquery.storage.v1beta2; + +public final class AvroProto { + private AvroProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1beta2_AvroSchema_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1beta2_AvroSchema_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1beta2_AvroRows_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1beta2_AvroRows_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n0google/cloud/bigquery/storage/v1beta2/" + + "avro.proto\022%google.cloud.bigquery.storag" + + "e.v1beta2\"\034\n\nAvroSchema\022\016\n\006schema\030\001 \001(\t\"" + + "*\n\010AvroRows\022\036\n\026serialized_binary_rows\030\001 " + + "\001(\014B}\n)com.google.cloud.bigquery.storage" + + ".v1beta2B\tAvroProtoP\001ZCcloud.google.com/" + + "go/bigquery/storage/apiv1beta2/storagepb" + + ";storagepbb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_google_cloud_bigquery_storage_v1beta2_AvroSchema_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_storage_v1beta2_AvroSchema_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta2_AvroSchema_descriptor, + new java.lang.String[] { "Schema", }); + internal_static_google_cloud_bigquery_storage_v1beta2_AvroRows_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_storage_v1beta2_AvroRows_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta2_AvroRows_descriptor, + new java.lang.String[] { "SerializedBinaryRows", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/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 65% 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 fb48cd7f46..e3fb3d131f 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,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 @@ -20,61 +5,53 @@ package com.google.cloud.bigquery.storage.v1beta2; /** - * - * *
  * Avro rows.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.AvroRows} */ -public final class AvroRows extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AvroRows extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.AvroRows) AvroRowsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AvroRows.newBuilder() to construct. private AvroRows(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AvroRows() { serializedBinaryRows_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AvroRows(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.AvroProto - .internal_static_google_cloud_bigquery_storage_v1beta2_AvroRows_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.AvroProto.internal_static_google_cloud_bigquery_storage_v1beta2_AvroRows_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.AvroProto - .internal_static_google_cloud_bigquery_storage_v1beta2_AvroRows_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.AvroProto.internal_static_google_cloud_bigquery_storage_v1beta2_AvroRows_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.AvroRows.class, - com.google.cloud.bigquery.storage.v1beta2.AvroRows.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.AvroRows.class, com.google.cloud.bigquery.storage.v1beta2.AvroRows.Builder.class); } public static final int SERIALIZED_BINARY_ROWS_FIELD_NUMBER = 1; - private com.google.protobuf.ByteString serializedBinaryRows_ = - com.google.protobuf.ByteString.EMPTY; + private com.google.protobuf.ByteString serializedBinaryRows_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * Binary serialized rows in a block.
    * 
* * bytes serialized_binary_rows = 1; - * * @return The serializedBinaryRows. */ @java.lang.Override @@ -83,7 +60,6 @@ public com.google.protobuf.ByteString getSerializedBinaryRows() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -95,7 +71,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_); } @@ -109,7 +86,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -119,15 +97,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta2.AvroRows)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta2.AvroRows other = - (com.google.cloud.bigquery.storage.v1beta2.AvroRows) obj; + com.google.cloud.bigquery.storage.v1beta2.AvroRows other = (com.google.cloud.bigquery.storage.v1beta2.AvroRows) obj; - if (!getSerializedBinaryRows().equals(other.getSerializedBinaryRows())) return false; + if (!getSerializedBinaryRows() + .equals(other.getSerializedBinaryRows())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -147,135 +125,131 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1beta2.AvroRows parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta2.AvroRows parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.AvroRows parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta2.AvroRows parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.AvroRows parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta2.AvroRows parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1beta2.AvroRows parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.AvroRows parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta2.AvroRows parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.AvroRows parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.AvroRows parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1beta2.AvroRows parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.AvroRows parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta2.AvroRows parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta2.AvroRows prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Avro rows.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.AvroRows} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta2.AvroRows) com.google.cloud.bigquery.storage.v1beta2.AvroRowsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.AvroProto - .internal_static_google_cloud_bigquery_storage_v1beta2_AvroRows_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.AvroProto.internal_static_google_cloud_bigquery_storage_v1beta2_AvroRows_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.AvroProto - .internal_static_google_cloud_bigquery_storage_v1beta2_AvroRows_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.AvroProto.internal_static_google_cloud_bigquery_storage_v1beta2_AvroRows_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.AvroRows.class, - com.google.cloud.bigquery.storage.v1beta2.AvroRows.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.AvroRows.class, com.google.cloud.bigquery.storage.v1beta2.AvroRows.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1beta2.AvroRows.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -285,9 +259,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 @@ -306,11 +280,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1beta2.AvroRows result = new com.google.cloud.bigquery.storage.v1beta2.AvroRows(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -326,39 +297,38 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.AvroRows re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta2.AvroRows) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.AvroRows) other); + return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.AvroRows)other); } else { super.mergeFrom(other); return this; @@ -366,8 +336,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()); } @@ -397,19 +366,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - serializedBinaryRows_ = input.readBytes(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + serializedBinaryRows_ = input.readBytes(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -419,20 +386,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.protobuf.ByteString serializedBinaryRows_ = - com.google.protobuf.ByteString.EMPTY; + private com.google.protobuf.ByteString serializedBinaryRows_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * Binary serialized rows in a block.
      * 
* * bytes serialized_binary_rows = 1; - * * @return The serializedBinaryRows. */ @java.lang.Override @@ -440,35 +402,27 @@ public com.google.protobuf.ByteString getSerializedBinaryRows() { return serializedBinaryRows_; } /** - * - * *
      * Binary serialized rows in a block.
      * 
* * bytes serialized_binary_rows = 1; - * * @param value The serializedBinaryRows to set. * @return This builder for chaining. */ public Builder setSerializedBinaryRows(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } serializedBinaryRows_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Binary serialized rows in a block.
      * 
* * bytes serialized_binary_rows = 1; - * * @return This builder for chaining. */ public Builder clearSerializedBinaryRows() { @@ -477,9 +431,9 @@ public Builder clearSerializedBinaryRows() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -489,12 +443,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(); } @@ -503,27 +457,27 @@ public static com.google.cloud.bigquery.storage.v1beta2.AvroRows getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AvroRows parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AvroRows parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -538,4 +492,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..8871eeb72d --- /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,20 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1beta2/avro.proto + +// Protobuf Java Version: 3.25.2 +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 66% 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 ae18ee5e39..46eea1716f 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,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 @@ -20,63 +5,55 @@ package com.google.cloud.bigquery.storage.v1beta2; /** - * - * *
  * Avro schema.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.AvroSchema} */ -public final class AvroSchema extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AvroSchema extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.AvroSchema) AvroSchemaOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AvroSchema.newBuilder() to construct. private AvroSchema(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AvroSchema() { schema_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AvroSchema(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.AvroProto - .internal_static_google_cloud_bigquery_storage_v1beta2_AvroSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.AvroProto.internal_static_google_cloud_bigquery_storage_v1beta2_AvroSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.AvroProto - .internal_static_google_cloud_bigquery_storage_v1beta2_AvroSchema_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.AvroProto.internal_static_google_cloud_bigquery_storage_v1beta2_AvroSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.AvroSchema.class, - com.google.cloud.bigquery.storage.v1beta2.AvroSchema.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.AvroSchema.class, com.google.cloud.bigquery.storage.v1beta2.AvroSchema.Builder.class); } public static final int SCHEMA_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object schema_ = ""; /** - * - * *
    * Json serialized schema, as described at
    * https://avro.apache.org/docs/1.8.1/spec.html.
    * 
* * string schema = 1; - * * @return The schema. */ @java.lang.Override @@ -85,30 +62,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 { @@ -117,7 +94,6 @@ public com.google.protobuf.ByteString getSchemaBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -129,7 +105,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schema_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, schema_); } @@ -153,15 +130,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta2.AvroSchema)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta2.AvroSchema other = - (com.google.cloud.bigquery.storage.v1beta2.AvroSchema) obj; + com.google.cloud.bigquery.storage.v1beta2.AvroSchema other = (com.google.cloud.bigquery.storage.v1beta2.AvroSchema) obj; - if (!getSchema().equals(other.getSchema())) return false; + if (!getSchema() + .equals(other.getSchema())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -181,135 +158,131 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1beta2.AvroSchema parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta2.AvroSchema parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.AvroSchema parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta2.AvroSchema parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.AvroSchema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta2.AvroSchema parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1beta2.AvroSchema parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.AvroSchema parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta2.AvroSchema parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.AvroSchema parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.AvroSchema parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1beta2.AvroSchema parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.AvroSchema parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta2.AvroSchema parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta2.AvroSchema prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Avro schema.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.AvroSchema} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta2.AvroSchema) com.google.cloud.bigquery.storage.v1beta2.AvroSchemaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.AvroProto - .internal_static_google_cloud_bigquery_storage_v1beta2_AvroSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.AvroProto.internal_static_google_cloud_bigquery_storage_v1beta2_AvroSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.AvroProto - .internal_static_google_cloud_bigquery_storage_v1beta2_AvroSchema_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.AvroProto.internal_static_google_cloud_bigquery_storage_v1beta2_AvroSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.AvroSchema.class, - com.google.cloud.bigquery.storage.v1beta2.AvroSchema.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.AvroSchema.class, com.google.cloud.bigquery.storage.v1beta2.AvroSchema.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1beta2.AvroSchema.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -319,9 +292,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 @@ -340,11 +313,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1beta2.AvroSchema result = new com.google.cloud.bigquery.storage.v1beta2.AvroSchema(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -360,39 +330,38 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.AvroSchema public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta2.AvroSchema) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.AvroSchema) other); + return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.AvroSchema)other); } else { super.mergeFrom(other); return this; @@ -400,8 +369,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_; bitField0_ |= 0x00000001; @@ -433,19 +401,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - schema_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + schema_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -455,26 +421,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object schema_ = ""; /** - * - * *
      * Json serialized schema, as described at
      * https://avro.apache.org/docs/1.8.1/spec.html.
      * 
* * string schema = 1; - * * @return The schema. */ public java.lang.String getSchema() { java.lang.Object ref = schema_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schema_ = s; return s; @@ -483,22 +446,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 { @@ -506,37 +468,30 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSchema( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } schema_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Json serialized schema, as described at
      * https://avro.apache.org/docs/1.8.1/spec.html.
      * 
* * string schema = 1; - * * @return This builder for chaining. */ public Builder clearSchema() { @@ -546,31 +501,27 @@ public Builder clearSchema() { return this; } /** - * - * *
      * Json serialized schema, as described at
      * https://avro.apache.org/docs/1.8.1/spec.html.
      * 
* * string schema = 1; - * * @param value The bytes for schema to set. * @return This builder for chaining. */ - public Builder setSchemaBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSchemaBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); schema_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -580,12 +531,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(); } @@ -594,27 +545,27 @@ public static com.google.cloud.bigquery.storage.v1beta2.AvroSchema getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AvroSchema parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AvroSchema parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -629,4 +580,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 52% 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 7894ebceb5..a6cc9479cc 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,53 +1,32 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 // Protobuf Java Version: 3.25.2 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 66% 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 2cfc5206e5..cfc8b19324 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,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 @@ -20,65 +5,57 @@ package com.google.cloud.bigquery.storage.v1beta2; /** - * - * *
  * Request message for `BatchCommitWriteStreams`.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest} */ -public final class BatchCommitWriteStreamsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BatchCommitWriteStreamsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest) BatchCommitWriteStreamsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BatchCommitWriteStreamsRequest.newBuilder() to construct. - private BatchCommitWriteStreamsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private BatchCommitWriteStreamsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchCommitWriteStreamsRequest() { parent_ = ""; - writeStreams_ = com.google.protobuf.LazyStringArrayList.emptyList(); + writeStreams_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BatchCommitWriteStreamsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest.class, - com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest.class, com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. Parent table that all the streams should belong to, in the form
    * of `projects/{project}/datasets/{dataset}/tables/{table}`.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -87,30 +64,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 { @@ -119,47 +96,38 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int WRITE_STREAMS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList writeStreams_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Required. The group of streams that will be committed atomically.
    * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the writeStreams. */ - public com.google.protobuf.ProtocolStringList getWriteStreamsList() { + public com.google.protobuf.ProtocolStringList + getWriteStreamsList() { return writeStreams_; } /** - * - * *
    * Required. The group of streams that will be committed atomically.
    * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of writeStreams. */ public int getWriteStreamsCount() { return writeStreams_.size(); } /** - * - * *
    * Required. The group of streams that will be committed atomically.
    * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The writeStreams at the given index. */ @@ -167,23 +135,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; @@ -195,7 +160,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -230,17 +196,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest)) { + if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest other = - (com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest) obj; + com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest other = (com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getWriteStreamsList().equals(other.getWriteStreamsList())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getWriteStreamsList() + .equals(other.getWriteStreamsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -264,165 +230,155 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for `BatchCommitWriteStreams`.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest) com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest.class, - com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest.Builder - .class); + com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest.class, com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest.Builder.class); } - // Construct using - // com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; parent_ = ""; - writeStreams_ = com.google.protobuf.LazyStringArrayList.emptyList(); + writeStreams_ = + com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsRequest_descriptor; } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest - getDefaultInstanceForType() { - return com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest - .getDefaultInstance(); + public com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest getDefaultInstanceForType() { + return com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest build() { - com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest result = - buildPartial(); + com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -431,17 +387,13 @@ public com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest buildPartial() { - com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest result = - new com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest result = new com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest result) { + private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -456,52 +408,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest) { - return mergeFrom( - (com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest) other); + if (other instanceof com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest) { + return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest other) { - if (other - == com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest other) { + if (other == com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -543,26 +489,23 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureWriteStreamsIsMutable(); - writeStreams_.add(s); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureWriteStreamsIsMutable(); + writeStreams_.add(s); + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -572,26 +515,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Parent table that all the streams should belong to, in the form
      * of `projects/{project}/datasets/{dataset}/tables/{table}`.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -600,22 +540,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 { @@ -623,37 +562,30 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Parent table that all the streams should belong to, in the form
      * of `projects/{project}/datasets/{dataset}/tables/{table}`.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { @@ -663,22 +595,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Parent table that all the streams should belong to, in the form
      * of `projects/{project}/datasets/{dataset}/tables/{table}`.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -688,7 +616,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList writeStreams_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureWriteStreamsIsMutable() { if (!writeStreams_.isModifiable()) { writeStreams_ = new com.google.protobuf.LazyStringArrayList(writeStreams_); @@ -696,43 +623,35 @@ private void ensureWriteStreamsIsMutable() { bitField0_ |= 0x00000002; } /** - * - * *
      * Required. The group of streams that will be committed atomically.
      * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the writeStreams. */ - public com.google.protobuf.ProtocolStringList getWriteStreamsList() { + public com.google.protobuf.ProtocolStringList + getWriteStreamsList() { writeStreams_.makeImmutable(); return writeStreams_; } /** - * - * *
      * Required. The group of streams that will be committed atomically.
      * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of writeStreams. */ public int getWriteStreamsCount() { return writeStreams_.size(); } /** - * - * *
      * Required. The group of streams that will be committed atomically.
      * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The writeStreams at the given index. */ @@ -740,37 +659,31 @@ public java.lang.String getWriteStreams(int index) { return writeStreams_.get(index); } /** - * - * *
      * Required. The group of streams that will be committed atomically.
      * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the writeStreams at the given index. */ - public com.google.protobuf.ByteString getWriteStreamsBytes(int index) { + public com.google.protobuf.ByteString + getWriteStreamsBytes(int index) { return writeStreams_.getByteString(index); } /** - * - * *
      * Required. The group of streams that will be committed atomically.
      * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index to set the value at. * @param value The writeStreams to set. * @return This builder for chaining. */ - public Builder setWriteStreams(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setWriteStreams( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureWriteStreamsIsMutable(); writeStreams_.set(index, value); bitField0_ |= 0x00000002; @@ -778,21 +691,17 @@ public Builder setWriteStreams(int index, java.lang.String value) { return this; } /** - * - * *
      * Required. The group of streams that will be committed atomically.
      * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The writeStreams to add. * @return This builder for chaining. */ - public Builder addWriteStreams(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addWriteStreams( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureWriteStreamsIsMutable(); writeStreams_.add(value); bitField0_ |= 0x00000002; @@ -800,58 +709,50 @@ public Builder addWriteStreams(java.lang.String value) { return this; } /** - * - * *
      * Required. The group of streams that will be committed atomically.
      * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param values The writeStreams to add. * @return This builder for chaining. */ - public Builder addAllWriteStreams(java.lang.Iterable values) { + public Builder addAllWriteStreams( + java.lang.Iterable values) { ensureWriteStreamsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, writeStreams_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, writeStreams_); bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The group of streams that will be committed atomically.
      * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearWriteStreams() { - writeStreams_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; + writeStreams_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } /** - * - * *
      * Required. The group of streams that will be committed atomically.
      * 
* * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes of the writeStreams to add. * @return This builder for chaining. */ - public Builder addWriteStreamsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addWriteStreamsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureWriteStreamsIsMutable(); writeStreams_.add(value); @@ -859,9 +760,9 @@ public Builder addWriteStreamsBytes(com.google.protobuf.ByteString 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); } @@ -871,44 +772,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest) - private static final com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest(); + DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest(); } - public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchCommitWriteStreamsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchCommitWriteStreamsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -920,8 +818,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 6af214bc65..4e190bec9e 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,104 +1,73 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 // Protobuf Java Version: 3.25.2 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 73% 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 5f9aab0eed..428eea74ff 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,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 @@ -20,57 +5,49 @@ package com.google.cloud.bigquery.storage.v1beta2; /** - * - * *
  * Response message for `BatchCommitWriteStreams`.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse} */ -public final class BatchCommitWriteStreamsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BatchCommitWriteStreamsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse) BatchCommitWriteStreamsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BatchCommitWriteStreamsResponse.newBuilder() to construct. - private BatchCommitWriteStreamsResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private BatchCommitWriteStreamsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BatchCommitWriteStreamsResponse() { streamErrors_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BatchCommitWriteStreamsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsResponse_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_BatchCommitWriteStreamsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse.class, - com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse.Builder - .class); + com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse.class, com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse.Builder.class); } private int bitField0_; 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.
@@ -78,7 +55,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 @@ -86,8 +62,6 @@ public boolean hasCommitTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The time at which streams were committed in microseconds granularity.
    * This field will only exist when there are no stream errors.
@@ -95,7 +69,6 @@ public boolean hasCommitTime() {
    * 
* * .google.protobuf.Timestamp commit_time = 1; - * * @return The commitTime. */ @java.lang.Override @@ -103,8 +76,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.
@@ -119,12 +90,9 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() {
   }
 
   public static final int STREAM_ERRORS_FIELD_NUMBER = 2;
-
   @SuppressWarnings("serial")
   private java.util.List streamErrors_;
   /**
-   *
-   *
    * 
    * Stream level error if commit failed. Only streams with error will be in
    * the list.
@@ -136,13 +104,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.
@@ -154,13 +119,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.
@@ -176,8 +139,6 @@ public int getStreamErrorsCount() {
     return streamErrors_.size();
   }
   /**
-   *
-   *
    * 
    * Stream level error if commit failed. Only streams with error will be in
    * the list.
@@ -193,8 +154,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.
@@ -212,7 +171,6 @@ public com.google.cloud.bigquery.storage.v1beta2.StorageErrorOrBuilder getStream
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -224,7 +182,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 (((bitField0_ & 0x00000001) != 0)) {
       output.writeMessage(1, getCommitTime());
     }
@@ -241,10 +200,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCommitTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getCommitTime());
     }
     for (int i = 0; i < streamErrors_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, streamErrors_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, streamErrors_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -254,20 +215,20 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
-    if (!(obj
-        instanceof com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse)) {
+    if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse)) {
       return super.equals(obj);
     }
-    com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse other =
-        (com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse) obj;
+    com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse other = (com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse) obj;
 
     if (hasCommitTime() != other.hasCommitTime()) return false;
     if (hasCommitTime()) {
-      if (!getCommitTime().equals(other.getCommitTime())) return false;
+      if (!getCommitTime()
+          .equals(other.getCommitTime())) return false;
     }
-    if (!getStreamErrorsList().equals(other.getStreamErrorsList())) return false;
+    if (!getStreamErrorsList()
+        .equals(other.getStreamErrorsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -293,149 +254,138 @@ 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) { getCommitTimeFieldBuilder(); getStreamErrorsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -456,22 +406,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); } @@ -479,20 +426,15 @@ public com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse } @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse - buildPartial() { - com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse result = - new com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse(this); + public com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse buildPartial() { + com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse result = new com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse result) { if (streamErrorsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { streamErrors_ = java.util.Collections.unmodifiableList(streamErrors_); @@ -504,12 +446,13 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse result) { + private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.commitTime_ = commitTimeBuilder_ == null ? commitTime_ : commitTimeBuilder_.build(); + result.commitTime_ = commitTimeBuilder_ == null + ? commitTime_ + : commitTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -519,52 +462,46 @@ private void buildPartial0( 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()); } @@ -586,10 +523,9 @@ public Builder mergeFrom( streamErrorsBuilder_ = null; streamErrors_ = other.streamErrors_; bitField0_ = (bitField0_ & ~0x00000002); - streamErrorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getStreamErrorsFieldBuilder() - : null; + streamErrorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getStreamErrorsFieldBuilder() : null; } else { streamErrorsBuilder_.addAllMessages(other.streamErrors_); } @@ -621,33 +557,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getCommitTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - com.google.cloud.bigquery.storage.v1beta2.StorageError m = - input.readMessage( - com.google.cloud.bigquery.storage.v1beta2.StorageError.parser(), - extensionRegistry); - if (streamErrorsBuilder_ == null) { - ensureStreamErrorsIsMutable(); - streamErrors_.add(m); - } else { - streamErrorsBuilder_.addMessage(m); - } - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getCommitTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + com.google.cloud.bigquery.storage.v1beta2.StorageError m = + input.readMessage( + com.google.cloud.bigquery.storage.v1beta2.StorageError.parser(), + extensionRegistry); + if (streamErrorsBuilder_ == null) { + ensureStreamErrorsIsMutable(); + streamErrors_.add(m); + } else { + streamErrorsBuilder_.addMessage(m); + } + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -657,18 +592,12 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.Timestamp commitTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - commitTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> commitTimeBuilder_; /** - * - * *
      * The time at which streams were committed in microseconds granularity.
      * This field will only exist when there are no stream errors.
@@ -676,15 +605,12 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.Timestamp commit_time = 1; - * * @return Whether the commitTime field is set. */ public boolean hasCommitTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The time at which streams were committed in microseconds granularity.
      * This field will only exist when there are no stream errors.
@@ -692,21 +618,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.
@@ -729,8 +650,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.
@@ -739,7 +658,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();
       } else {
@@ -750,8 +670,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.
@@ -762,9 +680,9 @@ public Builder setCommitTime(com.google.protobuf.Timestamp.Builder builderForVal
      */
     public Builder mergeCommitTime(com.google.protobuf.Timestamp value) {
       if (commitTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && commitTime_ != null
-            && commitTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          commitTime_ != null &&
+          commitTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getCommitTimeBuilder().mergeFrom(value);
         } else {
           commitTime_ = value;
@@ -779,8 +697,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.
@@ -800,8 +716,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.
@@ -816,8 +730,6 @@ public com.google.protobuf.Timestamp.Builder getCommitTimeBuilder() {
       return getCommitTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time at which streams were committed in microseconds granularity.
      * This field will only exist when there are no stream errors.
@@ -830,14 +742,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.
@@ -847,43 +756,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_ & 0x00000002) != 0)) {
-        streamErrors_ =
-            new java.util.ArrayList(
-                streamErrors_);
+        streamErrors_ = new java.util.ArrayList(streamErrors_);
         bitField0_ |= 0x00000002;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.bigquery.storage.v1beta2.StorageError,
-            com.google.cloud.bigquery.storage.v1beta2.StorageError.Builder,
-            com.google.cloud.bigquery.storage.v1beta2.StorageErrorOrBuilder>
-        streamErrorsBuilder_;
+        com.google.cloud.bigquery.storage.v1beta2.StorageError, com.google.cloud.bigquery.storage.v1beta2.StorageError.Builder, com.google.cloud.bigquery.storage.v1beta2.StorageErrorOrBuilder> streamErrorsBuilder_;
 
     /**
-     *
-     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -894,8 +792,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 {
@@ -903,8 +800,6 @@ private void ensureStreamErrorsIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -923,8 +818,6 @@ public int getStreamErrorsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -943,8 +836,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.
@@ -970,8 +861,6 @@ public Builder setStreamErrors(
       return this;
     }
     /**
-     *
-     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -994,8 +883,6 @@ public Builder setStreamErrors(
       return this;
     }
     /**
-     *
-     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -1020,8 +907,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.
@@ -1047,8 +932,6 @@ public Builder addStreamErrors(
       return this;
     }
     /**
-     *
-     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -1071,8 +954,6 @@ public Builder addStreamErrors(
       return this;
     }
     /**
-     *
-     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -1095,8 +976,6 @@ public Builder addStreamErrors(
       return this;
     }
     /**
-     *
-     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -1108,11 +987,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);
@@ -1120,8 +999,6 @@ public Builder addAllStreamErrors(
       return this;
     }
     /**
-     *
-     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -1143,8 +1020,6 @@ public Builder clearStreamErrors() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -1166,8 +1041,6 @@ public Builder removeStreamErrors(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Stream level error if commit failed. Only streams with error will be in
      * the list.
@@ -1183,8 +1056,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.
@@ -1198,14 +1069,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.
@@ -1216,8 +1084,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 {
@@ -1225,8 +1093,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.
@@ -1238,12 +1104,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.
@@ -1256,13 +1120,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.
@@ -1273,30 +1134,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_ & 0x00000002) != 0), getParentForChildren(), isClean());
+        streamErrorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.bigquery.storage.v1beta2.StorageError, com.google.cloud.bigquery.storage.v1beta2.StorageError.Builder, com.google.cloud.bigquery.storage.v1beta2.StorageErrorOrBuilder>(
+                streamErrors_,
+                ((bitField0_ & 0x00000002) != 0),
+                getParentForChildren(),
+                isClean());
         streamErrors_ = null;
       }
       return streamErrorsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1306,44 +1164,41 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse)
-  private static final com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse
-      DEFAULT_INSTANCE;
-
+  private static final com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse DEFAULT_INSTANCE;
   static {
-    DEFAULT_INSTANCE =
-        new com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse();
+    DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse();
   }
 
-  public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse
-      getDefaultInstance() {
+  public static com.google.cloud.bigquery.storage.v1beta2.BatchCommitWriteStreamsResponse getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public BatchCommitWriteStreamsResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public BatchCommitWriteStreamsResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1355,8 +1210,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 f64a9c7560..f3f199d855 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,32 +1,14 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for 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
 
 // Protobuf Java Version: 3.25.2
 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.
@@ -34,13 +16,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.
@@ -48,13 +27,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.
@@ -66,8 +42,6 @@ public interface BatchCommitWriteStreamsResponseOrBuilder
   com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Stream level error if commit failed. Only streams with error will be in
    * the list.
@@ -78,10 +52,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.
@@ -94,8 +67,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.
@@ -108,8 +79,6 @@ public interface BatchCommitWriteStreamsResponseOrBuilder
    */
   int getStreamErrorsCount();
   /**
-   *
-   *
    * 
    * Stream level error if commit failed. Only streams with error will be in
    * the list.
@@ -120,11 +89,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 62%
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 6cac32c8a0..3a1af1c86a 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,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for 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
 
@@ -20,66 +5,56 @@
 package com.google.cloud.bigquery.storage.v1beta2;
 
 /**
- *
- *
  * 
  * Request message for `CreateReadSession`.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest} */ -public final class CreateReadSessionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateReadSessionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest) CreateReadSessionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateReadSessionRequest.newBuilder() to construct. private CreateReadSessionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateReadSessionRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateReadSessionRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_CreateReadSessionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_CreateReadSessionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_CreateReadSessionRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_CreateReadSessionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest.class, - com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest.class, com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest.Builder.class); } private int bitField0_; public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The request project that owns the session, in the form of
    * `projects/{project_id}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -88,32 +63,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 { @@ -124,16 +97,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 @@ -141,47 +109,32 @@ public boolean hasReadSession() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Required. Session to be created.
    * 
* - * - * .google.cloud.bigquery.storage.v1beta2.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.storage.v1beta2.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The readSession. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.ReadSession getReadSession() { - return readSession_ == null - ? com.google.cloud.bigquery.storage.v1beta2.ReadSession.getDefaultInstance() - : readSession_; + return readSession_ == null ? com.google.cloud.bigquery.storage.v1beta2.ReadSession.getDefaultInstance() : readSession_; } /** - * - * *
    * Required. Session to be created.
    * 
* - * - * .google.cloud.bigquery.storage.v1beta2.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.storage.v1beta2.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.ReadSessionOrBuilder getReadSessionOrBuilder() { - return readSession_ == null - ? com.google.cloud.bigquery.storage.v1beta2.ReadSession.getDefaultInstance() - : readSession_; + return readSession_ == null ? com.google.cloud.bigquery.storage.v1beta2.ReadSession.getDefaultInstance() : readSession_; } public static final int MAX_STREAM_COUNT_FIELD_NUMBER = 3; private int maxStreamCount_ = 0; /** - * - * *
    * Max initial number of streams. If unset or zero, the server will
    * provide a value of streams so as to produce reasonable throughput. Must be
@@ -194,7 +147,6 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadSessionOrBuilder getReadSes
    * 
* * int32 max_stream_count = 3; - * * @return The maxStreamCount. */ @java.lang.Override @@ -203,7 +155,6 @@ public int getMaxStreamCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -215,7 +166,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -238,10 +190,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getReadSession()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getReadSession()); } if (maxStreamCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, maxStreamCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, maxStreamCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -251,20 +205,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -290,147 +246,137 @@ 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) { getReadSessionFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -446,16 +392,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 @@ -469,25 +413,22 @@ public com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest build( @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest buildPartial() { - com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest result = - new com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest result = new com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest result) { + private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.readSession_ = - readSessionBuilder_ == null ? readSession_ : readSessionBuilder_.build(); + result.readSession_ = readSessionBuilder_ == null + ? readSession_ + : readSessionBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { @@ -500,51 +441,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest) { - return mergeFrom( - (com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest) other); + return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest other) { - if (other - == com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest other) { + if (other == com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -582,31 +518,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getReadSessionFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - maxStreamCount_ = input.readInt32(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getReadSessionFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + maxStreamCount_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -616,28 +550,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The request project that owns the session, in the form of
      * `projects/{project_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -646,24 +575,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 { @@ -671,41 +597,30 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The request project that owns the session, in the form of
      * `projects/{project_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -715,24 +630,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The request project that owns the session, in the form of
      * `projects/{project_id}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -742,58 +651,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 ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. Session to be created.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta2.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.storage.v1beta2.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The readSession. */ public com.google.cloud.bigquery.storage.v1beta2.ReadSession getReadSession() { if (readSessionBuilder_ == null) { - return readSession_ == null - ? com.google.cloud.bigquery.storage.v1beta2.ReadSession.getDefaultInstance() - : readSession_; + return readSession_ == null ? com.google.cloud.bigquery.storage.v1beta2.ReadSession.getDefaultInstance() : readSession_; } else { return readSessionBuilder_.getMessage(); } } /** - * - * *
      * Required. Session to be created.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta2.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.storage.v1beta2.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setReadSession(com.google.cloud.bigquery.storage.v1beta2.ReadSession value) { if (readSessionBuilder_ == null) { @@ -809,15 +699,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) { @@ -831,22 +717,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 (((bitField0_ & 0x00000002) != 0) - && readSession_ != null - && readSession_ - != com.google.cloud.bigquery.storage.v1beta2.ReadSession.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + readSession_ != null && + readSession_ != com.google.cloud.bigquery.storage.v1beta2.ReadSession.getDefaultInstance()) { getReadSessionBuilder().mergeFrom(value); } else { readSession_ = value; @@ -861,15 +742,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() { bitField0_ = (bitField0_ & ~0x00000002); @@ -882,15 +759,11 @@ public Builder clearReadSession() { return this; } /** - * - * *
      * Required. Session to be created.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta2.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.storage.v1beta2.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.bigquery.storage.v1beta2.ReadSession.Builder getReadSessionBuilder() { bitField0_ |= 0x00000002; @@ -898,58 +771,43 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadSession.Builder getReadSess return getReadSessionFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Session to be created.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta2.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.storage.v1beta2.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.bigquery.storage.v1beta2.ReadSessionOrBuilder - getReadSessionOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta2.ReadSessionOrBuilder getReadSessionOrBuilder() { if (readSessionBuilder_ != null) { return readSessionBuilder_.getMessageOrBuilder(); } else { - return readSession_ == null - ? com.google.cloud.bigquery.storage.v1beta2.ReadSession.getDefaultInstance() - : readSession_; + return readSession_ == null ? + com.google.cloud.bigquery.storage.v1beta2.ReadSession.getDefaultInstance() : readSession_; } } /** - * - * *
      * Required. Session to be created.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta2.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.storage.v1beta2.ReadSession read_session = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.ReadSession, - com.google.cloud.bigquery.storage.v1beta2.ReadSession.Builder, - com.google.cloud.bigquery.storage.v1beta2.ReadSessionOrBuilder> + com.google.cloud.bigquery.storage.v1beta2.ReadSession, com.google.cloud.bigquery.storage.v1beta2.ReadSession.Builder, com.google.cloud.bigquery.storage.v1beta2.ReadSessionOrBuilder> getReadSessionFieldBuilder() { if (readSessionBuilder_ == null) { - readSessionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.ReadSession, - com.google.cloud.bigquery.storage.v1beta2.ReadSession.Builder, - com.google.cloud.bigquery.storage.v1beta2.ReadSessionOrBuilder>( - getReadSession(), getParentForChildren(), isClean()); + readSessionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta2.ReadSession, com.google.cloud.bigquery.storage.v1beta2.ReadSession.Builder, com.google.cloud.bigquery.storage.v1beta2.ReadSessionOrBuilder>( + getReadSession(), + getParentForChildren(), + isClean()); readSession_ = null; } return readSessionBuilder_; } - private int maxStreamCount_; + private int maxStreamCount_ ; /** - * - * *
      * Max initial number of streams. If unset or zero, the server will
      * provide a value of streams so as to produce reasonable throughput. Must be
@@ -962,7 +820,6 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadSession.Builder getReadSess
      * 
* * int32 max_stream_count = 3; - * * @return The maxStreamCount. */ @java.lang.Override @@ -970,8 +827,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
@@ -984,7 +839,6 @@ public int getMaxStreamCount() {
      * 
* * int32 max_stream_count = 3; - * * @param value The maxStreamCount to set. * @return This builder for chaining. */ @@ -996,8 +850,6 @@ public Builder setMaxStreamCount(int value) { return this; } /** - * - * *
      * Max initial number of streams. If unset or zero, the server will
      * provide a value of streams so as to produce reasonable throughput. Must be
@@ -1010,7 +862,6 @@ public Builder setMaxStreamCount(int value) {
      * 
* * int32 max_stream_count = 3; - * * @return This builder for chaining. */ public Builder clearMaxStreamCount() { @@ -1019,9 +870,9 @@ public Builder clearMaxStreamCount() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1031,43 +882,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest) - private static final com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest(); } - public static com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta2.CreateReadSessionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateReadSessionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateReadSessionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1079,8 +928,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 d6d2c88d68..e07887538c 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,104 +1,63 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 // Protobuf Java Version: 3.25.2 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
@@ -111,7 +70,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 59% 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 abf82446c5..8723135689 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,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 @@ -20,66 +5,56 @@ package com.google.cloud.bigquery.storage.v1beta2; /** - * - * *
  * Request message for `CreateWriteStream`.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest} */ -public final class CreateWriteStreamRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateWriteStreamRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest) CreateWriteStreamRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateWriteStreamRequest.newBuilder() to construct. private CreateWriteStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateWriteStreamRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateWriteStreamRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_CreateWriteStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_CreateWriteStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_CreateWriteStreamRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_CreateWriteStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest.class, - com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest.class, com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest.Builder.class); } private int bitField0_; public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. Reference to the table to which the stream belongs, in the format
    * of `projects/{project}/datasets/{dataset}/tables/{table}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -88,32 +63,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 { @@ -124,16 +97,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 @@ -141,44 +109,30 @@ public boolean hasWriteStream() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Required. Stream to be created.
    * 
* - * - * .google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The writeStream. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.WriteStream getWriteStream() { - return writeStream_ == null - ? com.google.cloud.bigquery.storage.v1beta2.WriteStream.getDefaultInstance() - : writeStream_; + return writeStream_ == null ? com.google.cloud.bigquery.storage.v1beta2.WriteStream.getDefaultInstance() : writeStream_; } /** - * - * *
    * Required. Stream to be created.
    * 
* - * - * .google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.WriteStreamOrBuilder getWriteStreamOrBuilder() { - return writeStream_ == null - ? com.google.cloud.bigquery.storage.v1beta2.WriteStream.getDefaultInstance() - : writeStream_; + return writeStream_ == null ? com.google.cloud.bigquery.storage.v1beta2.WriteStream.getDefaultInstance() : writeStream_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -190,7 +144,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -210,7 +165,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getWriteStream()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getWriteStream()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -220,18 +176,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -256,147 +213,137 @@ 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) { getWriteStreamFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -411,16 +358,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 @@ -434,25 +379,22 @@ public com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest build( @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest buildPartial() { - com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest result = - new com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest result = new com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest result) { + private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.writeStream_ = - writeStreamBuilder_ == null ? writeStream_ : writeStreamBuilder_.build(); + result.writeStream_ = writeStreamBuilder_ == null + ? writeStream_ + : writeStreamBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -462,51 +404,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest) { - return mergeFrom( - (com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest) other); + return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest other) { - if (other - == com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest other) { + if (other == com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -541,25 +478,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getWriteStreamFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getWriteStreamFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -569,28 +505,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Reference to the table to which the stream belongs, in the format
      * of `projects/{project}/datasets/{dataset}/tables/{table}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -599,24 +530,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 { @@ -624,41 +552,30 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Reference to the table to which the stream belongs, in the format
      * of `projects/{project}/datasets/{dataset}/tables/{table}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -668,24 +585,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Reference to the table to which the stream belongs, in the format
      * of `projects/{project}/datasets/{dataset}/tables/{table}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -695,58 +606,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 ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. Stream to be created.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The writeStream. */ public com.google.cloud.bigquery.storage.v1beta2.WriteStream getWriteStream() { if (writeStreamBuilder_ == null) { - return writeStream_ == null - ? com.google.cloud.bigquery.storage.v1beta2.WriteStream.getDefaultInstance() - : writeStream_; + return writeStream_ == null ? com.google.cloud.bigquery.storage.v1beta2.WriteStream.getDefaultInstance() : writeStream_; } else { return writeStreamBuilder_.getMessage(); } } /** - * - * *
      * Required. Stream to be created.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setWriteStream(com.google.cloud.bigquery.storage.v1beta2.WriteStream value) { if (writeStreamBuilder_ == null) { @@ -762,15 +654,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) { @@ -784,22 +672,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 (((bitField0_ & 0x00000002) != 0) - && writeStream_ != null - && writeStream_ - != com.google.cloud.bigquery.storage.v1beta2.WriteStream.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + writeStream_ != null && + writeStream_ != com.google.cloud.bigquery.storage.v1beta2.WriteStream.getDefaultInstance()) { getWriteStreamBuilder().mergeFrom(value); } else { writeStream_ = value; @@ -814,15 +697,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() { bitField0_ = (bitField0_ & ~0x00000002); @@ -835,15 +714,11 @@ public Builder clearWriteStream() { return this; } /** - * - * *
      * Required. Stream to be created.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.bigquery.storage.v1beta2.WriteStream.Builder getWriteStreamBuilder() { bitField0_ |= 0x00000002; @@ -851,56 +726,43 @@ public com.google.cloud.bigquery.storage.v1beta2.WriteStream.Builder getWriteStr return getWriteStreamFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Stream to be created.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.bigquery.storage.v1beta2.WriteStreamOrBuilder - getWriteStreamOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta2.WriteStreamOrBuilder getWriteStreamOrBuilder() { if (writeStreamBuilder_ != null) { return writeStreamBuilder_.getMessageOrBuilder(); } else { - return writeStream_ == null - ? com.google.cloud.bigquery.storage.v1beta2.WriteStream.getDefaultInstance() - : writeStream_; + return writeStream_ == null ? + com.google.cloud.bigquery.storage.v1beta2.WriteStream.getDefaultInstance() : writeStream_; } } /** - * - * *
      * Required. Stream to be created.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.bigquery.storage.v1beta2.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.WriteStream, - com.google.cloud.bigquery.storage.v1beta2.WriteStream.Builder, - com.google.cloud.bigquery.storage.v1beta2.WriteStreamOrBuilder> + com.google.cloud.bigquery.storage.v1beta2.WriteStream, com.google.cloud.bigquery.storage.v1beta2.WriteStream.Builder, com.google.cloud.bigquery.storage.v1beta2.WriteStreamOrBuilder> getWriteStreamFieldBuilder() { if (writeStreamBuilder_ == null) { - writeStreamBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.WriteStream, - com.google.cloud.bigquery.storage.v1beta2.WriteStream.Builder, - com.google.cloud.bigquery.storage.v1beta2.WriteStreamOrBuilder>( - getWriteStream(), getParentForChildren(), isClean()); + writeStreamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta2.WriteStream, com.google.cloud.bigquery.storage.v1beta2.WriteStream.Builder, com.google.cloud.bigquery.storage.v1beta2.WriteStreamOrBuilder>( + getWriteStream(), + getParentForChildren(), + isClean()); writeStream_ = null; } return writeStreamBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -910,43 +772,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest) - private static final com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest(); } - public static com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta2.CreateWriteStreamRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateWriteStreamRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateWriteStreamRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -958,8 +818,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..8b02bddfbe --- /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,59 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1beta2/storage.proto + +// Protobuf Java Version: 3.25.2 +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 a403d0d2a4..9a69b6316e 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,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 @@ -20,20 +5,19 @@ 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.
@@ -43,8 +27,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.
@@ -56,11 +38,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.
@@ -70,8 +52,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.
@@ -81,6 +61,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(
@@ -105,51 +86,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;
@@ -165,3 +144,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 60%
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 f9f348cc19..831bb2e348 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,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for 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
 
@@ -20,65 +5,55 @@
 package com.google.cloud.bigquery.storage.v1beta2;
 
 /**
- *
- *
  * 
  * Request message for invoking `FinalizeWriteStream`.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest} */ -public final class FinalizeWriteStreamRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FinalizeWriteStreamRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest) FinalizeWriteStreamRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FinalizeWriteStreamRequest.newBuilder() to construct. private FinalizeWriteStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FinalizeWriteStreamRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FinalizeWriteStreamRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest.class, - com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest.class, com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. Name of the stream to finalize, in the form of
    * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -87,32 +62,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 { @@ -121,7 +94,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -133,7 +105,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -157,15 +130,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest other = - (com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest) obj; + com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest other = (com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -185,138 +158,131 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for invoking `FinalizeWriteStream`.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest) com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest.class, - com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest.class, com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest.Builder.class); } - // Construct using - // com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -326,16 +292,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 @@ -349,17 +313,13 @@ public com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest buil @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest buildPartial() { - com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest result = - new com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest result = new com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest result) { + private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -370,51 +330,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest) { - return mergeFrom( - (com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest) other); + return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest other) { - if (other - == com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest other) { + if (other == com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -446,19 +401,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -468,28 +421,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. Name of the stream to finalize, in the form of
      * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -498,24 +446,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 { @@ -523,41 +468,30 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Name of the stream to finalize, in the form of
      * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -567,33 +501,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. Name of the stream to finalize, in the form of
      * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -603,43 +531,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest) - private static final com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest(); } - public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FinalizeWriteStreamRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FinalizeWriteStreamRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -651,8 +577,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..2311a36570 --- /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,32 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1beta2/storage.proto + +// Protobuf Java Version: 3.25.2 +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 60% 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 52fa03db92..8cb6b0ff9d 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,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 @@ -20,58 +5,52 @@ package com.google.cloud.bigquery.storage.v1beta2; /** - * - * *
  * Response message for `FinalizeWriteStream`.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse} */ -public final class FinalizeWriteStreamResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FinalizeWriteStreamResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse) FinalizeWriteStreamResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FinalizeWriteStreamResponse.newBuilder() to construct. private FinalizeWriteStreamResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private FinalizeWriteStreamResponse() {} + private FinalizeWriteStreamResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FinalizeWriteStreamResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamResponse_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse.class, - com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse.class, com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse.Builder.class); } public static final int ROW_COUNT_FIELD_NUMBER = 1; private long rowCount_ = 0L; /** - * - * *
    * Number of rows in the finalized stream.
    * 
* * int64 row_count = 1; - * * @return The rowCount. */ @java.lang.Override @@ -80,7 +59,6 @@ public long getRowCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -92,7 +70,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_); } @@ -106,7 +85,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -116,15 +96,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse other = - (com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse) obj; + com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse other = (com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse) obj; - if (getRowCount() != other.getRowCount()) return false; + if (getRowCount() + != other.getRowCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -137,145 +117,139 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ROW_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRowCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getRowCount()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for `FinalizeWriteStream`.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse) com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamResponse_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_FinalizeWriteStreamResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse.class, - com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse.class, com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse.Builder.class); } - // Construct using - // com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse.newBuilder() - private Builder() {} + // Construct using com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -285,16 +259,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 @@ -308,17 +280,13 @@ public com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse bui @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse buildPartial() { - com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse result = - new com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse result = new com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse result) { + private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.rowCount_ = rowCount_; @@ -329,51 +297,46 @@ private void buildPartial0( 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()); } @@ -403,19 +366,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - rowCount_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + rowCount_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -425,19 +386,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private long rowCount_; + private long rowCount_ ; /** - * - * *
      * Number of rows in the finalized stream.
      * 
* * int64 row_count = 1; - * * @return The rowCount. */ @java.lang.Override @@ -445,14 +402,11 @@ 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. */ @@ -464,14 +418,11 @@ public Builder setRowCount(long value) { return this; } /** - * - * *
      * Number of rows in the finalized stream.
      * 
* * int64 row_count = 1; - * * @return This builder for chaining. */ public Builder clearRowCount() { @@ -480,9 +431,9 @@ public Builder clearRowCount() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -492,43 +443,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse) - private static final com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse(); } - public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse - getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta2.FinalizeWriteStreamResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FinalizeWriteStreamResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FinalizeWriteStreamResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -540,8 +489,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..3cf81262f6 --- /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,20 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1beta2/storage.proto + +// Protobuf Java Version: 3.25.2 +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 1b3f9fd594..d1fa1906cd 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,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 @@ -20,65 +5,55 @@ package com.google.cloud.bigquery.storage.v1beta2; /** - * - * *
  * Request message for `FlushRows`.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.FlushRowsRequest} */ -public final class FlushRowsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FlushRowsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.FlushRowsRequest) FlushRowsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FlushRowsRequest.newBuilder() to construct. private FlushRowsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FlushRowsRequest() { writeStream_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FlushRowsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_FlushRowsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_FlushRowsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_FlushRowsRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_FlushRowsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest.class, - com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest.class, com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest.Builder.class); } private int bitField0_; public static final int WRITE_STREAM_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object writeStream_ = ""; /** - * - * *
    * Required. The stream that is the target of the flush operation.
    * 
* - * - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The writeStream. */ @java.lang.Override @@ -87,31 +62,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 { @@ -122,15 +95,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 @@ -138,15 +108,12 @@ public boolean hasOffset() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Ending offset of the flush operation. Rows before this offset(including
    * this offset) will be flushed.
    * 
* * .google.protobuf.Int64Value offset = 2; - * * @return The offset. */ @java.lang.Override @@ -154,8 +121,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.
@@ -169,7 +134,6 @@ public com.google.protobuf.Int64ValueOrBuilder getOffsetOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -181,7 +145,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(writeStream_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, writeStream_);
     }
@@ -201,7 +166,8 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, writeStream_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getOffset());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getOffset());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -211,18 +177,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 (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -247,127 +214,119 @@ 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() @@ -375,17 +334,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) { getOffsetFieldBuilder(); } } - @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.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 @@ -421,11 +380,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest result = new com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -437,7 +393,9 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.FlushRowsRe } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.offset_ = offsetBuilder_ == null ? offset_ : offsetBuilder_.build(); + result.offset_ = offsetBuilder_ == null + ? offset_ + : offsetBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -447,39 +405,38 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.FlushRowsRe public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest) other); + return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest)other); } else { super.mergeFrom(other); return this; @@ -487,8 +444,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_; bitField0_ |= 0x00000001; @@ -523,25 +479,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - writeStream_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getOffsetFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + writeStream_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getOffsetFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -551,27 +506,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object writeStream_ = ""; /** - * - * *
      * Required. The stream that is the target of the flush operation.
      * 
* - * - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The writeStream. */ public java.lang.String getWriteStream() { java.lang.Object ref = writeStream_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); writeStream_ = s; return s; @@ -580,23 +530,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 { @@ -604,39 +551,28 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setWriteStream( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } writeStream_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The stream that is the target of the flush operation.
      * 
* - * - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearWriteStream() { @@ -646,23 +582,17 @@ public Builder clearWriteStream() { return this; } /** - * - * *
      * Required. The stream that is the target of the flush operation.
      * 
* - * - * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string write_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for writeStream to set. * @return This builder for chaining. */ - public Builder setWriteStreamBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setWriteStreamBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); writeStream_ = value; bitField0_ |= 0x00000001; @@ -672,35 +602,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 ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Ending offset of the flush operation. Rows before this offset(including
      * this offset) will be flushed.
      * 
* * .google.protobuf.Int64Value offset = 2; - * * @return The offset. */ public com.google.protobuf.Int64Value getOffset() { @@ -711,8 +632,6 @@ public com.google.protobuf.Int64Value getOffset() { } } /** - * - * *
      * Ending offset of the flush operation. Rows before this offset(including
      * this offset) will be flushed.
@@ -734,8 +653,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.
@@ -743,7 +660,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();
       } else {
@@ -754,8 +672,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.
@@ -765,9 +681,9 @@ public Builder setOffset(com.google.protobuf.Int64Value.Builder builderForValue)
      */
     public Builder mergeOffset(com.google.protobuf.Int64Value value) {
       if (offsetBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && offset_ != null
-            && offset_ != com.google.protobuf.Int64Value.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          offset_ != null &&
+          offset_ != com.google.protobuf.Int64Value.getDefaultInstance()) {
           getOffsetBuilder().mergeFrom(value);
         } else {
           offset_ = value;
@@ -782,8 +698,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.
@@ -802,8 +716,6 @@ public Builder clearOffset() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Ending offset of the flush operation. Rows before this offset(including
      * this offset) will be flushed.
@@ -817,8 +729,6 @@ public com.google.protobuf.Int64Value.Builder getOffsetBuilder() {
       return getOffsetFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Ending offset of the flush operation. Rows before this offset(including
      * this offset) will be flushed.
@@ -830,12 +740,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.
@@ -844,24 +753,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);
     }
 
@@ -871,12 +777,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();
   }
@@ -885,27 +791,27 @@ public static com.google.cloud.bigquery.storage.v1beta2.FlushRowsRequest getDefa
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public FlushRowsRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public FlushRowsRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -920,4 +826,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 59%
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 ec1e6d6a8c..157ea7118d 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,87 +1,54 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for 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
 
 // Protobuf Java Version: 3.25.2
 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 65%
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 a120d1f526..be88dbb499 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,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for 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
 
@@ -20,58 +5,52 @@
 package com.google.cloud.bigquery.storage.v1beta2;
 
 /**
- *
- *
  * 
  * Respond message for `FlushRows`.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.FlushRowsResponse} */ -public final class FlushRowsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FlushRowsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.FlushRowsResponse) FlushRowsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FlushRowsResponse.newBuilder() to construct. private FlushRowsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private FlushRowsResponse() {} + private FlushRowsResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FlushRowsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_FlushRowsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_FlushRowsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_FlushRowsResponse_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_FlushRowsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse.class, - com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse.class, com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse.Builder.class); } public static final int OFFSET_FIELD_NUMBER = 1; private long offset_ = 0L; /** - * - * *
    * The rows before this offset (including this offset) are flushed.
    * 
* * int64 offset = 1; - * * @return The offset. */ @java.lang.Override @@ -80,7 +59,6 @@ public long getOffset() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -92,7 +70,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_); } @@ -106,7 +85,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -116,15 +96,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse other = - (com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse) obj; + com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse other = (com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse) obj; - if (getOffset() != other.getOffset()) return false; + if (getOffset() + != other.getOffset()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -137,143 +117,139 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + OFFSET_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getOffset()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getOffset()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Respond message for `FlushRows`.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.FlushRowsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta2.FlushRowsResponse) com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_FlushRowsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_FlushRowsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_FlushRowsResponse_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_FlushRowsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse.class, - com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse.class, com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -283,9 +259,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 @@ -304,11 +280,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse result = new com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -324,39 +297,38 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.FlushRowsRe public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse) other); + return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse)other); } else { super.mergeFrom(other); return this; @@ -364,8 +336,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()); } @@ -395,19 +366,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - offset_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + offset_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -417,19 +386,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private long offset_; + private long offset_ ; /** - * - * *
      * The rows before this offset (including this offset) are flushed.
      * 
* * int64 offset = 1; - * * @return The offset. */ @java.lang.Override @@ -437,14 +402,11 @@ 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. */ @@ -456,14 +418,11 @@ public Builder setOffset(long value) { return this; } /** - * - * *
      * The rows before this offset (including this offset) are flushed.
      * 
* * int64 offset = 1; - * * @return This builder for chaining. */ public Builder clearOffset() { @@ -472,9 +431,9 @@ public Builder clearOffset() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -484,12 +443,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(); } @@ -498,27 +457,27 @@ public static com.google.cloud.bigquery.storage.v1beta2.FlushRowsResponse getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FlushRowsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FlushRowsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -533,4 +492,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..275a2955c8 --- /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,20 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1beta2/storage.proto + +// Protobuf Java Version: 3.25.2 +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 61% 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 2819ef1f48..4895e5ef2a 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,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 @@ -20,65 +5,55 @@ package com.google.cloud.bigquery.storage.v1beta2; /** - * - * *
  * Request message for `GetWriteStreamRequest`.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest} */ -public final class GetWriteStreamRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetWriteStreamRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest) GetWriteStreamRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetWriteStreamRequest.newBuilder() to construct. private GetWriteStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetWriteStreamRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetWriteStreamRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_GetWriteStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_GetWriteStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_GetWriteStreamRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_GetWriteStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest.class, - com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest.class, com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. Name of the stream to get, in the form of
    * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -87,32 +62,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 { @@ -121,7 +94,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -133,7 +105,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -157,15 +130,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest other = - (com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest) obj; + com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest other = (com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -185,136 +158,131 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for `GetWriteStreamRequest`.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest) com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_GetWriteStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_GetWriteStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_GetWriteStreamRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_GetWriteStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest.class, - com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest.class, com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -324,14 +292,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(); } @@ -346,17 +313,13 @@ public com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest buildPartial() { - com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest result = - new com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest result = new com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest result) { + private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -367,50 +330,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest) other); + return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest other) { - if (other - == com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest other) { + if (other == com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -442,19 +401,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -464,28 +421,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. Name of the stream to get, in the form of
      * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -494,24 +446,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 { @@ -519,41 +468,30 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Name of the stream to get, in the form of
      * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -563,33 +501,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. Name of the stream to get, in the form of
      * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -599,43 +531,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest) - private static final com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest(); } - public static com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta2.GetWriteStreamRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetWriteStreamRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetWriteStreamRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -647,8 +577,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..7b849298d3 --- /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,32 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1beta2/storage.proto + +// Protobuf Java Version: 3.25.2 +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 99% 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 index 3e5d15646e..cda650f1bb 100644 --- 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 @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. 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..efef8d6a81 --- /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,69 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1beta2/protobuf.proto + +// Protobuf Java Version: 3.25.2 +package com.google.cloud.bigquery.storage.v1beta2; + +public final class ProtoBufProto { + private ProtoBufProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1beta2_ProtoSchema_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1beta2_ProtoSchema_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_bigquery_storage_v1beta2_ProtoRows_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_bigquery_storage_v1beta2_ProtoRows_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n4google/cloud/bigquery/storage/v1beta2/" + + "protobuf.proto\022%google.cloud.bigquery.st" + + "orage.v1beta2\032 google/protobuf/descripto" + + "r.proto\"I\n\013ProtoSchema\022:\n\020proto_descript" + + "or\030\001 \001(\0132 .google.protobuf.DescriptorPro" + + "to\"$\n\tProtoRows\022\027\n\017serialized_rows\030\001 \003(\014" + + "B\201\001\n)com.google.cloud.bigquery.storage.v" + + "1beta2B\rProtoBufProtoP\001ZCcloud.google.co" + + "m/go/bigquery/storage/apiv1beta2/storage" + + "pb;storagepbb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.protobuf.DescriptorProtos.getDescriptor(), + }); + internal_static_google_cloud_bigquery_storage_v1beta2_ProtoSchema_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_storage_v1beta2_ProtoSchema_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta2_ProtoSchema_descriptor, + new java.lang.String[] { "ProtoDescriptor", }); + internal_static_google_cloud_bigquery_storage_v1beta2_ProtoRows_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_storage_v1beta2_ProtoRows_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta2_ProtoRows_descriptor, + new java.lang.String[] { "SerializedRows", }); + com.google.protobuf.DescriptorProtos.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/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 69% 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 3d45ff5475..006921f56e 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,68 +1,50 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 // Protobuf Java Version: 3.25.2 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_ = emptyList(com.google.protobuf.ByteString.class); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ProtoRows(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.ProtoBufProto - .internal_static_google_cloud_bigquery_storage_v1beta2_ProtoRows_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.ProtoBufProto.internal_static_google_cloud_bigquery_storage_v1beta2_ProtoRows_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.ProtoBufProto - .internal_static_google_cloud_bigquery_storage_v1beta2_ProtoRows_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.ProtoBufProto.internal_static_google_cloud_bigquery_storage_v1beta2_ProtoRows_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.ProtoRows.class, - com.google.cloud.bigquery.storage.v1beta2.ProtoRows.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.ProtoRows.class, com.google.cloud.bigquery.storage.v1beta2.ProtoRows.Builder.class); } public static final int SERIALIZED_ROWS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private com.google.protobuf.Internal.ProtobufList - serializedRows_ = emptyList(com.google.protobuf.ByteString.class); + private com.google.protobuf.Internal.ProtobufList serializedRows_ = + emptyList(com.google.protobuf.ByteString.class); /** - * - * *
    * A sequence of rows serialized as a Protocol Buffer.
    *
@@ -71,16 +53,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.
    *
@@ -89,15 +69,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.
    *
@@ -106,7 +83,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. */ @@ -115,7 +91,6 @@ public com.google.protobuf.ByteString getSerializedRows(int index) { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -127,7 +102,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)); } @@ -143,8 +119,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(); @@ -157,15 +133,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta2.ProtoRows)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta2.ProtoRows other = - (com.google.cloud.bigquery.storage.v1beta2.ProtoRows) obj; + com.google.cloud.bigquery.storage.v1beta2.ProtoRows other = (com.google.cloud.bigquery.storage.v1beta2.ProtoRows) obj; - if (!getSerializedRowsList().equals(other.getSerializedRowsList())) return false; + if (!getSerializedRowsList() + .equals(other.getSerializedRowsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -187,127 +163,127 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1beta2.ProtoRows parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta2.ProtoRows parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.ProtoRows parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta2.ProtoRows parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.ProtoRows parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta2.ProtoRows parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1beta2.ProtoRows parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.ProtoRows parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta2.ProtoRows parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.ProtoRows parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.ProtoRows parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1beta2.ProtoRows parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.ProtoRows parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta2.ProtoRows parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta2.ProtoRows prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } - /** Protobuf type {@code google.cloud.bigquery.storage.v1beta2.ProtoRows} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + /** + * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.ProtoRows} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta2.ProtoRows) com.google.cloud.bigquery.storage.v1beta2.ProtoRowsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.ProtoBufProto - .internal_static_google_cloud_bigquery_storage_v1beta2_ProtoRows_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.ProtoBufProto.internal_static_google_cloud_bigquery_storage_v1beta2_ProtoRows_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.ProtoBufProto - .internal_static_google_cloud_bigquery_storage_v1beta2_ProtoRows_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.ProtoBufProto.internal_static_google_cloud_bigquery_storage_v1beta2_ProtoRows_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.ProtoRows.class, - com.google.cloud.bigquery.storage.v1beta2.ProtoRows.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.ProtoRows.class, com.google.cloud.bigquery.storage.v1beta2.ProtoRows.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1beta2.ProtoRows.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -317,9 +293,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 @@ -338,11 +314,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1beta2.ProtoRows result = new com.google.cloud.bigquery.storage.v1beta2.ProtoRows(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -359,39 +332,38 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.ProtoRows r public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta2.ProtoRows) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.ProtoRows) other); + return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.ProtoRows)other); } else { super.mergeFrom(other); return this; @@ -399,8 +371,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_; @@ -438,20 +409,18 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.protobuf.ByteString v = input.readBytes(); - ensureSerializedRowsIsMutable(); - serializedRows_.add(v); - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.protobuf.ByteString v = input.readBytes(); + ensureSerializedRowsIsMutable(); + serializedRows_.add(v); + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -461,12 +430,9 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.protobuf.Internal.ProtobufList - serializedRows_ = emptyList(com.google.protobuf.ByteString.class); - + private com.google.protobuf.Internal.ProtobufList serializedRows_ = emptyList(com.google.protobuf.ByteString.class); private void ensureSerializedRowsIsMutable() { if (!serializedRows_.isModifiable()) { serializedRows_ = makeMutableCopy(serializedRows_); @@ -474,8 +440,6 @@ private void ensureSerializedRowsIsMutable() { bitField0_ |= 0x00000001; } /** - * - * *
      * A sequence of rows serialized as a Protocol Buffer.
      *
@@ -484,16 +448,14 @@ private void ensureSerializedRowsIsMutable() {
      * 
* * repeated bytes serialized_rows = 1; - * * @return A list containing the serializedRows. */ - public java.util.List getSerializedRowsList() { + public java.util.List + getSerializedRowsList() { serializedRows_.makeImmutable(); return serializedRows_; } /** - * - * *
      * A sequence of rows serialized as a Protocol Buffer.
      *
@@ -502,15 +464,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.
      *
@@ -519,7 +478,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. */ @@ -527,8 +485,6 @@ public com.google.protobuf.ByteString getSerializedRows(int index) { return serializedRows_.get(index); } /** - * - * *
      * A sequence of rows serialized as a Protocol Buffer.
      *
@@ -537,15 +493,13 @@ public com.google.protobuf.ByteString getSerializedRows(int index) {
      * 
* * repeated bytes serialized_rows = 1; - * * @param index The index to set the value at. * @param value The serializedRows to set. * @return This builder for chaining. */ - public Builder setSerializedRows(int index, com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSerializedRows( + int index, com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } ensureSerializedRowsIsMutable(); serializedRows_.set(index, value); bitField0_ |= 0x00000001; @@ -553,8 +507,6 @@ public Builder setSerializedRows(int index, com.google.protobuf.ByteString value return this; } /** - * - * *
      * A sequence of rows serialized as a Protocol Buffer.
      *
@@ -563,14 +515,11 @@ 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(); - } + if (value == null) { throw new NullPointerException(); } ensureSerializedRowsIsMutable(); serializedRows_.add(value); bitField0_ |= 0x00000001; @@ -578,8 +527,6 @@ public Builder addSerializedRows(com.google.protobuf.ByteString value) { return this; } /** - * - * *
      * A sequence of rows serialized as a Protocol Buffer.
      *
@@ -588,21 +535,19 @@ 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_); bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * A sequence of rows serialized as a Protocol Buffer.
      *
@@ -611,7 +556,6 @@ public Builder addAllSerializedRows(
      * 
* * repeated bytes serialized_rows = 1; - * * @return This builder for chaining. */ public Builder clearSerializedRows() { @@ -620,9 +564,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); } @@ -632,12 +576,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(); } @@ -646,27 +590,27 @@ public static com.google.cloud.bigquery.storage.v1beta2.ProtoRows getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProtoRows parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProtoRows parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -681,4 +625,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 69% 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 c9c44df48b..f28f73fc4b 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,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 // Protobuf Java Version: 3.25.2 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.
    *
@@ -35,13 +17,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.
    *
@@ -50,13 +29,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.
    *
@@ -65,7 +41,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 69% 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 a83c760525..49845395b3 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,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 @@ -20,53 +5,48 @@ package com.google.cloud.bigquery.storage.v1beta2; /** - * - * *
  * ProtoSchema describes the schema of the serialized protocol buffer data rows.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.ProtoSchema} */ -public final class ProtoSchema extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ProtoSchema extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.ProtoSchema) ProtoSchemaOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ProtoSchema.newBuilder() to construct. private ProtoSchema(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ProtoSchema() {} + private ProtoSchema() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ProtoSchema(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.ProtoBufProto - .internal_static_google_cloud_bigquery_storage_v1beta2_ProtoSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.ProtoBufProto.internal_static_google_cloud_bigquery_storage_v1beta2_ProtoSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.ProtoBufProto - .internal_static_google_cloud_bigquery_storage_v1beta2_ProtoSchema_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.ProtoBufProto.internal_static_google_cloud_bigquery_storage_v1beta2_ProtoSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.class, - com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.class, com.google.cloud.bigquery.storage.v1beta2.ProtoSchema.Builder.class); } private int bitField0_; 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
@@ -74,7 +54,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 @@ -82,8 +61,6 @@ public boolean hasProtoDescriptor() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Descriptor for input message. The descriptor has to be self contained,
    * including all the nested types, excepted for proto buffer well known types
@@ -91,18 +68,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
@@ -112,15 +84,11 @@ public com.google.protobuf.DescriptorProtos.DescriptorProto getProtoDescriptor()
    * .google.protobuf.DescriptorProto proto_descriptor = 1;
    */
   @java.lang.Override
-  public com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder
-      getProtoDescriptorOrBuilder() {
-    return protoDescriptor_ == null
-        ? com.google.protobuf.DescriptorProtos.DescriptorProto.getDefaultInstance()
-        : protoDescriptor_;
+  public com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder getProtoDescriptorOrBuilder() {
+    return protoDescriptor_ == null ? com.google.protobuf.DescriptorProtos.DescriptorProto.getDefaultInstance() : protoDescriptor_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -138,7 +106,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 (((bitField0_ & 0x00000001) != 0)) {
       output.writeMessage(1, getProtoDescriptor());
     }
@@ -152,7 +121,8 @@ public int getSerializedSize() {
 
     size = 0;
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getProtoDescriptor());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getProtoDescriptor());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -162,17 +132,17 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta2.ProtoSchema)) {
       return super.equals(obj);
     }
-    com.google.cloud.bigquery.storage.v1beta2.ProtoSchema other =
-        (com.google.cloud.bigquery.storage.v1beta2.ProtoSchema) obj;
+    com.google.cloud.bigquery.storage.v1beta2.ProtoSchema other = (com.google.cloud.bigquery.storage.v1beta2.ProtoSchema) obj;
 
     if (hasProtoDescriptor() != other.hasProtoDescriptor()) return false;
     if (hasProtoDescriptor()) {
-      if (!getProtoDescriptor().equals(other.getProtoDescriptor())) return false;
+      if (!getProtoDescriptor()
+          .equals(other.getProtoDescriptor())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -195,127 +165,119 @@ 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() @@ -323,17 +285,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) { getProtoDescriptorFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -347,9 +309,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 @@ -368,11 +330,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1beta2.ProtoSchema result = new com.google.cloud.bigquery.storage.v1beta2.ProtoSchema(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -381,8 +340,9 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.ProtoSchema int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.protoDescriptor_ = - protoDescriptorBuilder_ == null ? protoDescriptor_ : protoDescriptorBuilder_.build(); + result.protoDescriptor_ = protoDescriptorBuilder_ == null + ? protoDescriptor_ + : protoDescriptorBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -392,39 +352,38 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.ProtoSchema public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta2.ProtoSchema) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.ProtoSchema) other); + return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.ProtoSchema)other); } else { super.mergeFrom(other); return this; @@ -432,8 +391,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()); } @@ -468,19 +426,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getProtoDescriptorFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getProtoDescriptorFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -490,18 +448,12 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.DescriptorProtos.DescriptorProto protoDescriptor_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.DescriptorProtos.DescriptorProto, - com.google.protobuf.DescriptorProtos.DescriptorProto.Builder, - com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder> - protoDescriptorBuilder_; + com.google.protobuf.DescriptorProtos.DescriptorProto, com.google.protobuf.DescriptorProtos.DescriptorProto.Builder, com.google.protobuf.DescriptorProtos.DescriptorProtoOrBuilder> protoDescriptorBuilder_; /** - * - * *
      * Descriptor for input message. The descriptor has to be self contained,
      * including all the nested types, excepted for proto buffer well known types
@@ -509,15 +461,12 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.DescriptorProto proto_descriptor = 1; - * * @return Whether the protoDescriptor field is set. */ public boolean hasProtoDescriptor() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Descriptor for input message. The descriptor has to be self contained,
      * including all the nested types, excepted for proto buffer well known types
@@ -525,21 +474,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
@@ -562,8 +506,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
@@ -584,8 +526,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
@@ -594,13 +534,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 (((bitField0_ & 0x00000001) != 0)
-            && protoDescriptor_ != null
-            && protoDescriptor_
-                != com.google.protobuf.DescriptorProtos.DescriptorProto.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          protoDescriptor_ != null &&
+          protoDescriptor_ != com.google.protobuf.DescriptorProtos.DescriptorProto.getDefaultInstance()) {
           getProtoDescriptorBuilder().mergeFrom(value);
         } else {
           protoDescriptor_ = value;
@@ -615,8 +553,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
@@ -636,8 +572,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
@@ -646,15 +580,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() {
       bitField0_ |= 0x00000001;
       onChanged();
       return getProtoDescriptorFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Descriptor for input message. The descriptor has to be self contained,
      * including all the nested types, excepted for proto buffer well known types
@@ -663,19 +594,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
@@ -685,24 +612,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);
     }
 
@@ -712,12 +636,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();
   }
@@ -726,27 +650,27 @@ public static com.google.cloud.bigquery.storage.v1beta2.ProtoSchema getDefaultIn
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ProtoSchema parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ProtoSchema parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -761,4 +685,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 a037e38631..79a5788a5a 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,32 +1,14 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for 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
 
 // Protobuf Java Version: 3.25.2
 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
@@ -34,13 +16,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
@@ -48,13 +27,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 64%
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 76ec2f7e1f..544367b811 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,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for 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
 
@@ -20,64 +5,54 @@
 package com.google.cloud.bigquery.storage.v1beta2;
 
 /**
- *
- *
  * 
  * Request message for `ReadRows`.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.ReadRowsRequest} */ -public final class ReadRowsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ReadRowsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.ReadRowsRequest) ReadRowsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ReadRowsRequest.newBuilder() to construct. private ReadRowsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ReadRowsRequest() { readStream_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReadRowsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_ReadRowsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_ReadRowsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_ReadRowsRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_ReadRowsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest.class, - com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest.class, com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest.Builder.class); } public static final int READ_STREAM_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object readStream_ = ""; /** - * - * *
    * Required. Stream to read rows from.
    * 
* - * - * string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The readStream. */ @java.lang.Override @@ -86,31 +61,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 { @@ -121,8 +94,6 @@ public com.google.protobuf.ByteString getReadStreamBytes() { public static final int OFFSET_FIELD_NUMBER = 2; private long offset_ = 0L; /** - * - * *
    * The offset requested must be less than the last row read from Read.
    * Requesting a larger offset is undefined. If not specified, start reading
@@ -130,7 +101,6 @@ public com.google.protobuf.ByteString getReadStreamBytes() {
    * 
* * int64 offset = 2; - * * @return The offset. */ @java.lang.Override @@ -139,7 +109,6 @@ public long getOffset() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,7 +120,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(readStream_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, readStream_); } @@ -171,7 +141,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -181,16 +152,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -205,143 +177,139 @@ public int hashCode() { hash = (37 * hash) + READ_STREAM_FIELD_NUMBER; hash = (53 * hash) + getReadStream().hashCode(); hash = (37 * hash) + OFFSET_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getOffset()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getOffset()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for `ReadRows`.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.ReadRowsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta2.ReadRowsRequest) com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_ReadRowsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_ReadRowsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_ReadRowsRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_ReadRowsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest.class, - com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest.class, com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -352,9 +320,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 @@ -373,11 +341,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest result = new com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -396,39 +361,38 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.ReadRowsReq public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest) other); + return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest)other); } else { super.mergeFrom(other); return this; @@ -436,8 +400,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_; bitField0_ |= 0x00000001; @@ -472,25 +435,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - readStream_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - offset_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + readStream_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + offset_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -500,27 +460,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object readStream_ = ""; /** - * - * *
      * Required. Stream to read rows from.
      * 
* - * - * string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The readStream. */ public java.lang.String getReadStream() { java.lang.Object ref = readStream_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); readStream_ = s; return s; @@ -529,23 +484,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 { @@ -553,39 +505,28 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setReadStream( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } readStream_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Stream to read rows from.
      * 
* - * - * string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearReadStream() { @@ -595,23 +536,17 @@ public Builder clearReadStream() { return this; } /** - * - * *
      * Required. Stream to read rows from.
      * 
* - * - * string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for readStream to set. * @return This builder for chaining. */ - public Builder setReadStreamBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setReadStreamBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); readStream_ = value; bitField0_ |= 0x00000001; @@ -619,10 +554,8 @@ public Builder setReadStreamBytes(com.google.protobuf.ByteString value) { 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
@@ -630,7 +563,6 @@ public Builder setReadStreamBytes(com.google.protobuf.ByteString value) {
      * 
* * int64 offset = 2; - * * @return The offset. */ @java.lang.Override @@ -638,8 +570,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
@@ -647,7 +577,6 @@ public long getOffset() {
      * 
* * int64 offset = 2; - * * @param value The offset to set. * @return This builder for chaining. */ @@ -659,8 +588,6 @@ public Builder setOffset(long value) { return this; } /** - * - * *
      * The offset requested must be less than the last row read from Read.
      * Requesting a larger offset is undefined. If not specified, start reading
@@ -668,7 +595,6 @@ public Builder setOffset(long value) {
      * 
* * int64 offset = 2; - * * @return This builder for chaining. */ public Builder clearOffset() { @@ -677,9 +603,9 @@ public Builder clearOffset() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -689,12 +615,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(); } @@ -703,27 +629,27 @@ public static com.google.cloud.bigquery.storage.v1beta2.ReadRowsRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadRowsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadRowsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -738,4 +664,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..4994b16d53 --- /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,42 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1beta2/storage.proto + +// Protobuf Java Version: 3.25.2 +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 371636eafd..75d3dea800 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,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 @@ -20,8 +5,6 @@ package com.google.cloud.bigquery.storage.v1beta2; /** - * - * *
  * Response from calling `ReadRows` may include row data, progress and
  * throttling information.
@@ -29,54 +12,49 @@
  *
  * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.ReadRowsResponse}
  */
-public final class ReadRowsResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ReadRowsResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.ReadRowsResponse)
     ReadRowsResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ReadRowsResponse.newBuilder() to construct.
   private ReadRowsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private ReadRowsResponse() {}
+  private ReadRowsResponse() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ReadRowsResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.bigquery.storage.v1beta2.StorageProto
-        .internal_static_google_cloud_bigquery_storage_v1beta2_ReadRowsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_ReadRowsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.storage.v1beta2.StorageProto
-        .internal_static_google_cloud_bigquery_storage_v1beta2_ReadRowsResponse_fieldAccessorTable
+    return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_ReadRowsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse.class,
-            com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse.Builder.class);
+            com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse.class, com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse.Builder.class);
   }
 
   private int bitField0_;
   private int rowsCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object rows_;
-
   public enum RowsCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     AVRO_ROWS(3),
     ARROW_RECORD_BATCH(4),
     ROWS_NOT_SET(0);
     private final int value;
-
     private RowsCase(int value) {
       this.value = value;
     }
@@ -92,40 +70,33 @@ public static RowsCase valueOf(int value) {
 
     public static RowsCase forNumber(int value) {
       switch (value) {
-        case 3:
-          return AVRO_ROWS;
-        case 4:
-          return ARROW_RECORD_BATCH;
-        case 0:
-          return ROWS_NOT_SET;
-        default:
-          return null;
+        case 3: return AVRO_ROWS;
+        case 4: return ARROW_RECORD_BATCH;
+        case 0: return ROWS_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public RowsCase getRowsCase() {
-    return RowsCase.forNumber(rowsCase_);
+  public RowsCase
+  getRowsCase() {
+    return RowsCase.forNumber(
+        rowsCase_);
   }
 
   private int schemaCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object schema_;
-
   public enum SchemaCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     AVRO_SCHEMA(7),
     ARROW_SCHEMA(8),
     SCHEMA_NOT_SET(0);
     private final int value;
-
     private SchemaCase(int value) {
       this.value = value;
     }
@@ -141,36 +112,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 @@ -178,26 +143,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.
    * 
@@ -207,21 +167,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 @@ -229,26 +186,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.
    * 
@@ -256,10 +208,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(); } @@ -267,14 +218,11 @@ public com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch getArrowRecord public static final int ROW_COUNT_FIELD_NUMBER = 6; private long rowCount_ = 0L; /** - * - * *
    * Number of serialized rows in the rows block.
    * 
* * int64 row_count = 6; - * * @return The rowCount. */ @java.lang.Override @@ -285,14 +233,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 @@ -300,25 +245,18 @@ public boolean hasStats() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * 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.
    * 
@@ -327,23 +265,18 @@ public com.google.cloud.bigquery.storage.v1beta2.StreamStats getStats() { */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.StreamStatsOrBuilder getStatsOrBuilder() { - return stats_ == null - ? com.google.cloud.bigquery.storage.v1beta2.StreamStats.getDefaultInstance() - : stats_; + return stats_ == null ? com.google.cloud.bigquery.storage.v1beta2.StreamStats.getDefaultInstance() : stats_; } public static final int THROTTLE_STATE_FIELD_NUMBER = 5; private com.google.cloud.bigquery.storage.v1beta2.ThrottleState throttleState_; /** - * - * *
    * Throttling state. If unset, the latest response still describes
    * the current throttling status.
    * 
* * .google.cloud.bigquery.storage.v1beta2.ThrottleState throttle_state = 5; - * * @return Whether the throttleState field is set. */ @java.lang.Override @@ -351,26 +284,19 @@ public boolean hasThrottleState() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Throttling state. If unset, the latest response still describes
    * the current throttling status.
    * 
* * .google.cloud.bigquery.storage.v1beta2.ThrottleState throttle_state = 5; - * * @return The throttleState. */ @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.
@@ -379,25 +305,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() {
-    return throttleState_ == null
-        ? com.google.cloud.bigquery.storage.v1beta2.ThrottleState.getDefaultInstance()
-        : throttleState_;
+  public com.google.cloud.bigquery.storage.v1beta2.ThrottleStateOrBuilder getThrottleStateOrBuilder() {
+    return throttleState_ == null ? com.google.cloud.bigquery.storage.v1beta2.ThrottleState.getDefaultInstance() : throttleState_;
   }
 
   public static final int AVRO_SCHEMA_FIELD_NUMBER = 7;
   /**
-   *
-   *
    * 
    * Output only. Avro schema.
    * 
* - * - * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the avroSchema field is set. */ @java.lang.Override @@ -405,56 +323,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 @@ -462,46 +366,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; @@ -513,7 +407,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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getStats()); } @@ -545,33 +440,32 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - 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 (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getThrottleState()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getThrottleState()); } if (rowCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(6, rowCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(6, rowCount_); } if (schemaCase_ == 7) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 7, (com.google.cloud.bigquery.storage.v1beta2.AvroSchema) schema_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, (com.google.cloud.bigquery.storage.v1beta2.AvroSchema) schema_); } if (schemaCase_ == 8) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 8, (com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) schema_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, (com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) schema_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -581,30 +475,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: @@ -612,10 +510,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: @@ -632,7 +532,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(); @@ -671,104 +572,98 @@ 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.
@@ -776,23 +671,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()
@@ -800,18 +693,18 @@ 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) {
         getStatsFieldBuilder();
         getThrottleStateFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -847,9 +740,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
@@ -868,11 +761,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);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse result = new com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -885,33 +775,39 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.ReadRowsRes
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.stats_ = statsBuilder_ == null ? stats_ : statsBuilder_.build();
+        result.stats_ = statsBuilder_ == null
+            ? stats_
+            : statsBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.throttleState_ =
-            throttleStateBuilder_ == null ? throttleState_ : throttleStateBuilder_.build();
+        result.throttleState_ = throttleStateBuilder_ == null
+            ? throttleState_
+            : throttleStateBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       result.bitField0_ |= to_bitField0_;
     }
 
-    private void buildPartialOneofs(
-        com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse result) {
+    private void buildPartialOneofs(com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse result) {
       result.rowsCase_ = rowsCase_;
       result.rows_ = this.rows_;
-      if (rowsCase_ == 3 && avroRowsBuilder_ != null) {
+      if (rowsCase_ == 3 &&
+          avroRowsBuilder_ != null) {
         result.rows_ = avroRowsBuilder_.build();
       }
-      if (rowsCase_ == 4 && arrowRecordBatchBuilder_ != null) {
+      if (rowsCase_ == 4 &&
+          arrowRecordBatchBuilder_ != null) {
         result.rows_ = arrowRecordBatchBuilder_.build();
       }
       result.schemaCase_ = schemaCase_;
       result.schema_ = this.schema_;
-      if (schemaCase_ == 7 && avroSchemaBuilder_ != null) {
+      if (schemaCase_ == 7 &&
+          avroSchemaBuilder_ != null) {
         result.schema_ = avroSchemaBuilder_.build();
       }
-      if (schemaCase_ == 8 && arrowSchemaBuilder_ != null) {
+      if (schemaCase_ == 8 &&
+          arrowSchemaBuilder_ != null) {
         result.schema_ = arrowSchemaBuilder_.build();
       }
     }
@@ -920,39 +816,38 @@ private void buildPartialOneofs(
     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;
@@ -960,8 +855,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());
       }
@@ -972,36 +866,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.getUnknownFields());
       onChanged();
@@ -1029,56 +917,59 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 18:
-              {
-                input.readMessage(getStatsFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getAvroRowsFieldBuilder().getBuilder(), extensionRegistry);
-                rowsCase_ = 3;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(
-                    getArrowRecordBatchFieldBuilder().getBuilder(), extensionRegistry);
-                rowsCase_ = 4;
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getThrottleStateFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            case 48:
-              {
-                rowCount_ = input.readInt64();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 48
-            case 58:
-              {
-                input.readMessage(getAvroSchemaFieldBuilder().getBuilder(), extensionRegistry);
-                schemaCase_ = 7;
-                break;
-              } // case 58
-            case 66:
-              {
-                input.readMessage(getArrowSchemaFieldBuilder().getBuilder(), extensionRegistry);
-                schemaCase_ = 8;
-                break;
-              } // case 66
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 18: {
+              input.readMessage(
+                  getStatsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getAvroRowsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              rowsCase_ = 3;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getArrowRecordBatchFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              rowsCase_ = 4;
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getThrottleStateFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            case 48: {
+              rowCount_ = input.readInt64();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 48
+            case 58: {
+              input.readMessage(
+                  getAvroSchemaFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              schemaCase_ = 7;
+              break;
+            } // case 58
+            case 66: {
+              input.readMessage(
+                  getArrowSchemaFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              schemaCase_ = 8;
+              break;
+            } // case 66
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1088,12 +979,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int rowsCase_ = 0;
     private java.lang.Object rows_;
-
-    public RowsCase getRowsCase() {
-      return RowsCase.forNumber(rowsCase_);
+    public RowsCase
+        getRowsCase() {
+      return RowsCase.forNumber(
+          rowsCase_);
     }
 
     public Builder clearRows() {
@@ -1105,9 +996,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() {
@@ -1120,19 +1012,13 @@ public Builder clearSchema() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.bigquery.storage.v1beta2.AvroRows,
-            com.google.cloud.bigquery.storage.v1beta2.AvroRows.Builder,
-            com.google.cloud.bigquery.storage.v1beta2.AvroRowsOrBuilder>
-        avroRowsBuilder_;
+        com.google.cloud.bigquery.storage.v1beta2.AvroRows, com.google.cloud.bigquery.storage.v1beta2.AvroRows.Builder, com.google.cloud.bigquery.storage.v1beta2.AvroRowsOrBuilder> avroRowsBuilder_;
     /**
-     *
-     *
      * 
      * Serialized row data in AVRO format.
      * 
* * .google.cloud.bigquery.storage.v1beta2.AvroRows avro_rows = 3; - * * @return Whether the avroRows field is set. */ @java.lang.Override @@ -1140,14 +1026,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 @@ -1165,8 +1048,6 @@ public com.google.cloud.bigquery.storage.v1beta2.AvroRows getAvroRows() { } } /** - * - * *
      * Serialized row data in AVRO format.
      * 
@@ -1187,8 +1068,6 @@ public Builder setAvroRows(com.google.cloud.bigquery.storage.v1beta2.AvroRows va return this; } /** - * - * *
      * Serialized row data in AVRO format.
      * 
@@ -1207,8 +1086,6 @@ public Builder setAvroRows( return this; } /** - * - * *
      * Serialized row data in AVRO format.
      * 
@@ -1217,13 +1094,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; } @@ -1239,8 +1113,6 @@ public Builder mergeAvroRows(com.google.cloud.bigquery.storage.v1beta2.AvroRows return this; } /** - * - * *
      * Serialized row data in AVRO format.
      * 
@@ -1264,8 +1136,6 @@ public Builder clearAvroRows() { return this; } /** - * - * *
      * Serialized row data in AVRO format.
      * 
@@ -1276,8 +1146,6 @@ public com.google.cloud.bigquery.storage.v1beta2.AvroRows.Builder getAvroRowsBui return getAvroRowsFieldBuilder().getBuilder(); } /** - * - * *
      * Serialized row data in AVRO format.
      * 
@@ -1296,8 +1164,6 @@ public com.google.cloud.bigquery.storage.v1beta2.AvroRowsOrBuilder getAvroRowsOr } } /** - * - * *
      * Serialized row data in AVRO format.
      * 
@@ -1305,19 +1171,14 @@ 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()); @@ -1329,19 +1190,13 @@ public com.google.cloud.bigquery.storage.v1beta2.AvroRowsOrBuilder getAvroRowsOr } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch, - com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch.Builder, - com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatchOrBuilder> - arrowRecordBatchBuilder_; + com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch, com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch.Builder, com.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatchOrBuilder> arrowRecordBatchBuilder_; /** - * - * *
      * Serialized row data in Arrow RecordBatch format.
      * 
* * .google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch arrow_record_batch = 4; - * * @return Whether the arrowRecordBatch field is set. */ @java.lang.Override @@ -1349,14 +1204,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 @@ -1374,16 +1226,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(); @@ -1397,8 +1246,6 @@ public Builder setArrowRecordBatch( return this; } /** - * - * *
      * Serialized row data in Arrow RecordBatch format.
      * 
@@ -1417,26 +1264,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; } @@ -1452,8 +1291,6 @@ public Builder mergeArrowRecordBatch( return this; } /** - * - * *
      * Serialized row data in Arrow RecordBatch format.
      * 
@@ -1477,21 +1314,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.
      * 
@@ -1499,8 +1331,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 { @@ -1511,8 +1342,6 @@ public Builder clearArrowRecordBatch() { } } /** - * - * *
      * Serialized row data in Arrow RecordBatch format.
      * 
@@ -1520,19 +1349,14 @@ 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()); @@ -1543,16 +1367,13 @@ public Builder clearArrowRecordBatch() { 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 @@ -1560,14 +1381,11 @@ 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. */ @@ -1579,14 +1397,11 @@ public Builder setRowCount(long value) { return this; } /** - * - * *
      * Number of serialized rows in the rows block.
      * 
* * int64 row_count = 6; - * * @return This builder for chaining. */ public Builder clearRowCount() { @@ -1598,47 +1413,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 ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Statistics for the stream.
      * 
* * .google.cloud.bigquery.storage.v1beta2.StreamStats stats = 2; - * * @return The stats. */ public com.google.cloud.bigquery.storage.v1beta2.StreamStats getStats() { if (statsBuilder_ == null) { - return stats_ == null - ? com.google.cloud.bigquery.storage.v1beta2.StreamStats.getDefaultInstance() - : stats_; + return stats_ == null ? com.google.cloud.bigquery.storage.v1beta2.StreamStats.getDefaultInstance() : stats_; } else { return statsBuilder_.getMessage(); } } /** - * - * *
      * Statistics for the stream.
      * 
@@ -1659,8 +1461,6 @@ public Builder setStats(com.google.cloud.bigquery.storage.v1beta2.StreamStats va return this; } /** - * - * *
      * Statistics for the stream.
      * 
@@ -1679,8 +1479,6 @@ public Builder setStats( return this; } /** - * - * *
      * Statistics for the stream.
      * 
@@ -1689,10 +1487,9 @@ public Builder setStats( */ public Builder mergeStats(com.google.cloud.bigquery.storage.v1beta2.StreamStats value) { if (statsBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && stats_ != null - && stats_ - != com.google.cloud.bigquery.storage.v1beta2.StreamStats.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + stats_ != null && + stats_ != com.google.cloud.bigquery.storage.v1beta2.StreamStats.getDefaultInstance()) { getStatsBuilder().mergeFrom(value); } else { stats_ = value; @@ -1707,8 +1504,6 @@ public Builder mergeStats(com.google.cloud.bigquery.storage.v1beta2.StreamStats return this; } /** - * - * *
      * Statistics for the stream.
      * 
@@ -1726,8 +1521,6 @@ public Builder clearStats() { return this; } /** - * - * *
      * Statistics for the stream.
      * 
@@ -1740,8 +1533,6 @@ public com.google.cloud.bigquery.storage.v1beta2.StreamStats.Builder getStatsBui return getStatsFieldBuilder().getBuilder(); } /** - * - * *
      * Statistics for the stream.
      * 
@@ -1752,14 +1543,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.
      * 
@@ -1767,17 +1555,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_; @@ -1785,49 +1570,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 ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Throttling state. If unset, the latest response still describes
      * the current throttling status.
      * 
* * .google.cloud.bigquery.storage.v1beta2.ThrottleState throttle_state = 5; - * * @return The throttleState. */ public com.google.cloud.bigquery.storage.v1beta2.ThrottleState getThrottleState() { if (throttleStateBuilder_ == null) { - return throttleState_ == null - ? com.google.cloud.bigquery.storage.v1beta2.ThrottleState.getDefaultInstance() - : throttleState_; + return throttleState_ == null ? com.google.cloud.bigquery.storage.v1beta2.ThrottleState.getDefaultInstance() : throttleState_; } else { return throttleStateBuilder_.getMessage(); } } /** - * - * *
      * Throttling state. If unset, the latest response still describes
      * the current throttling status.
@@ -1849,8 +1621,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.
@@ -1870,8 +1640,6 @@ public Builder setThrottleState(
       return this;
     }
     /**
-     *
-     *
      * 
      * Throttling state. If unset, the latest response still describes
      * the current throttling status.
@@ -1879,13 +1647,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 (((bitField0_ & 0x00000010) != 0)
-            && throttleState_ != null
-            && throttleState_
-                != com.google.cloud.bigquery.storage.v1beta2.ThrottleState.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0) &&
+          throttleState_ != null &&
+          throttleState_ != com.google.cloud.bigquery.storage.v1beta2.ThrottleState.getDefaultInstance()) {
           getThrottleStateBuilder().mergeFrom(value);
         } else {
           throttleState_ = value;
@@ -1900,8 +1666,6 @@ public Builder mergeThrottleState(
       return this;
     }
     /**
-     *
-     *
      * 
      * Throttling state. If unset, the latest response still describes
      * the current throttling status.
@@ -1920,8 +1684,6 @@ public Builder clearThrottleState() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Throttling state. If unset, the latest response still describes
      * the current throttling status.
@@ -1929,15 +1691,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() {
       bitField0_ |= 0x00000010;
       onChanged();
       return getThrottleStateFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Throttling state. If unset, the latest response still describes
      * the current throttling status.
@@ -1945,19 +1704,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.
@@ -1966,38 +1721,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 @@ -2005,16 +1749,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 @@ -2032,15 +1771,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) { @@ -2056,15 +1791,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) { @@ -2078,26 +1809,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; } @@ -2113,15 +1836,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) { @@ -2140,29 +1859,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() { @@ -2176,30 +1887,21 @@ 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()); @@ -2211,21 +1913,13 @@ public com.google.cloud.bigquery.storage.v1beta2.AvroSchemaOrBuilder getAvroSche } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.ArrowSchema, - com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.Builder, - com.google.cloud.bigquery.storage.v1beta2.ArrowSchemaOrBuilder> - arrowSchemaBuilder_; + com.google.cloud.bigquery.storage.v1beta2.ArrowSchema, com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.Builder, com.google.cloud.bigquery.storage.v1beta2.ArrowSchemaOrBuilder> arrowSchemaBuilder_; /** - * - * *
      * Output only. Arrow schema.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the arrowSchema field is set. */ @java.lang.Override @@ -2233,16 +1927,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 @@ -2260,15 +1949,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) { @@ -2284,15 +1969,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) { @@ -2306,26 +1987,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; } @@ -2341,15 +2014,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) { @@ -2368,33 +2037,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 { @@ -2405,30 +2065,21 @@ 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()); @@ -2438,9 +2089,9 @@ public com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.Builder getArrowSch 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); } @@ -2450,12 +2101,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(); } @@ -2464,27 +2115,27 @@ public static com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadRowsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadRowsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2499,4 +2150,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 2db98e717a..05a5721bfc 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,56 +1,32 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 // Protobuf Java Version: 3.25.2 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.
    * 
@@ -60,81 +36,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.
    * 
@@ -144,34 +100,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.
@@ -182,84 +130,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 66% 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 2993e0494d..41bb14aef7 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,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 @@ -20,24 +5,21 @@ 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; @@ -47,57 +29,47 @@ private ReadSession() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReadSession(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StreamProto - .internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StreamProto.internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StreamProto - .internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StreamProto.internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.ReadSession.class, - com.google.cloud.bigquery.storage.v1beta2.ReadSession.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.ReadSession.class, com.google.cloud.bigquery.storage.v1beta2.ReadSession.Builder.class); } - public interface TableModifiersOrBuilder - extends + public interface TableModifiersOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The snapshot time of the table. If not set, interpreted as now.
      * 
* * .google.protobuf.Timestamp snapshot_time = 1; - * * @return Whether the snapshotTime field is set. */ boolean hasSnapshotTime(); /** - * - * *
      * The snapshot time of the table. If not set, interpreted as now.
      * 
* * .google.protobuf.Timestamp snapshot_time = 1; - * * @return The snapshotTime. */ com.google.protobuf.Timestamp getSnapshotTime(); /** - * - * *
      * The snapshot time of the table. If not set, interpreted as now.
      * 
@@ -107,59 +79,53 @@ 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(); } - 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); } private int bitField0_; 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 @@ -167,25 +133,18 @@ public boolean hasSnapshotTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The snapshot time of the table. If not set, interpreted as now.
      * 
* * .google.protobuf.Timestamp snapshot_time = 1; - * * @return The snapshotTime. */ @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.
      * 
@@ -194,13 +153,10 @@ public com.google.protobuf.Timestamp getSnapshotTime() { */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getSnapshotTimeOrBuilder() { - return snapshotTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : snapshotTime_; + return snapshotTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : snapshotTime_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -212,7 +168,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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getSnapshotTime()); } @@ -226,7 +183,8 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSnapshotTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getSnapshotTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -236,17 +194,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers other = - (com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers) obj; + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers other = (com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers) obj; if (hasSnapshotTime() != other.hasSnapshotTime()) return false; if (hasSnapshotTime()) { - if (!getSnapshotTime().equals(other.getSnapshotTime())) return false; + if (!getSnapshotTime() + .equals(other.getSnapshotTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -269,95 +227,89 @@ 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 @@ -367,51 +319,45 @@ 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) { getSnapshotTimeFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -425,22 +371,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); } @@ -449,22 +392,19 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers buil @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers buildPartial() { - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers result = - new com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers result = new com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers result) { + private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.snapshotTime_ = - snapshotTimeBuilder_ == null ? snapshotTime_ : snapshotTimeBuilder_.build(); + result.snapshotTime_ = snapshotTimeBuilder_ == null + ? snapshotTime_ + : snapshotTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -474,53 +414,46 @@ private void buildPartial0( 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()); } @@ -550,19 +483,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getSnapshotTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getSnapshotTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -572,52 +505,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.Timestamp snapshotTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - snapshotTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> snapshotTimeBuilder_; /** - * - * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
* * .google.protobuf.Timestamp snapshot_time = 1; - * * @return Whether the snapshotTime field is set. */ public boolean hasSnapshotTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
* * .google.protobuf.Timestamp snapshot_time = 1; - * * @return The snapshotTime. */ public com.google.protobuf.Timestamp getSnapshotTime() { if (snapshotTimeBuilder_ == null) { - return snapshotTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : snapshotTime_; + return snapshotTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : snapshotTime_; } else { return snapshotTimeBuilder_.getMessage(); } } /** - * - * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -638,15 +557,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(); } else { @@ -657,8 +575,6 @@ public Builder setSnapshotTime(com.google.protobuf.Timestamp.Builder builderForV return this; } /** - * - * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -667,9 +583,9 @@ public Builder setSnapshotTime(com.google.protobuf.Timestamp.Builder builderForV */ public Builder mergeSnapshotTime(com.google.protobuf.Timestamp value) { if (snapshotTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && snapshotTime_ != null - && snapshotTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + snapshotTime_ != null && + snapshotTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getSnapshotTimeBuilder().mergeFrom(value); } else { snapshotTime_ = value; @@ -684,8 +600,6 @@ public Builder mergeSnapshotTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -703,8 +617,6 @@ public Builder clearSnapshotTime() { return this; } /** - * - * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -717,8 +629,6 @@ public com.google.protobuf.Timestamp.Builder getSnapshotTimeBuilder() { return getSnapshotTimeFieldBuilder().getBuilder(); } /** - * - * *
        * The snapshot time of the table. If not set, interpreted as now.
        * 
@@ -729,14 +639,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.
        * 
@@ -744,22 +651,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) { @@ -772,44 +675,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers) - private static final com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers(); } - public static com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers - getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TableModifiers parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TableModifiers parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -821,20 +721,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
@@ -843,13 +740,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
@@ -858,13 +753,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
@@ -873,14 +765,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
@@ -889,15 +778,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.
@@ -912,13 +799,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.
@@ -933,108 +817,86 @@ 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.emptyList(); + selectedFields_ = + com.google.protobuf.LazyStringArrayList.emptyList(); rowRestriction_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TableReadOptions(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StreamProto - .internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableReadOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StreamProto.internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableReadOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StreamProto - .internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableReadOptions_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StreamProto.internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableReadOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions.class, - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions.class, com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions.Builder.class); } private int bitField0_; public static final int SELECTED_FIELDS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList selectedFields_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
      * Names of the fields in the table that should be read. If empty, all
      * fields will be read. If the specified field is a nested field, all
@@ -1043,15 +905,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
@@ -1060,15 +920,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
@@ -1077,7 +934,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. */ @@ -1085,8 +941,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
@@ -1095,21 +949,18 @@ public java.lang.String getSelectedFields(int index) {
      * 
* * repeated string selected_fields = 1; - * * @param index The index of the value to return. * @return The bytes of the selectedFields at the given index. */ - public com.google.protobuf.ByteString getSelectedFieldsBytes(int index) { + public com.google.protobuf.ByteString + getSelectedFieldsBytes(int index) { return selectedFields_.getByteString(index); } public static final int ROW_RESTRICTION_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object rowRestriction_ = ""; /** - * - * *
      * SQL text filtering statement, similar to a WHERE clause in a query.
      * Aggregates are not supported.
@@ -1124,7 +975,6 @@ public com.google.protobuf.ByteString getSelectedFieldsBytes(int index) {
      * 
* * string row_restriction = 2; - * * @return The rowRestriction. */ @java.lang.Override @@ -1133,15 +983,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.
@@ -1156,15 +1005,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 { @@ -1173,19 +1023,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 @@ -1193,46 +1037,30 @@ public boolean hasArrowSerializationOptions() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Optional. Options specific to the Apache Arrow output format.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The arrowSerializationOptions. */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions - getArrowSerializationOptions() { - return arrowSerializationOptions_ == null - ? com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.getDefaultInstance() - : arrowSerializationOptions_; + public com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions getArrowSerializationOptions() { + return arrowSerializationOptions_ == null ? com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.getDefaultInstance() : arrowSerializationOptions_; } /** - * - * *
      * Optional. Options specific to the Apache Arrow output format.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptionsOrBuilder - getArrowSerializationOptionsOrBuilder() { - return arrowSerializationOptions_ == null - ? com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.getDefaultInstance() - : arrowSerializationOptions_; + public com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptionsOrBuilder getArrowSerializationOptionsOrBuilder() { + return arrowSerializationOptions_ == null ? com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.getDefaultInstance() : arrowSerializationOptions_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1244,7 +1072,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)); } @@ -1275,9 +1104,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, rowRestriction_); } if (((bitField0_ & 0x00000001) != 0)) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, getArrowSerializationOptions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getArrowSerializationOptions()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1287,21 +1115,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions)) { + if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions other = - (com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions) obj; + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions other = (com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions) obj; - if (!getSelectedFieldsList().equals(other.getSelectedFieldsList())) return false; - if (!getRowRestriction().equals(other.getRowRestriction())) return false; + if (!getSelectedFieldsList() + .equals(other.getSelectedFieldsList())) return false; + if (!getRowRestriction() + .equals(other.getRowRestriction())) return false; if (hasArrowSerializationOptions() != other.hasArrowSerializationOptions()) return false; if (hasArrowSerializationOptions()) { - if (!getArrowSerializationOptions().equals(other.getArrowSerializationOptions())) - return false; + if (!getArrowSerializationOptions() + .equals(other.getArrowSerializationOptions())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1330,95 +1158,89 @@ 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 @@ -1428,57 +1250,51 @@ 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) { getArrowSerializationOptionsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; - selectedFields_ = com.google.protobuf.LazyStringArrayList.emptyList(); + selectedFields_ = + com.google.protobuf.LazyStringArrayList.emptyList(); rowRestriction_ = ""; arrowSerializationOptions_ = null; if (arrowSerializationOptionsBuilder_ != null) { @@ -1489,22 +1305,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); } @@ -1513,17 +1326,13 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions bu @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions buildPartial() { - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions result = - new com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions result = new com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions result) { + private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { selectedFields_.makeImmutable(); @@ -1534,10 +1343,9 @@ private void buildPartial0( } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { - result.arrowSerializationOptions_ = - arrowSerializationOptionsBuilder_ == null - ? arrowSerializationOptions_ - : arrowSerializationOptionsBuilder_.build(); + result.arrowSerializationOptions_ = arrowSerializationOptionsBuilder_ == null + ? arrowSerializationOptions_ + : arrowSerializationOptionsBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -1547,54 +1355,46 @@ private void buildPartial0( 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_; @@ -1639,33 +1439,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureSelectedFieldsIsMutable(); - selectedFields_.add(s); - break; - } // case 10 - case 18: - { - rowRestriction_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage( - getArrowSerializationOptionsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensureSelectedFieldsIsMutable(); + selectedFields_.add(s); + break; + } // case 10 + case 18: { + rowRestriction_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getArrowSerializationOptionsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1675,12 +1472,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.LazyStringArrayList selectedFields_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureSelectedFieldsIsMutable() { if (!selectedFields_.isModifiable()) { selectedFields_ = new com.google.protobuf.LazyStringArrayList(selectedFields_); @@ -1688,8 +1483,6 @@ private void ensureSelectedFieldsIsMutable() { bitField0_ |= 0x00000001; } /** - * - * *
        * Names of the fields in the table that should be read. If empty, all
        * fields will be read. If the specified field is a nested field, all
@@ -1698,16 +1491,14 @@ private void ensureSelectedFieldsIsMutable() {
        * 
* * repeated string selected_fields = 1; - * * @return A list containing the selectedFields. */ - public com.google.protobuf.ProtocolStringList getSelectedFieldsList() { + public com.google.protobuf.ProtocolStringList + getSelectedFieldsList() { selectedFields_.makeImmutable(); return selectedFields_; } /** - * - * *
        * Names of the fields in the table that should be read. If empty, all
        * fields will be read. If the specified field is a nested field, all
@@ -1716,15 +1507,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
@@ -1733,7 +1521,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. */ @@ -1741,8 +1528,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
@@ -1751,16 +1536,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
@@ -1769,15 +1552,13 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSelectedFields( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureSelectedFieldsIsMutable(); selectedFields_.set(index, value); bitField0_ |= 0x00000001; @@ -1785,8 +1566,6 @@ public Builder setSelectedFields(int index, java.lang.String value) { 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
@@ -1795,14 +1574,12 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addSelectedFields( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureSelectedFieldsIsMutable(); selectedFields_.add(value); bitField0_ |= 0x00000001; @@ -1810,8 +1587,6 @@ public Builder addSelectedFields(java.lang.String value) { 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
@@ -1820,20 +1595,19 @@ 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_); bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Names of the fields in the table that should be read. If empty, all
        * fields will be read. If the specified field is a nested field, all
@@ -1842,19 +1616,16 @@ public Builder addAllSelectedFields(java.lang.Iterable values)
        * 
* * repeated string selected_fields = 1; - * * @return This builder for chaining. */ public Builder clearSelectedFields() { - selectedFields_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - ; + selectedFields_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; onChanged(); return this; } /** - * - * *
        * Names of the fields in the table that should be read. If empty, all
        * fields will be read. If the specified field is a nested field, all
@@ -1863,14 +1634,12 @@ public Builder clearSelectedFields() {
        * 
* * repeated string selected_fields = 1; - * * @param value The bytes of the selectedFields to add. * @return This builder for chaining. */ - public Builder addSelectedFieldsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addSelectedFieldsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureSelectedFieldsIsMutable(); selectedFields_.add(value); @@ -1881,8 +1650,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.
@@ -1897,13 +1664,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; @@ -1912,8 +1679,6 @@ public java.lang.String getRowRestriction() { } } /** - * - * *
        * SQL text filtering statement, similar to a WHERE clause in a query.
        * Aggregates are not supported.
@@ -1928,14 +1693,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 { @@ -1943,8 +1709,6 @@ public com.google.protobuf.ByteString getRowRestrictionBytes() { } } /** - * - * *
        * SQL text filtering statement, similar to a WHERE clause in a query.
        * Aggregates are not supported.
@@ -1959,22 +1723,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRowRestriction( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } rowRestriction_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * SQL text filtering statement, similar to a WHERE clause in a query.
        * Aggregates are not supported.
@@ -1989,7 +1749,6 @@ public Builder setRowRestriction(java.lang.String value) {
        * 
* * string row_restriction = 2; - * * @return This builder for chaining. */ public Builder clearRowRestriction() { @@ -1999,8 +1758,6 @@ public Builder clearRowRestriction() { return this; } /** - * - * *
        * SQL text filtering statement, similar to a WHERE clause in a query.
        * Aggregates are not supported.
@@ -2015,14 +1772,12 @@ public Builder clearRowRestriction() {
        * 
* * string row_restriction = 2; - * * @param value The bytes for rowRestriction to set. * @return This builder for chaining. */ - public Builder setRowRestrictionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRowRestrictionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); rowRestriction_ = value; bitField0_ |= 0x00000002; @@ -2030,66 +1785,43 @@ public Builder setRowRestrictionBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions - arrowSerializationOptions_; + private com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrowSerializationOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions, - com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Builder, - com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptionsOrBuilder> - arrowSerializationOptionsBuilder_; + com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions, com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Builder, com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptionsOrBuilder> arrowSerializationOptionsBuilder_; /** - * - * *
        * Optional. Options specific to the Apache Arrow output format.
        * 
* - * - * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the arrowSerializationOptions field is set. */ public boolean hasArrowSerializationOptions() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
        * Optional. Options specific to the Apache Arrow output format.
        * 
* - * - * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The arrowSerializationOptions. */ - public com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions - getArrowSerializationOptions() { + public com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions getArrowSerializationOptions() { if (arrowSerializationOptionsBuilder_ == null) { - return arrowSerializationOptions_ == null - ? com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions - .getDefaultInstance() - : arrowSerializationOptions_; + return arrowSerializationOptions_ == null ? com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.getDefaultInstance() : arrowSerializationOptions_; } else { return arrowSerializationOptionsBuilder_.getMessage(); } } /** - * - * *
        * Optional. Options specific to the Apache Arrow output format.
        * 
* - * - * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setArrowSerializationOptions( - com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions value) { + public Builder setArrowSerializationOptions(com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions value) { if (arrowSerializationOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2103,19 +1835,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(); } else { @@ -2126,24 +1853,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 (((bitField0_ & 0x00000004) != 0) - && arrowSerializationOptions_ != null - && arrowSerializationOptions_ - != com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions - .getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + arrowSerializationOptions_ != null && + arrowSerializationOptions_ != com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.getDefaultInstance()) { getArrowSerializationOptionsBuilder().mergeFrom(value); } else { arrowSerializationOptions_ = value; @@ -2158,15 +1878,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() { bitField0_ = (bitField0_ & ~0x00000004); @@ -2179,72 +1895,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() { bitField0_ |= 0x00000004; onChanged(); return getArrowSerializationOptionsFieldBuilder().getBuilder(); } /** - * - * *
        * Optional. Options specific to the Apache Arrow output format.
        * 
* - * - * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptionsOrBuilder - getArrowSerializationOptionsOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptionsOrBuilder getArrowSerializationOptionsOrBuilder() { if (arrowSerializationOptionsBuilder_ != null) { return arrowSerializationOptionsBuilder_.getMessageOrBuilder(); } else { - return arrowSerializationOptions_ == null - ? com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions - .getDefaultInstance() - : arrowSerializationOptions_; + return arrowSerializationOptions_ == null ? + com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.getDefaultInstance() : arrowSerializationOptions_; } } /** - * - * *
        * Optional. Options specific to the Apache Arrow output format.
        * 
* - * - * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions arrow_serialization_options = 3 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions, - com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Builder, - com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptionsOrBuilder> + com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions, com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Builder, com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptionsOrBuilder> getArrowSerializationOptionsFieldBuilder() { if (arrowSerializationOptionsBuilder_ == null) { - arrowSerializationOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions, - com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Builder, - com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptionsOrBuilder>( - getArrowSerializationOptions(), getParentForChildren(), isClean()); + arrowSerializationOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions, com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptions.Builder, com.google.cloud.bigquery.storage.v1beta2.ArrowSerializationOptionsOrBuilder>( + getArrowSerializationOptions(), + getParentForChildren(), + isClean()); arrowSerializationOptions_ = null; } return arrowSerializationOptionsBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2257,45 +1953,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions) - private static final com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions(); + DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions(); } - public static com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions - getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TableReadOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TableReadOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2307,27 +1999,23 @@ 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 bitField0_; private int schemaCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object schema_; - public enum SchemaCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { AVRO_SCHEMA(4), ARROW_SCHEMA(5), SCHEMA_NOT_SET(0); private final int value; - private SchemaCase(int value) { this.value = value; } @@ -2343,40 +2031,33 @@ public static SchemaCase valueOf(int value) { public static SchemaCase forNumber(int value) { switch (value) { - case 4: - return AVRO_SCHEMA; - case 5: - return ARROW_SCHEMA; - case 0: - return SCHEMA_NOT_SET; - default: - return null; + case 4: return AVRO_SCHEMA; + case 5: return ARROW_SCHEMA; + case 0: return SCHEMA_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public SchemaCase getSchemaCase() { - return SchemaCase.forNumber(schemaCase_); + public SchemaCase + getSchemaCase() { + return SchemaCase.forNumber( + schemaCase_); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. Unique identifier for the session, in the form
    * `projects/{project_id}/locations/{location}/sessions/{session_id}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -2385,30 +2066,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 { @@ -2419,17 +2100,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 @@ -2437,17 +2114,13 @@ public boolean hasExpireTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Output only. Time at which the session becomes invalid. After this time, subsequent
    * requests to read this Session will return errors. The expire_time is
    * automatically assigned and currently cannot be specified or updated.
    * 
* - * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expireTime. */ @java.lang.Override @@ -2455,16 +2128,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() { @@ -2474,56 +2144,36 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { public static final int DATA_FORMAT_FIELD_NUMBER = 3; private int dataFormat_ = 0; /** - * - * *
    * Immutable. Data format of the output data.
    * 
* - * - * .google.cloud.bigquery.storage.v1beta2.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.bigquery.storage.v1beta2.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for dataFormat. */ - @java.lang.Override - public int getDataFormatValue() { + @java.lang.Override public int getDataFormatValue() { return dataFormat_; } /** - * - * *
    * Immutable. Data format of the output data.
    * 
* - * - * .google.cloud.bigquery.storage.v1beta2.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.bigquery.storage.v1beta2.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; * @return The dataFormat. */ - @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.DataFormat getDataFormat() { - com.google.cloud.bigquery.storage.v1beta2.DataFormat result = - com.google.cloud.bigquery.storage.v1beta2.DataFormat.forNumber(dataFormat_); - return result == null - ? com.google.cloud.bigquery.storage.v1beta2.DataFormat.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.DataFormat getDataFormat() { + com.google.cloud.bigquery.storage.v1beta2.DataFormat result = com.google.cloud.bigquery.storage.v1beta2.DataFormat.forNumber(dataFormat_); + return result == null ? com.google.cloud.bigquery.storage.v1beta2.DataFormat.UNRECOGNIZED : result; } public static final int AVRO_SCHEMA_FIELD_NUMBER = 4; /** - * - * *
    * Output only. Avro schema.
    * 
* - * - * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the avroSchema field is set. */ @java.lang.Override @@ -2531,56 +2181,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 @@ -2588,60 +2224,45 @@ public boolean hasArrowSchema() { return schemaCase_ == 5; } /** - * - * *
    * Output only. Arrow schema.
    * 
* - * - * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The arrowSchema. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.ArrowSchema getArrowSchema() { if (schemaCase_ == 5) { - return (com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) schema_; + return (com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) schema_; } return com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.getDefaultInstance(); } /** - * - * *
    * Output only. Arrow schema.
    * 
* - * - * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.ArrowSchemaOrBuilder getArrowSchemaOrBuilder() { if (schemaCase_ == 5) { - return (com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) schema_; + return (com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) schema_; } return com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.getDefaultInstance(); } public static final int TABLE_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object table_ = ""; /** - * - * *
    * Immutable. Table that this ReadSession is reading from, in the form
    * `projects/{project_id}/datasets/{dataset_id}/tables/{table_id}
    * 
* - * - * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The table. */ @java.lang.Override @@ -2650,32 +2271,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 { @@ -2686,16 +2305,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 @@ -2703,56 +2317,37 @@ public boolean hasTableModifiers() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Optional. Any modifiers which are applied when reading from the specified table.
    * 
* - * - * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return The tableModifiers. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers getTableModifiers() { - return tableModifiers_ == null - ? com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.getDefaultInstance() - : tableModifiers_; + return tableModifiers_ == null ? com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.getDefaultInstance() : tableModifiers_; } /** - * - * *
    * Optional. Any modifiers which are applied when reading from the specified table.
    * 
* - * - * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiersOrBuilder - getTableModifiersOrBuilder() { - return tableModifiers_ == null - ? com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.getDefaultInstance() - : tableModifiers_; + public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiersOrBuilder getTableModifiersOrBuilder() { + return tableModifiers_ == null ? com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.getDefaultInstance() : tableModifiers_; } public static final int READ_OPTIONS_FIELD_NUMBER = 8; private com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions readOptions_; /** - * - * *
    * Optional. Read options for this session (e.g. column selection, filters).
    * 
* - * - * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the readOptions field is set. */ @java.lang.Override @@ -2760,52 +2355,33 @@ public boolean hasReadOptions() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * Optional. Read options for this session (e.g. column selection, filters).
    * 
* - * - * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return The readOptions. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions getReadOptions() { - return readOptions_ == null - ? com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions - .getDefaultInstance() - : readOptions_; + return readOptions_ == null ? com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions.getDefaultInstance() : readOptions_; } /** - * - * *
    * Optional. Read options for this session (e.g. column selection, filters).
    * 
* - * - * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptionsOrBuilder - getReadOptionsOrBuilder() { - return readOptions_ == null - ? com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions - .getDefaultInstance() - : readOptions_; + public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptionsOrBuilder getReadOptionsOrBuilder() { + return readOptions_ == null ? com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions.getDefaultInstance() : readOptions_; } public static final int STREAMS_FIELD_NUMBER = 10; - @SuppressWarnings("serial") private java.util.List streams_; /** - * - * *
    * Output only. A list of streams created with the session.
    *
@@ -2815,17 +2391,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.
    *
@@ -2835,18 +2407,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.
    *
@@ -2856,17 +2424,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.
    *
@@ -2876,17 +2440,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.
    *
@@ -2896,9 +2456,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( @@ -2907,7 +2465,6 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder getStreamsO } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2919,16 +2476,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (((bitField0_ & 0x00000001) != 0)) { 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) { @@ -2962,34 +2518,35 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getExpireTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getExpireTime()); } - if (dataFormat_ - != com.google.cloud.bigquery.storage.v1beta2.DataFormat.DATA_FORMAT_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, dataFormat_); + if (dataFormat_ != com.google.cloud.bigquery.storage.v1beta2.DataFormat.DATA_FORMAT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, dataFormat_); } if (schemaCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, (com.google.cloud.bigquery.storage.v1beta2.AvroSchema) schema_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.cloud.bigquery.storage.v1beta2.AvroSchema) schema_); } if (schemaCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, (com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) schema_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.cloud.bigquery.storage.v1beta2.ArrowSchema) schema_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(table_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, table_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getTableModifiers()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getTableModifiers()); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getReadOptions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getReadOptions()); } for (int i = 0; i < streams_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, streams_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, streams_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2999,37 +2556,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: @@ -3085,127 +2649,119 @@ 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() @@ -3213,20 +2769,20 @@ 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) { getExpireTimeFieldBuilder(); getTableModifiersFieldBuilder(); getReadOptionsFieldBuilder(); getStreamsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -3268,9 +2824,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 @@ -3289,19 +2845,15 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadSession build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.ReadSession buildPartial() { - com.google.cloud.bigquery.storage.v1beta2.ReadSession result = - new com.google.cloud.bigquery.storage.v1beta2.ReadSession(this); + com.google.cloud.bigquery.storage.v1beta2.ReadSession result = new com.google.cloud.bigquery.storage.v1beta2.ReadSession(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.bigquery.storage.v1beta2.ReadSession result) { + private void buildPartialRepeatedFields(com.google.cloud.bigquery.storage.v1beta2.ReadSession result) { if (streamsBuilder_ == null) { if (((bitField0_ & 0x00000100) != 0)) { streams_ = java.util.Collections.unmodifiableList(streams_); @@ -3320,7 +2872,9 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.ReadSession } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.expireTime_ = expireTimeBuilder_ == null ? expireTime_ : expireTimeBuilder_.build(); + result.expireTime_ = expireTimeBuilder_ == null + ? expireTime_ + : expireTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { @@ -3330,13 +2884,15 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.ReadSession result.table_ = table_; } if (((from_bitField0_ & 0x00000040) != 0)) { - result.tableModifiers_ = - tableModifiersBuilder_ == null ? tableModifiers_ : tableModifiersBuilder_.build(); + result.tableModifiers_ = tableModifiersBuilder_ == null + ? tableModifiers_ + : tableModifiersBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000080) != 0)) { - result.readOptions_ = - readOptionsBuilder_ == null ? readOptions_ : readOptionsBuilder_.build(); + result.readOptions_ = readOptionsBuilder_ == null + ? readOptions_ + : readOptionsBuilder_.build(); to_bitField0_ |= 0x00000004; } result.bitField0_ |= to_bitField0_; @@ -3345,10 +2901,12 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.ReadSession private void buildPartialOneofs(com.google.cloud.bigquery.storage.v1beta2.ReadSession result) { result.schemaCase_ = schemaCase_; result.schema_ = this.schema_; - if (schemaCase_ == 4 && avroSchemaBuilder_ != null) { + if (schemaCase_ == 4 && + avroSchemaBuilder_ != null) { result.schema_ = avroSchemaBuilder_.build(); } - if (schemaCase_ == 5 && arrowSchemaBuilder_ != null) { + if (schemaCase_ == 5 && + arrowSchemaBuilder_ != null) { result.schema_ = arrowSchemaBuilder_.build(); } } @@ -3357,39 +2915,38 @@ private void buildPartialOneofs(com.google.cloud.bigquery.storage.v1beta2.ReadSe public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta2.ReadSession) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.ReadSession) other); + return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.ReadSession)other); } else { super.mergeFrom(other); return this; @@ -3397,8 +2954,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_; bitField0_ |= 0x00000001; @@ -3439,30 +2995,26 @@ public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.ReadSession o streamsBuilder_ = null; streams_ = other.streams_; bitField0_ = (bitField0_ & ~0x00000100); - streamsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getStreamsFieldBuilder() - : null; + streamsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getStreamsFieldBuilder() : null; } else { streamsBuilder_.addAllMessages(other.streams_); } } } switch (other.getSchemaCase()) { - case AVRO_SCHEMA: - { - mergeAvroSchema(other.getAvroSchema()); - break; - } - case ARROW_SCHEMA: - { - mergeArrowSchema(other.getArrowSchema()); - break; - } - case SCHEMA_NOT_SET: - { - break; - } + case AVRO_SCHEMA: { + mergeAvroSchema(other.getAvroSchema()); + break; + } + case ARROW_SCHEMA: { + mergeArrowSchema(other.getArrowSchema()); + break; + } + case SCHEMA_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -3490,75 +3042,75 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getExpireTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - dataFormat_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: - { - input.readMessage(getAvroSchemaFieldBuilder().getBuilder(), extensionRegistry); - schemaCase_ = 4; - break; - } // case 34 - case 42: - { - input.readMessage(getArrowSchemaFieldBuilder().getBuilder(), extensionRegistry); - schemaCase_ = 5; - break; - } // case 42 - case 50: - { - table_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: - { - input.readMessage(getTableModifiersFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 58 - case 66: - { - input.readMessage(getReadOptionsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000080; - break; - } // case 66 - case 82: - { - com.google.cloud.bigquery.storage.v1beta2.ReadStream m = - input.readMessage( - com.google.cloud.bigquery.storage.v1beta2.ReadStream.parser(), - extensionRegistry); - if (streamsBuilder_ == null) { - ensureStreamsIsMutable(); - streams_.add(m); - } else { - streamsBuilder_.addMessage(m); - } - break; - } // case 82 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getExpireTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + dataFormat_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + input.readMessage( + getAvroSchemaFieldBuilder().getBuilder(), + extensionRegistry); + schemaCase_ = 4; + break; + } // case 34 + case 42: { + input.readMessage( + getArrowSchemaFieldBuilder().getBuilder(), + extensionRegistry); + schemaCase_ = 5; + break; + } // case 42 + case 50: { + table_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: { + input.readMessage( + getTableModifiersFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: { + input.readMessage( + getReadOptionsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 82: { + com.google.cloud.bigquery.storage.v1beta2.ReadStream m = + input.readMessage( + com.google.cloud.bigquery.storage.v1beta2.ReadStream.parser(), + extensionRegistry); + if (streamsBuilder_ == null) { + ensureStreamsIsMutable(); + streams_.add(m); + } else { + streamsBuilder_.addMessage(m); + } + break; + } // case 82 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3568,12 +3120,12 @@ public Builder mergeFrom( } // finally return this; } - private int schemaCase_ = 0; private java.lang.Object schema_; - - public SchemaCase getSchemaCase() { - return SchemaCase.forNumber(schemaCase_); + public SchemaCase + getSchemaCase() { + return SchemaCase.forNumber( + schemaCase_); } public Builder clearSchema() { @@ -3587,21 +3139,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; @@ -3610,22 +3160,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 { @@ -3633,37 +3182,30 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. Unique identifier for the session, in the form
      * `projects/{project_id}/locations/{location}/sessions/{session_id}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -3673,22 +3215,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. Unique identifier for the session, in the form
      * `projects/{project_id}/locations/{location}/sessions/{session_id}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -3698,64 +3236,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 ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Output only. Time at which the session becomes invalid. After this time, subsequent
      * requests to read this Session will return errors. The expire_time is
      * automatically assigned and currently cannot be specified or updated.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expireTime. */ public com.google.protobuf.Timestamp getExpireTime() { if (expireTimeBuilder_ == null) { - return expireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expireTime_; + return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } else { return expireTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Time at which the session becomes invalid. After this time, subsequent
      * requests to read this Session will return errors. The expire_time is
      * automatically assigned and currently cannot be specified or updated.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { @@ -3771,19 +3290,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(); } else { @@ -3794,23 +3310,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 (((bitField0_ & 0x00000002) != 0) - && expireTime_ != null - && expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + expireTime_ != null && + expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getExpireTimeBuilder().mergeFrom(value); } else { expireTime_ = value; @@ -3825,17 +3337,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() { bitField0_ = (bitField0_ & ~0x00000002); @@ -3848,17 +3356,13 @@ public Builder clearExpireTime() { return this; } /** - * - * *
      * Output only. Time at which the session becomes invalid. After this time, subsequent
      * requests to read this Session will return errors. The expire_time is
      * automatically assigned and currently cannot be specified or updated.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { bitField0_ |= 0x00000002; @@ -3866,52 +3370,40 @@ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { return getExpireTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Time at which the session becomes invalid. After this time, subsequent
      * requests to read this Session will return errors. The expire_time is
      * automatically assigned and currently cannot be specified or updated.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { if (expireTimeBuilder_ != null) { return expireTimeBuilder_.getMessageOrBuilder(); } else { - return expireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expireTime_; + return expireTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } } /** - * - * *
      * Output only. Time at which the session becomes invalid. After this time, subsequent
      * requests to read this Session will return errors. The expire_time is
      * automatically assigned and currently cannot be specified or updated.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getExpireTimeFieldBuilder() { if (expireTimeBuilder_ == null) { - expireTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getExpireTime(), getParentForChildren(), isClean()); + expireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getExpireTime(), + getParentForChildren(), + isClean()); expireTime_ = null; } return expireTimeBuilder_; @@ -3919,33 +3411,22 @@ 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. */ @@ -3956,37 +3437,24 @@ public Builder setDataFormatValue(int value) { return this; } /** - * - * *
      * Immutable. Data format of the output data.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta2.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.bigquery.storage.v1beta2.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; * @return The dataFormat. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.DataFormat getDataFormat() { - com.google.cloud.bigquery.storage.v1beta2.DataFormat result = - com.google.cloud.bigquery.storage.v1beta2.DataFormat.forNumber(dataFormat_); - return result == null - ? com.google.cloud.bigquery.storage.v1beta2.DataFormat.UNRECOGNIZED - : result; + com.google.cloud.bigquery.storage.v1beta2.DataFormat result = com.google.cloud.bigquery.storage.v1beta2.DataFormat.forNumber(dataFormat_); + return result == null ? com.google.cloud.bigquery.storage.v1beta2.DataFormat.UNRECOGNIZED : result; } /** - * - * *
      * Immutable. Data format of the output data.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta2.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.bigquery.storage.v1beta2.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; * @param value The dataFormat to set. * @return This builder for chaining. */ @@ -4000,16 +3468,11 @@ public Builder setDataFormat(com.google.cloud.bigquery.storage.v1beta2.DataForma return this; } /** - * - * *
      * Immutable. Data format of the output data.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta2.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.bigquery.storage.v1beta2.DataFormat data_format = 3 [(.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearDataFormat() { @@ -4020,21 +3483,13 @@ public Builder clearDataFormat() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.AvroSchema, - com.google.cloud.bigquery.storage.v1beta2.AvroSchema.Builder, - com.google.cloud.bigquery.storage.v1beta2.AvroSchemaOrBuilder> - avroSchemaBuilder_; + com.google.cloud.bigquery.storage.v1beta2.AvroSchema, com.google.cloud.bigquery.storage.v1beta2.AvroSchema.Builder, com.google.cloud.bigquery.storage.v1beta2.AvroSchemaOrBuilder> avroSchemaBuilder_; /** - * - * *
      * Output only. Avro schema.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the avroSchema field is set. */ @java.lang.Override @@ -4042,16 +3497,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 @@ -4069,15 +3519,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) { @@ -4093,15 +3539,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) { @@ -4115,26 +3557,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; } @@ -4150,15 +3584,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) { @@ -4177,29 +3607,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() { @@ -4213,30 +3635,21 @@ 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()); @@ -4248,21 +3661,13 @@ public com.google.cloud.bigquery.storage.v1beta2.AvroSchemaOrBuilder getAvroSche } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.ArrowSchema, - com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.Builder, - com.google.cloud.bigquery.storage.v1beta2.ArrowSchemaOrBuilder> - arrowSchemaBuilder_; + com.google.cloud.bigquery.storage.v1beta2.ArrowSchema, com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.Builder, com.google.cloud.bigquery.storage.v1beta2.ArrowSchemaOrBuilder> arrowSchemaBuilder_; /** - * - * *
      * Output only. Arrow schema.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the arrowSchema field is set. */ @java.lang.Override @@ -4270,16 +3675,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 @@ -4297,15 +3697,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) { @@ -4321,15 +3717,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) { @@ -4343,26 +3735,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; } @@ -4378,15 +3762,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) { @@ -4405,33 +3785,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 { @@ -4442,30 +3813,21 @@ 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()); @@ -4478,23 +3840,19 @@ public com.google.cloud.bigquery.storage.v1beta2.ArrowSchema.Builder getArrowSch 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; @@ -4503,24 +3861,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 { @@ -4528,41 +3883,30 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } table_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Immutable. Table that this ReadSession is reading from, in the form
      * `projects/{project_id}/datasets/{dataset_id}/tables/{table_id}
      * 
* - * - * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearTable() { @@ -4572,24 +3916,18 @@ public Builder clearTable() { return this; } /** - * - * *
      * Immutable. Table that this ReadSession is reading from, in the form
      * `projects/{project_id}/datasets/{dataset_id}/tables/{table_id}
      * 
* - * - * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string table = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @param value The bytes for table to set. * @return This builder for chaining. */ - public Builder setTableBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); table_ = value; bitField0_ |= 0x00000020; @@ -4599,63 +3937,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 ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * Optional. Any modifiers which are applied when reading from the specified table.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return The tableModifiers. */ - public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers - getTableModifiers() { + public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers getTableModifiers() { if (tableModifiersBuilder_ == null) { - return tableModifiers_ == null - ? com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers - .getDefaultInstance() - : tableModifiers_; + return tableModifiers_ == null ? com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.getDefaultInstance() : tableModifiers_; } else { return tableModifiersBuilder_.getMessage(); } } /** - * - * *
      * Optional. Any modifiers which are applied when reading from the specified table.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setTableModifiers( - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers value) { + public Builder setTableModifiers(com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers value) { if (tableModifiersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4669,19 +3985,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(); } else { @@ -4692,24 +4003,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 (((bitField0_ & 0x00000040) != 0) - && tableModifiers_ != null - && tableModifiers_ - != com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers - .getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) && + tableModifiers_ != null && + tableModifiers_ != com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.getDefaultInstance()) { getTableModifiersBuilder().mergeFrom(value); } else { tableModifiers_ = value; @@ -4724,15 +4028,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() { bitField0_ = (bitField0_ & ~0x00000040); @@ -4745,67 +4045,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() { bitField0_ |= 0x00000040; onChanged(); return getTableModifiersFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Any modifiers which are applied when reading from the specified table.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiersOrBuilder - getTableModifiersOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiersOrBuilder getTableModifiersOrBuilder() { if (tableModifiersBuilder_ != null) { return tableModifiersBuilder_.getMessageOrBuilder(); } else { - return tableModifiers_ == null - ? com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers - .getDefaultInstance() - : tableModifiers_; + return tableModifiers_ == null ? + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.getDefaultInstance() : tableModifiers_; } } /** - * - * *
      * Optional. Any modifiers which are applied when reading from the specified table.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers table_modifiers = 7 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers, - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.Builder, - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiersOrBuilder> + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers, com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.Builder, com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiersOrBuilder> getTableModifiersFieldBuilder() { if (tableModifiersBuilder_ == null) { - tableModifiersBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers, - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.Builder, - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiersOrBuilder>( - getTableModifiers(), getParentForChildren(), isClean()); + tableModifiersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers, com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiers.Builder, com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableModifiersOrBuilder>( + getTableModifiers(), + getParentForChildren(), + isClean()); tableModifiers_ = null; } return tableModifiersBuilder_; @@ -4813,62 +4094,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 ((bitField0_ & 0x00000080) != 0); } /** - * - * *
      * Optional. Read options for this session (e.g. column selection, filters).
      * 
* - * - * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; * @return The readOptions. */ public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions getReadOptions() { if (readOptionsBuilder_ == null) { - return readOptions_ == null - ? com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions - .getDefaultInstance() - : readOptions_; + return readOptions_ == null ? com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions.getDefaultInstance() : readOptions_; } else { return readOptionsBuilder_.getMessage(); } } /** - * - * *
      * Optional. Read options for this session (e.g. column selection, filters).
      * 
* - * - * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setReadOptions( - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions value) { + public Builder setReadOptions(com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions value) { if (readOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4882,19 +4142,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(); } else { @@ -4905,24 +4160,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 (((bitField0_ & 0x00000080) != 0) - && readOptions_ != null - && readOptions_ - != com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions - .getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) && + readOptions_ != null && + readOptions_ != com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions.getDefaultInstance()) { getReadOptionsBuilder().mergeFrom(value); } else { readOptions_ = value; @@ -4937,15 +4185,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() { bitField0_ = (bitField0_ & ~0x00000080); @@ -4958,92 +4202,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() { bitField0_ |= 0x00000080; onChanged(); return getReadOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Read options for this session (e.g. column selection, filters).
      * 
* - * - * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptionsOrBuilder - getReadOptionsOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptionsOrBuilder getReadOptionsOrBuilder() { if (readOptionsBuilder_ != null) { return readOptionsBuilder_.getMessageOrBuilder(); } else { - return readOptions_ == null - ? com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions - .getDefaultInstance() - : readOptions_; + return readOptions_ == null ? + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions.getDefaultInstance() : readOptions_; } } /** - * - * *
      * Optional. Read options for this session (e.g. column selection, filters).
      * 
* - * - * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions read_options = 8 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions, - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions.Builder, - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptionsOrBuilder> + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions, com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions.Builder, com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptionsOrBuilder> getReadOptionsFieldBuilder() { if (readOptionsBuilder_ == null) { - readOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions, - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions.Builder, - com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptionsOrBuilder>( - getReadOptions(), getParentForChildren(), isClean()); + readOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions, com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptions.Builder, com.google.cloud.bigquery.storage.v1beta2.ReadSession.TableReadOptionsOrBuilder>( + getReadOptions(), + getParentForChildren(), + isClean()); readOptions_ = null; } return readOptionsBuilder_; } private java.util.List streams_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureStreamsIsMutable() { if (!((bitField0_ & 0x00000100) != 0)) { - streams_ = - new java.util.ArrayList(streams_); + streams_ = new java.util.ArrayList(streams_); bitField0_ |= 0x00000100; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.ReadStream, - com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder, - com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder> - streamsBuilder_; + com.google.cloud.bigquery.storage.v1beta2.ReadStream, com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder, com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder> streamsBuilder_; /** - * - * *
      * Output only. A list of streams created with the session.
      *
@@ -5053,9 +4271,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) { @@ -5065,8 +4281,6 @@ public java.util.List getS } } /** - * - * *
      * Output only. A list of streams created with the session.
      *
@@ -5076,9 +4290,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) { @@ -5088,8 +4300,6 @@ public int getStreamsCount() { } } /** - * - * *
      * Output only. A list of streams created with the session.
      *
@@ -5099,9 +4309,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) { @@ -5111,8 +4319,6 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadStream getStreams(int index } } /** - * - * *
      * Output only. A list of streams created with the session.
      *
@@ -5122,9 +4328,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) { @@ -5141,8 +4345,6 @@ public Builder setStreams( return this; } /** - * - * *
      * Output only. A list of streams created with the session.
      *
@@ -5152,9 +4354,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) { @@ -5168,8 +4368,6 @@ public Builder setStreams( return this; } /** - * - * *
      * Output only. A list of streams created with the session.
      *
@@ -5179,9 +4377,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) { @@ -5197,8 +4393,6 @@ public Builder addStreams(com.google.cloud.bigquery.storage.v1beta2.ReadStream v return this; } /** - * - * *
      * Output only. A list of streams created with the session.
      *
@@ -5208,9 +4402,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) { @@ -5227,8 +4419,6 @@ public Builder addStreams( return this; } /** - * - * *
      * Output only. A list of streams created with the session.
      *
@@ -5238,9 +4428,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) { @@ -5254,8 +4442,6 @@ public Builder addStreams( return this; } /** - * - * *
      * Output only. A list of streams created with the session.
      *
@@ -5265,9 +4451,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) { @@ -5281,8 +4465,6 @@ public Builder addStreams( return this; } /** - * - * *
      * Output only. A list of streams created with the session.
      *
@@ -5292,15 +4474,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); @@ -5308,8 +4489,6 @@ public Builder addAllStreams( return this; } /** - * - * *
      * Output only. A list of streams created with the session.
      *
@@ -5319,9 +4498,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) { @@ -5334,8 +4511,6 @@ public Builder clearStreams() { return this; } /** - * - * *
      * Output only. A list of streams created with the session.
      *
@@ -5345,9 +4520,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) { @@ -5360,8 +4533,6 @@ public Builder removeStreams(int index) { return this; } /** - * - * *
      * Output only. A list of streams created with the session.
      *
@@ -5371,17 +4542,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.
      *
@@ -5391,21 +4558,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.
      *
@@ -5415,12 +4577,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 { @@ -5428,8 +4588,6 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder getStreamsO } } /** - * - * *
      * Output only. A list of streams created with the session.
      *
@@ -5439,17 +4597,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.
      *
@@ -5459,19 +4613,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.
      *
@@ -5481,34 +4630,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_ & 0x00000100) != 0), getParentForChildren(), isClean()); + streamsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta2.ReadStream, com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder, com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder>( + streams_, + ((bitField0_ & 0x00000100) != 0), + getParentForChildren(), + isClean()); streams_ = null; } return streamsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5518,12 +4662,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(); } @@ -5532,27 +4676,27 @@ public static com.google.cloud.bigquery.storage.v1beta2.ReadSession getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadSession parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadSession parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5567,4 +4711,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 9983c03a68..31b6305d8c 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,329 +1,218 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 // Protobuf Java Version: 3.25.2 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.
    *
@@ -333,14 +222,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.
    *
@@ -350,14 +236,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.
    *
@@ -367,14 +249,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.
    *
@@ -384,15 +262,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.
    *
@@ -402,11 +276,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); 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 68% 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 9ebdc69a28..1f5e56d315 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,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 @@ -20,8 +5,6 @@ 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
@@ -30,55 +13,49 @@
  *
  * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.ReadStream}
  */
-public final class ReadStream extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ReadStream extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.ReadStream)
     ReadStreamOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ReadStream.newBuilder() to construct.
   private ReadStream(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ReadStream() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ReadStream();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.bigquery.storage.v1beta2.StreamProto
-        .internal_static_google_cloud_bigquery_storage_v1beta2_ReadStream_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.bigquery.storage.v1beta2.StreamProto.internal_static_google_cloud_bigquery_storage_v1beta2_ReadStream_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.storage.v1beta2.StreamProto
-        .internal_static_google_cloud_bigquery_storage_v1beta2_ReadStream_fieldAccessorTable
+    return com.google.cloud.bigquery.storage.v1beta2.StreamProto.internal_static_google_cloud_bigquery_storage_v1beta2_ReadStream_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.storage.v1beta2.ReadStream.class,
-            com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder.class);
+            com.google.cloud.bigquery.storage.v1beta2.ReadStream.class, com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Output only. Name of the stream, in the form
    * `projects/{project_id}/locations/{location}/sessions/{session_id}/streams/{stream_id}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -87,30 +64,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 { @@ -119,7 +96,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -131,7 +107,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -155,15 +132,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta2.ReadStream)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta2.ReadStream other = - (com.google.cloud.bigquery.storage.v1beta2.ReadStream) obj; + com.google.cloud.bigquery.storage.v1beta2.ReadStream other = (com.google.cloud.bigquery.storage.v1beta2.ReadStream) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -183,103 +160,98 @@ 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
@@ -288,32 +260,33 @@ 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()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -323,9 +296,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
@@ -344,11 +317,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);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.bigquery.storage.v1beta2.ReadStream result = new com.google.cloud.bigquery.storage.v1beta2.ReadStream(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -364,39 +334,38 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.ReadStream
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.storage.v1beta2.ReadStream) {
-        return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.ReadStream) other);
+        return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.ReadStream)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -404,8 +373,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_;
         bitField0_ |= 0x00000001;
@@ -437,19 +405,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -459,26 +425,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. Name of the stream, in the form
      * `projects/{project_id}/locations/{location}/sessions/{session_id}/streams/{stream_id}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -487,22 +450,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 { @@ -510,37 +472,30 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. Name of the stream, in the form
      * `projects/{project_id}/locations/{location}/sessions/{session_id}/streams/{stream_id}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -550,31 +505,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. Name of the stream, in the form
      * `projects/{project_id}/locations/{location}/sessions/{session_id}/streams/{stream_id}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -584,12 +535,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(); } @@ -598,27 +549,27 @@ public static com.google.cloud.bigquery.storage.v1beta2.ReadStream getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadStream parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadStream parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -633,4 +584,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 99% 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 index 6e831545c6..c3c87585ab 100644 --- 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 @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. 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 57% 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 2dfc13e601..96632e40c7 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,53 +1,32 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 // Protobuf Java Version: 3.25.2 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 64% 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 fb4173ed5b..4cc78825ec 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,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 @@ -20,64 +5,54 @@ package com.google.cloud.bigquery.storage.v1beta2; /** - * - * *
  * Request message for `SplitReadStream`.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest} */ -public final class SplitReadStreamRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SplitReadStreamRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest) SplitReadStreamRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SplitReadStreamRequest.newBuilder() to construct. private SplitReadStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SplitReadStreamRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SplitReadStreamRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_SplitReadStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_SplitReadStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_SplitReadStreamRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_SplitReadStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest.class, - com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest.class, com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. Name of the stream to split.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -86,31 +61,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 { @@ -121,8 +94,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int FRACTION_FIELD_NUMBER = 2; private double fraction_ = 0D; /** - * - * *
    * A value in the range (0.0, 1.0) that specifies the fractional point at
    * which the original stream should be split. The actual split point is
@@ -134,7 +105,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * double fraction = 2; - * * @return The fraction. */ @java.lang.Override @@ -143,7 +113,6 @@ public double getFraction() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -155,7 +124,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -175,7 +145,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (java.lang.Double.doubleToRawLongBits(fraction_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, fraction_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(2, fraction_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -185,17 +156,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -210,146 +182,139 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + FRACTION_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getFraction())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getFraction())); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for `SplitReadStream`.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest) com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_SplitReadStreamRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_SplitReadStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_SplitReadStreamRequest_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_SplitReadStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest.class, - com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest.class, com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -360,14 +325,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(); } @@ -382,17 +346,13 @@ public com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest build() @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest buildPartial() { - com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest result = - new com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest result = new com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest result) { + private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -406,50 +366,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest) other); + return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest other) { - if (other - == com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest other) { + if (other == com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -484,25 +440,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 17: - { - fraction_ = input.readDouble(); - bitField0_ |= 0x00000002; - break; - } // case 17 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 17: { + fraction_ = input.readDouble(); + bitField0_ |= 0x00000002; + break; + } // case 17 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -512,27 +465,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. Name of the stream to split.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -541,23 +489,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 { @@ -565,39 +510,28 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Name of the stream to split.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -607,23 +541,17 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. Name of the stream to split.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -631,10 +559,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { 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
@@ -646,7 +572,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * double fraction = 2; - * * @return The fraction. */ @java.lang.Override @@ -654,8 +579,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
@@ -667,7 +590,6 @@ public double getFraction() {
      * 
* * double fraction = 2; - * * @param value The fraction to set. * @return This builder for chaining. */ @@ -679,8 +601,6 @@ public Builder setFraction(double value) { return this; } /** - * - * *
      * A value in the range (0.0, 1.0) that specifies the fractional point at
      * which the original stream should be split. The actual split point is
@@ -692,7 +612,6 @@ public Builder setFraction(double value) {
      * 
* * double fraction = 2; - * * @return This builder for chaining. */ public Builder clearFraction() { @@ -701,9 +620,9 @@ public Builder clearFraction() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -713,43 +632,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest) - private static final com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest(); } - public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest - getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SplitReadStreamRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SplitReadStreamRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -761,8 +678,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 4ff50d905e..64f88e471d 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,61 +1,34 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 // Protobuf Java Version: 3.25.2 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
@@ -67,7 +40,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 68% 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 ec478e634a..1c38252dcd 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,64 +1,48 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 // Protobuf Java Version: 3.25.2 package com.google.cloud.bigquery.storage.v1beta2; -/** Protobuf type {@code google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse} */ -public final class SplitReadStreamResponse extends com.google.protobuf.GeneratedMessageV3 - implements +/** + * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse} + */ +public final class SplitReadStreamResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse) SplitReadStreamResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SplitReadStreamResponse.newBuilder() to construct. private SplitReadStreamResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private SplitReadStreamResponse() {} + private SplitReadStreamResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SplitReadStreamResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_SplitReadStreamResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_SplitReadStreamResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_SplitReadStreamResponse_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_SplitReadStreamResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse.class, - com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse.class, com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse.Builder.class); } private int bitField0_; 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
@@ -66,7 +50,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 @@ -74,8 +57,6 @@ public boolean hasPrimaryStream() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Primary stream, which contains the beginning portion of
    * |original_stream|. An empty value indicates that the original stream can no
@@ -83,18 +64,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
@@ -105,23 +81,18 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadStream getPrimaryStream() {
    */
   @java.lang.Override
   public com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder getPrimaryStreamOrBuilder() {
-    return primaryStream_ == null
-        ? com.google.cloud.bigquery.storage.v1beta2.ReadStream.getDefaultInstance()
-        : primaryStream_;
+    return primaryStream_ == null ? com.google.cloud.bigquery.storage.v1beta2.ReadStream.getDefaultInstance() : primaryStream_;
   }
 
   public static final int REMAINDER_STREAM_FIELD_NUMBER = 2;
   private com.google.cloud.bigquery.storage.v1beta2.ReadStream remainderStream_;
   /**
-   *
-   *
    * 
    * Remainder stream, which contains the tail of |original_stream|. An empty
    * value indicates that the original stream can no longer be split.
    * 
* * .google.cloud.bigquery.storage.v1beta2.ReadStream remainder_stream = 2; - * * @return Whether the remainderStream field is set. */ @java.lang.Override @@ -129,26 +100,19 @@ public boolean hasRemainderStream() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Remainder stream, which contains the tail of |original_stream|. An empty
    * value indicates that the original stream can no longer be split.
    * 
* * .google.cloud.bigquery.storage.v1beta2.ReadStream remainder_stream = 2; - * * @return The remainderStream. */ @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.
@@ -157,15 +121,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() {
-    return remainderStream_ == null
-        ? com.google.cloud.bigquery.storage.v1beta2.ReadStream.getDefaultInstance()
-        : remainderStream_;
+  public com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder getRemainderStreamOrBuilder() {
+    return remainderStream_ == null ? com.google.cloud.bigquery.storage.v1beta2.ReadStream.getDefaultInstance() : remainderStream_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -177,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 (((bitField0_ & 0x00000001) != 0)) {
       output.writeMessage(1, getPrimaryStream());
     }
@@ -194,10 +155,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPrimaryStream());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getPrimaryStream());
     }
     if (((bitField0_ & 0x00000002) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRemainderStream());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getRemainderStream());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -207,21 +170,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 (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -248,140 +212,134 @@ 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) {
         getPrimaryStreamFieldBuilder();
         getRemainderStreamFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -400,14 +358,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();
     }
 
@@ -422,27 +379,25 @@ public com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse build()
 
     @java.lang.Override
     public com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse buildPartial() {
-      com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse result =
-          new com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse result = new com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse result) {
+    private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse result) {
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.primaryStream_ =
-            primaryStreamBuilder_ == null ? primaryStream_ : primaryStreamBuilder_.build();
+        result.primaryStream_ = primaryStreamBuilder_ == null
+            ? primaryStream_
+            : primaryStreamBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.remainderStream_ =
-            remainderStreamBuilder_ == null ? remainderStream_ : remainderStreamBuilder_.build();
+        result.remainderStream_ = remainderStreamBuilder_ == null
+            ? remainderStream_
+            : remainderStreamBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       result.bitField0_ |= to_bitField0_;
@@ -452,50 +407,46 @@ private void buildPartial0(
     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());
       }
@@ -528,25 +479,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getPrimaryStreamFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getRemainderStreamFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getPrimaryStreamFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getRemainderStreamFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -556,18 +508,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.cloud.bigquery.storage.v1beta2.ReadStream primaryStream_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.bigquery.storage.v1beta2.ReadStream,
-            com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder,
-            com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder>
-        primaryStreamBuilder_;
+        com.google.cloud.bigquery.storage.v1beta2.ReadStream, com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder, com.google.cloud.bigquery.storage.v1beta2.ReadStreamOrBuilder> primaryStreamBuilder_;
     /**
-     *
-     *
      * 
      * Primary stream, which contains the beginning portion of
      * |original_stream|. An empty value indicates that the original stream can no
@@ -575,15 +521,12 @@ public Builder mergeFrom(
      * 
* * .google.cloud.bigquery.storage.v1beta2.ReadStream primary_stream = 1; - * * @return Whether the primaryStream field is set. */ public boolean hasPrimaryStream() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Primary stream, which contains the beginning portion of
      * |original_stream|. An empty value indicates that the original stream can no
@@ -591,21 +534,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
@@ -628,8 +566,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
@@ -650,8 +586,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
@@ -662,10 +596,9 @@ public Builder setPrimaryStream(
      */
     public Builder mergePrimaryStream(com.google.cloud.bigquery.storage.v1beta2.ReadStream value) {
       if (primaryStreamBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && primaryStream_ != null
-            && primaryStream_
-                != com.google.cloud.bigquery.storage.v1beta2.ReadStream.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          primaryStream_ != null &&
+          primaryStream_ != com.google.cloud.bigquery.storage.v1beta2.ReadStream.getDefaultInstance()) {
           getPrimaryStreamBuilder().mergeFrom(value);
         } else {
           primaryStream_ = value;
@@ -680,8 +613,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
@@ -701,8 +632,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
@@ -717,8 +646,6 @@ public com.google.cloud.bigquery.storage.v1beta2.ReadStream.Builder getPrimarySt
       return getPrimaryStreamFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Primary stream, which contains the beginning portion of
      * |original_stream|. An empty value indicates that the original stream can no
@@ -727,19 +654,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
@@ -749,17 +672,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_;
@@ -767,49 +687,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 ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Remainder stream, which contains the tail of |original_stream|. An empty
      * value indicates that the original stream can no longer be split.
      * 
* * .google.cloud.bigquery.storage.v1beta2.ReadStream remainder_stream = 2; - * * @return The remainderStream. */ public com.google.cloud.bigquery.storage.v1beta2.ReadStream getRemainderStream() { if (remainderStreamBuilder_ == null) { - return remainderStream_ == null - ? com.google.cloud.bigquery.storage.v1beta2.ReadStream.getDefaultInstance() - : remainderStream_; + return remainderStream_ == null ? com.google.cloud.bigquery.storage.v1beta2.ReadStream.getDefaultInstance() : remainderStream_; } else { return remainderStreamBuilder_.getMessage(); } } /** - * - * *
      * Remainder stream, which contains the tail of |original_stream|. An empty
      * value indicates that the original stream can no longer be split.
@@ -831,8 +738,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.
@@ -852,8 +757,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.
@@ -861,13 +764,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 (((bitField0_ & 0x00000002) != 0)
-            && remainderStream_ != null
-            && remainderStream_
-                != com.google.cloud.bigquery.storage.v1beta2.ReadStream.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          remainderStream_ != null &&
+          remainderStream_ != com.google.cloud.bigquery.storage.v1beta2.ReadStream.getDefaultInstance()) {
           getRemainderStreamBuilder().mergeFrom(value);
         } else {
           remainderStream_ = value;
@@ -882,8 +783,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.
@@ -902,8 +801,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.
@@ -911,15 +808,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() {
       bitField0_ |= 0x00000002;
       onChanged();
       return getRemainderStreamFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Remainder stream, which contains the tail of |original_stream|. An empty
      * value indicates that the original stream can no longer be split.
@@ -927,19 +821,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.
@@ -948,24 +838,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);
     }
 
@@ -975,43 +862,41 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse)
-  private static final com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse
-      DEFAULT_INSTANCE;
-
+  private static final com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse DEFAULT_INSTANCE;
   static {
     DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse();
   }
 
-  public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse
-      getDefaultInstance() {
+  public static com.google.cloud.bigquery.storage.v1beta2.SplitReadStreamResponse getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public SplitReadStreamResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public SplitReadStreamResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1023,8 +908,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 ab76fdc5cf..ded4263283 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,32 +1,14 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for 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
 
 // Protobuf Java Version: 3.25.2
 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
@@ -34,13 +16,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
@@ -48,13 +27,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
@@ -66,34 +42,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 69%
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 b60e26292b..eef05fb9fc 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,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for 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
 
@@ -20,8 +5,6 @@
 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
@@ -31,16 +14,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_ = "";
@@ -49,38 +31,34 @@ private StorageError() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new StorageError();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.bigquery.storage.v1beta2.StorageProto
-        .internal_static_google_cloud_bigquery_storage_v1beta2_StorageError_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_StorageError_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.bigquery.storage.v1beta2.StorageProto
-        .internal_static_google_cloud_bigquery_storage_v1beta2_StorageError_fieldAccessorTable
+    return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_StorageError_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.bigquery.storage.v1beta2.StorageError.class,
-            com.google.cloud.bigquery.storage.v1beta2.StorageError.Builder.class);
+            com.google.cloud.bigquery.storage.v1beta2.StorageError.class, com.google.cloud.bigquery.storage.v1beta2.StorageError.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Error code for `StorageError`.
    * 
* * Protobuf enum {@code google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode} */ - public enum StorageErrorCode implements com.google.protobuf.ProtocolMessageEnum { + public enum StorageErrorCode + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default error.
      * 
@@ -89,8 +67,6 @@ public enum StorageErrorCode implements com.google.protobuf.ProtocolMessageEnum */ STORAGE_ERROR_CODE_UNSPECIFIED(0), /** - * - * *
      * Table is not found in the system.
      * 
@@ -99,8 +75,6 @@ public enum StorageErrorCode implements com.google.protobuf.ProtocolMessageEnum */ TABLE_NOT_FOUND(1), /** - * - * *
      * Stream is already committed.
      * 
@@ -109,8 +83,6 @@ public enum StorageErrorCode implements com.google.protobuf.ProtocolMessageEnum */ STREAM_ALREADY_COMMITTED(2), /** - * - * *
      * Stream is not found.
      * 
@@ -119,8 +91,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.
@@ -130,8 +100,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
@@ -142,8 +110,6 @@ public enum StorageErrorCode implements com.google.protobuf.ProtocolMessageEnum
      */
     INVALID_STREAM_STATE(5),
     /**
-     *
-     *
      * 
      * Stream is finalized.
      * 
@@ -155,8 +121,6 @@ public enum StorageErrorCode implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
      * Default error.
      * 
@@ -165,8 +129,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.
      * 
@@ -175,8 +137,6 @@ public enum StorageErrorCode implements com.google.protobuf.ProtocolMessageEnum */ public static final int TABLE_NOT_FOUND_VALUE = 1; /** - * - * *
      * Stream is already committed.
      * 
@@ -185,8 +145,6 @@ public enum StorageErrorCode implements com.google.protobuf.ProtocolMessageEnum */ public static final int STREAM_ALREADY_COMMITTED_VALUE = 2; /** - * - * *
      * Stream is not found.
      * 
@@ -195,8 +153,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.
@@ -206,8 +162,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
@@ -218,8 +172,6 @@ public enum StorageErrorCode implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int INVALID_STREAM_STATE_VALUE = 5;
     /**
-     *
-     *
      * 
      * Stream is finalized.
      * 
@@ -228,6 +180,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( @@ -252,53 +205,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 - 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< + 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() { 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(); @@ -306,7 +250,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; @@ -326,53 +271,38 @@ private StorageErrorCode(int value) { public static final int CODE_FIELD_NUMBER = 1; private int code_ = 0; /** - * - * *
    * BigQuery Storage specific error code.
    * 
* * .google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode code = 1; - * * @return The enum numeric value on the wire for code. */ - @java.lang.Override - public int getCodeValue() { + @java.lang.Override public int getCodeValue() { return code_; } /** - * - * *
    * BigQuery Storage specific error code.
    * 
* * .google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode code = 1; - * * @return The code. */ - @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode getCode() { - com.google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode result = - com.google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode.forNumber(code_); - return result == null - ? com.google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode getCode() { + com.google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode result = com.google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode.forNumber(code_); + return result == null ? com.google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode.UNRECOGNIZED : result; } public static final int ENTITY_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object entity_ = ""; /** - * - * *
    * Name of the failed entity.
    * 
* * string entity = 2; - * * @return The entity. */ @java.lang.Override @@ -381,29 +311,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 { @@ -412,18 +342,14 @@ public com.google.protobuf.ByteString getEntityBytes() { } public static final int ERROR_MESSAGE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object errorMessage_ = ""; /** - * - * *
    * Message that describes the error.
    * 
* * string error_message = 3; - * * @return The errorMessage. */ @java.lang.Override @@ -432,29 +358,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 { @@ -463,7 +389,6 @@ public com.google.protobuf.ByteString getErrorMessageBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -475,11 +400,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entity_)) { @@ -497,11 +420,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entity_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, entity_); @@ -517,17 +438,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -551,104 +473,98 @@ 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
@@ -658,32 +574,33 @@ 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()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -695,9 +612,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
@@ -716,11 +633,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);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.bigquery.storage.v1beta2.StorageError result = new com.google.cloud.bigquery.storage.v1beta2.StorageError(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -742,39 +656,38 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.StorageErro
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.bigquery.storage.v1beta2.StorageError) {
-        return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.StorageError) other);
+        return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.StorageError)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -782,8 +695,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());
       }
@@ -823,31 +735,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                code_ = input.readEnum();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            case 18:
-              {
-                entity_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                errorMessage_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              code_ = input.readEnum();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            case 18: {
+              entity_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              errorMessage_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -857,34 +765,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private int code_ = 0;
     /**
-     *
-     *
      * 
      * BigQuery Storage specific error code.
      * 
* * .google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode code = 1; - * * @return The enum numeric value on the wire for code. */ - @java.lang.Override - public int getCodeValue() { + @java.lang.Override public int getCodeValue() { return code_; } /** - * - * *
      * BigQuery Storage specific error code.
      * 
* * .google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode code = 1; - * * @param value The enum numeric value on the wire for code to set. * @return This builder for chaining. */ @@ -895,38 +795,28 @@ public Builder setCodeValue(int value) { return this; } /** - * - * *
      * BigQuery Storage specific error code.
      * 
* * .google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode code = 1; - * * @return The code. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode getCode() { - com.google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode result = - com.google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode.forNumber(code_); - return result == null - ? com.google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode.UNRECOGNIZED - : result; + com.google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode result = com.google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode.forNumber(code_); + return result == null ? com.google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode.UNRECOGNIZED : result; } /** - * - * *
      * BigQuery Storage specific error code.
      * 
* * .google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode code = 1; - * * @param value The code to set. * @return This builder for chaining. */ - public Builder setCode( - com.google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode value) { + public Builder setCode(com.google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode value) { if (value == null) { throw new NullPointerException(); } @@ -936,14 +826,11 @@ public Builder setCode( return this; } /** - * - * *
      * BigQuery Storage specific error code.
      * 
* * .google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode code = 1; - * * @return This builder for chaining. */ public Builder clearCode() { @@ -955,20 +842,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; @@ -977,21 +862,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 { @@ -999,35 +883,28 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEntity( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } entity_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Name of the failed entity.
      * 
* * string entity = 2; - * * @return This builder for chaining. */ public Builder clearEntity() { @@ -1037,21 +914,17 @@ public Builder clearEntity() { return this; } /** - * - * *
      * Name of the failed entity.
      * 
* * string entity = 2; - * * @param value The bytes for entity to set. * @return This builder for chaining. */ - public Builder setEntityBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEntityBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); entity_ = value; bitField0_ |= 0x00000002; @@ -1061,20 +934,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; @@ -1083,21 +954,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 { @@ -1105,35 +975,28 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setErrorMessage( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } errorMessage_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Message that describes the error.
      * 
* * string error_message = 3; - * * @return This builder for chaining. */ public Builder clearErrorMessage() { @@ -1143,30 +1006,26 @@ public Builder clearErrorMessage() { return this; } /** - * - * *
      * Message that describes the error.
      * 
* * string error_message = 3; - * * @param value The bytes for errorMessage to set. * @return This builder for chaining. */ - public Builder setErrorMessageBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setErrorMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); errorMessage_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1176,12 +1035,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(); } @@ -1190,27 +1049,27 @@ public static com.google.cloud.bigquery.storage.v1beta2.StorageError getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StorageError parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StorageError parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1225,4 +1084,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 65% 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 8d37745516..eeb25dc04d 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,101 +1,69 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 // Protobuf Java Version: 3.25.2 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..4f72579660 --- /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 + +// Protobuf Java Version: 3.25.2 +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\277\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\332A$par" + + "ent,read_session,max_stream_count\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{\312A\036bigqueryst" + + "orage.googleapis.com\322AWhttps://www.googl" + + "eapis.com/auth/bigquery,https://www.goog" + + "leapis.com/auth/cloud-platform2\226\014\n\rBigQu" + + "eryWrite\022\346\001\n\021CreateWriteStream\022?.google." + + "cloud.bigquery.storage.v1beta2.CreateWri" + + "teStreamRequest\0322.google.cloud.bigquery." + + "storage.v1beta2.WriteStream\"\\\332A\023parent,w" + + "rite_stream\202\323\344\223\002@\"0/v1beta2/{parent=proj" + + "ects/*/datasets/*/tables/*}:\014write_strea" + + "m\022\341\001\n\nAppendRows\0228.google.cloud.bigquery" + + ".storage.v1beta2.AppendRowsRequest\0329.goo" + + "gle.cloud.bigquery.storage.v1beta2.Appen" + + "dRowsResponse\"Z\332A\014write_stream\202\323\344\223\002E\"@/v" + + "1beta2/{write_stream=projects/*/datasets" + + "/*/tables/*/streams/*}:\001*(\0010\001\022\316\001\n\016GetWri" + + "teStream\022<.google.cloud.bigquery.storage" + + ".v1beta2.GetWriteStreamRequest\0322.google." + + "cloud.bigquery.storage.v1beta2.WriteStre" + + "am\"J\332A\004name\202\323\344\223\002=\"8/v1beta2/{name=projec" + + "ts/*/datasets/*/tables/*/streams/*}:\001*\022\350" + + "\001\n\023FinalizeWriteStream\022A.google.cloud.bi" + + "gquery.storage.v1beta2.FinalizeWriteStre" + + "amRequest\032B.google.cloud.bigquery.storag" + + "e.v1beta2.FinalizeWriteStreamResponse\"J\332" + + "A\004name\202\323\344\223\002=\"8/v1beta2/{name=projects/*/" + + "datasets/*/tables/*/streams/*}:\001*\022\353\001\n\027Ba" + + "tchCommitWriteStreams\022E.google.cloud.big" + + "query.storage.v1beta2.BatchCommitWriteSt" + + "reamsRequest\032F.google.cloud.bigquery.sto" + + "rage.v1beta2.BatchCommitWriteStreamsResp" + + "onse\"A\332A\006parent\202\323\344\223\0022\0220/v1beta2/{parent=" + + "projects/*/datasets/*/tables/*}\022\332\001\n\tFlus" + + "hRows\0227.google.cloud.bigquery.storage.v1" + + "beta2.FlushRowsRequest\0328.google.cloud.bi" + + "gquery.storage.v1beta2.FlushRowsResponse" + + "\"Z\332A\014write_stream\202\323\344\223\002E\"@/v1beta2/{write" + + "_stream=projects/*/datasets/*/tables/*/s" + + "treams/*}:\001*\032\260\001\312A\036bigquerystorage.google" + + "apis.com\322A\213\001https://www.googleapis.com/a" + + "uth/bigquery,https://www.googleapis.com/" + + "auth/bigquery.insertdata,https://www.goo" + + "gleapis.com/auth/cloud-platformB\200\001\n)com." + + "google.cloud.bigquery.storage.v1beta2B\014S" + + "torageProtoP\001ZCcloud.google.com/go/bigqu" + + "ery/storage/apiv1beta2/storagepb;storage" + + "pbb\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..001b970ebd --- /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,168 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1beta2/stream.proto + +// Protobuf Java Version: 3.25.2 +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\327\001\n)com.google.cl" + + "oud.bigquery.storage.v1beta2B\013StreamProt" + + "oP\001ZCcloud.google.com/go/bigquery/storag" + + "e/apiv1beta2/storagepb;storagepb\352AU\n\035big" + + "query.googleapis.com/Table\0224projects/{pr" + + "oject}/datasets/{dataset}/tables/{table}" + + "b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.bigquery.storage.v1beta2.ArrowProto.getDescriptor(), + com.google.cloud.bigquery.storage.v1beta2.AvroProto.getDescriptor(), + com.google.cloud.bigquery.storage.v1beta2.TableProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_descriptor, + new java.lang.String[] { "Name", "ExpireTime", "DataFormat", "AvroSchema", "ArrowSchema", "Table", "TableModifiers", "ReadOptions", "Streams", "Schema", }); + internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableModifiers_descriptor = + internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableModifiers_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableModifiers_descriptor, + new java.lang.String[] { "SnapshotTime", }); + internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableReadOptions_descriptor = + internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableReadOptions_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableReadOptions_descriptor, + new java.lang.String[] { "SelectedFields", "RowRestriction", "ArrowSerializationOptions", }); + internal_static_google_cloud_bigquery_storage_v1beta2_ReadStream_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_storage_v1beta2_ReadStream_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta2_ReadStream_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_bigquery_storage_v1beta2_WriteStream_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_bigquery_storage_v1beta2_WriteStream_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta2_WriteStream_descriptor, + new java.lang.String[] { "Name", "Type", "CreateTime", "CommitTime", "TableSchema", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceDefinition); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.bigquery.storage.v1beta2.ArrowProto.getDescriptor(); + com.google.cloud.bigquery.storage.v1beta2.AvroProto.getDescriptor(); + com.google.cloud.bigquery.storage.v1beta2.TableProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/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 69% 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 98a09810a1..a0a3aa9177 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,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 @@ -20,55 +5,49 @@ package com.google.cloud.bigquery.storage.v1beta2; /** - * - * *
  * Estimated stream statistics for a given Stream.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.StreamStats} */ -public final class StreamStats extends com.google.protobuf.GeneratedMessageV3 - implements +public final class StreamStats extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.StreamStats) StreamStatsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use StreamStats.newBuilder() to construct. private StreamStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private StreamStats() {} + private StreamStats() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StreamStats(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.StreamStats.class, - com.google.cloud.bigquery.storage.v1beta2.StreamStats.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.StreamStats.class, com.google.cloud.bigquery.storage.v1beta2.StreamStats.Builder.class); } - public interface ProgressOrBuilder - extends + public interface ProgressOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1beta2.StreamStats.Progress) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The fraction of rows assigned to the stream that have been processed by
      * the server so far, not including the rows in the current response
@@ -85,64 +64,59 @@ 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(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_Progress_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_Progress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_Progress_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_Progress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.class, - com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.class, com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.Builder.class); } public static final int AT_RESPONSE_START_FIELD_NUMBER = 1; private double atResponseStart_ = 0D; /** - * - * *
      * The fraction of rows assigned to the stream that have been processed by
      * the server so far, not including the rows in the current response
@@ -159,7 +133,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * double at_response_start = 1; - * * @return The atResponseStart. */ @java.lang.Override @@ -170,15 +143,12 @@ public double getAtResponseStart() { public static final int AT_RESPONSE_END_FIELD_NUMBER = 2; private double atResponseEnd_ = 0D; /** - * - * *
      * Similar to `at_response_start`, except that this value includes the
      * rows in the current response.
      * 
* * double at_response_end = 2; - * * @return The atResponseEnd. */ @java.lang.Override @@ -187,7 +157,6 @@ public double getAtResponseEnd() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -199,7 +168,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 (java.lang.Double.doubleToRawLongBits(atResponseStart_) != 0) { output.writeDouble(1, atResponseStart_); } @@ -216,10 +186,12 @@ public int getSerializedSize() { size = 0; if (java.lang.Double.doubleToRawLongBits(atResponseStart_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, atResponseStart_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(1, atResponseStart_); } if (java.lang.Double.doubleToRawLongBits(atResponseEnd_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, atResponseEnd_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(2, atResponseEnd_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -229,18 +201,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -253,109 +226,100 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + AT_RESPONSE_START_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getAtResponseStart())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getAtResponseStart())); hash = (37 * hash) + AT_RESPONSE_END_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getAtResponseEnd())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getAtResponseEnd())); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -364,34 +328,36 @@ protected Builder newBuilderForType( Builder builder = new Builder(parent); return builder; } - /** Protobuf type {@code google.cloud.bigquery.storage.v1beta2.StreamStats.Progress} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + /** + * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.StreamStats.Progress} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta2.StreamStats.Progress) com.google.cloud.bigquery.storage.v1beta2.StreamStats.ProgressOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_Progress_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_Progress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_Progress_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_StreamStats_Progress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.class, - com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.class, com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -402,14 +368,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(); } @@ -424,17 +389,13 @@ public com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress buildPartial() { - com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress result = - new com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress result = new com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress result) { + private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.atResponseStart_ = atResponseStart_; @@ -448,52 +409,46 @@ private void buildPartial0( 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()); } @@ -526,25 +481,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 9: - { - atResponseStart_ = input.readDouble(); - bitField0_ |= 0x00000001; - break; - } // case 9 - case 17: - { - atResponseEnd_ = input.readDouble(); - bitField0_ |= 0x00000002; - break; - } // case 17 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 9: { + atResponseStart_ = input.readDouble(); + bitField0_ |= 0x00000001; + break; + } // case 9 + case 17: { + atResponseEnd_ = input.readDouble(); + bitField0_ |= 0x00000002; + break; + } // case 17 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -554,13 +506,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private double atResponseStart_; + private double atResponseStart_ ; /** - * - * *
        * The fraction of rows assigned to the stream that have been processed by
        * the server so far, not including the rows in the current response
@@ -577,7 +526,6 @@ public Builder mergeFrom(
        * 
* * double at_response_start = 1; - * * @return The atResponseStart. */ @java.lang.Override @@ -585,8 +533,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
@@ -603,7 +549,6 @@ public double getAtResponseStart() {
        * 
* * double at_response_start = 1; - * * @param value The atResponseStart to set. * @return This builder for chaining. */ @@ -615,8 +560,6 @@ public Builder setAtResponseStart(double value) { return this; } /** - * - * *
        * The fraction of rows assigned to the stream that have been processed by
        * the server so far, not including the rows in the current response
@@ -633,7 +576,6 @@ public Builder setAtResponseStart(double value) {
        * 
* * double at_response_start = 1; - * * @return This builder for chaining. */ public Builder clearAtResponseStart() { @@ -643,17 +585,14 @@ public Builder clearAtResponseStart() { return this; } - private double atResponseEnd_; + private double atResponseEnd_ ; /** - * - * *
        * Similar to `at_response_start`, except that this value includes the
        * rows in the current response.
        * 
* * double at_response_end = 2; - * * @return The atResponseEnd. */ @java.lang.Override @@ -661,15 +600,12 @@ 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. */ @@ -681,15 +617,12 @@ public Builder setAtResponseEnd(double value) { return this; } /** - * - * *
        * Similar to `at_response_start`, except that this value includes the
        * rows in the current response.
        * 
* * double at_response_end = 2; - * * @return This builder for chaining. */ public Builder clearAtResponseEnd() { @@ -698,7 +631,6 @@ public Builder clearAtResponseEnd() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -711,44 +643,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.bigquery.storage.v1beta2.StreamStats.Progress) } // @@protoc_insertion_point(class_scope:google.cloud.bigquery.storage.v1beta2.StreamStats.Progress) - private static final com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress - DEFAULT_INSTANCE; - + private static final com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress(); } - public static com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress - getDefaultInstance() { + public static com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Progress parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Progress parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -760,24 +689,21 @@ 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; } + } private int bitField0_; 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 @@ -785,25 +711,18 @@ public boolean hasProgress() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Represents the progress of the current stream.
    * 
* * .google.cloud.bigquery.storage.v1beta2.StreamStats.Progress progress = 2; - * * @return The progress. */ @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.
    * 
@@ -811,15 +730,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() { - return progress_ == null - ? com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.getDefaultInstance() - : progress_; + public com.google.cloud.bigquery.storage.v1beta2.StreamStats.ProgressOrBuilder getProgressOrBuilder() { + return progress_ == null ? com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.getDefaultInstance() : progress_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -831,7 +746,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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getProgress()); } @@ -845,7 +761,8 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getProgress()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getProgress()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -855,17 +772,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta2.StreamStats)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta2.StreamStats other = - (com.google.cloud.bigquery.storage.v1beta2.StreamStats) obj; + com.google.cloud.bigquery.storage.v1beta2.StreamStats other = (com.google.cloud.bigquery.storage.v1beta2.StreamStats) obj; if (hasProgress() != other.hasProgress()) return false; if (hasProgress()) { - if (!getProgress().equals(other.getProgress())) return false; + if (!getProgress() + .equals(other.getProgress())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -888,127 +805,119 @@ 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() @@ -1016,17 +925,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) { getProgressFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1040,9 +949,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 @@ -1061,11 +970,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1beta2.StreamStats result = new com.google.cloud.bigquery.storage.v1beta2.StreamStats(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1074,7 +980,9 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.StreamStats int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.progress_ = progressBuilder_ == null ? progress_ : progressBuilder_.build(); + result.progress_ = progressBuilder_ == null + ? progress_ + : progressBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -1084,39 +992,38 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.StreamStats public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta2.StreamStats) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.StreamStats) other); + return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.StreamStats)other); } else { super.mergeFrom(other); return this; @@ -1124,8 +1031,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()); } @@ -1155,19 +1061,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: - { - input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: { + input.readMessage( + getProgressFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1177,60 +1083,45 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress progress_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress, - com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.Builder, - com.google.cloud.bigquery.storage.v1beta2.StreamStats.ProgressOrBuilder> - progressBuilder_; + com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress, com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.Builder, com.google.cloud.bigquery.storage.v1beta2.StreamStats.ProgressOrBuilder> progressBuilder_; /** - * - * *
      * Represents the progress of the current stream.
      * 
* * .google.cloud.bigquery.storage.v1beta2.StreamStats.Progress progress = 2; - * * @return Whether the progress field is set. */ public boolean hasProgress() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Represents the progress of the current stream.
      * 
* * .google.cloud.bigquery.storage.v1beta2.StreamStats.Progress progress = 2; - * * @return The progress. */ public com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress getProgress() { if (progressBuilder_ == null) { - return progress_ == null - ? com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.getDefaultInstance() - : progress_; + return progress_ == null ? com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.getDefaultInstance() : progress_; } else { return progressBuilder_.getMessage(); } } /** - * - * *
      * Represents the progress of the current stream.
      * 
* * .google.cloud.bigquery.storage.v1beta2.StreamStats.Progress progress = 2; */ - public Builder setProgress( - com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress value) { + public Builder setProgress(com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress value) { if (progressBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1244,8 +1135,6 @@ public Builder setProgress( return this; } /** - * - * *
      * Represents the progress of the current stream.
      * 
@@ -1264,22 +1153,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 (((bitField0_ & 0x00000001) != 0) - && progress_ != null - && progress_ - != com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress - .getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + progress_ != null && + progress_ != com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.getDefaultInstance()) { getProgressBuilder().mergeFrom(value); } else { progress_ = value; @@ -1294,8 +1178,6 @@ public Builder mergeProgress( return this; } /** - * - * *
      * Represents the progress of the current stream.
      * 
@@ -1313,42 +1195,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() { bitField0_ |= 0x00000001; onChanged(); return getProgressFieldBuilder().getBuilder(); } /** - * - * *
      * Represents the progress of the current stream.
      * 
* * .google.cloud.bigquery.storage.v1beta2.StreamStats.Progress progress = 2; */ - public com.google.cloud.bigquery.storage.v1beta2.StreamStats.ProgressOrBuilder - getProgressOrBuilder() { + public com.google.cloud.bigquery.storage.v1beta2.StreamStats.ProgressOrBuilder getProgressOrBuilder() { if (progressBuilder_ != null) { return progressBuilder_.getMessageOrBuilder(); } else { - return progress_ == null - ? com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.getDefaultInstance() - : progress_; + return progress_ == null ? + com.google.cloud.bigquery.storage.v1beta2.StreamStats.Progress.getDefaultInstance() : progress_; } } /** - * - * *
      * Represents the progress of the current stream.
      * 
@@ -1356,24 +1229,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); } @@ -1383,12 +1253,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(); } @@ -1397,27 +1267,27 @@ public static com.google.cloud.bigquery.storage.v1beta2.StreamStats getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StreamStats parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StreamStats parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1432,4 +1302,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 63% 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 d28621497f..36b69071a2 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,56 +1,32 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 // Protobuf Java Version: 3.25.2 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 65% 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 77530bb85b..3165e5a58b 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,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 @@ -20,24 +5,21 @@ 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; @@ -48,30 +30,30 @@ private TableFieldSchema() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TableFieldSchema(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.TableProto - .internal_static_google_cloud_bigquery_storage_v1beta2_TableFieldSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.TableProto.internal_static_google_cloud_bigquery_storage_v1beta2_TableFieldSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.TableProto - .internal_static_google_cloud_bigquery_storage_v1beta2_TableFieldSchema_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.TableProto.internal_static_google_cloud_bigquery_storage_v1beta2_TableFieldSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.class, - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.class, com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Builder.class); } - /** Protobuf enum {@code google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + /** + * Protobuf enum {@code google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type} + */ + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Illegal value
      * 
@@ -80,8 +62,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
      * 64K, UTF8
      * 
@@ -90,8 +70,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ STRING(1), /** - * - * *
      * 64-bit signed
      * 
@@ -100,8 +78,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ INT64(2), /** - * - * *
      * 64-bit IEEE floating point
      * 
@@ -110,8 +86,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ DOUBLE(3), /** - * - * *
      * Aggregate type
      * 
@@ -120,8 +94,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ STRUCT(4), /** - * - * *
      * 64K, Binary
      * 
@@ -130,8 +102,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ BYTES(5), /** - * - * *
      * 2-valued
      * 
@@ -140,8 +110,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ BOOL(6), /** - * - * *
      * 64-bit signed usec since UTC epoch
      * 
@@ -150,8 +118,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TIMESTAMP(7), /** - * - * *
      * Civil date - Year, Month, Day
      * 
@@ -160,8 +126,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ DATE(8), /** - * - * *
      * Civil time - Hour, Minute, Second, Microseconds
      * 
@@ -170,8 +134,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TIME(9), /** - * - * *
      * Combination of civil date and civil time
      * 
@@ -180,8 +142,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ DATETIME(10), /** - * - * *
      * Geography object
      * 
@@ -190,8 +150,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ GEOGRAPHY(11), /** - * - * *
      * Numeric value
      * 
@@ -200,8 +158,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ NUMERIC(12), /** - * - * *
      * BigNumeric value
      * 
@@ -210,8 +166,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ BIGNUMERIC(13), /** - * - * *
      * Interval
      * 
@@ -220,8 +174,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ INTERVAL(14), /** - * - * *
      * JSON, String
      * 
@@ -233,8 +185,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Illegal value
      * 
@@ -243,8 +193,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * 64K, UTF8
      * 
@@ -253,8 +201,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STRING_VALUE = 1; /** - * - * *
      * 64-bit signed
      * 
@@ -263,8 +209,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INT64_VALUE = 2; /** - * - * *
      * 64-bit IEEE floating point
      * 
@@ -273,8 +217,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DOUBLE_VALUE = 3; /** - * - * *
      * Aggregate type
      * 
@@ -283,8 +225,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STRUCT_VALUE = 4; /** - * - * *
      * 64K, Binary
      * 
@@ -293,8 +233,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BYTES_VALUE = 5; /** - * - * *
      * 2-valued
      * 
@@ -303,8 +241,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BOOL_VALUE = 6; /** - * - * *
      * 64-bit signed usec since UTC epoch
      * 
@@ -313,8 +249,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TIMESTAMP_VALUE = 7; /** - * - * *
      * Civil date - Year, Month, Day
      * 
@@ -323,8 +257,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DATE_VALUE = 8; /** - * - * *
      * Civil time - Hour, Minute, Second, Microseconds
      * 
@@ -333,8 +265,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TIME_VALUE = 9; /** - * - * *
      * Combination of civil date and civil time
      * 
@@ -343,8 +273,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DATETIME_VALUE = 10; /** - * - * *
      * Geography object
      * 
@@ -353,8 +281,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GEOGRAPHY_VALUE = 11; /** - * - * *
      * Numeric value
      * 
@@ -363,8 +289,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NUMERIC_VALUE = 12; /** - * - * *
      * BigNumeric value
      * 
@@ -373,8 +297,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BIGNUMERIC_VALUE = 13; /** - * - * *
      * Interval
      * 
@@ -383,8 +305,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INTERVAL_VALUE = 14; /** - * - * *
      * JSON, String
      * 
@@ -393,6 +313,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( @@ -417,77 +338,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; @@ -504,11 +410,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
      * 
@@ -516,18 +423,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
      * 
@@ -535,13 +446,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( @@ -566,53 +484,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; @@ -630,12 +545,9 @@ private Mode(int value) { } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The field name. The name must contain only letters (a-z, A-Z),
    * numbers (0-9), or underscores (_), and must start with a letter or
@@ -643,7 +555,6 @@ private Mode(int value) {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -652,15 +563,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
@@ -668,15 +578,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 { @@ -687,162 +598,109 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int TYPE_FIELD_NUMBER = 2; private int type_ = 0; /** - * - * *
    * Required. The field data type.
    * 
* - * - * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * Required. The field data type.
    * 
* - * - * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ - @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type getType() { - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type result = - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type.forNumber(type_); - return result == null - ? com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type getType() { + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type result = com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type.forNumber(type_); + return result == null ? com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type.UNRECOGNIZED : result; } public static final int MODE_FIELD_NUMBER = 3; private int mode_ = 0; /** - * - * *
    * Optional. The field mode. The default value is NULLABLE.
    * 
* - * - * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for mode. */ - @java.lang.Override - public int getModeValue() { + @java.lang.Override public int getModeValue() { return mode_; } /** - * - * *
    * Optional. The field mode. The default value is NULLABLE.
    * 
* - * - * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The mode. */ - @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode getMode() { - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode result = - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode.forNumber(mode_); - return result == null - ? com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode getMode() { + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode result = com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode.forNumber(mode_); + return result == null ? com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode.UNRECOGNIZED : result; } public static final int FIELDS_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private java.util.List fields_; /** - * - * *
    * Optional. Describes the nested schema fields if the type property is set to STRUCT.
    * 
* - * - * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.List - getFieldsList() { + public java.util.List getFieldsList() { return fields_; } /** - * - * *
    * Optional. Describes the nested schema fields if the type property is set to STRUCT.
    * 
* - * - * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.List< - ? 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( @@ -851,18 +709,14 @@ public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchemaOrBuilder getFi } public static final int DESCRIPTION_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * Optional. The field description. The maximum length is 1,024 characters.
    * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ @java.lang.Override @@ -871,29 +725,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 { @@ -902,7 +756,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -914,18 +767,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (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++) { @@ -946,18 +796,17 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (type_ - != com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type.TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); + if (type_ != com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type.TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, type_); } - if (mode_ - != com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode.MODE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, mode_); + if (mode_ != com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode.MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, mode_); } for (int i = 0; i < fields_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, fields_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, fields_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, description_); @@ -970,19 +819,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1012,136 +863,131 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A field in TableSchema
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.TableFieldSchema} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta2.TableFieldSchema) com.google.cloud.bigquery.storage.v1beta2.TableFieldSchemaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.TableProto - .internal_static_google_cloud_bigquery_storage_v1beta2_TableFieldSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.TableProto.internal_static_google_cloud_bigquery_storage_v1beta2_TableFieldSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.TableProto - .internal_static_google_cloud_bigquery_storage_v1beta2_TableFieldSchema_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.TableProto.internal_static_google_cloud_bigquery_storage_v1beta2_TableFieldSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.class, - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.class, com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1161,9 +1007,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 @@ -1182,18 +1028,14 @@ public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema buildPartial() { - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema result = - new com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema(this); + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema result = new com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema result) { + private void buildPartialRepeatedFields(com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema result) { if (fieldsBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { fields_ = java.util.Collections.unmodifiableList(fields_); @@ -1225,39 +1067,38 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.TableFieldS public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema) other); + return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema)other); } else { super.mergeFrom(other); return this; @@ -1265,8 +1106,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_; bitField0_ |= 0x00000001; @@ -1296,10 +1136,9 @@ public Builder mergeFrom(com.google.cloud.bigquery.storage.v1beta2.TableFieldSch fieldsBuilder_ = null; fields_ = other.fields_; bitField0_ = (bitField0_ & ~0x00000008); - fieldsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFieldsFieldBuilder() - : null; + fieldsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFieldsFieldBuilder() : null; } else { fieldsBuilder_.addAllMessages(other.fields_); } @@ -1336,51 +1175,45 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - type_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: - { - mode_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: - { - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema m = - input.readMessage( - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.parser(), - extensionRegistry); - if (fieldsBuilder_ == null) { - ensureFieldsIsMutable(); - fields_.add(m); - } else { - fieldsBuilder_.addMessage(m); - } - break; - } // case 34 - case 50: - { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + type_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + mode_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema m = + input.readMessage( + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.parser(), + extensionRegistry); + if (fieldsBuilder_ == null) { + ensureFieldsIsMutable(); + fields_.add(m); + } else { + fieldsBuilder_.addMessage(m); + } + break; + } // case 34 + case 50: { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1390,13 +1223,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The field name. The name must contain only letters (a-z, A-Z),
      * numbers (0-9), or underscores (_), and must start with a letter or
@@ -1404,13 +1234,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; @@ -1419,8 +1249,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
@@ -1428,14 +1256,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 { @@ -1443,8 +1272,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
@@ -1452,22 +1279,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The field name. The name must contain only letters (a-z, A-Z),
      * numbers (0-9), or underscores (_), and must start with a letter or
@@ -1475,7 +1298,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1485,8 +1307,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The field name. The name must contain only letters (a-z, A-Z),
      * numbers (0-9), or underscores (_), and must start with a letter or
@@ -1494,14 +1314,12 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1511,33 +1329,22 @@ 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. */ @@ -1548,37 +1355,24 @@ public Builder setTypeValue(int value) { return this; } /** - * - * *
      * Required. The field data type.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The type. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type getType() { - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type result = - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type.forNumber(type_); - return result == null - ? com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type.UNRECOGNIZED - : result; + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type result = com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type.forNumber(type_); + return result == null ? com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type.UNRECOGNIZED : result; } /** - * - * *
      * Required. The field data type.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The type to set. * @return This builder for chaining. */ @@ -1592,16 +1386,11 @@ public Builder setType(com.google.cloud.bigquery.storage.v1beta2.TableFieldSchem return this; } /** - * - * *
      * Required. The field data type.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearType() { @@ -1613,33 +1402,22 @@ 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. */ @@ -1650,37 +1428,24 @@ public Builder setModeValue(int value) { return this; } /** - * - * *
      * Optional. The field mode. The default value is NULLABLE.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return The mode. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode getMode() { - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode result = - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode.forNumber(mode_); - return result == null - ? com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode.UNRECOGNIZED - : result; + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode result = com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode.forNumber(mode_); + return result == null ? com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode.UNRECOGNIZED : result; } /** - * - * *
      * Optional. The field mode. The default value is NULLABLE.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param value The mode to set. * @return This builder for chaining. */ @@ -1694,16 +1459,11 @@ public Builder setMode(com.google.cloud.bigquery.storage.v1beta2.TableFieldSchem return this; } /** - * - * *
      * Optional. The field mode. The default value is NULLABLE.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearMode() { @@ -1714,36 +1474,25 @@ public Builder clearMode() { } private java.util.List fields_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFieldsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - fields_ = - new java.util.ArrayList( - fields_); + fields_ = new java.util.ArrayList(fields_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema, - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Builder, - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchemaOrBuilder> - fieldsBuilder_; + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema, com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Builder, com.google.cloud.bigquery.storage.v1beta2.TableFieldSchemaOrBuilder> fieldsBuilder_; /** - * - * *
      * Optional. Describes the nested schema fields if the type property is set to STRUCT.
      * 
* - * - * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getFieldsList() { + public java.util.List getFieldsList() { if (fieldsBuilder_ == null) { return java.util.Collections.unmodifiableList(fields_); } else { @@ -1751,15 +1500,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) { @@ -1769,15 +1514,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) { @@ -1787,15 +1528,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) { @@ -1812,19 +1549,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()); @@ -1835,15 +1567,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) { @@ -1859,15 +1587,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) { @@ -1884,15 +1608,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) { @@ -1906,19 +1626,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()); @@ -1929,22 +1644,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); @@ -1952,15 +1663,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) { @@ -1973,15 +1680,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) { @@ -1994,53 +1697,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 { @@ -2048,67 +1737,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_ & 0x00000008) != 0), getParentForChildren(), isClean()); + fieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema, com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Builder, com.google.cloud.bigquery.storage.v1beta2.TableFieldSchemaOrBuilder>( + fields_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); fields_ = null; } return fieldsBuilder_; @@ -2116,20 +1787,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; @@ -2138,21 +1807,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 { @@ -2160,35 +1828,28 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Optional. The field description. The maximum length is 1,024 characters.
      * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -2198,30 +1859,26 @@ public Builder clearDescription() { return this; } /** - * - * *
      * Optional. The field description. The maximum length is 1,024 characters.
      * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2231,12 +1888,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(); } @@ -2245,27 +1902,27 @@ public static com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TableFieldSchema parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TableFieldSchema parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2280,4 +1937,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 6813193c29..5ea54de691 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,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 // Protobuf Java Version: 3.25.2 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
@@ -34,13 +16,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
@@ -48,153 +27,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 99% 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 index 1d65db7651..ae68192703 100644 --- 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 @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. 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..1c23ef06df --- /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,88 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1beta2/table.proto + +// Protobuf Java Version: 3.25.2 +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~\n)com.google.cloud.bigquery.stora" + + "ge.v1beta2B\nTableProtoP\001ZCcloud.google.c" + + "om/go/bigquery/storage/apiv1beta2/storag" + + "epb;storagepbb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + }); + internal_static_google_cloud_bigquery_storage_v1beta2_TableSchema_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_bigquery_storage_v1beta2_TableSchema_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta2_TableSchema_descriptor, + new java.lang.String[] { "Fields", }); + internal_static_google_cloud_bigquery_storage_v1beta2_TableFieldSchema_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_bigquery_storage_v1beta2_TableFieldSchema_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_bigquery_storage_v1beta2_TableFieldSchema_descriptor, + new java.lang.String[] { "Name", "Type", "Mode", "Fields", "Description", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/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 70% 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 77ec750e2a..bb80f379c2 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,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 @@ -20,56 +5,49 @@ package com.google.cloud.bigquery.storage.v1beta2; /** - * - * *
  * Schema of a table
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.TableSchema} */ -public final class TableSchema extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TableSchema extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.TableSchema) TableSchemaOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TableSchema.newBuilder() to construct. private TableSchema(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TableSchema() { fields_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TableSchema(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.TableProto - .internal_static_google_cloud_bigquery_storage_v1beta2_TableSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.TableProto.internal_static_google_cloud_bigquery_storage_v1beta2_TableSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.TableProto - .internal_static_google_cloud_bigquery_storage_v1beta2_TableSchema_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.TableProto.internal_static_google_cloud_bigquery_storage_v1beta2_TableSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.TableSchema.class, - com.google.cloud.bigquery.storage.v1beta2.TableSchema.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.TableSchema.class, com.google.cloud.bigquery.storage.v1beta2.TableSchema.Builder.class); } public static final int FIELDS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List fields_; /** - * - * *
    * Describes the fields in a table.
    * 
@@ -77,13 +55,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.
    * 
@@ -91,14 +66,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.
    * 
@@ -110,8 +82,6 @@ public int getFieldsCount() { return fields_.size(); } /** - * - * *
    * Describes the fields in a table.
    * 
@@ -123,8 +93,6 @@ public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema getFields(int return fields_.get(index); } /** - * - * *
    * Describes the fields in a table.
    * 
@@ -138,7 +106,6 @@ public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchemaOrBuilder getFi } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -150,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 { for (int i = 0; i < fields_.size(); i++) { output.writeMessage(1, fields_.get(i)); } @@ -164,7 +132,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -174,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.TableSchema)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta2.TableSchema other = - (com.google.cloud.bigquery.storage.v1beta2.TableSchema) obj; + com.google.cloud.bigquery.storage.v1beta2.TableSchema other = (com.google.cloud.bigquery.storage.v1beta2.TableSchema) obj; - if (!getFieldsList().equals(other.getFieldsList())) return false; + if (!getFieldsList() + .equals(other.getFieldsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -204,136 +173,131 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1beta2.TableSchema parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta2.TableSchema parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.TableSchema parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta2.TableSchema parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.TableSchema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta2.TableSchema parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1beta2.TableSchema parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.TableSchema parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta2.TableSchema parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.TableSchema parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.TableSchema parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1beta2.TableSchema parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.TableSchema parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta2.TableSchema parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.storage.v1beta2.TableSchema prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta2.TableSchema prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Schema of a table
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.TableSchema} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta2.TableSchema) com.google.cloud.bigquery.storage.v1beta2.TableSchemaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.TableProto - .internal_static_google_cloud_bigquery_storage_v1beta2_TableSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.TableProto.internal_static_google_cloud_bigquery_storage_v1beta2_TableSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.TableProto - .internal_static_google_cloud_bigquery_storage_v1beta2_TableSchema_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.TableProto.internal_static_google_cloud_bigquery_storage_v1beta2_TableSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.TableSchema.class, - com.google.cloud.bigquery.storage.v1beta2.TableSchema.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.TableSchema.class, com.google.cloud.bigquery.storage.v1beta2.TableSchema.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1beta2.TableSchema.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -349,9 +313,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 @@ -370,18 +334,14 @@ public com.google.cloud.bigquery.storage.v1beta2.TableSchema build() { @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.TableSchema buildPartial() { - com.google.cloud.bigquery.storage.v1beta2.TableSchema result = - new com.google.cloud.bigquery.storage.v1beta2.TableSchema(this); + com.google.cloud.bigquery.storage.v1beta2.TableSchema result = new com.google.cloud.bigquery.storage.v1beta2.TableSchema(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.bigquery.storage.v1beta2.TableSchema result) { + private void buildPartialRepeatedFields(com.google.cloud.bigquery.storage.v1beta2.TableSchema result) { if (fieldsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { fields_ = java.util.Collections.unmodifiableList(fields_); @@ -401,39 +361,38 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.TableSchema public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta2.TableSchema) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.TableSchema) other); + return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.TableSchema)other); } else { super.mergeFrom(other); return this; @@ -441,8 +400,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()) { @@ -461,10 +419,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_); } @@ -496,27 +453,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema m = - input.readMessage( - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.parser(), - extensionRegistry); - if (fieldsBuilder_ == null) { - ensureFieldsIsMutable(); - fields_.add(m); - } else { - fieldsBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema m = + input.readMessage( + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.parser(), + extensionRegistry); + if (fieldsBuilder_ == null) { + ensureFieldsIsMutable(); + fields_.add(m); + } else { + fieldsBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -526,38 +481,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List fields_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFieldsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - fields_ = - new java.util.ArrayList( - fields_); + fields_ = new java.util.ArrayList(fields_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema, - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Builder, - com.google.cloud.bigquery.storage.v1beta2.TableFieldSchemaOrBuilder> - fieldsBuilder_; + com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema, com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Builder, com.google.cloud.bigquery.storage.v1beta2.TableFieldSchemaOrBuilder> fieldsBuilder_; /** - * - * *
      * Describes the fields in a table.
      * 
* * repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 1; */ - public java.util.List - getFieldsList() { + public java.util.List getFieldsList() { if (fieldsBuilder_ == null) { return java.util.Collections.unmodifiableList(fields_); } else { @@ -565,8 +510,6 @@ private void ensureFieldsIsMutable() { } } /** - * - * *
      * Describes the fields in a table.
      * 
@@ -581,8 +524,6 @@ public int getFieldsCount() { } } /** - * - * *
      * Describes the fields in a table.
      * 
@@ -597,8 +538,6 @@ public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema getFields(int } } /** - * - * *
      * Describes the fields in a table.
      * 
@@ -620,8 +559,6 @@ public Builder setFields( return this; } /** - * - * *
      * Describes the fields in a table.
      * 
@@ -629,8 +566,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()); @@ -641,8 +577,6 @@ public Builder setFields( return this; } /** - * - * *
      * Describes the fields in a table.
      * 
@@ -663,8 +597,6 @@ public Builder addFields(com.google.cloud.bigquery.storage.v1beta2.TableFieldSch return this; } /** - * - * *
      * Describes the fields in a table.
      * 
@@ -686,8 +618,6 @@ public Builder addFields( return this; } /** - * - * *
      * Describes the fields in a table.
      * 
@@ -706,8 +636,6 @@ public Builder addFields( return this; } /** - * - * *
      * Describes the fields in a table.
      * 
@@ -715,8 +643,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()); @@ -727,8 +654,6 @@ public Builder addFields( return this; } /** - * - * *
      * Describes the fields in a table.
      * 
@@ -736,11 +661,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); @@ -748,8 +673,6 @@ public Builder addAllFields( return this; } /** - * - * *
      * Describes the fields in a table.
      * 
@@ -767,8 +690,6 @@ public Builder clearFields() { return this; } /** - * - * *
      * Describes the fields in a table.
      * 
@@ -786,8 +707,6 @@ public Builder removeFields(int index) { return this; } /** - * - * *
      * Describes the fields in a table.
      * 
@@ -799,8 +718,6 @@ public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Builder getFie return getFieldsFieldBuilder().getBuilder(index); } /** - * - * *
      * Describes the fields in a table.
      * 
@@ -810,23 +727,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 { @@ -834,8 +747,6 @@ public com.google.cloud.bigquery.storage.v1beta2.TableFieldSchemaOrBuilder getFi } } /** - * - * *
      * Describes the fields in a table.
      * 
@@ -843,13 +754,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.
      * 
@@ -858,44 +766,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); } @@ -905,12 +806,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(); } @@ -919,27 +820,27 @@ public static com.google.cloud.bigquery.storage.v1beta2.TableSchema getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TableSchema parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TableSchema parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -954,4 +855,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 66% 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 c7c4564e4b..e9c96858ce 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,42 +1,23 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 // Protobuf Java Version: 3.25.2 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.
    * 
@@ -45,8 +26,6 @@ public interface TableSchemaOrBuilder */ com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema getFields(int index); /** - * - * *
    * Describes the fields in a table.
    * 
@@ -55,24 +34,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 66% 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 0b14d15382..80dac8de1e 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,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 @@ -20,59 +5,53 @@ package com.google.cloud.bigquery.storage.v1beta2; /** - * - * *
  * Information on if the current connection is being throttled.
  * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.ThrottleState} */ -public final class ThrottleState extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ThrottleState extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.bigquery.storage.v1beta2.ThrottleState) ThrottleStateOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ThrottleState.newBuilder() to construct. private ThrottleState(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ThrottleState() {} + private ThrottleState() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ThrottleState(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_ThrottleState_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_ThrottleState_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_ThrottleState_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_ThrottleState_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.ThrottleState.class, - com.google.cloud.bigquery.storage.v1beta2.ThrottleState.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.ThrottleState.class, com.google.cloud.bigquery.storage.v1beta2.ThrottleState.Builder.class); } public static final int THROTTLE_PERCENT_FIELD_NUMBER = 1; private int throttlePercent_ = 0; /** - * - * *
    * How much this connection is being throttled. Zero means no throttling,
    * 100 means fully throttled.
    * 
* * int32 throttle_percent = 1; - * * @return The throttlePercent. */ @java.lang.Override @@ -81,7 +60,6 @@ public int getThrottlePercent() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -93,7 +71,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_); } @@ -107,7 +86,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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -117,15 +97,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.bigquery.storage.v1beta2.ThrottleState)) { return super.equals(obj); } - com.google.cloud.bigquery.storage.v1beta2.ThrottleState other = - (com.google.cloud.bigquery.storage.v1beta2.ThrottleState) obj; + com.google.cloud.bigquery.storage.v1beta2.ThrottleState other = (com.google.cloud.bigquery.storage.v1beta2.ThrottleState) obj; - if (getThrottlePercent() != other.getThrottlePercent()) return false; + if (getThrottlePercent() + != other.getThrottlePercent()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -145,136 +125,131 @@ public int hashCode() { } public static com.google.cloud.bigquery.storage.v1beta2.ThrottleState parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta2.ThrottleState parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.ThrottleState parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta2.ThrottleState parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.ThrottleState parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.bigquery.storage.v1beta2.ThrottleState parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.bigquery.storage.v1beta2.ThrottleState parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.ThrottleState parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta2.ThrottleState parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.ThrottleState parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.bigquery.storage.v1beta2.ThrottleState parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.bigquery.storage.v1beta2.ThrottleState parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.bigquery.storage.v1beta2.ThrottleState parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.bigquery.storage.v1beta2.ThrottleState parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.bigquery.storage.v1beta2.ThrottleState prototype) { + public static Builder newBuilder(com.google.cloud.bigquery.storage.v1beta2.ThrottleState prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Information on if the current connection is being throttled.
    * 
* * Protobuf type {@code google.cloud.bigquery.storage.v1beta2.ThrottleState} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.bigquery.storage.v1beta2.ThrottleState) com.google.cloud.bigquery.storage.v1beta2.ThrottleStateOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_ThrottleState_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_ThrottleState_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StorageProto - .internal_static_google_cloud_bigquery_storage_v1beta2_ThrottleState_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StorageProto.internal_static_google_cloud_bigquery_storage_v1beta2_ThrottleState_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.ThrottleState.class, - com.google.cloud.bigquery.storage.v1beta2.ThrottleState.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.ThrottleState.class, com.google.cloud.bigquery.storage.v1beta2.ThrottleState.Builder.class); } // Construct using com.google.cloud.bigquery.storage.v1beta2.ThrottleState.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -284,9 +259,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 @@ -305,11 +280,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1beta2.ThrottleState result = new com.google.cloud.bigquery.storage.v1beta2.ThrottleState(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -325,39 +297,38 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.ThrottleSta public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta2.ThrottleState) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.ThrottleState) other); + return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.ThrottleState)other); } else { super.mergeFrom(other); return this; @@ -365,8 +336,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()); } @@ -396,19 +366,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - throttlePercent_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + throttlePercent_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -418,20 +386,16 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private int throttlePercent_; + private int throttlePercent_ ; /** - * - * *
      * How much this connection is being throttled. Zero means no throttling,
      * 100 means fully throttled.
      * 
* * int32 throttle_percent = 1; - * * @return The throttlePercent. */ @java.lang.Override @@ -439,15 +403,12 @@ 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. */ @@ -459,15 +420,12 @@ public Builder setThrottlePercent(int value) { return this; } /** - * - * *
      * How much this connection is being throttled. Zero means no throttling,
      * 100 means fully throttled.
      * 
* * int32 throttle_percent = 1; - * * @return This builder for chaining. */ public Builder clearThrottlePercent() { @@ -476,9 +434,9 @@ public Builder clearThrottlePercent() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -488,12 +446,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(); } @@ -502,27 +460,27 @@ public static com.google.cloud.bigquery.storage.v1beta2.ThrottleState getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ThrottleState parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ThrottleState parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -537,4 +495,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..c7d992dbf2 --- /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,21 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/bigquery/storage/v1beta2/storage.proto + +// Protobuf Java Version: 3.25.2 +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 024b3c8347..fae08a4115 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,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 @@ -20,24 +5,21 @@ 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; @@ -45,38 +27,34 @@ private WriteStream() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new WriteStream(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.bigquery.storage.v1beta2.StreamProto - .internal_static_google_cloud_bigquery_storage_v1beta2_WriteStream_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.bigquery.storage.v1beta2.StreamProto.internal_static_google_cloud_bigquery_storage_v1beta2_WriteStream_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.bigquery.storage.v1beta2.StreamProto - .internal_static_google_cloud_bigquery_storage_v1beta2_WriteStream_fieldAccessorTable + return com.google.cloud.bigquery.storage.v1beta2.StreamProto.internal_static_google_cloud_bigquery_storage_v1beta2_WriteStream_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.bigquery.storage.v1beta2.WriteStream.class, - com.google.cloud.bigquery.storage.v1beta2.WriteStream.Builder.class); + com.google.cloud.bigquery.storage.v1beta2.WriteStream.class, com.google.cloud.bigquery.storage.v1beta2.WriteStream.Builder.class); } /** - * - * *
    * Type enum of the stream.
    * 
* * Protobuf enum {@code google.cloud.bigquery.storage.v1beta2.WriteStream.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unknown type.
      * 
@@ -85,8 +63,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.
@@ -96,8 +72,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     COMMITTED(1),
     /**
-     *
-     *
      * 
      * Data is invisible until the stream is committed.
      * 
@@ -106,8 +80,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ PENDING(2), /** - * - * *
      * Data is only visible up to the offset to which it was flushed.
      * 
@@ -119,8 +91,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unknown type.
      * 
@@ -129,8 +99,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.
@@ -140,8 +108,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int COMMITTED_VALUE = 1;
     /**
-     *
-     *
      * 
      * Data is invisible until the stream is committed.
      * 
@@ -150,8 +116,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.
      * 
@@ -160,6 +124,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( @@ -184,53 +149,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; @@ -249,19 +211,15 @@ private Type(int value) { private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. Name of the stream, in the form
    * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -270,30 +228,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 { @@ -304,57 +262,38 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int TYPE_FIELD_NUMBER = 2; private int type_ = 0; /** - * - * *
    * Immutable. Type of the stream.
    * 
* - * - * .google.cloud.bigquery.storage.v1beta2.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.bigquery.storage.v1beta2.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * Immutable. Type of the stream.
    * 
* - * - * .google.cloud.bigquery.storage.v1beta2.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.bigquery.storage.v1beta2.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; * @return The type. */ - @java.lang.Override - public com.google.cloud.bigquery.storage.v1beta2.WriteStream.Type getType() { - com.google.cloud.bigquery.storage.v1beta2.WriteStream.Type result = - com.google.cloud.bigquery.storage.v1beta2.WriteStream.Type.forNumber(type_); - return result == null - ? com.google.cloud.bigquery.storage.v1beta2.WriteStream.Type.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.WriteStream.Type getType() { + com.google.cloud.bigquery.storage.v1beta2.WriteStream.Type result = com.google.cloud.bigquery.storage.v1beta2.WriteStream.Type.forNumber(type_); + return result == null ? com.google.cloud.bigquery.storage.v1beta2.WriteStream.Type.UNRECOGNIZED : result; } public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. Create time of the stream. For the _default stream, this is the
    * creation_time of the table.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -362,16 +301,12 @@ public boolean hasCreateTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Output only. Create time of the stream. For the _default stream, this is the
    * creation_time of the table.
    * 
* - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -379,15 +314,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() { @@ -397,8 +329,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
@@ -406,9 +336,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 @@ -416,8 +344,6 @@ public boolean hasCommitTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Output only. Commit time of the stream.
    * If a stream is of `COMMITTED` type, then it will have a commit_time same as
@@ -425,9 +351,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 @@ -435,8 +359,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
@@ -444,8 +366,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() { @@ -455,8 +376,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
@@ -464,10 +383,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 @@ -475,8 +391,6 @@ public boolean hasTableSchema() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * Output only. The schema of the destination table. It is only returned in
    * `CreateWriteStream` response. Caller should generate data that's
@@ -484,21 +398,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
@@ -506,19 +413,14 @@ public com.google.cloud.bigquery.storage.v1beta2.TableSchema getTableSchema() {
    * The table schema could go out of date during the life time of the stream.
    * 
* - * - * .google.cloud.bigquery.storage.v1beta2.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.storage.v1beta2.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.TableSchemaOrBuilder getTableSchemaOrBuilder() { - return tableSchema_ == null - ? com.google.cloud.bigquery.storage.v1beta2.TableSchema.getDefaultInstance() - : tableSchema_; + return tableSchema_ == null ? com.google.cloud.bigquery.storage.v1beta2.TableSchema.getDefaultInstance() : tableSchema_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -530,13 +432,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (type_ - != com.google.cloud.bigquery.storage.v1beta2.WriteStream.Type.TYPE_UNSPECIFIED - .getNumber()) { + if (type_ != com.google.cloud.bigquery.storage.v1beta2.WriteStream.Type.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, type_); } if (((bitField0_ & 0x00000001) != 0)) { @@ -560,19 +461,21 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (type_ - != com.google.cloud.bigquery.storage.v1beta2.WriteStream.Type.TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); + if (type_ != com.google.cloud.bigquery.storage.v1beta2.WriteStream.Type.TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, type_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCreateTime()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCommitTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getCommitTime()); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getTableSchema()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getTableSchema()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -582,27 +485,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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -637,127 +543,119 @@ 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() @@ -765,19 +663,19 @@ 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) { getCreateTimeFieldBuilder(); getCommitTimeFieldBuilder(); getTableSchemaFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -803,9 +701,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 @@ -824,11 +722,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); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.bigquery.storage.v1beta2.WriteStream result = new com.google.cloud.bigquery.storage.v1beta2.WriteStream(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -843,16 +738,21 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.WriteStream } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.commitTime_ = commitTimeBuilder_ == null ? commitTime_ : commitTimeBuilder_.build(); + result.commitTime_ = commitTimeBuilder_ == null + ? commitTime_ + : commitTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000010) != 0)) { - result.tableSchema_ = - tableSchemaBuilder_ == null ? tableSchema_ : tableSchemaBuilder_.build(); + result.tableSchema_ = tableSchemaBuilder_ == null + ? tableSchema_ + : tableSchemaBuilder_.build(); to_bitField0_ |= 0x00000004; } result.bitField0_ |= to_bitField0_; @@ -862,39 +762,38 @@ private void buildPartial0(com.google.cloud.bigquery.storage.v1beta2.WriteStream public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.bigquery.storage.v1beta2.WriteStream) { - return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.WriteStream) other); + return mergeFrom((com.google.cloud.bigquery.storage.v1beta2.WriteStream)other); } else { super.mergeFrom(other); return this; @@ -902,8 +801,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_; bitField0_ |= 0x00000001; @@ -947,43 +845,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - type_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - input.readMessage(getCommitTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - input.readMessage(getTableSchemaFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + type_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getCommitTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + input.readMessage( + getTableSchemaFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -993,26 +891,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Output only. Name of the stream, in the form
      * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1021,22 +916,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 { @@ -1044,37 +938,30 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. Name of the stream, in the form
      * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1084,22 +971,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. Name of the stream, in the form
      * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1109,33 +992,22 @@ 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. */ @@ -1146,37 +1018,24 @@ public Builder setTypeValue(int value) { return this; } /** - * - * *
      * Immutable. Type of the stream.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta2.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.bigquery.storage.v1beta2.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; * @return The type. */ @java.lang.Override public com.google.cloud.bigquery.storage.v1beta2.WriteStream.Type getType() { - com.google.cloud.bigquery.storage.v1beta2.WriteStream.Type result = - com.google.cloud.bigquery.storage.v1beta2.WriteStream.Type.forNumber(type_); - return result == null - ? com.google.cloud.bigquery.storage.v1beta2.WriteStream.Type.UNRECOGNIZED - : result; + com.google.cloud.bigquery.storage.v1beta2.WriteStream.Type result = com.google.cloud.bigquery.storage.v1beta2.WriteStream.Type.forNumber(type_); + return result == null ? com.google.cloud.bigquery.storage.v1beta2.WriteStream.Type.UNRECOGNIZED : result; } /** - * - * *
      * Immutable. Type of the stream.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta2.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.bigquery.storage.v1beta2.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; * @param value The type to set. * @return This builder for chaining. */ @@ -1190,16 +1049,11 @@ public Builder setType(com.google.cloud.bigquery.storage.v1beta2.WriteStream.Typ return this; } /** - * - * *
      * Immutable. Type of the stream.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta2.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.bigquery.storage.v1beta2.WriteStream.Type type = 2 [(.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearType() { @@ -1211,61 +1065,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 ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Output only. Create time of the stream. For the _default stream, this is the
      * creation_time of the table.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Create time of the stream. For the _default stream, this is the
      * creation_time of the table.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1281,18 +1116,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(); } else { @@ -1303,22 +1135,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 (((bitField0_ & 0x00000004) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1333,16 +1161,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() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1355,16 +1179,12 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. Create time of the stream. For the _default stream, this is the
      * creation_time of the table.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; @@ -1372,50 +1192,38 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Create time of the stream. For the _default stream, this is the
      * creation_time of the table.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. Create time of the stream. For the _default stream, this is the
      * creation_time of the table.
      * 
* - * - * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1423,13 +1231,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
@@ -1437,18 +1240,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 ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Output only. Commit time of the stream.
      * If a stream is of `COMMITTED` type, then it will have a commit_time same as
@@ -1456,24 +1254,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
@@ -1481,9 +1272,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) { @@ -1499,8 +1288,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
@@ -1508,11 +1295,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(); } else { @@ -1523,8 +1309,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
@@ -1532,15 +1316,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 (((bitField0_ & 0x00000008) != 0) - && commitTime_ != null - && commitTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + commitTime_ != null && + commitTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCommitTimeBuilder().mergeFrom(value); } else { commitTime_ = value; @@ -1555,8 +1337,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
@@ -1564,9 +1344,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() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1579,8 +1357,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
@@ -1588,9 +1364,7 @@ public Builder clearCommitTime() {
      * means it is not committed.
      * 
* - * - * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp commit_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCommitTimeBuilder() { bitField0_ |= 0x00000008; @@ -1598,8 +1372,6 @@ public com.google.protobuf.Timestamp.Builder getCommitTimeBuilder() { return getCommitTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Commit time of the stream.
      * If a stream is of `COMMITTED` type, then it will have a commit_time same as
@@ -1607,22 +1379,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
@@ -1630,22 +1397,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_; @@ -1653,13 +1415,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
@@ -1667,18 +1424,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 ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Output only. The schema of the destination table. It is only returned in
      * `CreateWriteStream` response. Caller should generate data that's
@@ -1686,24 +1438,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
@@ -1711,9 +1456,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) { @@ -1729,8 +1472,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
@@ -1738,9 +1479,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) { @@ -1754,8 +1493,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
@@ -1763,16 +1500,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 (((bitField0_ & 0x00000010) != 0) - && tableSchema_ != null - && tableSchema_ - != com.google.cloud.bigquery.storage.v1beta2.TableSchema.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + tableSchema_ != null && + tableSchema_ != com.google.cloud.bigquery.storage.v1beta2.TableSchema.getDefaultInstance()) { getTableSchemaBuilder().mergeFrom(value); } else { tableSchema_ = value; @@ -1787,8 +1521,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
@@ -1796,9 +1528,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() { bitField0_ = (bitField0_ & ~0x00000010); @@ -1811,8 +1541,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
@@ -1820,9 +1548,7 @@ public Builder clearTableSchema() {
      * The table schema could go out of date during the life time of the stream.
      * 
* - * - * .google.cloud.bigquery.storage.v1beta2.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.bigquery.storage.v1beta2.TableSchema table_schema = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.bigquery.storage.v1beta2.TableSchema.Builder getTableSchemaBuilder() { bitField0_ |= 0x00000010; @@ -1830,8 +1556,6 @@ public com.google.cloud.bigquery.storage.v1beta2.TableSchema.Builder getTableSch return getTableSchemaFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The schema of the destination table. It is only returned in
      * `CreateWriteStream` response. Caller should generate data that's
@@ -1839,23 +1563,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
@@ -1863,29 +1581,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); } @@ -1895,12 +1608,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(); } @@ -1909,27 +1622,27 @@ public static com.google.cloud.bigquery.storage.v1beta2.WriteStream getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WriteStream parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WriteStream parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1944,4 +1657,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 99% 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 index ab40230f4a..29a7892447 100644 --- 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 @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. 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 35449d858b..cadd21f556 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,129 +1,85 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 // Protobuf Java Version: 3.25.2 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
@@ -131,15 +87,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
@@ -147,15 +99,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
@@ -163,14 +111,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
@@ -178,16 +123,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
@@ -195,16 +135,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
@@ -212,9 +147,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 100% 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 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/AnnotationsProto.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AnnotationsProto.java deleted file mode 100644 index 6f2edb68e7..0000000000 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AnnotationsProto.java +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/storage/v1/annotations.proto - -// Protobuf Java Version: 3.25.2 -package com.google.cloud.bigquery.storage.v1; - -public final class AnnotationsProto { - private AnnotationsProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) { - registry.add(com.google.cloud.bigquery.storage.v1.AnnotationsProto.columnName); - } - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - public static final int COLUMN_NAME_FIELD_NUMBER = 454943157; - /** - * - * - *
-   * Setting the column_name extension allows users to reference
-   * bigquery column independently of the field name in the protocol buffer
-   * message.
-   *
-   * The intended use of this annotation is to reference a destination column
-   * named using characters unavailable for protobuf field names (e.g. unicode
-   * characters).
-   *
-   * More details about BigQuery naming limitations can be found here:
-   * https://cloud.google.com/bigquery/docs/schemas#column_names
-   *
-   * This extension is currently experimental.
-   * 
- * - * extend .google.protobuf.FieldOptions { ... } - */ - public static final com.google.protobuf.GeneratedMessage.GeneratedExtension< - com.google.protobuf.DescriptorProtos.FieldOptions, java.lang.String> - columnName = - com.google.protobuf.GeneratedMessage.newFileScopedGeneratedExtension( - java.lang.String.class, null); - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n2google/cloud/bigquery/storage/v1/annot" - + "ations.proto\022 google.cloud.bigquery.stor" - + "age.v1\032 google/protobuf/descriptor.proto" - + ":9\n\013column_name\022\035.google.protobuf.FieldO" - + "ptions\030\265\303\367\330\001 \001(\t\210\001\001B\300\001\n$com.google.cloud" - + ".bigquery.storage.v1B\020AnnotationsProtoP\001" - + "Z>cloud.google.com/go/bigquery/storage/a" - + "piv1/storagepb;storagepb\252\002 Google.Cloud." - + "BigQuery.Storage.V1\312\002 Google\\Cloud\\BigQu" - + "ery\\Storage\\V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.DescriptorProtos.getDescriptor(), - }); - columnName.internalInit(descriptor.getExtensions().get(0)); - com.google.protobuf.DescriptorProtos.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/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 6e7adc6e70..0000000000 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowProto.java +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 - -// Protobuf Java Version: 3.25.2 -package com.google.cloud.bigquery.storage.v1; - -public final class ArrowProto { - private ArrowProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_ArrowSchema_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_ArrowSchema_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_ArrowRecordBatch_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_ArrowRecordBatch_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_ArrowSerializationOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_ArrowSerializationOptions_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n,google/cloud/bigquery/storage/v1/arrow" - + ".proto\022 google.cloud.bigquery.storage.v1" - + "\"(\n\013ArrowSchema\022\031\n\021serialized_schema\030\001 \001" - + "(\014\"J\n\020ArrowRecordBatch\022\037\n\027serialized_rec" - + "ord_batch\030\001 \001(\014\022\025\n\trow_count\030\002 \001(\003B\002\030\001\"\317" - + "\001\n\031ArrowSerializationOptions\022h\n\022buffer_c" - + "ompression\030\002 \001(\0162L.google.cloud.bigquery" - + ".storage.v1.ArrowSerializationOptions.Co" - + "mpressionCodec\"H\n\020CompressionCodec\022\033\n\027CO" - + "MPRESSION_UNSPECIFIED\020\000\022\r\n\tLZ4_FRAME\020\001\022\010" - + "\n\004ZSTD\020\002B\272\001\n$com.google.cloud.bigquery.s" - + "torage.v1B\nArrowProtoP\001Z>cloud.google.co" - + "m/go/bigquery/storage/apiv1/storagepb;st" - + "oragepb\252\002 Google.Cloud.BigQuery.Storage." - + "V1\312\002 Google\\Cloud\\BigQuery\\Storage\\V1b\006p" - + "roto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_cloud_bigquery_storage_v1_ArrowSchema_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_storage_v1_ArrowSchema_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_ArrowSchema_descriptor, - new java.lang.String[] { - "SerializedSchema", - }); - internal_static_google_cloud_bigquery_storage_v1_ArrowRecordBatch_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_storage_v1_ArrowRecordBatch_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_ArrowRecordBatch_descriptor, - new java.lang.String[] { - "SerializedRecordBatch", "RowCount", - }); - internal_static_google_cloud_bigquery_storage_v1_ArrowSerializationOptions_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_bigquery_storage_v1_ArrowSerializationOptions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_ArrowSerializationOptions_descriptor, - new java.lang.String[] { - "BufferCompression", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/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 6396117161..0000000000 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSchemaOrBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 - -// Protobuf Java Version: 3.25.2 -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 d2fd5ccb62..0000000000 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ArrowSerializationOptionsOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 - -// Protobuf Java Version: 3.25.2 -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 b3dde7f1c6..0000000000 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/AvroProto.java +++ /dev/null @@ -1,94 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 - -// Protobuf Java Version: 3.25.2 -package com.google.cloud.bigquery.storage.v1; - -public final class AvroProto { - private AvroProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_AvroSchema_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_AvroSchema_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_AvroRows_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_AvroRows_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_AvroSerializationOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_AvroSerializationOptions_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n+google/cloud/bigquery/storage/v1/avro." - + "proto\022 google.cloud.bigquery.storage.v1\"" - + "\034\n\nAvroSchema\022\016\n\006schema\030\001 \001(\t\"A\n\010AvroRow" - + "s\022\036\n\026serialized_binary_rows\030\001 \001(\014\022\025\n\trow" - + "_count\030\002 \001(\003B\002\030\001\"A\n\030AvroSerializationOpt" - + "ions\022%\n\035enable_display_name_attribute\030\001 " - + "\001(\010B\271\001\n$com.google.cloud.bigquery.storag" - + "e.v1B\tAvroProtoP\001Z>cloud.google.com/go/b" - + "igquery/storage/apiv1/storagepb;storagep" - + "b\252\002 Google.Cloud.BigQuery.Storage.V1\312\002 G" - + "oogle\\Cloud\\BigQuery\\Storage\\V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_cloud_bigquery_storage_v1_AvroSchema_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_storage_v1_AvroSchema_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_AvroSchema_descriptor, - new java.lang.String[] { - "Schema", - }); - internal_static_google_cloud_bigquery_storage_v1_AvroRows_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_storage_v1_AvroRows_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_AvroRows_descriptor, - new java.lang.String[] { - "SerializedBinaryRows", "RowCount", - }); - internal_static_google_cloud_bigquery_storage_v1_AvroSerializationOptions_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_bigquery_storage_v1_AvroSerializationOptions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_AvroSerializationOptions_descriptor, - new java.lang.String[] { - "EnableDisplayNameAttribute", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/CreateWriteStreamRequestOrBuilder.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/CreateWriteStreamRequestOrBuilder.java deleted file mode 100644 index 19b2b315fd..0000000000 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/CreateWriteStreamRequestOrBuilder.java +++ /dev/null @@ -1,98 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 - -// Protobuf Java Version: 3.25.2 -package com.google.cloud.bigquery.storage.v1; - -public interface CreateWriteStreamRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.CreateWriteStreamRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Reference to the table to which the stream belongs, in the format
-   * of `projects/{project}/datasets/{dataset}/tables/{table}`.
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The parent. - */ - java.lang.String getParent(); - /** - * - * - *
-   * Required. Reference to the table to which the stream belongs, in the format
-   * of `projects/{project}/datasets/{dataset}/tables/{table}`.
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); - - /** - * - * - *
-   * Required. Stream to be created.
-   * 
- * - * - * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the writeStream field is set. - */ - boolean hasWriteStream(); - /** - * - * - *
-   * Required. Stream to be created.
-   * 
- * - * - * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The writeStream. - */ - com.google.cloud.bigquery.storage.v1.WriteStream getWriteStream(); - /** - * - * - *
-   * Required. Stream to be created.
-   * 
- * - * - * .google.cloud.bigquery.storage.v1.WriteStream write_stream = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.bigquery.storage.v1.WriteStreamOrBuilder getWriteStreamOrBuilder(); -} diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FinalizeWriteStreamRequestOrBuilder.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FinalizeWriteStreamRequestOrBuilder.java deleted file mode 100644 index f823aee512..0000000000 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FinalizeWriteStreamRequestOrBuilder.java +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 - -// Protobuf Java Version: 3.25.2 -package com.google.cloud.bigquery.storage.v1; - -public interface FinalizeWriteStreamRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.FinalizeWriteStreamRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Name of the stream to finalize, in the form of
-   * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Name of the stream to finalize, in the form of
-   * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FinalizeWriteStreamResponseOrBuilder.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FinalizeWriteStreamResponseOrBuilder.java deleted file mode 100644 index 27bc0c2972..0000000000 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FinalizeWriteStreamResponseOrBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 - -// Protobuf Java Version: 3.25.2 -package com.google.cloud.bigquery.storage.v1; - -public interface FinalizeWriteStreamResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.FinalizeWriteStreamResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Number of rows in the finalized stream.
-   * 
- * - * int64 row_count = 1; - * - * @return The rowCount. - */ - long getRowCount(); -} diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FlushRowsResponseOrBuilder.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FlushRowsResponseOrBuilder.java deleted file mode 100644 index 7a3c3af438..0000000000 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/FlushRowsResponseOrBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 - -// Protobuf Java Version: 3.25.2 -package com.google.cloud.bigquery.storage.v1; - -public interface FlushRowsResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.storage.v1.FlushRowsResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The rows before this offset (including this offset) are flushed.
-   * 
- * - * int64 offset = 1; - * - * @return The offset. - */ - long getOffset(); -} diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoBufProto.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoBufProto.java deleted file mode 100644 index 12d9e99d98..0000000000 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ProtoBufProto.java +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/storage/v1/protobuf.proto - -// Protobuf Java Version: 3.25.2 -package com.google.cloud.bigquery.storage.v1; - -public final class ProtoBufProto { - private ProtoBufProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_ProtoSchema_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_ProtoSchema_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_ProtoRows_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_ProtoRows_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n/google/cloud/bigquery/storage/v1/proto" - + "buf.proto\022 google.cloud.bigquery.storage" - + ".v1\032 google/protobuf/descriptor.proto\"I\n" - + "\013ProtoSchema\022:\n\020proto_descriptor\030\001 \001(\0132 " - + ".google.protobuf.DescriptorProto\"$\n\tProt" - + "oRows\022\027\n\017serialized_rows\030\001 \003(\014B\275\001\n$com.g" - + "oogle.cloud.bigquery.storage.v1B\rProtoBu" - + "fProtoP\001Z>cloud.google.com/go/bigquery/s" - + "torage/apiv1/storagepb;storagepb\252\002 Googl" - + "e.Cloud.BigQuery.Storage.V1\312\002 Google\\Clo" - + "ud\\BigQuery\\Storage\\V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.DescriptorProtos.getDescriptor(), - }); - internal_static_google_cloud_bigquery_storage_v1_ProtoSchema_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_storage_v1_ProtoSchema_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_ProtoSchema_descriptor, - new java.lang.String[] { - "ProtoDescriptor", - }); - internal_static_google_cloud_bigquery_storage_v1_ProtoRows_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_storage_v1_ProtoRows_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_ProtoRows_descriptor, - new java.lang.String[] { - "SerializedRows", - }); - com.google.protobuf.DescriptorProtos.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/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 209ca265b4..0000000000 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsRequestOrBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 - -// Protobuf Java Version: 3.25.2 -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 e3cb42a795..0000000000 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StorageProto.java +++ /dev/null @@ -1,568 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 - -// Protobuf Java Version: 3.25.2 -package com.google.cloud.bigquery.storage.v1; - -public final class StorageProto { - private StorageProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_CreateReadSessionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_CreateReadSessionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_ReadRowsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_ReadRowsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_ThrottleState_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_ThrottleState_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_StreamStats_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_StreamStats_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_StreamStats_Progress_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_StreamStats_Progress_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_ReadRowsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_ReadRowsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_CreateWriteStreamRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_CreateWriteStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_ProtoData_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_ProtoData_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_MissingValueInterpretationsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_MissingValueInterpretationsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_AppendResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_AppendResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_GetWriteStreamRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_GetWriteStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_FlushRowsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_FlushRowsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_FlushRowsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_FlushRowsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_StorageError_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_StorageError_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_RowError_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_RowError_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n.google/cloud/bigquery/storage/v1/stora" - + "ge.proto\022 google.cloud.bigquery.storage." - + "v1\032\034google/api/annotations.proto\032\027google" - + "/api/client.proto\032\037google/api/field_beha" - + "vior.proto\032\031google/api/resource.proto\032,g" - + "oogle/cloud/bigquery/storage/v1/arrow.pr" - + "oto\032+google/cloud/bigquery/storage/v1/av" - + "ro.proto\032/google/cloud/bigquery/storage/" - + "v1/protobuf.proto\032-google/cloud/bigquery" - + "/storage/v1/stream.proto\032,google/cloud/b" - + "igquery/storage/v1/table.proto\032\037google/p" - + "rotobuf/timestamp.proto\032\036google/protobuf" - + "/wrappers.proto\032\027google/rpc/status.proto" - + "\"\347\001\n\030CreateReadSessionRequest\022C\n\006parent\030" - + "\001 \001(\tB3\340A\002\372A-\n+cloudresourcemanager.goog" - + "leapis.com/Project\022H\n\014read_session\030\002 \001(\013" - + "2-.google.cloud.bigquery.storage.v1.Read" - + "SessionB\003\340A\002\022\030\n\020max_stream_count\030\003 \001(\005\022\"" - + "\n\032preferred_min_stream_count\030\004 \001(\005\"i\n\017Re" - + "adRowsRequest\022F\n\013read_stream\030\001 \001(\tB1\340A\002\372" - + "A+\n)bigquerystorage.googleapis.com/ReadS" - + "tream\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.bigque" - + "ry.storage.v1.StreamStats.Progress\032>\n\010Pr" - + "ogress\022\031\n\021at_response_start\030\001 \001(\001\022\027\n\017at_" - + "response_end\030\002 \001(\001\"\254\004\n\020ReadRowsResponse\022" - + "?\n\tavro_rows\030\003 \001(\0132*.google.cloud.bigque" - + "ry.storage.v1.AvroRowsH\000\022P\n\022arrow_record" - + "_batch\030\004 \001(\01322.google.cloud.bigquery.sto" - + "rage.v1.ArrowRecordBatchH\000\022\021\n\trow_count\030" - + "\006 \001(\003\022<\n\005stats\030\002 \001(\0132-.google.cloud.bigq" - + "uery.storage.v1.StreamStats\022G\n\016throttle_" - + "state\030\005 \001(\0132/.google.cloud.bigquery.stor" - + "age.v1.ThrottleState\022H\n\013avro_schema\030\007 \001(" - + "\0132,.google.cloud.bigquery.storage.v1.Avr" - + "oSchemaB\003\340A\003H\001\022J\n\014arrow_schema\030\010 \001(\0132-.g" - + "oogle.cloud.bigquery.storage.v1.ArrowSch" - + "emaB\003\340A\003H\001\022(\n\026uncompressed_byte_size\030\t \001" - + "(\003B\003\340A\001H\002\210\001\001B\006\n\004rowsB\010\n\006schemaB\031\n\027_uncom" - + "pressed_byte_size\"k\n\026SplitReadStreamRequ" - + "est\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n)bigquerystora" - + "ge.googleapis.com/ReadStream\022\020\n\010fraction" - + "\030\002 \001(\001\"\247\001\n\027SplitReadStreamResponse\022D\n\016pr" - + "imary_stream\030\001 \001(\0132,.google.cloud.bigque" - + "ry.storage.v1.ReadStream\022F\n\020remainder_st" - + "ream\030\002 \001(\0132,.google.cloud.bigquery.stora" - + "ge.v1.ReadStream\"\233\001\n\030CreateWriteStreamRe" - + "quest\0225\n\006parent\030\001 \001(\tB%\340A\002\372A\037\n\035bigquery." - + "googleapis.com/Table\022H\n\014write_stream\030\002 \001" - + "(\0132-.google.cloud.bigquery.storage.v1.Wr" - + "iteStreamB\003\340A\002\"\215\007\n\021AppendRowsRequest\022H\n\014" - + "write_stream\030\001 \001(\tB2\340A\002\372A,\n*bigquerystor" - + "age.googleapis.com/WriteStream\022+\n\006offset" - + "\030\002 \001(\0132\033.google.protobuf.Int64Value\022S\n\np" - + "roto_rows\030\004 \001(\0132=.google.cloud.bigquery." - + "storage.v1.AppendRowsRequest.ProtoDataH\000" - + "\022\020\n\010trace_id\030\006 \001(\t\022{\n\035missing_value_inte" - + "rpretations\030\007 \003(\0132T.google.cloud.bigquer" - + "y.storage.v1.AppendRowsRequest.MissingVa" - + "lueInterpretationsEntry\022\201\001\n$default_miss" - + "ing_value_interpretation\030\010 \001(\0162N.google." - + "cloud.bigquery.storage.v1.AppendRowsRequ" - + "est.MissingValueInterpretationB\003\340A\001\032\214\001\n\t" - + "ProtoData\022D\n\rwriter_schema\030\001 \001(\0132-.googl" - + "e.cloud.bigquery.storage.v1.ProtoSchema\022" - + "9\n\004rows\030\002 \001(\0132+.google.cloud.bigquery.st" - + "orage.v1.ProtoRows\032\222\001\n MissingValueInter" - + "pretationsEntry\022\013\n\003key\030\001 \001(\t\022]\n\005value\030\002 " - + "\001(\0162N.google.cloud.bigquery.storage.v1.A" - + "ppendRowsRequest.MissingValueInterpretat" - + "ion:\0028\001\"m\n\032MissingValueInterpretation\022,\n" - + "(MISSING_VALUE_INTERPRETATION_UNSPECIFIE" - + "D\020\000\022\016\n\nNULL_VALUE\020\001\022\021\n\rDEFAULT_VALUE\020\002B\006" - + "\n\004rows\"\373\002\n\022AppendRowsResponse\022Z\n\rappend_" - + "result\030\001 \001(\0132A.google.cloud.bigquery.sto" - + "rage.v1.AppendRowsResponse.AppendResultH" - + "\000\022#\n\005error\030\002 \001(\0132\022.google.rpc.StatusH\000\022E" - + "\n\016updated_schema\030\003 \001(\0132-.google.cloud.bi" - + "gquery.storage.v1.TableSchema\022>\n\nrow_err" - + "ors\030\004 \003(\0132*.google.cloud.bigquery.storag" - + "e.v1.RowError\022\024\n\014write_stream\030\005 \001(\t\032;\n\014A" - + "ppendResult\022+\n\006offset\030\001 \001(\0132\033.google.pro" - + "tobuf.Int64ValueB\n\n\010response\"\232\001\n\025GetWrit" - + "eStreamRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*bi" - + "gquerystorage.googleapis.com/WriteStream" - + "\022?\n\004view\030\003 \001(\01621.google.cloud.bigquery.s" - + "torage.v1.WriteStreamView\"s\n\036BatchCommit" - + "WriteStreamsRequest\0225\n\006parent\030\001 \001(\tB%\340A\002" - + "\372A\037\n\035bigquery.googleapis.com/Table\022\032\n\rwr" - + "ite_streams\030\002 \003(\tB\003\340A\002\"\231\001\n\037BatchCommitWr" - + "iteStreamsResponse\022/\n\013commit_time\030\001 \001(\0132" - + "\032.google.protobuf.Timestamp\022E\n\rstream_er" - + "rors\030\002 \003(\0132..google.cloud.bigquery.stora" - + "ge.v1.StorageError\"^\n\032FinalizeWriteStrea" - + "mRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*bigquery" - + "storage.googleapis.com/WriteStream\"0\n\033Fi" - + "nalizeWriteStreamResponse\022\021\n\trow_count\030\001" - + " \001(\003\"\211\001\n\020FlushRowsRequest\022H\n\014write_strea" - + "m\030\001 \001(\tB2\340A\002\372A,\n*bigquerystorage.googlea" - + "pis.com/WriteStream\022+\n\006offset\030\002 \001(\0132\033.go" - + "ogle.protobuf.Int64Value\"#\n\021FlushRowsRes" - + "ponse\022\016\n\006offset\030\001 \001(\003\"\244\004\n\014StorageError\022M" - + "\n\004code\030\001 \001(\0162?.google.cloud.bigquery.sto" - + "rage.v1.StorageError.StorageErrorCode\022\016\n" - + "\006entity\030\002 \001(\t\022\025\n\rerror_message\030\003 \001(\t\"\235\003\n" - + "\020StorageErrorCode\022\"\n\036STORAGE_ERROR_CODE_" - + "UNSPECIFIED\020\000\022\023\n\017TABLE_NOT_FOUND\020\001\022\034\n\030ST" - + "REAM_ALREADY_COMMITTED\020\002\022\024\n\020STREAM_NOT_F" - + "OUND\020\003\022\027\n\023INVALID_STREAM_TYPE\020\004\022\030\n\024INVAL" - + "ID_STREAM_STATE\020\005\022\024\n\020STREAM_FINALIZED\020\006\022" - + " \n\034SCHEMA_MISMATCH_EXTRA_FIELDS\020\007\022\031\n\025OFF" - + "SET_ALREADY_EXISTS\020\010\022\027\n\023OFFSET_OUT_OF_RA" - + "NGE\020\t\022\025\n\021CMEK_NOT_PROVIDED\020\n\022\031\n\025INVALID_" - + "CMEK_PROVIDED\020\013\022\031\n\025CMEK_ENCRYPTION_ERROR" - + "\020\014\022\025\n\021KMS_SERVICE_ERROR\020\r\022\031\n\025KMS_PERMISS" - + "ION_DENIED\020\016\"\263\001\n\010RowError\022\r\n\005index\030\001 \001(\003" - + "\022E\n\004code\030\002 \001(\01627.google.cloud.bigquery.s" - + "torage.v1.RowError.RowErrorCode\022\017\n\007messa" - + "ge\030\003 \001(\t\"@\n\014RowErrorCode\022\036\n\032ROW_ERROR_CO" - + "DE_UNSPECIFIED\020\000\022\020\n\014FIELDS_ERROR\020\0012\222\006\n\014B" - + "igQueryRead\022\351\001\n\021CreateReadSession\022:.goog" - + "le.cloud.bigquery.storage.v1.CreateReadS" - + "essionRequest\032-.google.cloud.bigquery.st" - + "orage.v1.ReadSession\"i\332A$parent,read_ses" - + "sion,max_stream_count\202\323\344\223\002<\"7/v1/{read_s" - + "ession.table=projects/*/datasets/*/table" - + "s/*}:\001*\022\317\001\n\010ReadRows\0221.google.cloud.bigq" - + "uery.storage.v1.ReadRowsRequest\0322.google" - + ".cloud.bigquery.storage.v1.ReadRowsRespo" - + "nse\"Z\332A\022read_stream,offset\202\323\344\223\002?\022=/v1/{r" - + "ead_stream=projects/*/locations/*/sessio" - + "ns/*/streams/*}0\001\022\306\001\n\017SplitReadStream\0228." - + "google.cloud.bigquery.storage.v1.SplitRe" - + "adStreamRequest\0329.google.cloud.bigquery." - + "storage.v1.SplitReadStreamResponse\">\202\323\344\223" - + "\0028\0226/v1/{name=projects/*/locations/*/ses" - + "sions/*/streams/*}\032{\312A\036bigquerystorage.g" - + "oogleapis.com\322AWhttps://www.googleapis.c" - + "om/auth/bigquery,https://www.googleapis." - + "com/auth/cloud-platform2\274\013\n\rBigQueryWrit" - + "e\022\327\001\n\021CreateWriteStream\022:.google.cloud.b" - + "igquery.storage.v1.CreateWriteStreamRequ" - + "est\032-.google.cloud.bigquery.storage.v1.W" - + "riteStream\"W\332A\023parent,write_stream\202\323\344\223\002;" - + "\"+/v1/{parent=projects/*/datasets/*/tabl" - + "es/*}:\014write_stream\022\322\001\n\nAppendRows\0223.goo" - + "gle.cloud.bigquery.storage.v1.AppendRows" - + "Request\0324.google.cloud.bigquery.storage." - + "v1.AppendRowsResponse\"U\332A\014write_stream\202\323" - + "\344\223\002@\";/v1/{write_stream=projects/*/datas" - + "ets/*/tables/*/streams/*}:\001*(\0010\001\022\277\001\n\016Get" - + "WriteStream\0227.google.cloud.bigquery.stor" - + "age.v1.GetWriteStreamRequest\032-.google.cl" - + "oud.bigquery.storage.v1.WriteStream\"E\332A\004" - + "name\202\323\344\223\0028\"3/v1/{name=projects/*/dataset" - + "s/*/tables/*/streams/*}:\001*\022\331\001\n\023FinalizeW" - + "riteStream\022<.google.cloud.bigquery.stora" - + "ge.v1.FinalizeWriteStreamRequest\032=.googl" - + "e.cloud.bigquery.storage.v1.FinalizeWrit" - + "eStreamResponse\"E\332A\004name\202\323\344\223\0028\"3/v1/{nam" - + "e=projects/*/datasets/*/tables/*/streams" - + "/*}:\001*\022\334\001\n\027BatchCommitWriteStreams\022@.goo" - + "gle.cloud.bigquery.storage.v1.BatchCommi" - + "tWriteStreamsRequest\032A.google.cloud.bigq" - + "uery.storage.v1.BatchCommitWriteStreamsR" - + "esponse\"<\332A\006parent\202\323\344\223\002-\022+/v1/{parent=pr" - + "ojects/*/datasets/*/tables/*}\022\313\001\n\tFlushR" - + "ows\0222.google.cloud.bigquery.storage.v1.F" - + "lushRowsRequest\0323.google.cloud.bigquery." - + "storage.v1.FlushRowsResponse\"U\332A\014write_s" - + "tream\202\323\344\223\002@\";/v1/{write_stream=projects/" - + "*/datasets/*/tables/*/streams/*}:\001*\032\260\001\312A" - + "\036bigquerystorage.googleapis.com\322A\213\001https" - + "://www.googleapis.com/auth/bigquery,http" - + "s://www.googleapis.com/auth/bigquery.ins" - + "ertdata,https://www.googleapis.com/auth/" - + "cloud-platformB\224\002\n$com.google.cloud.bigq" - + "uery.storage.v1B\014StorageProtoP\001Z>cloud.g" - + "oogle.com/go/bigquery/storage/apiv1/stor" - + "agepb;storagepb\252\002 Google.Cloud.BigQuery." - + "Storage.V1\312\002 Google\\Cloud\\BigQuery\\Stora" - + "ge\\V1\352AU\n\035bigquery.googleapis.com/Table\022" - + "4projects/{project}/datasets/{dataset}/t" - + "ables/{table}b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.bigquery.storage.v1.ArrowProto.getDescriptor(), - com.google.cloud.bigquery.storage.v1.AvroProto.getDescriptor(), - com.google.cloud.bigquery.storage.v1.ProtoBufProto.getDescriptor(), - com.google.cloud.bigquery.storage.v1.StreamProto.getDescriptor(), - com.google.cloud.bigquery.storage.v1.TableProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.protobuf.WrappersProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_cloud_bigquery_storage_v1_CreateReadSessionRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_storage_v1_CreateReadSessionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_CreateReadSessionRequest_descriptor, - new java.lang.String[] { - "Parent", "ReadSession", "MaxStreamCount", "PreferredMinStreamCount", - }); - internal_static_google_cloud_bigquery_storage_v1_ReadRowsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_storage_v1_ReadRowsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_ReadRowsRequest_descriptor, - new java.lang.String[] { - "ReadStream", "Offset", - }); - internal_static_google_cloud_bigquery_storage_v1_ThrottleState_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_bigquery_storage_v1_ThrottleState_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_ThrottleState_descriptor, - new java.lang.String[] { - "ThrottlePercent", - }); - internal_static_google_cloud_bigquery_storage_v1_StreamStats_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_bigquery_storage_v1_StreamStats_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_StreamStats_descriptor, - new java.lang.String[] { - "Progress", - }); - internal_static_google_cloud_bigquery_storage_v1_StreamStats_Progress_descriptor = - internal_static_google_cloud_bigquery_storage_v1_StreamStats_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_bigquery_storage_v1_StreamStats_Progress_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_StreamStats_Progress_descriptor, - new java.lang.String[] { - "AtResponseStart", "AtResponseEnd", - }); - internal_static_google_cloud_bigquery_storage_v1_ReadRowsResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_bigquery_storage_v1_ReadRowsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_ReadRowsResponse_descriptor, - new java.lang.String[] { - "AvroRows", - "ArrowRecordBatch", - "RowCount", - "Stats", - "ThrottleState", - "AvroSchema", - "ArrowSchema", - "UncompressedByteSize", - "Rows", - "Schema", - }); - internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamRequest_descriptor, - new java.lang.String[] { - "Name", "Fraction", - }); - internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamResponse_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_SplitReadStreamResponse_descriptor, - new java.lang.String[] { - "PrimaryStream", "RemainderStream", - }); - internal_static_google_cloud_bigquery_storage_v1_CreateWriteStreamRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_bigquery_storage_v1_CreateWriteStreamRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_CreateWriteStreamRequest_descriptor, - new java.lang.String[] { - "Parent", "WriteStream", - }); - internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_descriptor, - new java.lang.String[] { - "WriteStream", - "Offset", - "ProtoRows", - "TraceId", - "MissingValueInterpretations", - "DefaultMissingValueInterpretation", - "Rows", - }); - internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_ProtoData_descriptor = - internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_ProtoData_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_ProtoData_descriptor, - new java.lang.String[] { - "WriterSchema", "Rows", - }); - internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_MissingValueInterpretationsEntry_descriptor = - internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_MissingValueInterpretationsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_AppendRowsRequest_MissingValueInterpretationsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_descriptor, - new java.lang.String[] { - "AppendResult", "Error", "UpdatedSchema", "RowErrors", "WriteStream", "Response", - }); - internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_AppendResult_descriptor = - internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_AppendResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_AppendRowsResponse_AppendResult_descriptor, - new java.lang.String[] { - "Offset", - }); - internal_static_google_cloud_bigquery_storage_v1_GetWriteStreamRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_bigquery_storage_v1_GetWriteStreamRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_GetWriteStreamRequest_descriptor, - new java.lang.String[] { - "Name", "View", - }); - internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsRequest_descriptor, - new java.lang.String[] { - "Parent", "WriteStreams", - }); - internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsResponse_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_BatchCommitWriteStreamsResponse_descriptor, - new java.lang.String[] { - "CommitTime", "StreamErrors", - }); - internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamResponse_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_FinalizeWriteStreamResponse_descriptor, - new java.lang.String[] { - "RowCount", - }); - internal_static_google_cloud_bigquery_storage_v1_FlushRowsRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_bigquery_storage_v1_FlushRowsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_FlushRowsRequest_descriptor, - new java.lang.String[] { - "WriteStream", "Offset", - }); - internal_static_google_cloud_bigquery_storage_v1_FlushRowsResponse_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_bigquery_storage_v1_FlushRowsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_FlushRowsResponse_descriptor, - new java.lang.String[] { - "Offset", - }); - internal_static_google_cloud_bigquery_storage_v1_StorageError_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_bigquery_storage_v1_StorageError_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_StorageError_descriptor, - new java.lang.String[] { - "Code", "Entity", "ErrorMessage", - }); - internal_static_google_cloud_bigquery_storage_v1_RowError_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_bigquery_storage_v1_RowError_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_RowError_descriptor, - new java.lang.String[] { - "Index", "Code", "Message", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceDefinition); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.bigquery.storage.v1.ArrowProto.getDescriptor(); - com.google.cloud.bigquery.storage.v1.AvroProto.getDescriptor(); - com.google.cloud.bigquery.storage.v1.ProtoBufProto.getDescriptor(); - com.google.cloud.bigquery.storage.v1.StreamProto.getDescriptor(); - com.google.cloud.bigquery.storage.v1.TableProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.protobuf.WrappersProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StreamProto.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StreamProto.java deleted file mode 100644 index e093de621e..0000000000 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StreamProto.java +++ /dev/null @@ -1,228 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 - -// Protobuf Java Version: 3.25.2 -package com.google.cloud.bigquery.storage.v1; - -public final class StreamProto { - private StreamProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_ReadSession_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_ReadSession_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableModifiers_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableModifiers_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableReadOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableReadOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_ReadStream_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_ReadStream_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_WriteStream_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_WriteStream_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n-google/cloud/bigquery/storage/v1/strea" - + "m.proto\022 google.cloud.bigquery.storage.v" - + "1\032\037google/api/field_behavior.proto\032\031goog" - + "le/api/resource.proto\032,google/cloud/bigq" - + "uery/storage/v1/arrow.proto\032+google/clou" - + "d/bigquery/storage/v1/avro.proto\032,google" - + "/cloud/bigquery/storage/v1/table.proto\032\037" - + "google/protobuf/timestamp.proto\"\303\014\n\013Read" - + "Session\022\021\n\004name\030\001 \001(\tB\003\340A\003\0224\n\013expire_tim" - + "e\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\003" - + "\022F\n\013data_format\030\003 \001(\0162,.google.cloud.big" - + "query.storage.v1.DataFormatB\003\340A\005\022H\n\013avro" - + "_schema\030\004 \001(\0132,.google.cloud.bigquery.st" - + "orage.v1.AvroSchemaB\003\340A\003H\000\022J\n\014arrow_sche" - + "ma\030\005 \001(\0132-.google.cloud.bigquery.storage" - + ".v1.ArrowSchemaB\003\340A\003H\000\0224\n\005table\030\006 \001(\tB%\340" - + "A\005\372A\037\n\035bigquery.googleapis.com/Table\022Z\n\017" - + "table_modifiers\030\007 \001(\0132<.google.cloud.big" - + "query.storage.v1.ReadSession.TableModifi" - + "ersB\003\340A\001\022Y\n\014read_options\030\010 \001(\0132>.google." - + "cloud.bigquery.storage.v1.ReadSession.Ta" - + "bleReadOptionsB\003\340A\001\022B\n\007streams\030\n \003(\0132,.g" - + "oogle.cloud.bigquery.storage.v1.ReadStre" - + "amB\003\340A\003\022*\n\035estimated_total_bytes_scanned" - + "\030\014 \001(\003B\003\340A\003\022/\n\"estimated_total_physical_" - + "file_size\030\017 \001(\003B\003\340A\003\022 \n\023estimated_row_co" - + "unt\030\016 \001(\003B\003\340A\003\022\025\n\010trace_id\030\r \001(\tB\003\340A\001\032C\n" - + "\016TableModifiers\0221\n\rsnapshot_time\030\001 \001(\0132\032" - + ".google.protobuf.Timestamp\032\211\005\n\020TableRead" - + "Options\022\027\n\017selected_fields\030\001 \003(\t\022\027\n\017row_" - + "restriction\030\002 \001(\t\022g\n\033arrow_serialization" - + "_options\030\003 \001(\0132;.google.cloud.bigquery.s" - + "torage.v1.ArrowSerializationOptionsB\003\340A\001" - + "H\000\022e\n\032avro_serialization_options\030\004 \001(\0132:" - + ".google.cloud.bigquery.storage.v1.AvroSe" - + "rializationOptionsB\003\340A\001H\000\022#\n\021sample_perc" - + "entage\030\005 \001(\001B\003\340A\001H\001\210\001\001\022\205\001\n\032response_comp" - + "ression_codec\030\006 \001(\0162W.google.cloud.bigqu" - + "ery.storage.v1.ReadSession.TableReadOpti" - + "ons.ResponseCompressionCodecB\003\340A\001H\002\210\001\001\"j" - + "\n\030ResponseCompressionCodec\022*\n&RESPONSE_C" - + "OMPRESSION_CODEC_UNSPECIFIED\020\000\022\"\n\036RESPON" - + "SE_COMPRESSION_CODEC_LZ4\020\002B%\n#output_for" - + "mat_serialization_optionsB\024\n\022_sample_per" - + "centageB\035\n\033_response_compression_codec:k" - + "\352Ah\n*bigquerystorage.googleapis.com/Read" - + "Session\022:projects/{project}/locations/{l" - + "ocation}/sessions/{session}B\010\n\006schema\"\234\001" - + "\n\nReadStream\022\021\n\004name\030\001 \001(\tB\003\340A\003:{\352Ax\n)bi" - + "gquerystorage.googleapis.com/ReadStream\022" - + "Kprojects/{project}/locations/{location}" - + "/sessions/{session}/streams/{stream}\"\373\004\n" - + "\013WriteStream\022\021\n\004name\030\001 \001(\tB\003\340A\003\022E\n\004type\030" - + "\002 \001(\01622.google.cloud.bigquery.storage.v1" - + ".WriteStream.TypeB\003\340A\005\0224\n\013create_time\030\003 " - + "\001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013" - + "commit_time\030\004 \001(\0132\032.google.protobuf.Time" - + "stampB\003\340A\003\022H\n\014table_schema\030\005 \001(\0132-.googl" - + "e.cloud.bigquery.storage.v1.TableSchemaB" - + "\003\340A\003\022P\n\nwrite_mode\030\007 \001(\01627.google.cloud." - + "bigquery.storage.v1.WriteStream.WriteMod" - + "eB\003\340A\005\022\025\n\010location\030\010 \001(\tB\003\340A\005\"F\n\004Type\022\024\n" - + "\020TYPE_UNSPECIFIED\020\000\022\r\n\tCOMMITTED\020\001\022\013\n\007PE" - + "NDING\020\002\022\014\n\010BUFFERED\020\003\"3\n\tWriteMode\022\032\n\026WR" - + "ITE_MODE_UNSPECIFIED\020\000\022\n\n\006INSERT\020\001:v\352As\n" - + "*bigquerystorage.googleapis.com/WriteStr" - + "eam\022Eprojects/{project}/datasets/{datase" - + "t}/tables/{table}/streams/{stream}*>\n\nDa" - + "taFormat\022\033\n\027DATA_FORMAT_UNSPECIFIED\020\000\022\010\n" - + "\004AVRO\020\001\022\t\n\005ARROW\020\002*I\n\017WriteStreamView\022!\n" - + "\035WRITE_STREAM_VIEW_UNSPECIFIED\020\000\022\t\n\005BASI" - + "C\020\001\022\010\n\004FULL\020\002B\273\001\n$com.google.cloud.bigqu" - + "ery.storage.v1B\013StreamProtoP\001Z>cloud.goo" - + "gle.com/go/bigquery/storage/apiv1/storag" - + "epb;storagepb\252\002 Google.Cloud.BigQuery.St" - + "orage.V1\312\002 Google\\Cloud\\BigQuery\\Storage" - + "\\V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.bigquery.storage.v1.ArrowProto.getDescriptor(), - com.google.cloud.bigquery.storage.v1.AvroProto.getDescriptor(), - com.google.cloud.bigquery.storage.v1.TableProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_bigquery_storage_v1_ReadSession_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_storage_v1_ReadSession_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_ReadSession_descriptor, - new java.lang.String[] { - "Name", - "ExpireTime", - "DataFormat", - "AvroSchema", - "ArrowSchema", - "Table", - "TableModifiers", - "ReadOptions", - "Streams", - "EstimatedTotalBytesScanned", - "EstimatedTotalPhysicalFileSize", - "EstimatedRowCount", - "TraceId", - "Schema", - }); - internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableModifiers_descriptor = - internal_static_google_cloud_bigquery_storage_v1_ReadSession_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableModifiers_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableModifiers_descriptor, - new java.lang.String[] { - "SnapshotTime", - }); - internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableReadOptions_descriptor = - internal_static_google_cloud_bigquery_storage_v1_ReadSession_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableReadOptions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_ReadSession_TableReadOptions_descriptor, - new java.lang.String[] { - "SelectedFields", - "RowRestriction", - "ArrowSerializationOptions", - "AvroSerializationOptions", - "SamplePercentage", - "ResponseCompressionCodec", - "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", - }); - internal_static_google_cloud_bigquery_storage_v1_WriteStream_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_bigquery_storage_v1_WriteStream_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_WriteStream_descriptor, - new java.lang.String[] { - "Name", "Type", "CreateTime", "CommitTime", "TableSchema", "WriteMode", "Location", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.bigquery.storage.v1.ArrowProto.getDescriptor(); - com.google.cloud.bigquery.storage.v1.AvroProto.getDescriptor(); - com.google.cloud.bigquery.storage.v1.TableProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableProto.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableProto.java deleted file mode 100644 index 2273f181bb..0000000000 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/TableProto.java +++ /dev/null @@ -1,115 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/bigquery/storage/v1/table.proto - -// Protobuf Java Version: 3.25.2 -package com.google.cloud.bigquery.storage.v1; - -public final class TableProto { - private TableProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_TableSchema_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_TableSchema_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1_TableFieldSchema_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1_TableFieldSchema_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n,google/cloud/bigquery/storage/v1/table" - + ".proto\022 google.cloud.bigquery.storage.v1" - + "\032\037google/api/field_behavior.proto\"Q\n\013Tab" - + "leSchema\022B\n\006fields\030\001 \003(\01322.google.cloud." - + "bigquery.storage.v1.TableFieldSchema\"\254\005\n" - + "\020TableFieldSchema\022\021\n\004name\030\001 \001(\tB\003\340A\002\022J\n\004" - + "type\030\002 \001(\01627.google.cloud.bigquery.stora" - + "ge.v1.TableFieldSchema.TypeB\003\340A\002\022J\n\004mode" - + "\030\003 \001(\01627.google.cloud.bigquery.storage.v" - + "1.TableFieldSchema.ModeB\003\340A\001\022G\n\006fields\030\004" - + " \003(\01322.google.cloud.bigquery.storage.v1." - + "TableFieldSchemaB\003\340A\001\022\030\n\013description\030\006 \001" - + "(\tB\003\340A\001\022\027\n\nmax_length\030\007 \001(\003B\003\340A\001\022\026\n\tprec" - + "ision\030\010 \001(\003B\003\340A\001\022\022\n\005scale\030\t \001(\003B\003\340A\001\022%\n\030" - + "default_value_expression\030\n \001(\tB\003\340A\001\"\325\001\n\004" - + "Type\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\005BYT" - + "ES\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\010INTERVAL\020" - + "\016\022\010\n\004JSON\020\017\"F\n\004Mode\022\024\n\020MODE_UNSPECIFIED\020" - + "\000\022\014\n\010NULLABLE\020\001\022\014\n\010REQUIRED\020\002\022\014\n\010REPEATE" - + "D\020\003B\272\001\n$com.google.cloud.bigquery.storag" - + "e.v1B\nTableProtoP\001Z>cloud.google.com/go/" - + "bigquery/storage/apiv1/storagepb;storage" - + "pb\252\002 Google.Cloud.BigQuery.Storage.V1\312\002 " - + "Google\\Cloud\\BigQuery\\Storage\\V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - }); - internal_static_google_cloud_bigquery_storage_v1_TableSchema_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_storage_v1_TableSchema_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_TableSchema_descriptor, - new java.lang.String[] { - "Fields", - }); - internal_static_google_cloud_bigquery_storage_v1_TableFieldSchema_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_storage_v1_TableFieldSchema_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1_TableFieldSchema_descriptor, - new java.lang.String[] { - "Name", - "Type", - "Mode", - "Fields", - "Description", - "MaxLength", - "Precision", - "Scale", - "DefaultValueExpression", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/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 6e880d540b..0000000000 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ThrottleStateOrBuilder.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 - -// Protobuf Java Version: 3.25.2 -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 eb4d0dfd81..0000000000 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowProto.java +++ /dev/null @@ -1,96 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 - -// Protobuf Java Version: 3.25.2 -package com.google.cloud.bigquery.storage.v1beta2; - -public final class ArrowProto { - private ArrowProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSchema_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSchema_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta2_ArrowRecordBatch_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1beta2_ArrowRecordBatch_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSerializationOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSerializationOptions_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n1google/cloud/bigquery/storage/v1beta2/" - + "arrow.proto\022%google.cloud.bigquery.stora" - + "ge.v1beta2\"(\n\013ArrowSchema\022\031\n\021serialized_" - + "schema\030\001 \001(\014\"3\n\020ArrowRecordBatch\022\037\n\027seri" - + "alized_record_batch\030\001 \001(\014\"\266\001\n\031ArrowSeria" - + "lizationOptions\022W\n\006format\030\001 \001(\0162G.google" - + ".cloud.bigquery.storage.v1beta2.ArrowSer" - + "ializationOptions.Format\"@\n\006Format\022\026\n\022FO" - + "RMAT_UNSPECIFIED\020\000\022\016\n\nARROW_0_14\020\001\022\016\n\nAR" - + "ROW_0_15\020\002B~\n)com.google.cloud.bigquery." - + "storage.v1beta2B\nArrowProtoP\001ZCcloud.goo" - + "gle.com/go/bigquery/storage/apiv1beta2/s" - + "toragepb;storagepbb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSchema_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSchema_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSchema_descriptor, - new java.lang.String[] { - "SerializedSchema", - }); - internal_static_google_cloud_bigquery_storage_v1beta2_ArrowRecordBatch_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_storage_v1beta2_ArrowRecordBatch_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta2_ArrowRecordBatch_descriptor, - new java.lang.String[] { - "SerializedRecordBatch", - }); - internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSerializationOptions_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSerializationOptions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta2_ArrowSerializationOptions_descriptor, - new java.lang.String[] { - "Format", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/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 5d4542c716..0000000000 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowRecordBatchOrBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 - -// Protobuf Java Version: 3.25.2 -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 3571fb5c8b..0000000000 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSchemaOrBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 - -// Protobuf Java Version: 3.25.2 -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 170c88327f..0000000000 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroProto.java +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 - -// Protobuf Java Version: 3.25.2 -package com.google.cloud.bigquery.storage.v1beta2; - -public final class AvroProto { - private AvroProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta2_AvroSchema_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1beta2_AvroSchema_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta2_AvroRows_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1beta2_AvroRows_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n0google/cloud/bigquery/storage/v1beta2/" - + "avro.proto\022%google.cloud.bigquery.storag" - + "e.v1beta2\"\034\n\nAvroSchema\022\016\n\006schema\030\001 \001(\t\"" - + "*\n\010AvroRows\022\036\n\026serialized_binary_rows\030\001 " - + "\001(\014B}\n)com.google.cloud.bigquery.storage" - + ".v1beta2B\tAvroProtoP\001ZCcloud.google.com/" - + "go/bigquery/storage/apiv1beta2/storagepb" - + ";storagepbb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_cloud_bigquery_storage_v1beta2_AvroSchema_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_storage_v1beta2_AvroSchema_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta2_AvroSchema_descriptor, - new java.lang.String[] { - "Schema", - }); - internal_static_google_cloud_bigquery_storage_v1beta2_AvroRows_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_storage_v1beta2_AvroRows_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta2_AvroRows_descriptor, - new java.lang.String[] { - "SerializedBinaryRows", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/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 d546fe20c1..0000000000 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/AvroRowsOrBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 - -// Protobuf Java Version: 3.25.2 -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 17e34c6ef9..0000000000 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/CreateWriteStreamRequestOrBuilder.java +++ /dev/null @@ -1,98 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 - -// Protobuf Java Version: 3.25.2 -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 a553d42c58..0000000000 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamRequestOrBuilder.java +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 - -// Protobuf Java Version: 3.25.2 -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 cbde18db45..0000000000 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FinalizeWriteStreamResponseOrBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 - -// Protobuf Java Version: 3.25.2 -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 875c92d1f2..0000000000 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/FlushRowsResponseOrBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 - -// Protobuf Java Version: 3.25.2 -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 9b02ba0087..0000000000 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/GetWriteStreamRequestOrBuilder.java +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 - -// Protobuf Java Version: 3.25.2 -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 3ccc955f84..0000000000 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ProtoBufProto.java +++ /dev/null @@ -1,85 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 - -// Protobuf Java Version: 3.25.2 -package com.google.cloud.bigquery.storage.v1beta2; - -public final class ProtoBufProto { - private ProtoBufProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta2_ProtoSchema_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1beta2_ProtoSchema_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_bigquery_storage_v1beta2_ProtoRows_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_bigquery_storage_v1beta2_ProtoRows_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n4google/cloud/bigquery/storage/v1beta2/" - + "protobuf.proto\022%google.cloud.bigquery.st" - + "orage.v1beta2\032 google/protobuf/descripto" - + "r.proto\"I\n\013ProtoSchema\022:\n\020proto_descript" - + "or\030\001 \001(\0132 .google.protobuf.DescriptorPro" - + "to\"$\n\tProtoRows\022\027\n\017serialized_rows\030\001 \003(\014" - + "B\201\001\n)com.google.cloud.bigquery.storage.v" - + "1beta2B\rProtoBufProtoP\001ZCcloud.google.co" - + "m/go/bigquery/storage/apiv1beta2/storage" - + "pb;storagepbb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.DescriptorProtos.getDescriptor(), - }); - internal_static_google_cloud_bigquery_storage_v1beta2_ProtoSchema_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_storage_v1beta2_ProtoSchema_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta2_ProtoSchema_descriptor, - new java.lang.String[] { - "ProtoDescriptor", - }); - internal_static_google_cloud_bigquery_storage_v1beta2_ProtoRows_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_storage_v1beta2_ProtoRows_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta2_ProtoRows_descriptor, - new java.lang.String[] { - "SerializedRows", - }); - com.google.protobuf.DescriptorProtos.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/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 9648c793b9..0000000000 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsRequestOrBuilder.java +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 - -// Protobuf Java Version: 3.25.2 -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 003fa89d4b..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 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 - -// Protobuf Java Version: 3.25.2 -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\277\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\332A$par" - + "ent,read_session,max_stream_count\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{\312A\036bigqueryst" - + "orage.googleapis.com\322AWhttps://www.googl" - + "eapis.com/auth/bigquery,https://www.goog" - + "leapis.com/auth/cloud-platform2\226\014\n\rBigQu" - + "eryWrite\022\346\001\n\021CreateWriteStream\022?.google." - + "cloud.bigquery.storage.v1beta2.CreateWri" - + "teStreamRequest\0322.google.cloud.bigquery." - + "storage.v1beta2.WriteStream\"\\\332A\023parent,w" - + "rite_stream\202\323\344\223\002@\"0/v1beta2/{parent=proj" - + "ects/*/datasets/*/tables/*}:\014write_strea" - + "m\022\341\001\n\nAppendRows\0228.google.cloud.bigquery" - + ".storage.v1beta2.AppendRowsRequest\0329.goo" - + "gle.cloud.bigquery.storage.v1beta2.Appen" - + "dRowsResponse\"Z\332A\014write_stream\202\323\344\223\002E\"@/v" - + "1beta2/{write_stream=projects/*/datasets" - + "/*/tables/*/streams/*}:\001*(\0010\001\022\316\001\n\016GetWri" - + "teStream\022<.google.cloud.bigquery.storage" - + ".v1beta2.GetWriteStreamRequest\0322.google." - + "cloud.bigquery.storage.v1beta2.WriteStre" - + "am\"J\332A\004name\202\323\344\223\002=\"8/v1beta2/{name=projec" - + "ts/*/datasets/*/tables/*/streams/*}:\001*\022\350" - + "\001\n\023FinalizeWriteStream\022A.google.cloud.bi" - + "gquery.storage.v1beta2.FinalizeWriteStre" - + "amRequest\032B.google.cloud.bigquery.storag" - + "e.v1beta2.FinalizeWriteStreamResponse\"J\332" - + "A\004name\202\323\344\223\002=\"8/v1beta2/{name=projects/*/" - + "datasets/*/tables/*/streams/*}:\001*\022\353\001\n\027Ba" - + "tchCommitWriteStreams\022E.google.cloud.big" - + "query.storage.v1beta2.BatchCommitWriteSt" - + "reamsRequest\032F.google.cloud.bigquery.sto" - + "rage.v1beta2.BatchCommitWriteStreamsResp" - + "onse\"A\332A\006parent\202\323\344\223\0022\0220/v1beta2/{parent=" - + "projects/*/datasets/*/tables/*}\022\332\001\n\tFlus" - + "hRows\0227.google.cloud.bigquery.storage.v1" - + "beta2.FlushRowsRequest\0328.google.cloud.bi" - + "gquery.storage.v1beta2.FlushRowsResponse" - + "\"Z\332A\014write_stream\202\323\344\223\002E\"@/v1beta2/{write" - + "_stream=projects/*/datasets/*/tables/*/s" - + "treams/*}:\001*\032\260\001\312A\036bigquerystorage.google" - + "apis.com\322A\213\001https://www.googleapis.com/a" - + "uth/bigquery,https://www.googleapis.com/" - + "auth/bigquery.insertdata,https://www.goo" - + "gleapis.com/auth/cloud-platformB\200\001\n)com." - + "google.cloud.bigquery.storage.v1beta2B\014S" - + "torageProtoP\001ZCcloud.google.com/go/bigqu" - + "ery/storage/apiv1beta2/storagepb;storage" - + "pbb\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 11df74166a..0000000000 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StreamProto.java +++ /dev/null @@ -1,200 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 - -// Protobuf Java Version: 3.25.2 -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\327\001\n)com.google.cl" - + "oud.bigquery.storage.v1beta2B\013StreamProt" - + "oP\001ZCcloud.google.com/go/bigquery/storag" - + "e/apiv1beta2/storagepb;storagepb\352AU\n\035big" - + "query.googleapis.com/Table\0224projects/{pr" - + "oject}/datasets/{dataset}/tables/{table}" - + "b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.bigquery.storage.v1beta2.ArrowProto.getDescriptor(), - com.google.cloud.bigquery.storage.v1beta2.AvroProto.getDescriptor(), - com.google.cloud.bigquery.storage.v1beta2.TableProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_descriptor, - new java.lang.String[] { - "Name", - "ExpireTime", - "DataFormat", - "AvroSchema", - "ArrowSchema", - "Table", - "TableModifiers", - "ReadOptions", - "Streams", - "Schema", - }); - internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableModifiers_descriptor = - internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableModifiers_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableModifiers_descriptor, - new java.lang.String[] { - "SnapshotTime", - }); - internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableReadOptions_descriptor = - internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableReadOptions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta2_ReadSession_TableReadOptions_descriptor, - new java.lang.String[] { - "SelectedFields", "RowRestriction", "ArrowSerializationOptions", - }); - internal_static_google_cloud_bigquery_storage_v1beta2_ReadStream_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_storage_v1beta2_ReadStream_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta2_ReadStream_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_bigquery_storage_v1beta2_WriteStream_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_bigquery_storage_v1beta2_WriteStream_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta2_WriteStream_descriptor, - new java.lang.String[] { - "Name", "Type", "CreateTime", "CommitTime", "TableSchema", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceDefinition); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.bigquery.storage.v1beta2.ArrowProto.getDescriptor(); - com.google.cloud.bigquery.storage.v1beta2.AvroProto.getDescriptor(); - com.google.cloud.bigquery.storage.v1beta2.TableProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/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 5426cd6513..0000000000 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/TableProto.java +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 - -// Protobuf Java Version: 3.25.2 -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~\n)com.google.cloud.bigquery.stora" - + "ge.v1beta2B\nTableProtoP\001ZCcloud.google.c" - + "om/go/bigquery/storage/apiv1beta2/storag" - + "epb;storagepbb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - }); - internal_static_google_cloud_bigquery_storage_v1beta2_TableSchema_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_bigquery_storage_v1beta2_TableSchema_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta2_TableSchema_descriptor, - new java.lang.String[] { - "Fields", - }); - internal_static_google_cloud_bigquery_storage_v1beta2_TableFieldSchema_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_bigquery_storage_v1beta2_TableFieldSchema_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_bigquery_storage_v1beta2_TableFieldSchema_descriptor, - new java.lang.String[] { - "Name", "Type", "Mode", "Fields", "Description", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/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 179c85af36..0000000000 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ThrottleStateOrBuilder.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for 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 - -// Protobuf Java Version: 3.25.2 -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(); -}