diff --git a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BaseBigQueryStorageClient.java b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BaseBigQueryStorageClient.java index 4ba8441d0b..c587b00d52 100644 --- a/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BaseBigQueryStorageClient.java +++ b/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/BaseBigQueryStorageClient.java @@ -413,7 +413,7 @@ public final BatchCreateReadSessionStreamsResponse batchCreateReadSessionStreams * } * * - * @param stream Stream to finalize. + * @param stream Required. Stream to finalize. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void finalizeStream(Stream stream) { @@ -509,7 +509,7 @@ public final UnaryCallable finalizeStreamCallable( * } * * - * @param originalStream Stream to split. + * @param originalStream Required. Stream to split. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final SplitReadStreamResponse splitReadStream(Stream originalStream) { diff --git a/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/Storage.java b/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/Storage.java index d08601548c..5f813d2e7e 100644 --- a/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/Storage.java +++ b/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/Storage.java @@ -5109,7 +5109,9 @@ public interface CreateReadSessionRequestOrBuilder * be billed for usage. * * - * string parent = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -5123,7 +5125,9 @@ public interface CreateReadSessionRequestOrBuilder * be billed for usage. * * - * string parent = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -5511,7 +5515,9 @@ public boolean hasTableReference() { * be billed for usage. * * - * string parent = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -5535,7 +5541,9 @@ public java.lang.String getParent() { * be billed for usage. * * - * string parent = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -6453,7 +6461,9 @@ public Builder clearTableReference() { * be billed for usage. * * - * string parent = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -6477,7 +6487,9 @@ public java.lang.String getParent() { * be billed for usage. * * - * string parent = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -6501,7 +6513,9 @@ public com.google.protobuf.ByteString getParentBytes() { * be billed for usage. * * - * string parent = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The parent to set. * @return This builder for chaining. @@ -6524,7 +6538,9 @@ public Builder setParent(java.lang.String value) { * be billed for usage. * * - * string parent = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * string parent = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -6543,7 +6559,9 @@ public Builder clearParent() { * be billed for usage. * * - * string parent = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * 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. @@ -8146,8 +8164,6 @@ public interface StreamStatusOrBuilder * *
      * Represents the progress of the current stream.
-     * Note: This value is under development and should not be used. Use
-     * `fraction_consumed` instead.
      * 
* * .google.cloud.bigquery.storage.v1beta1.Progress progress = 4; @@ -8160,8 +8176,6 @@ public interface StreamStatusOrBuilder * *
      * Represents the progress of the current stream.
-     * Note: This value is under development and should not be used. Use
-     * `fraction_consumed` instead.
      * 
* * .google.cloud.bigquery.storage.v1beta1.Progress progress = 4; @@ -8174,8 +8188,6 @@ public interface StreamStatusOrBuilder * *
      * Represents the progress of the current stream.
-     * Note: This value is under development and should not be used. Use
-     * `fraction_consumed` instead.
      * 
* * .google.cloud.bigquery.storage.v1beta1.Progress progress = 4; @@ -8364,8 +8376,6 @@ public float getFractionConsumed() { * *
      * Represents the progress of the current stream.
-     * Note: This value is under development and should not be used. Use
-     * `fraction_consumed` instead.
      * 
* * .google.cloud.bigquery.storage.v1beta1.Progress progress = 4; @@ -8380,8 +8390,6 @@ public boolean hasProgress() { * *
      * Represents the progress of the current stream.
-     * Note: This value is under development and should not be used. Use
-     * `fraction_consumed` instead.
      * 
* * .google.cloud.bigquery.storage.v1beta1.Progress progress = 4; @@ -8398,8 +8406,6 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Progress getProgress() * *
      * Represents the progress of the current stream.
-     * Note: This value is under development and should not be used. Use
-     * `fraction_consumed` instead.
      * 
* * .google.cloud.bigquery.storage.v1beta1.Progress progress = 4; @@ -8949,8 +8955,6 @@ public Builder clearFractionConsumed() { * *
        * Represents the progress of the current stream.
-       * Note: This value is under development and should not be used. Use
-       * `fraction_consumed` instead.
        * 
* * .google.cloud.bigquery.storage.v1beta1.Progress progress = 4; @@ -8965,8 +8969,6 @@ public boolean hasProgress() { * *
        * Represents the progress of the current stream.
-       * Note: This value is under development and should not be used. Use
-       * `fraction_consumed` instead.
        * 
* * .google.cloud.bigquery.storage.v1beta1.Progress progress = 4; @@ -8987,8 +8989,6 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Progress getProgress() * *
        * Represents the progress of the current stream.
-       * Note: This value is under development and should not be used. Use
-       * `fraction_consumed` instead.
        * 
* * .google.cloud.bigquery.storage.v1beta1.Progress progress = 4; @@ -9011,8 +9011,6 @@ public Builder setProgress(com.google.cloud.bigquery.storage.v1beta1.Storage.Pro * *
        * Represents the progress of the current stream.
-       * Note: This value is under development and should not be used. Use
-       * `fraction_consumed` instead.
        * 
* * .google.cloud.bigquery.storage.v1beta1.Progress progress = 4; @@ -9033,8 +9031,6 @@ public Builder setProgress( * *
        * Represents the progress of the current stream.
-       * Note: This value is under development and should not be used. Use
-       * `fraction_consumed` instead.
        * 
* * .google.cloud.bigquery.storage.v1beta1.Progress progress = 4; @@ -9062,8 +9058,6 @@ public Builder mergeProgress( * *
        * Represents the progress of the current stream.
-       * Note: This value is under development and should not be used. Use
-       * `fraction_consumed` instead.
        * 
* * .google.cloud.bigquery.storage.v1beta1.Progress progress = 4; @@ -9084,8 +9078,6 @@ public Builder clearProgress() { * *
        * Represents the progress of the current stream.
-       * Note: This value is under development and should not be used. Use
-       * `fraction_consumed` instead.
        * 
* * .google.cloud.bigquery.storage.v1beta1.Progress progress = 4; @@ -9101,8 +9093,6 @@ public Builder clearProgress() { * *
        * Represents the progress of the current stream.
-       * Note: This value is under development and should not be used. Use
-       * `fraction_consumed` instead.
        * 
* * .google.cloud.bigquery.storage.v1beta1.Progress progress = 4; @@ -9122,8 +9112,6 @@ public Builder clearProgress() { * *
        * Represents the progress of the current stream.
-       * Note: This value is under development and should not be used. Use
-       * `fraction_consumed` instead.
        * 
* * .google.cloud.bigquery.storage.v1beta1.Progress progress = 4; @@ -14604,10 +14592,12 @@ public interface FinalizeStreamRequestOrBuilder * * *
-     * Stream to finalize.
+     * Required. Stream to finalize.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2; + * + * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the stream field is set. */ @@ -14616,10 +14606,12 @@ public interface FinalizeStreamRequestOrBuilder * * *
-     * Stream to finalize.
+     * Required. Stream to finalize.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2; + * + * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The stream. */ @@ -14628,10 +14620,12 @@ public interface FinalizeStreamRequestOrBuilder * * *
-     * Stream to finalize.
+     * Required. Stream to finalize.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2; + * + * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getStreamOrBuilder(); } @@ -14743,10 +14737,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-     * Stream to finalize.
+     * Required. Stream to finalize.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2; + * + * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the stream field is set. */ @@ -14757,10 +14753,12 @@ public boolean hasStream() { * * *
-     * Stream to finalize.
+     * Required. Stream to finalize.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2; + * + * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The stream. */ @@ -14773,10 +14771,12 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getStream() { * * *
-     * Stream to finalize.
+     * Required. Stream to finalize.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2; + * + * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getStreamOrBuilder() { return getStream(); @@ -15141,10 +15141,12 @@ public Builder mergeFrom( * * *
-       * Stream to finalize.
+       * Required. Stream to finalize.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2; + * + * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the stream field is set. */ @@ -15155,10 +15157,12 @@ public boolean hasStream() { * * *
-       * Stream to finalize.
+       * Required. Stream to finalize.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2; + * + * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The stream. */ @@ -15175,10 +15179,12 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getStream() { * * *
-       * Stream to finalize.
+       * Required. Stream to finalize.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2; + * + * .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) { @@ -15197,10 +15203,12 @@ public Builder setStream(com.google.cloud.bigquery.storage.v1beta1.Storage.Strea * * *
-       * Stream to finalize.
+       * Required. Stream to finalize.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2; + * + * .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) { @@ -15217,10 +15225,12 @@ public Builder setStream( * * *
-       * Stream to finalize.
+       * Required. Stream to finalize.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2; + * + * .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) { @@ -15243,10 +15253,12 @@ public Builder mergeStream(com.google.cloud.bigquery.storage.v1beta1.Storage.Str * * *
-       * Stream to finalize.
+       * Required. Stream to finalize.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2; + * + * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearStream() { if (streamBuilder_ == null) { @@ -15263,10 +15275,12 @@ public Builder clearStream() { * * *
-       * Stream to finalize.
+       * Required. Stream to finalize.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2; + * + * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder getStreamBuilder() { @@ -15277,10 +15291,12 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder getStrea * * *
-       * Stream to finalize.
+       * Required. Stream to finalize.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2; + * + * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getStreamOrBuilder() { @@ -15296,10 +15312,12 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream.Builder getStrea * * *
-       * Stream to finalize.
+       * Required. Stream to finalize.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream stream = 2; + * + * .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, @@ -15383,10 +15401,12 @@ public interface SplitReadStreamRequestOrBuilder * * *
-     * Stream to split.
+     * Required. Stream to split.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1; + * + * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the originalStream field is set. */ @@ -15395,10 +15415,12 @@ public interface SplitReadStreamRequestOrBuilder * * *
-     * Stream to split.
+     * Required. Stream to split.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1; + * + * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The originalStream. */ @@ -15407,10 +15429,12 @@ public interface SplitReadStreamRequestOrBuilder * * *
-     * Stream to split.
+     * Required. Stream to split.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1; + * + * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getOriginalStreamOrBuilder(); @@ -15546,10 +15570,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-     * Stream to split.
+     * Required. Stream to split.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1; + * + * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the originalStream field is set. */ @@ -15560,10 +15586,12 @@ public boolean hasOriginalStream() { * * *
-     * Stream to split.
+     * Required. Stream to split.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1; + * + * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The originalStream. */ @@ -15576,10 +15604,12 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getOriginalStrea * * *
-     * Stream to split.
+     * Required. Stream to split.
      * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1; + * + * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getOriginalStreamOrBuilder() { @@ -15989,10 +16019,12 @@ public Builder mergeFrom( * * *
-       * Stream to split.
+       * Required. Stream to split.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1; + * + * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the originalStream field is set. */ @@ -16003,10 +16035,12 @@ public boolean hasOriginalStream() { * * *
-       * Stream to split.
+       * Required. Stream to split.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1; + * + * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The originalStream. */ @@ -16023,10 +16057,12 @@ public com.google.cloud.bigquery.storage.v1beta1.Storage.Stream getOriginalStrea * * *
-       * Stream to split.
+       * Required. Stream to split.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1; + * + * .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) { @@ -16046,10 +16082,12 @@ public Builder setOriginalStream( * * *
-       * Stream to split.
+       * Required. Stream to split.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1; + * + * .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) { @@ -16066,10 +16104,12 @@ public Builder setOriginalStream( * * *
-       * Stream to split.
+       * Required. Stream to split.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1; + * + * .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) { @@ -16093,10 +16133,12 @@ public Builder mergeOriginalStream( * * *
-       * Stream to split.
+       * Required. Stream to split.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1; + * + * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearOriginalStream() { if (originalStreamBuilder_ == null) { @@ -16113,10 +16155,12 @@ public Builder clearOriginalStream() { * * *
-       * Stream to split.
+       * Required. Stream to split.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1; + * + * .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() { @@ -16128,10 +16172,12 @@ public Builder clearOriginalStream() { * * *
-       * Stream to split.
+       * Required. Stream to split.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1; + * + * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.bigquery.storage.v1beta1.Storage.StreamOrBuilder getOriginalStreamOrBuilder() { @@ -16147,10 +16193,12 @@ public Builder clearOriginalStream() { * * *
-       * Stream to split.
+       * Required. Stream to split.
        * 
* - * .google.cloud.bigquery.storage.v1beta1.Stream original_stream = 1; + * + * .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, @@ -17543,94 +17591,95 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "gStrategy:k\352Ah\n*bigquerystorage.googleap" + "is.com/ReadSession\022:projects/{project}/l" + "ocations/{location}/sessions/{session}B\010" - + "\n\006schema\"\325\003\n\030CreateReadSessionRequest\022S\n" + + "\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\022\023\n\006parent\030\006 \001(\tB\003\340A\002\022N\n\017table_modifie" - + "rs\030\002 \001(\01325.google.cloud.bigquery.storage" - + ".v1beta1.TableModifiers\022\031\n\021requested_str" - + "eams\030\003 \001(\005\022M\n\014read_options\030\004 \001(\01327.googl" - + "e.cloud.bigquery.storage.v1beta1.TableRe" - + "adOptions\022A\n\006format\030\005 \001(\01621.google.cloud" - + ".bigquery.storage.v1beta1.DataFormat\022R\n\021" - + "sharding_strategy\030\007 \001(\01627.google.cloud.b" - + "igquery.storage.v1beta1.ShardingStrategy" - + "\"d\n\017ReadRowsRequest\022Q\n\rread_position\030\001 \001" - + "(\01325.google.cloud.bigquery.storage.v1bet" - + "a1.StreamPositionB\003\340A\002\"\240\001\n\014StreamStatus\022" - + "\033\n\023estimated_row_count\030\001 \001(\003\022\031\n\021fraction" - + "_consumed\030\002 \001(\002\022A\n\010progress\030\004 \001(\0132/.goog" - + "le.cloud.bigquery.storage.v1beta1.Progre" - + "ss\022\025\n\ris_splittable\030\003 \001(\010\">\n\010Progress\022\031\n" - + "\021at_response_start\030\001 \001(\002\022\027\n\017at_response_" - + "end\030\002 \001(\002\"*\n\016ThrottleStatus\022\030\n\020throttle_" - + "percent\030\001 \001(\005\"\337\002\n\020ReadRowsResponse\022D\n\tav" - + "ro_rows\030\003 \001(\0132/.google.cloud.bigquery.st" - + "orage.v1beta1.AvroRowsH\000\022U\n\022arrow_record" - + "_batch\030\004 \001(\01327.google.cloud.bigquery.sto" - + "rage.v1beta1.ArrowRecordBatchH\000\022\021\n\trow_c" - + "ount\030\006 \001(\003\022C\n\006status\030\002 \001(\01323.google.clou" - + "d.bigquery.storage.v1beta1.StreamStatus\022" - + "N\n\017throttle_status\030\005 \001(\01325.google.cloud." - + "bigquery.storage.v1beta1.ThrottleStatusB" - + "\006\n\004rows\"\220\001\n$BatchCreateReadSessionStream" - + "sRequest\022H\n\007session\030\001 \001(\01322.google.cloud" - + ".bigquery.storage.v1beta1.ReadSessionB\003\340" - + "A\002\022\036\n\021requested_streams\030\002 \001(\005B\003\340A\002\"g\n%Ba" - + "tchCreateReadSessionStreamsResponse\022>\n\007s" - + "treams\030\001 \003(\0132-.google.cloud.bigquery.sto" - + "rage.v1beta1.Stream\"V\n\025FinalizeStreamReq" - + "uest\022=\n\006stream\030\002 \001(\0132-.google.cloud.bigq" - + "uery.storage.v1beta1.Stream\"r\n\026SplitRead" - + "StreamRequest\022F\n\017original_stream\030\001 \001(\0132-" - + ".google.cloud.bigquery.storage.v1beta1.S" - + "tream\022\020\n\010fraction\030\002 \001(\002\"\251\001\n\027SplitReadStr" - + "eamResponse\022E\n\016primary_stream\030\001 \001(\0132-.go" - + "ogle.cloud.bigquery.storage.v1beta1.Stre" - + "am\022G\n\020remainder_stream\030\002 \001(\0132-.google.cl" - + "oud.bigquery.storage.v1beta1.Stream*>\n\nD" - + "ataFormat\022\033\n\027DATA_FORMAT_UNSPECIFIED\020\000\022\010" - + "\n\004AVRO\020\001\022\t\n\005ARROW\020\003*O\n\020ShardingStrategy\022" - + "!\n\035SHARDING_STRATEGY_UNSPECIFIED\020\000\022\n\n\006LI" - + "QUID\020\001\022\014\n\010BALANCED\020\0022\353\n\n\017BigQueryStorage" - + "\022\263\002\n\021CreateReadSession\022?.google.cloud.bi" - + "gquery.storage.v1beta1.CreateReadSession" - + "Request\0322.google.cloud.bigquery.storage." - + "v1beta1.ReadSession\"\250\001\202\323\344\223\002w\"0/v1beta1/{" - + "table_reference.project_id=projects/*}:\001" - + "*Z@\";/v1beta1/{table_reference.dataset_i" - + "d=projects/*/datasets/*}:\001*\332A(table_refe" - + "rence,parent,requested_streams\022\320\001\n\010ReadR" - + "ows\0226.google.cloud.bigquery.storage.v1be" - + "ta1.ReadRowsRequest\0327.google.cloud.bigqu" - + "ery.storage.v1beta1.ReadRowsResponse\"Q\202\323" - + "\344\223\002;\0229/v1beta1/{read_position.stream.nam" - + "e=projects/*/streams/*}\332A\rread_position0" - + "\001\022\220\002\n\035BatchCreateReadSessionStreams\022K.go" - + "ogle.cloud.bigquery.storage.v1beta1.Batc" - + "hCreateReadSessionStreamsRequest\032L.googl" - + "e.cloud.bigquery.storage.v1beta1.BatchCr" - + "eateReadSessionStreamsResponse\"T\202\323\344\223\0022\"-" - + "/v1beta1/{session.name=projects/*/sessio" - + "ns/*}:\001*\332A\031session,requested_streams\022\247\001\n" - + "\016FinalizeStream\022<.google.cloud.bigquery." - + "storage.v1beta1.FinalizeStreamRequest\032\026." - + "google.protobuf.Empty\"?\202\323\344\223\0020\"+/v1beta1/" - + "{stream.name=projects/*/streams/*}:\001*\332A\006" - + "stream\022\340\001\n\017SplitReadStream\022=.google.clou" - + "d.bigquery.storage.v1beta1.SplitReadStre" - + "amRequest\032>.google.cloud.bigquery.storag" - + "e.v1beta1.SplitReadStreamResponse\"N\202\323\344\223\002" - + "6\0224/v1beta1/{original_stream.name=projec" - + "ts/*/streams/*}\332A\017original_stream\032\256\001\312A\036b" - + "igquerystorage.googleapis.com\322A\211\001https:/" - + "/www.googleapis.com/auth/bigquery,https:" - + "//www.googleapis.com/auth/bigquery.reado" - + "nly,https://www.googleapis.com/auth/clou" - + "d-platformBy\n)com.google.cloud.bigquery." - + "storage.v1beta1ZLgoogle.golang.org/genpr" - + "oto/googleapis/cloud/bigquery/storage/v1" - + "beta1;storageb\006proto3" + + "A\002\022C\n\006parent\030\006 \001(\tB3\340A\002\372A-\n+cloudresourc" + + "emanager.googleapis.com/Project\022N\n\017table" + + "_modifiers\030\002 \001(\01325.google.cloud.bigquery" + + ".storage.v1beta1.TableModifiers\022\031\n\021reque" + + "sted_streams\030\003 \001(\005\022M\n\014read_options\030\004 \001(\013" + + "27.google.cloud.bigquery.storage.v1beta1" + + ".TableReadOptions\022A\n\006format\030\005 \001(\01621.goog" + + "le.cloud.bigquery.storage.v1beta1.DataFo" + + "rmat\022R\n\021sharding_strategy\030\007 \001(\01627.google" + + ".cloud.bigquery.storage.v1beta1.Sharding" + + "Strategy\"d\n\017ReadRowsRequest\022Q\n\rread_posi" + + "tion\030\001 \001(\01325.google.cloud.bigquery.stora" + + "ge.v1beta1.StreamPositionB\003\340A\002\"\240\001\n\014Strea" + + "mStatus\022\033\n\023estimated_row_count\030\001 \001(\003\022\031\n\021" + + "fraction_consumed\030\002 \001(\002\022A\n\010progress\030\004 \001(" + + "\0132/.google.cloud.bigquery.storage.v1beta" + + "1.Progress\022\025\n\ris_splittable\030\003 \001(\010\">\n\010Pro" + + "gress\022\031\n\021at_response_start\030\001 \001(\002\022\027\n\017at_r" + + "esponse_end\030\002 \001(\002\"*\n\016ThrottleStatus\022\030\n\020t" + + "hrottle_percent\030\001 \001(\005\"\337\002\n\020ReadRowsRespon" + + "se\022D\n\tavro_rows\030\003 \001(\0132/.google.cloud.big" + + "query.storage.v1beta1.AvroRowsH\000\022U\n\022arro" + + "w_record_batch\030\004 \001(\01327.google.cloud.bigq" + + "uery.storage.v1beta1.ArrowRecordBatchH\000\022" + + "\021\n\trow_count\030\006 \001(\003\022C\n\006status\030\002 \001(\01323.goo" + + "gle.cloud.bigquery.storage.v1beta1.Strea" + + "mStatus\022N\n\017throttle_status\030\005 \001(\01325.googl" + + "e.cloud.bigquery.storage.v1beta1.Throttl" + + "eStatusB\006\n\004rows\"\220\001\n$BatchCreateReadSessi" + + "onStreamsRequest\022H\n\007session\030\001 \001(\01322.goog" + + "le.cloud.bigquery.storage.v1beta1.ReadSe" + + "ssionB\003\340A\002\022\036\n\021requested_streams\030\002 \001(\005B\003\340" + + "A\002\"g\n%BatchCreateReadSessionStreamsRespo" + + "nse\022>\n\007streams\030\001 \003(\0132-.google.cloud.bigq" + + "uery.storage.v1beta1.Stream\"[\n\025FinalizeS" + + "treamRequest\022B\n\006stream\030\002 \001(\0132-.google.cl" + + "oud.bigquery.storage.v1beta1.StreamB\003\340A\002" + + "\"w\n\026SplitReadStreamRequest\022K\n\017original_s" + + "tream\030\001 \001(\0132-.google.cloud.bigquery.stor" + + "age.v1beta1.StreamB\003\340A\002\022\020\n\010fraction\030\002 \001(" + + "\002\"\251\001\n\027SplitReadStreamResponse\022E\n\016primary" + + "_stream\030\001 \001(\0132-.google.cloud.bigquery.st" + + "orage.v1beta1.Stream\022G\n\020remainder_stream" + + "\030\002 \001(\0132-.google.cloud.bigquery.storage.v" + + "1beta1.Stream*>\n\nDataFormat\022\033\n\027DATA_FORM" + + "AT_UNSPECIFIED\020\000\022\010\n\004AVRO\020\001\022\t\n\005ARROW\020\003*O\n" + + "\020ShardingStrategy\022!\n\035SHARDING_STRATEGY_U" + + "NSPECIFIED\020\000\022\n\n\006LIQUID\020\001\022\014\n\010BALANCED\020\0022\353" + + "\n\n\017BigQueryStorage\022\263\002\n\021CreateReadSession" + + "\022?.google.cloud.bigquery.storage.v1beta1" + + ".CreateReadSessionRequest\0322.google.cloud" + + ".bigquery.storage.v1beta1.ReadSession\"\250\001" + + "\202\323\344\223\002w\"0/v1beta1/{table_reference.projec" + + "t_id=projects/*}:\001*Z@\";/v1beta1/{table_r" + + "eference.dataset_id=projects/*/datasets/" + + "*}:\001*\332A(table_reference,parent,requested" + + "_streams\022\320\001\n\010ReadRows\0226.google.cloud.big" + + "query.storage.v1beta1.ReadRowsRequest\0327." + + "google.cloud.bigquery.storage.v1beta1.Re" + + "adRowsResponse\"Q\202\323\344\223\002;\0229/v1beta1/{read_p" + + "osition.stream.name=projects/*/streams/*" + + "}\332A\rread_position0\001\022\220\002\n\035BatchCreateReadS" + + "essionStreams\022K.google.cloud.bigquery.st" + + "orage.v1beta1.BatchCreateReadSessionStre" + + "amsRequest\032L.google.cloud.bigquery.stora" + + "ge.v1beta1.BatchCreateReadSessionStreams" + + "Response\"T\202\323\344\223\0022\"-/v1beta1/{session.name" + + "=projects/*/sessions/*}:\001*\332A\031session,req" + + "uested_streams\022\247\001\n\016FinalizeStream\022<.goog" + + "le.cloud.bigquery.storage.v1beta1.Finali" + + "zeStreamRequest\032\026.google.protobuf.Empty\"" + + "?\202\323\344\223\0020\"+/v1beta1/{stream.name=projects/" + + "*/streams/*}:\001*\332A\006stream\022\340\001\n\017SplitReadSt" + + "ream\022=.google.cloud.bigquery.storage.v1b" + + "eta1.SplitReadStreamRequest\032>.google.clo" + + "ud.bigquery.storage.v1beta1.SplitReadStr" + + "eamResponse\"N\202\323\344\223\0026\0224/v1beta1/{original_" + + "stream.name=projects/*/streams/*}\332A\017orig" + + "inal_stream\032\256\001\312A\036bigquerystorage.googlea" + + "pis.com\322A\211\001https://www.googleapis.com/au" + + "th/bigquery,https://www.googleapis.com/a" + + "uth/bigquery.readonly,https://www.google" + + "apis.com/auth/cloud-platformBy\n)com.goog" + + "le.cloud.bigquery.storage.v1beta1ZLgoogl" + + "e.golang.org/genproto/googleapis/cloud/b" + + "igquery/storage/v1beta1;storageb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -17781,6 +17830,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.ClientProto.methodSignature); 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.api.AnnotationsProto.getDescriptor(); diff --git a/proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/arrow.proto b/proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/arrow.proto index 3003de444c..f70c61c724 100644 --- a/proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/arrow.proto +++ b/proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/arrow.proto @@ -1,4 +1,4 @@ -// Copyright 2019 Google LLC. +// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -11,7 +11,6 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -// syntax = "proto3"; diff --git a/proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/avro.proto b/proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/avro.proto index 021d8e44f9..7d034a28a7 100644 --- a/proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/avro.proto +++ b/proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/avro.proto @@ -1,4 +1,4 @@ -// Copyright 2019 Google LLC. +// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -11,7 +11,6 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -// syntax = "proto3"; diff --git a/proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/read_options.proto b/proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/read_options.proto index 8ed9b73f6c..1ff8d8b5eb 100644 --- a/proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/read_options.proto +++ b/proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/read_options.proto @@ -1,4 +1,4 @@ -// Copyright 2019 Google LLC. +// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -11,7 +11,6 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -// syntax = "proto3"; diff --git a/proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/storage.proto b/proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/storage.proto index 22f742fbb6..81e77c73af 100644 --- a/proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/storage.proto +++ b/proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/storage.proto @@ -1,4 +1,4 @@ -// Copyright 2019 Google LLC. +// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -11,7 +11,6 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -// syntax = "proto3"; @@ -204,7 +203,12 @@ message CreateReadSessionRequest { // 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]; + string parent = 6 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudresourcemanager.googleapis.com/Project" + } + ]; // Any modifiers to the Table (e.g. snapshot timestamp). TableModifiers table_modifiers = 2; @@ -286,9 +290,6 @@ message StreamStatus { float fraction_consumed = 2; // Represents the progress of the current stream. - // - // Note: This value is under development and should not be used. Use - // `fraction_consumed` instead. Progress progress = 4; // Whether this stream can be split. For sessions that use the LIQUID sharding @@ -373,14 +374,14 @@ message BatchCreateReadSessionStreamsResponse { // Request information for invoking `FinalizeStream`. message FinalizeStreamRequest { - // Stream to finalize. - Stream stream = 2; + // Required. Stream to finalize. + Stream stream = 2 [(google.api.field_behavior) = REQUIRED]; } // Request information for `SplitReadStream`. message SplitReadStreamRequest { - // Stream to split. - Stream original_stream = 1; + // Required. Stream to split. + Stream original_stream = 1 [(google.api.field_behavior) = REQUIRED]; // 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 diff --git a/proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/table_reference.proto b/proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/table_reference.proto index a55dc48eb0..4269392f67 100644 --- a/proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/table_reference.proto +++ b/proto-google-cloud-bigquerystorage-v1beta1/src/main/proto/google/cloud/bigquery/storage/v1beta1/table_reference.proto @@ -1,4 +1,4 @@ -// Copyright 2019 Google LLC. +// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -11,7 +11,6 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -// syntax = "proto3"; diff --git a/synth.metadata b/synth.metadata index 231e9f213f..b122046a73 100644 --- a/synth.metadata +++ b/synth.metadata @@ -18,39 +18,39 @@ "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "e0f9d9e1f9de890db765be46f45ca8490723e3eb", - "internalRef": "309824146" + "sha": "4bef0001ac7040431ea24b6187424fdec9c08b1b", + "internalRef": "309990843" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "e0f9d9e1f9de890db765be46f45ca8490723e3eb", - "internalRef": "309824146" + "sha": "4bef0001ac7040431ea24b6187424fdec9c08b1b", + "internalRef": "309990843" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "e0f9d9e1f9de890db765be46f45ca8490723e3eb", - "internalRef": "309824146" + "sha": "4bef0001ac7040431ea24b6187424fdec9c08b1b", + "internalRef": "309990843" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "e0f9d9e1f9de890db765be46f45ca8490723e3eb", - "internalRef": "309824146" + "sha": "4bef0001ac7040431ea24b6187424fdec9c08b1b", + "internalRef": "309990843" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "04cb397eb7590ea1e6c10a39fca3d8fe0fb3d256" + "sha": "ab883569eb0257bbf16a6d825fd018b3adde3912" } } ],