blob: a54841f050cd31218b8a954615bdb6b68fd49dcd [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/cloud/bigquery/storage/v1/arrow.proto
package storage
import (
fmt "fmt"
math "math"
proto "github.com/golang/protobuf/proto"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
// Arrow schema as specified in
// https://arrow.apache.org/docs/python/api/datatypes.html
// and serialized to bytes using IPC:
// https://arrow.apache.org/docs/ipc.html.
//
// See code samples on how this message can be deserialized.
type ArrowSchema struct {
// IPC serialized Arrow schema.
SerializedSchema []byte `protobuf:"bytes,1,opt,name=serialized_schema,json=serializedSchema,proto3" json:"serialized_schema,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ArrowSchema) Reset() { *m = ArrowSchema{} }
func (m *ArrowSchema) String() string { return proto.CompactTextString(m) }
func (*ArrowSchema) ProtoMessage() {}
func (*ArrowSchema) Descriptor() ([]byte, []int) {
return fileDescriptor_0d5179f91c6841b3, []int{0}
}
func (m *ArrowSchema) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ArrowSchema.Unmarshal(m, b)
}
func (m *ArrowSchema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ArrowSchema.Marshal(b, m, deterministic)
}
func (m *ArrowSchema) XXX_Merge(src proto.Message) {
xxx_messageInfo_ArrowSchema.Merge(m, src)
}
func (m *ArrowSchema) XXX_Size() int {
return xxx_messageInfo_ArrowSchema.Size(m)
}
func (m *ArrowSchema) XXX_DiscardUnknown() {
xxx_messageInfo_ArrowSchema.DiscardUnknown(m)
}
var xxx_messageInfo_ArrowSchema proto.InternalMessageInfo
func (m *ArrowSchema) GetSerializedSchema() []byte {
if m != nil {
return m.SerializedSchema
}
return nil
}
// Arrow RecordBatch.
type ArrowRecordBatch struct {
// IPC-serialized Arrow RecordBatch.
SerializedRecordBatch []byte `protobuf:"bytes,1,opt,name=serialized_record_batch,json=serializedRecordBatch,proto3" json:"serialized_record_batch,omitempty"`
// The count of rows in `serialized_record_batch`.
RowCount int64 `protobuf:"varint,2,opt,name=row_count,json=rowCount,proto3" json:"row_count,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ArrowRecordBatch) Reset() { *m = ArrowRecordBatch{} }
func (m *ArrowRecordBatch) String() string { return proto.CompactTextString(m) }
func (*ArrowRecordBatch) ProtoMessage() {}
func (*ArrowRecordBatch) Descriptor() ([]byte, []int) {
return fileDescriptor_0d5179f91c6841b3, []int{1}
}
func (m *ArrowRecordBatch) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ArrowRecordBatch.Unmarshal(m, b)
}
func (m *ArrowRecordBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ArrowRecordBatch.Marshal(b, m, deterministic)
}
func (m *ArrowRecordBatch) XXX_Merge(src proto.Message) {
xxx_messageInfo_ArrowRecordBatch.Merge(m, src)
}
func (m *ArrowRecordBatch) XXX_Size() int {
return xxx_messageInfo_ArrowRecordBatch.Size(m)
}
func (m *ArrowRecordBatch) XXX_DiscardUnknown() {
xxx_messageInfo_ArrowRecordBatch.DiscardUnknown(m)
}
var xxx_messageInfo_ArrowRecordBatch proto.InternalMessageInfo
func (m *ArrowRecordBatch) GetSerializedRecordBatch() []byte {
if m != nil {
return m.SerializedRecordBatch
}
return nil
}
func (m *ArrowRecordBatch) GetRowCount() int64 {
if m != nil {
return m.RowCount
}
return 0
}
func init() {
proto.RegisterType((*ArrowSchema)(nil), "google.cloud.bigquery.storage.v1.ArrowSchema")
proto.RegisterType((*ArrowRecordBatch)(nil), "google.cloud.bigquery.storage.v1.ArrowRecordBatch")
}
func init() {
proto.RegisterFile("google/cloud/bigquery/storage/v1/arrow.proto", fileDescriptor_0d5179f91c6841b3)
}
var fileDescriptor_0d5179f91c6841b3 = []byte{
// 246 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0x41, 0x4b, 0xc3, 0x40,
0x10, 0x85, 0x89, 0x82, 0xe8, 0xe8, 0xa1, 0x06, 0xc4, 0x82, 0x97, 0x50, 0x3c, 0x14, 0x94, 0x5d,
0x8a, 0xe0, 0x41, 0x4f, 0xc6, 0x83, 0xd7, 0x12, 0x6f, 0x5e, 0xc2, 0x66, 0x33, 0x4c, 0x03, 0x69,
0xa6, 0x4e, 0x92, 0x06, 0x05, 0xff, 0xbb, 0xec, 0x66, 0xa5, 0xbd, 0x48, 0x6f, 0xbb, 0xfb, 0x7d,
0x6f, 0xd8, 0x79, 0x70, 0x4f, 0xcc, 0x54, 0xa3, 0xb6, 0x35, 0xf7, 0xa5, 0x2e, 0x2a, 0xfa, 0xec,
0x51, 0xbe, 0x74, 0xdb, 0xb1, 0x18, 0x42, 0xbd, 0x5d, 0x68, 0x23, 0xc2, 0x83, 0xda, 0x08, 0x77,
0x1c, 0x27, 0xa3, 0xad, 0xbc, 0xad, 0xfe, 0x6c, 0x15, 0x6c, 0xb5, 0x5d, 0xcc, 0x9e, 0xe0, 0xfc,
0xc5, 0x05, 0xde, 0xed, 0x0a, 0xd7, 0x26, 0xbe, 0x83, 0xcb, 0x16, 0xa5, 0x32, 0x75, 0xf5, 0x8d,
0x65, 0xde, 0xfa, 0xc7, 0x69, 0x94, 0x44, 0xf3, 0x8b, 0x6c, 0xb2, 0x03, 0xa3, 0x3c, 0x23, 0x98,
0xf8, 0x6c, 0x86, 0x96, 0xa5, 0x4c, 0x4d, 0x67, 0x57, 0xf1, 0x23, 0x5c, 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