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