1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package storage
22
23 import (
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
33 const (
34
35 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
36
37 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
38 )
39
40
41
42 const _ = proto.ProtoPackageIsVersion4
43
44
45 type ProtoSchema struct {
46 state protoimpl.MessageState
47 sizeCache protoimpl.SizeCache
48 unknownFields protoimpl.UnknownFields
49
50
51
52
53
54
55 ProtoDescriptor *descriptorpb.DescriptorProto `protobuf:"bytes,1,opt,name=proto_descriptor,json=protoDescriptor,proto3" json:"proto_descriptor,omitempty"`
56 }
57
58 func (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
67 func (x *ProtoSchema) String() string {
68 return protoimpl.X.MessageStringOf(x)
69 }
70
71 func (*ProtoSchema) ProtoMessage() {}
72
73 func (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
86 func (*ProtoSchema) Descriptor() ([]byte, []int) {
87 return file_google_cloud_bigquery_storage_v1alpha2_protobuf_proto_rawDescGZIP(), []int{0}
88 }
89
90 func (x *ProtoSchema) GetProtoDescriptor() *descriptorpb.DescriptorProto {
91 if x != nil {
92 return x.ProtoDescriptor
93 }
94 return nil
95 }
96
97
98 type ProtoRows struct {
99 state protoimpl.MessageState
100 sizeCache protoimpl.SizeCache
101 unknownFields protoimpl.UnknownFields
102
103
104
105
106
107 SerializedRows [][]byte `protobuf:"bytes,1,rep,name=serialized_rows,json=serializedRows,proto3" json:"serialized_rows,omitempty"`
108 }
109
110 func (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
119 func (x *ProtoRows) String() string {
120 return protoimpl.X.MessageStringOf(x)
121 }
122
123 func (*ProtoRows) ProtoMessage() {}
124
125 func (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
138 func (*ProtoRows) Descriptor() ([]byte, []int) {
139 return file_google_cloud_bigquery_storage_v1alpha2_protobuf_proto_rawDescGZIP(), []int{1}
140 }
141
142 func (x *ProtoRows) GetSerializedRows() [][]byte {
143 if x != nil {
144 return x.SerializedRows
145 }
146 return nil
147 }
148
149 var File_google_cloud_bigquery_storage_v1alpha2_protobuf_proto protoreflect.FileDescriptor
150
151 var 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
181 var (
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
186 func 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
193 var file_google_cloud_bigquery_storage_v1alpha2_protobuf_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
194 var file_google_cloud_bigquery_storage_v1alpha2_protobuf_proto_goTypes = []interface{}{
195 (*ProtoSchema)(nil),
196 (*ProtoRows)(nil),
197 (*descriptorpb.DescriptorProto)(nil),
198 }
199 var file_google_cloud_bigquery_storage_v1alpha2_protobuf_proto_depIdxs = []int32{
200 2,
201 1,
202 1,
203 1,
204 1,
205 0,
206 }
207
208 func init() { file_google_cloud_bigquery_storage_v1alpha2_protobuf_proto_init() }
209 func 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
View as plain text