Skip to content

Commit

Permalink
feat: add ArrowSerializationOptions to TableReadOptions (#76)
Browse files Browse the repository at this point in the history
* [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 df5d4cb
Show file tree
Hide file tree
Showing 16 changed files with 1,531 additions and 244 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -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>
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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(
Expand All @@ -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)
Expand Down
Loading

0 comments on commit df5d4cb

Please sign in to comment.