1// Copyright 2021 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
15// Code generated by protoc-gen-go. DO NOT EDIT.
16// versions:
17// 	protoc-gen-go v1.25.0-devel
18// 	protoc        v3.13.0
19// source: google/cloud/bigquery/storage/v1alpha2/protobuf.proto
20
21package storage
22
23import (
24	reflect "reflect"
25	sync "sync"
26
27	proto "github.com/golang/protobuf/proto"
28	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
29	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
30	descriptorpb "google.golang.org/protobuf/types/descriptorpb"
31)
32
33const (
34	// Verify that this generated code is sufficiently up-to-date.
35	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
36	// Verify that runtime/protoimpl is sufficiently up-to-date.
37	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
38)
39
40// This is a compile-time assertion that a sufficiently up-to-date version
41// of the legacy proto package is being used.
42const _ = proto.ProtoPackageIsVersion4
43
44// Protobuf schema is an API presentation the proto buffer schema.
45type ProtoSchema struct {
46	state         protoimpl.MessageState
47	sizeCache     protoimpl.SizeCache
48	unknownFields protoimpl.UnknownFields
49
50	// Descriptor for input message. The descriptor has to be self contained,
51	// including all the nested types, excepted for proto buffer well known types
52	// (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf)
53	// and zetasql public protos
54	// (https://github.com/google/zetasql/tree/master/zetasql/public/proto).
55	ProtoDescriptor *descriptorpb.DescriptorProto `protobuf:"bytes,1,opt,name=proto_descriptor,json=protoDescriptor,proto3" json:"proto_descriptor,omitempty"`
56}
57
58func (x *ProtoSchema) Reset() {
59	*x = ProtoSchema{}
60	if protoimpl.UnsafeEnabled {
61		mi := &file_google_cloud_bigquery_storage_v1alpha2_protobuf_proto_msgTypes[0]
62		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
63		ms.StoreMessageInfo(mi)
64	}
65}
66
67func (x *ProtoSchema) String() string {
68	return protoimpl.X.MessageStringOf(x)
69}
70
71func (*ProtoSchema) ProtoMessage() {}
72
73func (x *ProtoSchema) ProtoReflect() protoreflect.Message {
74	mi := &file_google_cloud_bigquery_storage_v1alpha2_protobuf_proto_msgTypes[0]
75	if protoimpl.UnsafeEnabled && x != nil {
76		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
77		if ms.LoadMessageInfo() == nil {
78			ms.StoreMessageInfo(mi)
79		}
80		return ms
81	}
82	return mi.MessageOf(x)
83}
84
85// Deprecated: Use ProtoSchema.ProtoReflect.Descriptor instead.
86func (*ProtoSchema) Descriptor() ([]byte, []int) {
87	return file_google_cloud_bigquery_storage_v1alpha2_protobuf_proto_rawDescGZIP(), []int{0}
88}
89
90func (x *ProtoSchema) GetProtoDescriptor() *descriptorpb.DescriptorProto {
91	if x != nil {
92		return x.ProtoDescriptor
93	}
94	return nil
95}
96
97// Protobuf rows.
98type ProtoRows struct {
99	state         protoimpl.MessageState
100	sizeCache     protoimpl.SizeCache
101	unknownFields protoimpl.UnknownFields
102
103	// A sequence of rows serialized as a Protocol Buffer.
104	//
105	// See https://developers.google.com/protocol-buffers/docs/overview for more
106	// information on deserializing this field.
107	SerializedRows [][]byte `protobuf:"bytes,1,rep,name=serialized_rows,json=serializedRows,proto3" json:"serialized_rows,omitempty"`
108}
109
110func (x *ProtoRows) Reset() {
111	*x = ProtoRows{}
112	if protoimpl.UnsafeEnabled {
113		mi := &file_google_cloud_bigquery_storage_v1alpha2_protobuf_proto_msgTypes[1]
114		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
115		ms.StoreMessageInfo(mi)
116	}
117}
118
119func (x *ProtoRows) String() string {
120	return protoimpl.X.MessageStringOf(x)
121}
122
123func (*ProtoRows) ProtoMessage() {}
124
125func (x *ProtoRows) ProtoReflect() protoreflect.Message {
126	mi := &file_google_cloud_bigquery_storage_v1alpha2_protobuf_proto_msgTypes[1]
127	if protoimpl.UnsafeEnabled && x != nil {
128		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
129		if ms.LoadMessageInfo() == nil {
130			ms.StoreMessageInfo(mi)
131		}
132		return ms
133	}
134	return mi.MessageOf(x)
135}
136
137// Deprecated: Use ProtoRows.ProtoReflect.Descriptor instead.
138func (*ProtoRows) Descriptor() ([]byte, []int) {
139	return file_google_cloud_bigquery_storage_v1alpha2_protobuf_proto_rawDescGZIP(), []int{1}
140}
141
142func (x *ProtoRows) GetSerializedRows() [][]byte {
143	if x != nil {
144		return x.SerializedRows
145	}
146	return nil
147}
148
149var File_google_cloud_bigquery_storage_v1alpha2_protobuf_proto protoreflect.FileDescriptor
150
151var file_google_cloud_bigquery_storage_v1alpha2_protobuf_proto_rawDesc = []byte{
152	0x0a, 0x35, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62,
153	0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f,
154	0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
155	0x66, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
156	0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x73,
157	0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x1a,
158	0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
159	0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74,
160	0x6f, 0x22, 0x5a, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61,
161	0x12, 0x4b, 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69,
162	0x70, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x6f,
163	0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x65, 0x73,
164	0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x0f, 0x70, 0x72,
165	0x6f, 0x74, 0x6f, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x22, 0x34, 0x0a,
166	0x09, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x6f, 0x77, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x65,
167	0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x01, 0x20,
168	0x03, 0x28, 0x0c, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x52,
169	0x6f, 0x77, 0x73, 0x42, 0x8a, 0x01, 0x0a, 0x2a, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
170	0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72,
171	0x79, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68,
172	0x61, 0x32, 0x42, 0x0d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x42, 0x75, 0x66, 0x50, 0x72, 0x6f, 0x74,
173	0x6f, 0x5a, 0x4d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67,
174	0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f,
175	0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62,
176	0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f,
177	0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x3b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65,
178	0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
179}
180
181var (
182	file_google_cloud_bigquery_storage_v1alpha2_protobuf_proto_rawDescOnce sync.Once
183	file_google_cloud_bigquery_storage_v1alpha2_protobuf_proto_rawDescData = file_google_cloud_bigquery_storage_v1alpha2_protobuf_proto_rawDesc
184)
185
186func file_google_cloud_bigquery_storage_v1alpha2_protobuf_proto_rawDescGZIP() []byte {
187	file_google_cloud_bigquery_storage_v1alpha2_protobuf_proto_rawDescOnce.Do(func() {
188		file_google_cloud_bigquery_storage_v1alpha2_protobuf_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_bigquery_storage_v1alpha2_protobuf_proto_rawDescData)
189	})
190	return file_google_cloud_bigquery_storage_v1alpha2_protobuf_proto_rawDescData
191}
192
193var file_google_cloud_bigquery_storage_v1alpha2_protobuf_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
194var file_google_cloud_bigquery_storage_v1alpha2_protobuf_proto_goTypes = []interface{}{
195	(*ProtoSchema)(nil),                  // 0: google.cloud.bigquery.storage.v1alpha2.ProtoSchema
196	(*ProtoRows)(nil),                    // 1: google.cloud.bigquery.storage.v1alpha2.ProtoRows
197	(*descriptorpb.DescriptorProto)(nil), // 2: google.protobuf.DescriptorProto
198}
199var file_google_cloud_bigquery_storage_v1alpha2_protobuf_proto_depIdxs = []int32{
200	2, // 0: google.cloud.bigquery.storage.v1alpha2.ProtoSchema.proto_descriptor:type_name -> google.protobuf.DescriptorProto
201	1, // [1:1] is the sub-list for method output_type
202	1, // [1:1] is the sub-list for method input_type
203	1, // [1:1] is the sub-list for extension type_name
204	1, // [1:1] is the sub-list for extension extendee
205	0, // [0:1] is the sub-list for field type_name
206}
207
208func init() { file_google_cloud_bigquery_storage_v1alpha2_protobuf_proto_init() }
209func file_google_cloud_bigquery_storage_v1alpha2_protobuf_proto_init() {
210	if File_google_cloud_bigquery_storage_v1alpha2_protobuf_proto != nil {
211		return
212	}
213	if !protoimpl.UnsafeEnabled {
214		file_google_cloud_bigquery_storage_v1alpha2_protobuf_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
215			switch v := v.(*ProtoSchema); i {
216			case 0:
217				return &v.state
218			case 1:
219				return &v.sizeCache
220			case 2:
221				return &v.unknownFields
222			default:
223				return nil
224			}
225		}
226		file_google_cloud_bigquery_storage_v1alpha2_protobuf_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
227			switch v := v.(*ProtoRows); i {
228			case 0:
229				return &v.state
230			case 1:
231				return &v.sizeCache
232			case 2:
233				return &v.unknownFields
234			default:
235				return nil
236			}
237		}
238	}
239	type x struct{}
240	out := protoimpl.TypeBuilder{
241		File: protoimpl.DescBuilder{
242			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
243			RawDescriptor: file_google_cloud_bigquery_storage_v1alpha2_protobuf_proto_rawDesc,
244			NumEnums:      0,
245			NumMessages:   2,
246			NumExtensions: 0,
247			NumServices:   0,
248		},
249		GoTypes:           file_google_cloud_bigquery_storage_v1alpha2_protobuf_proto_goTypes,
250		DependencyIndexes: file_google_cloud_bigquery_storage_v1alpha2_protobuf_proto_depIdxs,
251		MessageInfos:      file_google_cloud_bigquery_storage_v1alpha2_protobuf_proto_msgTypes,
252	}.Build()
253	File_google_cloud_bigquery_storage_v1alpha2_protobuf_proto = out.File
254	file_google_cloud_bigquery_storage_v1alpha2_protobuf_proto_rawDesc = nil
255	file_google_cloud_bigquery_storage_v1alpha2_protobuf_proto_goTypes = nil
256	file_google_cloud_bigquery_storage_v1alpha2_protobuf_proto_depIdxs = nil
257}
258