blob: 3cac58ce36c4e2924add5e78b690ca6bc6ad87ed [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/cloud/bigquery/storage/v1/avro.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
// Avro schema.
type AvroSchema struct {
// Json serialized schema, as described at
// https://avro.apache.org/docs/1.8.1/spec.html.
Schema string `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AvroSchema) Reset() { *m = AvroSchema{} }
func (m *AvroSchema) String() string { return proto.CompactTextString(m) }
func (*AvroSchema) ProtoMessage() {}
func (*AvroSchema) Descriptor() ([]byte, []int) {
return fileDescriptor_3f8798c237fd4c63, []int{0}
}
func (m *AvroSchema) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AvroSchema.Unmarshal(m, b)
}
func (m *AvroSchema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AvroSchema.Marshal(b, m, deterministic)
}
func (m *AvroSchema) XXX_Merge(src proto.Message) {
xxx_messageInfo_AvroSchema.Merge(m, src)
}
func (m *AvroSchema) XXX_Size() int {
return xxx_messageInfo_AvroSchema.Size(m)
}
func (m *AvroSchema) XXX_DiscardUnknown() {
xxx_messageInfo_AvroSchema.DiscardUnknown(m)
}
var xxx_messageInfo_AvroSchema proto.InternalMessageInfo
func (m *AvroSchema) GetSchema() string {
if m != nil {
return m.Schema
}
return ""
}
// Avro rows.
type AvroRows struct {
// Binary serialized rows in a block.
SerializedBinaryRows []byte `protobuf:"bytes,1,opt,name=serialized_binary_rows,json=serializedBinaryRows,proto3" json:"serialized_binary_rows,omitempty"`
// The count of rows in the returning block.
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 *AvroRows) Reset() { *m = AvroRows{} }
func (m *AvroRows) String() string { return proto.CompactTextString(m) }
func (*AvroRows) ProtoMessage() {}
func (*AvroRows) Descriptor() ([]byte, []int) {
return fileDescriptor_3f8798c237fd4c63, []int{1}
}
func (m *AvroRows) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AvroRows.Unmarshal(m, b)
}
func (m *AvroRows) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AvroRows.Marshal(b, m, deterministic)
}
func (m *AvroRows) XXX_Merge(src proto.Message) {
xxx_messageInfo_AvroRows.Merge(m, src)
}
func (m *AvroRows) XXX_Size() int {
return xxx_messageInfo_AvroRows.Size(m)
}
func (m *AvroRows) XXX_DiscardUnknown() {
xxx_messageInfo_AvroRows.DiscardUnknown(m)
}
var xxx_messageInfo_AvroRows proto.InternalMessageInfo
func (m *AvroRows) GetSerializedBinaryRows() []byte {
if m != nil {
return m.SerializedBinaryRows
}
return nil
}
func (m *AvroRows) GetRowCount() int64 {
if m != nil {
return m.RowCount
}
return 0
}
func init() {
proto.RegisterType((*AvroSchema)(nil), "google.cloud.bigquery.storage.v1.AvroSchema")
proto.RegisterType((*AvroRows)(nil), "google.cloud.bigquery.storage.v1.AvroRows")
}
func init() {
proto.RegisterFile("google/cloud/bigquery/storage/v1/avro.proto", fileDescriptor_3f8798c237fd4c63)
}
var fileDescriptor_3f8798c237fd4c63 = []byte{
// 238 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0x4f, 0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