1// Copyright 2023 Google LLC 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15syntax = "proto3"; 16 17package google.cloud.bigquery.storage.v1beta1; 18 19option go_package = "cloud.google.com/go/bigquery/storage/apiv1beta1/storagepb;storagepb"; 20option java_outer_classname = "ArrowProto"; 21option java_package = "com.google.cloud.bigquery.storage.v1beta1"; 22 23// Arrow schema. 24message ArrowSchema { 25 // IPC serialized Arrow schema. 26 bytes serialized_schema = 1; 27} 28 29// Arrow RecordBatch. 30message ArrowRecordBatch { 31 // IPC serialized Arrow RecordBatch. 32 bytes serialized_record_batch = 1; 33 34 // The count of rows in the returning block. 35 int64 row_count = 2; 36} 37