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/v1beta2/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 descriptor has to be self contained,
46	// including all the nested types, excepted for proto buffer well known types
47	// (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf).
48	ProtoDescriptor *descriptorpb.DescriptorProto `protobuf:"bytes,1,opt,name=proto_descriptor,json=protoDescriptor,proto3" json:"proto_descriptor,omitempty"`
49}
50
51func (x *ProtoSchema) Reset() {
52	*x = ProtoSchema{}
53	if protoimpl.UnsafeEnabled {
54		mi := &file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_msgTypes[0]
55		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
56		ms.StoreMessageInfo(mi)
57	}
58}
59
60func (x *ProtoSchema) String() string {
61	return protoimpl.X.MessageStringOf(x)
62}
63
64func (*ProtoSchema) ProtoMessage() {}
65
66func (x *ProtoSchema) ProtoReflect() protoreflect.Message {
67	mi := &file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_msgTypes[0]
68	if protoimpl.UnsafeEnabled && x != nil {
69		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
70		if ms.LoadMessageInfo() == nil {
71			ms.StoreMessageInfo(mi)
72		}
73		return ms
74	}
75	return mi.MessageOf(x)
76}
77
78// Deprecated: Use ProtoSchema.ProtoReflect.Descriptor instead.
79func (*ProtoSchema) Descriptor() ([]byte, []int) {
80	return file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_rawDescGZIP(), []int{0}
81}
82
83func (x *ProtoSchema) GetProtoDescriptor() *descriptorpb.DescriptorProto {
84	if x != nil {
85		return x.ProtoDescriptor
86	}
87	return nil
88}
89
90type ProtoRows struct {
91	state         protoimpl.MessageState
92	sizeCache     protoimpl.SizeCache
93	unknownFields protoimpl.UnknownFields
94
95	// A sequence of rows serialized as a Protocol Buffer.
96	//
97	// See https://developers.google.com/protocol-buffers/docs/overview for more
98	// information on deserializing this field.
99	SerializedRows [][]byte `protobuf:"bytes,1,rep,name=serialized_rows,json=serializedRows,proto3" json:"serialized_rows,omitempty"`
100}
101
102func (x *ProtoRows) Reset() {
103	*x = ProtoRows{}
104	if protoimpl.UnsafeEnabled {
105		mi := &file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_msgTypes[1]
106		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
107		ms.StoreMessageInfo(mi)
108	}
109}
110
111func (x *ProtoRows) String() string {
112	return protoimpl.X.MessageStringOf(x)
113}
114
115func (*ProtoRows) ProtoMessage() {}
116
117func (x *ProtoRows) ProtoReflect() protoreflect.Message {
118	mi := &file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_msgTypes[1]
119	if protoimpl.UnsafeEnabled && x != nil {
120		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
121		if ms.LoadMessageInfo() == nil {
122			ms.StoreMessageInfo(mi)
123		}
124		return ms
125	}
126	return mi.MessageOf(x)
127}
128
129// Deprecated: Use ProtoRows.ProtoReflect.Descriptor instead.
130func (*ProtoRows) Descriptor() ([]byte, []int) {
131	return file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_rawDescGZIP(), []int{1}
132}
133
134func (x *ProtoRows) GetSerializedRows() [][]byte {
135	if x != nil {
136		return x.SerializedRows
137	}
138	return nil
139}
140
141var File_google_cloud_bigquery_storage_v1beta2_protobuf_proto protoreflect.FileDescriptor
142
143var file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_rawDesc = []byte{
144	0x0a, 0x34, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62,
145	0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f,
146	0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
147	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x25, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
148	0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x73, 0x74,
149	0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x1a, 0x20, 0x67,
150	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64,
151	0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
152	0x5a, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x4b,
153	0x0a, 0x10, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
154	0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
155	0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x65, 0x73, 0x63, 0x72,
156	0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x0f, 0x70, 0x72, 0x6f, 0x74,
157	0x6f, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x22, 0x34, 0x0a, 0x09, 0x50,
158	0x72, 0x6f, 0x74, 0x6f, 0x52, 0x6f, 0x77, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x69,
159	0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
160	0x0c, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x52, 0x6f, 0x77,
161	0x73, 0x42, 0x8a, 0x01, 0x0a, 0x29, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
162	0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e,
163	0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x42,
164	0x0d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x42, 0x75, 0x66, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01,
165	0x5a, 0x4c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e,
166	0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f,
167	0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62, 0x69,
168	0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f, 0x76,
169	0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x3b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x62, 0x06,
170	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
171}
172
173var (
174	file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_rawDescOnce sync.Once
175	file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_rawDescData = file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_rawDesc
176)
177
178func file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_rawDescGZIP() []byte {
179	file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_rawDescOnce.Do(func() {
180		file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_rawDescData)
181	})
182	return file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_rawDescData
183}
184
185var file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
186var file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_goTypes = []interface{}{
187	(*ProtoSchema)(nil),                  // 0: google.cloud.bigquery.storage.v1beta2.ProtoSchema
188	(*ProtoRows)(nil),                    // 1: google.cloud.bigquery.storage.v1beta2.ProtoRows
189	(*descriptorpb.DescriptorProto)(nil), // 2: google.protobuf.DescriptorProto
190}
191var file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_depIdxs = []int32{
192	2, // 0: google.cloud.bigquery.storage.v1beta2.ProtoSchema.proto_descriptor:type_name -> google.protobuf.DescriptorProto
193	1, // [1:1] is the sub-list for method output_type
194	1, // [1:1] is the sub-list for method input_type
195	1, // [1:1] is the sub-list for extension type_name
196	1, // [1:1] is the sub-list for extension extendee
197	0, // [0:1] is the sub-list for field type_name
198}
199
200func init() { file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_init() }
201func file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_init() {
202	if File_google_cloud_bigquery_storage_v1beta2_protobuf_proto != nil {
203		return
204	}
205	if !protoimpl.UnsafeEnabled {
206		file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
207			switch v := v.(*ProtoSchema); i {
208			case 0:
209				return &v.state
210			case 1:
211				return &v.sizeCache
212			case 2:
213				return &v.unknownFields
214			default:
215				return nil
216			}
217		}
218		file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
219			switch v := v.(*ProtoRows); i {
220			case 0:
221				return &v.state
222			case 1:
223				return &v.sizeCache
224			case 2:
225				return &v.unknownFields
226			default:
227				return nil
228			}
229		}
230	}
231	type x struct{}
232	out := protoimpl.TypeBuilder{
233		File: protoimpl.DescBuilder{
234			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
235			RawDescriptor: file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_rawDesc,
236			NumEnums:      0,
237			NumMessages:   2,
238			NumExtensions: 0,
239			NumServices:   0,
240		},
241		GoTypes:           file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_goTypes,
242		DependencyIndexes: file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_depIdxs,
243		MessageInfos:      file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_msgTypes,
244	}.Build()
245	File_google_cloud_bigquery_storage_v1beta2_protobuf_proto = out.File
246	file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_rawDesc = nil
247	file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_goTypes = nil
248	file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_depIdxs = nil
249}
250