Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add ArrowSerializationOptions to TableReadOptions #76

Merged
merged 2 commits into from Feb 17, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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
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
@@ -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>
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