Debian Codegraph @

bigquery/v2/apiv2/bigquerypb/query_parameter.pb.go

raw
1 // Copyright 2025 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.35.2
18 // protoc v4.25.7
19 // source: google/cloud/bigquery/v2/query_parameter.proto
20
21 package bigquerypb
22
23 import (
24 _ "google.golang.org/genproto/googleapis/api/annotations"
25 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
26 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
27 structpb "google.golang.org/protobuf/types/known/structpb"
28 wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
29 reflect "reflect"
30 sync "sync"
31 )
32
33 const (
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 // The type of a struct parameter.
41 type QueryParameterStructType struct {
42 state protoimpl.MessageState
43 sizeCache protoimpl.SizeCache
44 unknownFields protoimpl.UnknownFields
45
46 // Optional. The name of this field.
47 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
48 // Required. The type of this field.
49 Type *QueryParameterType `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
50 // Optional. Human-oriented description of the field.
51 Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
52 }
53
54 func (x *QueryParameterStructType) Reset() {
55 *x = QueryParameterStructType{}
56 mi := &file_google_cloud_bigquery_v2_query_parameter_proto_msgTypes[0]
57 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
58 ms.StoreMessageInfo(mi)
59 }
60
61 func (x *QueryParameterStructType) String() string {
62 return protoimpl.X.MessageStringOf(x)
63 }
64
65 func (*QueryParameterStructType) ProtoMessage() {}
66
67 func (x *QueryParameterStructType) ProtoReflect() protoreflect.Message {
68 mi := &file_google_cloud_bigquery_v2_query_parameter_proto_msgTypes[0]
69 if x != nil {
70 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
71 if ms.LoadMessageInfo() == nil {
72 ms.StoreMessageInfo(mi)
73 }
74 return ms
75 }
76 return mi.MessageOf(x)
77 }
78
79 // Deprecated: Use QueryParameterStructType.ProtoReflect.Descriptor instead.
80 func (*QueryParameterStructType) Descriptor() ([]byte, []int) {
81 return file_google_cloud_bigquery_v2_query_parameter_proto_rawDescGZIP(), []int{0}
82 }
83
84 func (x *QueryParameterStructType) GetName() string {
85 if x != nil {
86 return x.Name
87 }
88 return ""
89 }
90
91 func (x *QueryParameterStructType) GetType() *QueryParameterType {
92 if x != nil {
93 return x.Type
94 }
95 return nil
96 }
97
98 func (x *QueryParameterStructType) GetDescription() string {
99 if x != nil {
100 return x.Description
101 }
102 return ""
103 }
104
105 // The type of a query parameter.
106 type QueryParameterType struct {
107 state protoimpl.MessageState
108 sizeCache protoimpl.SizeCache
109 unknownFields protoimpl.UnknownFields
110
111 // Required. The top level type of this field.
112 Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
113 // Optional. Precision (maximum number of total digits in base 10) for seconds
114 // of TIMESTAMP type.
115 //
116 // Possible values include:
117 // * 6 (Default, for TIMESTAMP type with microsecond precision)
118 // * 12 (For TIMESTAMP type with picosecond precision)
119 TimestampPrecision *int64 `protobuf:"varint,5,opt,name=timestamp_precision,json=timestampPrecision,proto3,oneof" json:"timestamp_precision,omitempty"`
120 // Optional. The type of the array's elements, if this is an array.
121 ArrayType *QueryParameterType `protobuf:"bytes,2,opt,name=array_type,json=arrayType,proto3" json:"array_type,omitempty"`
122 // Optional. The types of the fields of this struct, in order, if this is a
123 // struct.
124 StructTypes []*QueryParameterStructType `protobuf:"bytes,3,rep,name=struct_types,json=structTypes,proto3" json:"struct_types,omitempty"`
125 // Optional. The element type of the range, if this is a range.
126 RangeElementType *QueryParameterType `protobuf:"bytes,4,opt,name=range_element_type,json=rangeElementType,proto3" json:"range_element_type,omitempty"`
127 }
128
129 func (x *QueryParameterType) Reset() {
130 *x = QueryParameterType{}
131 mi := &file_google_cloud_bigquery_v2_query_parameter_proto_msgTypes[1]
132 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
133 ms.StoreMessageInfo(mi)
134 }
135
136 func (x *QueryParameterType) String() string {
137 return protoimpl.X.MessageStringOf(x)
138 }
139
140 func (*QueryParameterType) ProtoMessage() {}
141
142 func (x *QueryParameterType) ProtoReflect() protoreflect.Message {
143 mi := &file_google_cloud_bigquery_v2_query_parameter_proto_msgTypes[1]
144 if x != nil {
145 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
146 if ms.LoadMessageInfo() == nil {
147 ms.StoreMessageInfo(mi)
148 }
149 return ms
150 }
151 return mi.MessageOf(x)
152 }
153
154 // Deprecated: Use QueryParameterType.ProtoReflect.Descriptor instead.
155 func (*QueryParameterType) Descriptor() ([]byte, []int) {
156 return file_google_cloud_bigquery_v2_query_parameter_proto_rawDescGZIP(), []int{1}
157 }
158
159 func (x *QueryParameterType) GetType() string {
160 if x != nil {
161 return x.Type
162 }
163 return ""
164 }
165
166 func (x *QueryParameterType) GetTimestampPrecision() int64 {
167 if x != nil && x.TimestampPrecision != nil {
168 return *x.TimestampPrecision
169 }
170 return 0
171 }
172
173 func (x *QueryParameterType) GetArrayType() *QueryParameterType {
174 if x != nil {
175 return x.ArrayType
176 }
177 return nil
178 }
179
180 func (x *QueryParameterType) GetStructTypes() []*QueryParameterStructType {
181 if x != nil {
182 return x.StructTypes
183 }
184 return nil
185 }
186
187 func (x *QueryParameterType) GetRangeElementType() *QueryParameterType {
188 if x != nil {
189 return x.RangeElementType
190 }
191 return nil
192 }
193
194 // Represents the value of a range.
195 type RangeValue struct {
196 state protoimpl.MessageState
197 sizeCache protoimpl.SizeCache
198 unknownFields protoimpl.UnknownFields
199
200 // Optional. The start value of the range. A missing value represents an
201 // unbounded start.
202 Start *QueryParameterValue `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"`
203 // Optional. The end value of the range. A missing value represents an
204 // unbounded end.
205 End *QueryParameterValue `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"`
206 }
207
208 func (x *RangeValue) Reset() {
209 *x = RangeValue{}
210 mi := &file_google_cloud_bigquery_v2_query_parameter_proto_msgTypes[2]
211 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
212 ms.StoreMessageInfo(mi)
213 }
214
215 func (x *RangeValue) String() string {
216 return protoimpl.X.MessageStringOf(x)
217 }
218
219 func (*RangeValue) ProtoMessage() {}
220
221 func (x *RangeValue) ProtoReflect() protoreflect.Message {
222 mi := &file_google_cloud_bigquery_v2_query_parameter_proto_msgTypes[2]
223 if x != nil {
224 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
225 if ms.LoadMessageInfo() == nil {
226 ms.StoreMessageInfo(mi)
227 }
228 return ms
229 }
230 return mi.MessageOf(x)
231 }
232
233 // Deprecated: Use RangeValue.ProtoReflect.Descriptor instead.
234 func (*RangeValue) Descriptor() ([]byte, []int) {
235 return file_google_cloud_bigquery_v2_query_parameter_proto_rawDescGZIP(), []int{2}
236 }
237
238 func (x *RangeValue) GetStart() *QueryParameterValue {
239 if x != nil {
240 return x.Start
241 }
242 return nil
243 }
244
245 func (x *RangeValue) GetEnd() *QueryParameterValue {
246 if x != nil {
247 return x.End
248 }
249 return nil
250 }
251
252 // The value of a query parameter.
253 type QueryParameterValue struct {
254 state protoimpl.MessageState
255 sizeCache protoimpl.SizeCache
256 unknownFields protoimpl.UnknownFields
257
258 // Optional. The value of this value, if a simple scalar type.
259 Value *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
260 // Optional. The array values, if this is an array type.
261 ArrayValues []*QueryParameterValue `protobuf:"bytes,2,rep,name=array_values,json=arrayValues,proto3" json:"array_values,omitempty"`
262 // The struct field values.
263 StructValues map[string]*QueryParameterValue `protobuf:"bytes,3,rep,name=struct_values,json=structValues,proto3" json:"struct_values,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
264 // Optional. The range value, if this is a range type.
265 RangeValue *RangeValue `protobuf:"bytes,6,opt,name=range_value,json=rangeValue,proto3" json:"range_value,omitempty"`
266 // This field should not be used.
267 AltStructValues []*structpb.Value `protobuf:"bytes,5,rep,name=alt_struct_values,json=altStructValues,proto3" json:"alt_struct_values,omitempty"`
268 }
269
270 func (x *QueryParameterValue) Reset() {
271 *x = QueryParameterValue{}
272 mi := &file_google_cloud_bigquery_v2_query_parameter_proto_msgTypes[3]
273 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
274 ms.StoreMessageInfo(mi)
275 }
276
277 func (x *QueryParameterValue) String() string {
278 return protoimpl.X.MessageStringOf(x)
279 }
280
281 func (*QueryParameterValue) ProtoMessage() {}
282
283 func (x *QueryParameterValue) ProtoReflect() protoreflect.Message {
284 mi := &file_google_cloud_bigquery_v2_query_parameter_proto_msgTypes[3]
285 if x != nil {
286 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
287 if ms.LoadMessageInfo() == nil {
288 ms.StoreMessageInfo(mi)
289 }
290 return ms
291 }
292 return mi.MessageOf(x)
293 }
294
295 // Deprecated: Use QueryParameterValue.ProtoReflect.Descriptor instead.
296 func (*QueryParameterValue) Descriptor() ([]byte, []int) {
297 return file_google_cloud_bigquery_v2_query_parameter_proto_rawDescGZIP(), []int{3}
298 }
299
300 func (x *QueryParameterValue) GetValue() *wrapperspb.StringValue {
301 if x != nil {
302 return x.Value
303 }
304 return nil
305 }
306
307 func (x *QueryParameterValue) GetArrayValues() []*QueryParameterValue {
308 if x != nil {
309 return x.ArrayValues
310 }
311 return nil
312 }
313
314 func (x *QueryParameterValue) GetStructValues() map[string]*QueryParameterValue {
315 if x != nil {
316 return x.StructValues
317 }
318 return nil
319 }
320
321 func (x *QueryParameterValue) GetRangeValue() *RangeValue {
322 if x != nil {
323 return x.RangeValue
324 }
325 return nil
326 }
327
328 func (x *QueryParameterValue) GetAltStructValues() []*structpb.Value {
329 if x != nil {
330 return x.AltStructValues
331 }
332 return nil
333 }
334
335 // A parameter given to a query.
336 type QueryParameter struct {
337 state protoimpl.MessageState
338 sizeCache protoimpl.SizeCache
339 unknownFields protoimpl.UnknownFields
340
341 // Optional. If unset, this is a positional parameter. Otherwise, should be
342 // unique within a query.
343 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
344 // Required. The type of this parameter.
345 ParameterType *QueryParameterType `protobuf:"bytes,2,opt,name=parameter_type,json=parameterType,proto3" json:"parameter_type,omitempty"`
346 // Required. The value of this parameter.
347 ParameterValue *QueryParameterValue `protobuf:"bytes,3,opt,name=parameter_value,json=parameterValue,proto3" json:"parameter_value,omitempty"`
348 }
349
350 func (x *QueryParameter) Reset() {
351 *x = QueryParameter{}
352 mi := &file_google_cloud_bigquery_v2_query_parameter_proto_msgTypes[4]
353 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
354 ms.StoreMessageInfo(mi)
355 }
356
357 func (x *QueryParameter) String() string {
358 return protoimpl.X.MessageStringOf(x)
359 }
360
361 func (*QueryParameter) ProtoMessage() {}
362
363 func (x *QueryParameter) ProtoReflect() protoreflect.Message {
364 mi := &file_google_cloud_bigquery_v2_query_parameter_proto_msgTypes[4]
365 if x != nil {
366 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
367 if ms.LoadMessageInfo() == nil {
368 ms.StoreMessageInfo(mi)
369 }
370 return ms
371 }
372 return mi.MessageOf(x)
373 }
374
375 // Deprecated: Use QueryParameter.ProtoReflect.Descriptor instead.
376 func (*QueryParameter) Descriptor() ([]byte, []int) {
377 return file_google_cloud_bigquery_v2_query_parameter_proto_rawDescGZIP(), []int{4}
378 }
379
380 func (x *QueryParameter) GetName() string {
381 if x != nil {
382 return x.Name
383 }
384 return ""
385 }
386
387 func (x *QueryParameter) GetParameterType() *QueryParameterType {
388 if x != nil {
389 return x.ParameterType
390 }
391 return nil
392 }
393
394 func (x *QueryParameter) GetParameterValue() *QueryParameterValue {
395 if x != nil {
396 return x.ParameterValue
397 }
398 return nil
399 }
400
401 var File_google_cloud_bigquery_v2_query_parameter_proto protoreflect.FileDescriptor
402
403 var file_google_cloud_bigquery_v2_query_parameter_proto_rawDesc = []byte{
404 0x0a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62,
405 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79,
406 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
407 0x12, 0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62,
408 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67,
409 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68,
410 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f,
411 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72,
412 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
413 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70,
414 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa1, 0x01, 0x0a, 0x18, 0x51, 0x75,
415 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x53, 0x74, 0x72, 0x75,
416 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
417 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
418 0x45, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e,
419 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67,
420 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61,
421 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02,
422 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69,
423 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01,
424 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x8f, 0x03,
425 0x0a, 0x12, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72,
426 0x54, 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01,
427 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x39, 0x0a,
428 0x13, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x70, 0x72, 0x65, 0x63, 0x69,
429 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48,
430 0x00, 0x52, 0x12, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x50, 0x72, 0x65, 0x63,
431 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x50, 0x0a, 0x0a, 0x61, 0x72, 0x72, 0x61,
432 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67,
433 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71,
434 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72,
435 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52,
436 0x09, 0x61, 0x72, 0x72, 0x61, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x5a, 0x0a, 0x0c, 0x73, 0x74,
437 0x72, 0x75, 0x63, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b,
438 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
439 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72,
440 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74,
441 0x54, 0x79, 0x70, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x75, 0x63,
442 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x5f, 0x0a, 0x12, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x5f,
443 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01,
444 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
445 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75,
446 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65,
447 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x10, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x45, 0x6c, 0x65, 0x6d,
448 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x42, 0x16, 0x0a, 0x14, 0x5f, 0x74, 0x69, 0x6d, 0x65,
449 0x73, 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22,
450 0x9c, 0x01, 0x0a, 0x0a, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x48,
451 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e,
452 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67,
453 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61,
454 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x03, 0xe0, 0x41,
455 0x01, 0x52, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x44, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18,
456 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
457 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32,
458 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x56,
459 0x61, 0x6c, 0x75, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x22, 0x8b,
460 0x04, 0x0a, 0x13, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65,
461 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x37, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
462 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
463 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61,
464 0x6c, 0x75, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12,
465 0x55, 0x0a, 0x0c, 0x61, 0x72, 0x72, 0x61, 0x79, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18,
466 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
467 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32,
468 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x56,
469 0x61, 0x6c, 0x75, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0b, 0x61, 0x72, 0x72, 0x61, 0x79,
470 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x64, 0x0a, 0x0d, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74,
471 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3f, 0x2e,
472 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67,
473 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61,
474 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x2e, 0x53, 0x74, 0x72,
475 0x75, 0x63, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c,
476 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x4a, 0x0a, 0x0b,
477 0x72, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28,
478 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
479 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x61, 0x6e,
480 0x67, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x72, 0x61,
481 0x6e, 0x67, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x42, 0x0a, 0x11, 0x61, 0x6c, 0x74, 0x5f,
482 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x05, 0x20,
483 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
484 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0f, 0x61, 0x6c, 0x74,
485 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x1a, 0x6e, 0x0a, 0x11,
486 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72,
487 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
488 0x6b, 0x65, 0x79, 0x12, 0x43, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01,
489 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
490 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75,
491 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75,
492 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xe0, 0x01, 0x0a,
493 0x0e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12,
494 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0,
495 0x41, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x58, 0x0a, 0x0e, 0x70, 0x61, 0x72, 0x61,
496 0x6d, 0x65, 0x74, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
497 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
498 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72,
499 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x42, 0x03,
500 0xe0, 0x41, 0x02, 0x52, 0x0d, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x54, 0x79,
501 0x70, 0x65, 0x12, 0x5b, 0x0a, 0x0f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x5f,
502 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f,
503 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75,
504 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61,
505 0x6d, 0x65, 0x74, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52,
506 0x0e, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42,
507 0x70, 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
508 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x42,
509 0x13, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x50,
510 0x72, 0x6f, 0x74, 0x6f, 0x5a, 0x3b, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
511 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65,
512 0x72, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x62, 0x69, 0x67, 0x71,
513 0x75, 0x65, 0x72, 0x79, 0x70, 0x62, 0x3b, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x70,
514 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
515 }
516
517 var (
518 file_google_cloud_bigquery_v2_query_parameter_proto_rawDescOnce sync.Once
519 file_google_cloud_bigquery_v2_query_parameter_proto_rawDescData = file_google_cloud_bigquery_v2_query_parameter_proto_rawDesc
520 )
521
522 func file_google_cloud_bigquery_v2_query_parameter_proto_rawDescGZIP() []byte {
523 file_google_cloud_bigquery_v2_query_parameter_proto_rawDescOnce.Do(func() {
524 file_google_cloud_bigquery_v2_query_parameter_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_bigquery_v2_query_parameter_proto_rawDescData)
525 })
526 return file_google_cloud_bigquery_v2_query_parameter_proto_rawDescData
527 }
528
529 var file_google_cloud_bigquery_v2_query_parameter_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
530 var file_google_cloud_bigquery_v2_query_parameter_proto_goTypes = []any{
531 (*QueryParameterStructType)(nil), // 0: google.cloud.bigquery.v2.QueryParameterStructType
532 (*QueryParameterType)(nil), // 1: google.cloud.bigquery.v2.QueryParameterType
533 (*RangeValue)(nil), // 2: google.cloud.bigquery.v2.RangeValue
534 (*QueryParameterValue)(nil), // 3: google.cloud.bigquery.v2.QueryParameterValue
535 (*QueryParameter)(nil), // 4: google.cloud.bigquery.v2.QueryParameter
536 nil, // 5: google.cloud.bigquery.v2.QueryParameterValue.StructValuesEntry
537 (*wrapperspb.StringValue)(nil), // 6: google.protobuf.StringValue
538 (*structpb.Value)(nil), // 7: google.protobuf.Value
539 }
540 var file_google_cloud_bigquery_v2_query_parameter_proto_depIdxs = []int32{
541 1, // 0: google.cloud.bigquery.v2.QueryParameterStructType.type:type_name -> google.cloud.bigquery.v2.QueryParameterType
542 1, // 1: google.cloud.bigquery.v2.QueryParameterType.array_type:type_name -> google.cloud.bigquery.v2.QueryParameterType
543 0, // 2: google.cloud.bigquery.v2.QueryParameterType.struct_types:type_name -> google.cloud.bigquery.v2.QueryParameterStructType
544 1, // 3: google.cloud.bigquery.v2.QueryParameterType.range_element_type:type_name -> google.cloud.bigquery.v2.QueryParameterType
545 3, // 4: google.cloud.bigquery.v2.RangeValue.start:type_name -> google.cloud.bigquery.v2.QueryParameterValue
546 3, // 5: google.cloud.bigquery.v2.RangeValue.end:type_name -> google.cloud.bigquery.v2.QueryParameterValue
547 6, // 6: google.cloud.bigquery.v2.QueryParameterValue.value:type_name -> google.protobuf.StringValue
548 3, // 7: google.cloud.bigquery.v2.QueryParameterValue.array_values:type_name -> google.cloud.bigquery.v2.QueryParameterValue
549 5, // 8: google.cloud.bigquery.v2.QueryParameterValue.struct_values:type_name -> google.cloud.bigquery.v2.QueryParameterValue.StructValuesEntry
550 2, // 9: google.cloud.bigquery.v2.QueryParameterValue.range_value:type_name -> google.cloud.bigquery.v2.RangeValue
551 7, // 10: google.cloud.bigquery.v2.QueryParameterValue.alt_struct_values:type_name -> google.protobuf.Value
552 1, // 11: google.cloud.bigquery.v2.QueryParameter.parameter_type:type_name -> google.cloud.bigquery.v2.QueryParameterType
553 3, // 12: google.cloud.bigquery.v2.QueryParameter.parameter_value:type_name -> google.cloud.bigquery.v2.QueryParameterValue
554 3, // 13: google.cloud.bigquery.v2.QueryParameterValue.StructValuesEntry.value:type_name -> google.cloud.bigquery.v2.QueryParameterValue
555 14, // [14:14] is the sub-list for method output_type
556 14, // [14:14] is the sub-list for method input_type
557 14, // [14:14] is the sub-list for extension type_name
558 14, // [14:14] is the sub-list for extension extendee
559 0, // [0:14] is the sub-list for field type_name
560 }
561
562 func init() { file_google_cloud_bigquery_v2_query_parameter_proto_init() }
563 func file_google_cloud_bigquery_v2_query_parameter_proto_init() {
564 if File_google_cloud_bigquery_v2_query_parameter_proto != nil {
565 return
566 }
567 file_google_cloud_bigquery_v2_query_parameter_proto_msgTypes[1].OneofWrappers = []any{}
568 type x struct{}
569 out := protoimpl.TypeBuilder{
570 File: protoimpl.DescBuilder{
571 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
572 RawDescriptor: file_google_cloud_bigquery_v2_query_parameter_proto_rawDesc,
573 NumEnums: 0,
574 NumMessages: 6,
575 NumExtensions: 0,
576 NumServices: 0,
577 },
578 GoTypes: file_google_cloud_bigquery_v2_query_parameter_proto_goTypes,
579 DependencyIndexes: file_google_cloud_bigquery_v2_query_parameter_proto_depIdxs,
580 MessageInfos: file_google_cloud_bigquery_v2_query_parameter_proto_msgTypes,
581 }.Build()
582 File_google_cloud_bigquery_v2_query_parameter_proto = out.File
583 file_google_cloud_bigquery_v2_query_parameter_proto_rawDesc = nil
584 file_google_cloud_bigquery_v2_query_parameter_proto_goTypes = nil
585 file_google_cloud_bigquery_v2_query_parameter_proto_depIdxs = nil
586 }