1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package storagepb
22
23 import (
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
32 const (
33
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37 )
38
39
40 type ProtoSchema struct {
41 state protoimpl.MessageState
42 sizeCache protoimpl.SizeCache
43 unknownFields protoimpl.UnknownFields
44
45
46
47
48 ProtoDescriptor *descriptorpb.DescriptorProto `protobuf:"bytes,1,opt,name=proto_descriptor,json=protoDescriptor,proto3" json:"proto_descriptor,omitempty"`
49 }
50
51 func (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
60 func (x *ProtoSchema) String() string {
61 return protoimpl.X.MessageStringOf(x)
62 }
63
64 func (*ProtoSchema) ProtoMessage() {}
65
66 func (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
79 func (*ProtoSchema) Descriptor() ([]byte, []int) {
80 return file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_rawDescGZIP(), []int{0}
81 }
82
83 func (x *ProtoSchema) GetProtoDescriptor() *descriptorpb.DescriptorProto {
84 if x != nil {
85 return x.ProtoDescriptor
86 }
87 return nil
88 }
89
90 type ProtoRows struct {
91 state protoimpl.MessageState
92 sizeCache protoimpl.SizeCache
93 unknownFields protoimpl.UnknownFields
94
95
96
97
98
99 SerializedRows [][]byte `protobuf:"bytes,1,rep,name=serialized_rows,json=serializedRows,proto3" json:"serialized_rows,omitempty"`
100 }
101
102 func (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
111 func (x *ProtoRows) String() string {
112 return protoimpl.X.MessageStringOf(x)
113 }
114
115 func (*ProtoRows) ProtoMessage() {}
116
117 func (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
130 func (*ProtoRows) Descriptor() ([]byte, []int) {
131 return file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_rawDescGZIP(), []int{1}
132 }
133
134 func (x *ProtoRows) GetSerializedRows() [][]byte {
135 if x != nil {
136 return x.SerializedRows
137 }
138 return nil
139 }
140
141 var File_google_cloud_bigquery_storage_v1beta2_protobuf_proto protoreflect.FileDescriptor
142
143 var 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, 0x81, 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, 0x43, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
166 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x73,
167 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
168 0x32, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x70, 0x62, 0x3b, 0x73, 0x74, 0x6f, 0x72,
169 0x61, 0x67, 0x65, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
170 }
171
172 var (
173 file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_rawDescOnce sync.Once
174 file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_rawDescData = file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_rawDesc
175 )
176
177 func file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_rawDescGZIP() []byte {
178 file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_rawDescOnce.Do(func() {
179 file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_rawDescData)
180 })
181 return file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_rawDescData
182 }
183
184 var file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
185 var file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_goTypes = []interface{}{
186 (*ProtoSchema)(nil),
187 (*ProtoRows)(nil),
188 (*descriptorpb.DescriptorProto)(nil),
189 }
190 var file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_depIdxs = []int32{
191 2,
192 1,
193 1,
194 1,
195 1,
196 0,
197 }
198
199 func init() { file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_init() }
200 func file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_init() {
201 if File_google_cloud_bigquery_storage_v1beta2_protobuf_proto != nil {
202 return
203 }
204 if !protoimpl.UnsafeEnabled {
205 file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
206 switch v := v.(*ProtoSchema); i {
207 case 0:
208 return &v.state
209 case 1:
210 return &v.sizeCache
211 case 2:
212 return &v.unknownFields
213 default:
214 return nil
215 }
216 }
217 file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
218 switch v := v.(*ProtoRows); i {
219 case 0:
220 return &v.state
221 case 1:
222 return &v.sizeCache
223 case 2:
224 return &v.unknownFields
225 default:
226 return nil
227 }
228 }
229 }
230 type x struct{}
231 out := protoimpl.TypeBuilder{
232 File: protoimpl.DescBuilder{
233 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
234 RawDescriptor: file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_rawDesc,
235 NumEnums: 0,
236 NumMessages: 2,
237 NumExtensions: 0,
238 NumServices: 0,
239 },
240 GoTypes: file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_goTypes,
241 DependencyIndexes: file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_depIdxs,
242 MessageInfos: file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_msgTypes,
243 }.Build()
244 File_google_cloud_bigquery_storage_v1beta2_protobuf_proto = out.File
245 file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_rawDesc = nil
246 file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_goTypes = nil
247 file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_depIdxs = nil
248 }
249
View as plain text