// 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{
	// 275 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84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