Repository navigation
Conversation
…ations, and v1 steering (BQS-0e)
- Add missing Javadocs on ProtoSchemaConverter, BigDecimalByteStringEncoder, ToProtoConverter, StreamWriter.Builder.{setMaxInflightRequests,setMaxInflightBytes,setCompressorName}, BigQueryReadClient OTel toggles, and BigQueryReadSettings.RetryAttemptListener + builder setters
- Add @deprecated and @deprecated Javadoc on Exceptions.AppendSerializtionError, Exceptions.JsonDataHasUnknownFieldException, JsonStreamWriter.Builder.setReconnectAfter10M, and v1beta2/BigDecimalByteStringEncoder
- Update v1beta2/package-info.java (and register in librarian.yaml keep:) plus v1beta1/BigQueryStorageClient and v1beta2/BigQueryReadClient to steer callers to v1
- Document stream, /_default, and bare table name acceptance on all JsonStreamWriter.newBuilder and SchemaAwareStreamWriter.newBuilder overloads
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary (BQS-0e)
Wave 1 missing public Javadocs,
@Deprecatedannotations, andv1steering forjava-bigquerystorage(zero behavioral changes):ProtoSchemaConverter(class +convert(Descriptor))BigDecimalByteStringEncoder(class + all 4 static encode/decode methods)ToProtoConverter(interface +convertToProtoMessage)StreamWriter.Builder.{setMaxInflightRequests, setMaxInflightBytes, setCompressorName}BigQueryReadClient.{disableOpenTelemetryTracing, enableDefaultOpenTelemetryTracing, enableOpenTelemetryTracing}BigQueryReadSettings.RetryAttemptListenerand builder setters (setReadRowsRetryAttemptListener,setEnableOpenTelemetryTracing,setOpenTelemetryTracerProvider)@Deprecated+@deprecatedJavadoc on already-deprecated/no-op APIs:Exceptions.AppendSerializtionError->AppendSerializationErrorExceptions.JsonDataHasUnknownFieldException->DataHasUnknownFieldExceptionJsonStreamWriter.Builder.setReconnectAfter10M(boolean)(no-op)v1beta2/BigDecimalByteStringEncoder->v1.BigDecimalByteStringEncoderv1preference across legacy packages:v1beta2/package-info.java(removed@Generatedand added tolibrarian.yamlkeep:), steering both Read and Write API callers tocom.google.cloud.bigquery.storage.v1.v1preference notes tov1beta1/BigQueryStorageClientandv1beta2/BigQueryReadClient.streamOrTableNamedocumentation: Documented acceptance of named streams,/_defaultstreams, and bare table names (auto-writing to_default) on allJsonStreamWriter.newBuilderandSchemaAwareStreamWriter.newBuilderoverloads.Verification
mvn -B -f java-bigquerystorage/google-cloud-bigquerystorage/pom.xml -Dlint checkstyle:check@checkstyle test-compile javadoc:javadoc test -Dtest=ProtoSchemaConverterTest,BigDecimalByteStringEncoderTest,BigQueryReadClientTest— PASS (0 checkstyle violations, 0 javadoc errors, 23/23 tests passing).