Skip to content
Permalink
Browse files
feat: add ArrowSerializationOptions to TableReadOptions (#76)
* [CHANGE ME] Re-generated  to pick up changes in the API or client library generator.

* chore: add clirr ignore to v1beta2

Co-authored-by: Stephanie Wang <stephaniewang526@users.noreply.github.com>
  • Loading branch information
yoshi-automation and stephaniewang526 committed Feb 17, 2020
1 parent 8f8fa6a commit df5d4cba8f599ad60abc1266f75f63ffaa1d03e1
Showing with 1,531 additions and 244 deletions.
  1. +5 −2 ...gle-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/StorageProto.java
  2. +4 −0 proto-google-cloud-bigquerystorage-v1/src/main/proto/google/cloud/bigquery/storage/v1/storage.proto
  3. +14 −0 proto-google-cloud-bigquerystorage-v1beta2/clirr-ignored-differences.xml
  4. +21 −5 ...d-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowProto.java
  5. +788 −0 ...ge-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSerializationOptions.java
  6. +52 −0 ...2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ArrowSerializationOptionsOrBuilder.java
  7. +21 −7 ...querystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsRequest.java
  8. +6 −2 ...age-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsRequestOrBuilder.java
  9. +444 −100 ...-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadSession.java
  10. +22 −26 ...storage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadSessionOrBuilder.java
  11. +50 −49 ...bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StorageProto.java
  12. +33 −25 ...-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StreamProto.java
  13. +18 −0 ...le-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/arrow.proto
  14. +8 −5 ...-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/storage.proto
  15. +21 −13 ...e-cloud-bigquerystorage-v1beta2/src/main/proto/google/cloud/bigquery/storage/v1beta2/stream.proto
  16. +24 −10 synth.metadata
@@ -125,12 +125,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "w.googleapis.com/auth/bigquery,https://w"
+ "ww.googleapis.com/auth/bigquery.readonly"
+ ",https://www.googleapis.com/auth/cloud-p"
+ "latformB\305\001\n$com.google.cloud.bigquery.st"
+ "latformB\235\002\n$com.google.cloud.bigquery.st"
+ "orage.v1B\014StorageProtoP\001ZGgoogle.golang."
+ "org/genproto/googleapis/cloud/bigquery/s"
+ "torage/v1;storage\252\002 Google.Cloud.BigQuer"
+ "y.Storage.V1\312\002 Google\\Cloud\\BigQuery\\Sto"
+ "rage\\V1b\006proto3"
+ "rage\\V1\352AU\n\035bigquery.googleapis.com/Tabl"
+ "e\0224projects/{project}/datasets/{dataset}"
+ "/tables/{table}b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -217,6 +219,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
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);
@@ -31,6 +31,10 @@ option java_multiple_files = true;
option java_outer_classname = "StorageProto";
option java_package = "com.google.cloud.bigquery.storage.v1";
option php_namespace = "Google\\Cloud\\BigQuery\\Storage\\V1";
option (google.api.resource_definition) = {
type: "bigquery.googleapis.com/Table"
pattern: "projects/{project}/datasets/{dataset}/tables/{table}"
};

// BigQuery Read API.
//
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- see http://www.mojohaus.org/clirr-maven-plugin/examples/ignored-differences.html -->
<differences>
<difference>
<differenceType>7012</differenceType>
<className>com/google/cloud/bigquery/storage/v1beta2/*OrBuilder</className>
<method>* get*(*)</method>
</difference>
<difference>
<differenceType>7012</differenceType>
<className>com/google/cloud/bigquery/storage/v1beta2/*OrBuilder</className>
<method>boolean has*(*)</method>
</difference>
</differences>
@@ -35,6 +35,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
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;
@@ -48,11 +52,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "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(\014B\207\001\n)com.google"
+ ".cloud.bigquery.storage.v1beta2B\nArrowPr"
+ "otoP\001ZLgoogle.golang.org/genproto/google"
+ "apis/cloud/bigquery/storage/v1beta2;stor"
+ "ageb\006proto3"
+ "alized_record_batch\030\001 \001(\014\"\266\001\n\031ArrowSeria"
+ "lizationOptions\022W\n\006format\030\001 \001(\0162G.google"
+ ".cloud.bigquery.storage.v1beta2.ArrowSer"
+ "ializationOptions.Format\"@\n\006Format\022\026\n\022FO"
+ "RMAT_UNSPECIFIED\020\000\022\016\n\nARROW_0_14\020\001\022\016\n\nAR"
+ "ROW_0_15\020\002B\207\001\n)com.google.cloud.bigquery"
+ ".storage.v1beta2B\nArrowProtoP\001ZLgoogle.g"
+ "olang.org/genproto/googleapis/cloud/bigq"
+ "uery/storage/v1beta2;storageb\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -73,6 +81,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
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)

0 comments on commit df5d4cb

Please sign in to comment.