blob: a9486c74bc1ae7a90bad32bbf25dcd959c0cfb3d [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/cloud/bigquery/storage/v1beta1/read_options.proto
package storage
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// 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.ProtoPackageIsVersion2 // please upgrade the proto package
// Options dictating how we read a table.
type TableReadOptions struct {
// Optional. Names of the fields in the table that should be read. If empty,
// all fields will be read. If the specified field is a nested field, all the
// sub-fields in the field will be selected. The output field order is
// unrelated to the order of fields in selected_fields.
SelectedFields []string `protobuf:"bytes,1,rep,name=selected_fields,json=selectedFields,proto3" json:"selected_fields,omitempty"`
// Optional. SQL text filtering statement, similar to a WHERE clause in
// a query. Currently, we support combinations of predicates that are
// a comparison between a column and a constant value in SQL statement.
// Aggregates are not supported.
//
// Example: "a > DATE '2014-9-27' AND (b > 5 and C LIKE 'date')"
RowRestriction string `protobuf:"bytes,2,opt,name=row_restriction,json=rowRestriction,proto3" json:"row_restriction,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *TableReadOptions) Reset() { *m = TableReadOptions{} }
func (m *TableReadOptions) String() string { return proto.CompactTextString(m) }
func (*TableReadOptions) ProtoMessage() {}
func (*TableReadOptions) Descriptor() ([]byte, []int) {
return fileDescriptor_b5cb6d339ef0ad09, []int{0}
}
func (m *TableReadOptions) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TableReadOptions.Unmarshal(m, b)
}
func (m *TableReadOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_TableReadOptions.Marshal(b, m, deterministic)
}
func (m *TableReadOptions) XXX_Merge(src proto.Message) {
xxx_messageInfo_TableReadOptions.Merge(m, src)
}
func (m *TableReadOptions) XXX_Size() int {
return xxx_messageInfo_TableReadOptions.Size(m)
}
func (m *TableReadOptions) XXX_DiscardUnknown() {
xxx_messageInfo_TableReadOptions.DiscardUnknown(m)
}
var xxx_messageInfo_TableReadOptions proto.InternalMessageInfo
func (m *TableReadOptions) GetSelectedFields() []string {
if m != nil {
return m.SelectedFields
}
return nil
}
func (m *TableReadOptions) GetRowRestriction() string {
if m != nil {
return m.RowRestriction
}
return ""
}
func init() {
proto.RegisterType((*TableReadOptions)(nil), "google.cloud.bigquery.storage.v1beta1.TableReadOptions")
}
func init() {
proto.RegisterFile("google/cloud/bigquery/storage/v1beta1/read_options.proto", fileDescriptor_b5cb6d339ef0ad09)
}
var fileDescriptor_b5cb6d339ef0ad09 = []byte{
// 213 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0xd0, 0x3f, 0x4b, 0xc6, 0x30,
0x10, 0x06, 0x70, 0x5e, 0x05, 0xc1, 0x0c, 0x2a, 0x9d, 0x3a, 0x16, 0x41, 0xd4, 0x25, 0xa1, 0xb8,
0x08, 0x6e, 0x0e, 0x4e, 0x82, 0x50, 0x9c, 0x5c, 0x4a, 0xfe, 0x9c, 0x47, 0x20, 0xf6, 0xea, 0x25,
0xb5, 0xf4, 0xdb, 0x4b, 0xd3, 0x14, 0x47, 0xdf, 0x31, 0x4f, 0x9e, 0x5f, 0xc8, 0x9d, 0x78, 0x44,
0x22, 0x0c, 0xa0, 0x6c, 0xa0, 0xc9, 0x29, 0xe3, 0xf1, 0x7b, 0x02, 0x5e, 0x54, 0x4c, 0xc4, 0x1a,
0x41, 0xfd, 0xb4, 0x06, 0x92, 0x6e, 0x15, 0x83, 0x76, 0x3d, 0x8d, 0xc9, 0xd3, 0x10, 0xe5, 0xc8,
0x94, 0xa8, 0xba, 0xd9, 0xa4, 0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