Debian Codegraph @

bigquery/v2/apiv2/bigquerypb/routine.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/routine.proto
20
21 package bigquerypb
22
23 import (
24 context "context"
25 _ "google.golang.org/genproto/googleapis/api/annotations"
26 grpc "google.golang.org/grpc"
27 codes "google.golang.org/grpc/codes"
28 status "google.golang.org/grpc/status"
29 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
30 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
31 emptypb "google.golang.org/protobuf/types/known/emptypb"
32 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
33 wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
34 reflect "reflect"
35 sync "sync"
36 )
37
38 const (
39 // Verify that this generated code is sufficiently up-to-date.
40 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
41 // Verify that runtime/protoimpl is sufficiently up-to-date.
42 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
43 )
44
45 // The fine-grained type of the routine.
46 type Routine_RoutineType int32
47
48 const (
49 // Default value.
50 Routine_ROUTINE_TYPE_UNSPECIFIED Routine_RoutineType = 0
51 // Non-built-in persistent scalar function.
52 Routine_SCALAR_FUNCTION Routine_RoutineType = 1
53 // Stored procedure.
54 Routine_PROCEDURE Routine_RoutineType = 2
55 // Non-built-in persistent TVF.
56 Routine_TABLE_VALUED_FUNCTION Routine_RoutineType = 3
57 // Non-built-in persistent aggregate function.
58 Routine_AGGREGATE_FUNCTION Routine_RoutineType = 4
59 )
60
61 // Enum value maps for Routine_RoutineType.
62 var (
63 Routine_RoutineType_name = map[int32]string{
64 0: "ROUTINE_TYPE_UNSPECIFIED",
65 1: "SCALAR_FUNCTION",
66 2: "PROCEDURE",
67 3: "TABLE_VALUED_FUNCTION",
68 4: "AGGREGATE_FUNCTION",
69 }
70 Routine_RoutineType_value = map[string]int32{
71 "ROUTINE_TYPE_UNSPECIFIED": 0,
72 "SCALAR_FUNCTION": 1,
73 "PROCEDURE": 2,
74 "TABLE_VALUED_FUNCTION": 3,
75 "AGGREGATE_FUNCTION": 4,
76 }
77 )
78
79 func (x Routine_RoutineType) Enum() *Routine_RoutineType {
80 p := new(Routine_RoutineType)
81 *p = x
82 return p
83 }
84
85 func (x Routine_RoutineType) String() string {
86 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
87 }
88
89 func (Routine_RoutineType) Descriptor() protoreflect.EnumDescriptor {
90 return file_google_cloud_bigquery_v2_routine_proto_enumTypes[0].Descriptor()
91 }
92
93 func (Routine_RoutineType) Type() protoreflect.EnumType {
94 return &file_google_cloud_bigquery_v2_routine_proto_enumTypes[0]
95 }
96
97 func (x Routine_RoutineType) Number() protoreflect.EnumNumber {
98 return protoreflect.EnumNumber(x)
99 }
100
101 // Deprecated: Use Routine_RoutineType.Descriptor instead.
102 func (Routine_RoutineType) EnumDescriptor() ([]byte, []int) {
103 return file_google_cloud_bigquery_v2_routine_proto_rawDescGZIP(), []int{0, 0}
104 }
105
106 // The language of the routine.
107 type Routine_Language int32
108
109 const (
110 // Default value.
111 Routine_LANGUAGE_UNSPECIFIED Routine_Language = 0
112 // SQL language.
113 Routine_SQL Routine_Language = 1
114 // JavaScript language.
115 Routine_JAVASCRIPT Routine_Language = 2
116 // Python language.
117 Routine_PYTHON Routine_Language = 3
118 // Java language.
119 Routine_JAVA Routine_Language = 4
120 // Scala language.
121 Routine_SCALA Routine_Language = 5
122 )
123
124 // Enum value maps for Routine_Language.
125 var (
126 Routine_Language_name = map[int32]string{
127 0: "LANGUAGE_UNSPECIFIED",
128 1: "SQL",
129 2: "JAVASCRIPT",
130 3: "PYTHON",
131 4: "JAVA",
132 5: "SCALA",
133 }
134 Routine_Language_value = map[string]int32{
135 "LANGUAGE_UNSPECIFIED": 0,
136 "SQL": 1,
137 "JAVASCRIPT": 2,
138 "PYTHON": 3,
139 "JAVA": 4,
140 "SCALA": 5,
141 }
142 )
143
144 func (x Routine_Language) Enum() *Routine_Language {
145 p := new(Routine_Language)
146 *p = x
147 return p
148 }
149
150 func (x Routine_Language) String() string {
151 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
152 }
153
154 func (Routine_Language) Descriptor() protoreflect.EnumDescriptor {
155 return file_google_cloud_bigquery_v2_routine_proto_enumTypes[1].Descriptor()
156 }
157
158 func (Routine_Language) Type() protoreflect.EnumType {
159 return &file_google_cloud_bigquery_v2_routine_proto_enumTypes[1]
160 }
161
162 func (x Routine_Language) Number() protoreflect.EnumNumber {
163 return protoreflect.EnumNumber(x)
164 }
165
166 // Deprecated: Use Routine_Language.Descriptor instead.
167 func (Routine_Language) EnumDescriptor() ([]byte, []int) {
168 return file_google_cloud_bigquery_v2_routine_proto_rawDescGZIP(), []int{0, 1}
169 }
170
171 // JavaScript UDF determinism levels.
172 //
173 // If all JavaScript UDFs are DETERMINISTIC, the query result is
174 // potentially cacheable (see below). If any JavaScript UDF is
175 // NOT_DETERMINISTIC, the query result is not cacheable.
176 //
177 // Even if a JavaScript UDF is deterministic, many other factors can prevent
178 // usage of cached query results. Example factors include but not limited to:
179 // DDL/DML, non-deterministic SQL function calls, update of referenced
180 // tables/views/UDFs or imported JavaScript libraries.
181 //
182 // SQL UDFs cannot have determinism specified. Their determinism is
183 // automatically determined.
184 type Routine_DeterminismLevel int32
185
186 const (
187 // The determinism of the UDF is unspecified.
188 Routine_DETERMINISM_LEVEL_UNSPECIFIED Routine_DeterminismLevel = 0
189 // The UDF is deterministic, meaning that 2 function calls with the same
190 // inputs always produce the same result, even across 2 query runs.
191 Routine_DETERMINISTIC Routine_DeterminismLevel = 1
192 // The UDF is not deterministic.
193 Routine_NOT_DETERMINISTIC Routine_DeterminismLevel = 2
194 )
195
196 // Enum value maps for Routine_DeterminismLevel.
197 var (
198 Routine_DeterminismLevel_name = map[int32]string{
199 0: "DETERMINISM_LEVEL_UNSPECIFIED",
200 1: "DETERMINISTIC",
201 2: "NOT_DETERMINISTIC",
202 }
203 Routine_DeterminismLevel_value = map[string]int32{
204 "DETERMINISM_LEVEL_UNSPECIFIED": 0,
205 "DETERMINISTIC": 1,
206 "NOT_DETERMINISTIC": 2,
207 }
208 )
209
210 func (x Routine_DeterminismLevel) Enum() *Routine_DeterminismLevel {
211 p := new(Routine_DeterminismLevel)
212 *p = x
213 return p
214 }
215
216 func (x Routine_DeterminismLevel) String() string {
217 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
218 }
219
220 func (Routine_DeterminismLevel) Descriptor() protoreflect.EnumDescriptor {
221 return file_google_cloud_bigquery_v2_routine_proto_enumTypes[2].Descriptor()
222 }
223
224 func (Routine_DeterminismLevel) Type() protoreflect.EnumType {
225 return &file_google_cloud_bigquery_v2_routine_proto_enumTypes[2]
226 }
227
228 func (x Routine_DeterminismLevel) Number() protoreflect.EnumNumber {
229 return protoreflect.EnumNumber(x)
230 }
231
232 // Deprecated: Use Routine_DeterminismLevel.Descriptor instead.
233 func (Routine_DeterminismLevel) EnumDescriptor() ([]byte, []int) {
234 return file_google_cloud_bigquery_v2_routine_proto_rawDescGZIP(), []int{0, 2}
235 }
236
237 // Security mode.
238 type Routine_SecurityMode int32
239
240 const (
241 // The security mode of the routine is unspecified.
242 Routine_SECURITY_MODE_UNSPECIFIED Routine_SecurityMode = 0
243 // The routine is to be executed with the privileges of the user who
244 // defines it.
245 Routine_DEFINER Routine_SecurityMode = 1
246 // The routine is to be executed with the privileges of the user who
247 // invokes it.
248 Routine_INVOKER Routine_SecurityMode = 2
249 )
250
251 // Enum value maps for Routine_SecurityMode.
252 var (
253 Routine_SecurityMode_name = map[int32]string{
254 0: "SECURITY_MODE_UNSPECIFIED",
255 1: "DEFINER",
256 2: "INVOKER",
257 }
258 Routine_SecurityMode_value = map[string]int32{
259 "SECURITY_MODE_UNSPECIFIED": 0,
260 "DEFINER": 1,
261 "INVOKER": 2,
262 }
263 )
264
265 func (x Routine_SecurityMode) Enum() *Routine_SecurityMode {
266 p := new(Routine_SecurityMode)
267 *p = x
268 return p
269 }
270
271 func (x Routine_SecurityMode) String() string {
272 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
273 }
274
275 func (Routine_SecurityMode) Descriptor() protoreflect.EnumDescriptor {
276 return file_google_cloud_bigquery_v2_routine_proto_enumTypes[3].Descriptor()
277 }
278
279 func (Routine_SecurityMode) Type() protoreflect.EnumType {
280 return &file_google_cloud_bigquery_v2_routine_proto_enumTypes[3]
281 }
282
283 func (x Routine_SecurityMode) Number() protoreflect.EnumNumber {
284 return protoreflect.EnumNumber(x)
285 }
286
287 // Deprecated: Use Routine_SecurityMode.Descriptor instead.
288 func (Routine_SecurityMode) EnumDescriptor() ([]byte, []int) {
289 return file_google_cloud_bigquery_v2_routine_proto_rawDescGZIP(), []int{0, 3}
290 }
291
292 // Data governance type values. Only supports `DATA_MASKING`.
293 type Routine_DataGovernanceType int32
294
295 const (
296 // The data governance type is unspecified.
297 Routine_DATA_GOVERNANCE_TYPE_UNSPECIFIED Routine_DataGovernanceType = 0
298 // The data governance type is data masking.
299 Routine_DATA_MASKING Routine_DataGovernanceType = 1
300 )
301
302 // Enum value maps for Routine_DataGovernanceType.
303 var (
304 Routine_DataGovernanceType_name = map[int32]string{
305 0: "DATA_GOVERNANCE_TYPE_UNSPECIFIED",
306 1: "DATA_MASKING",
307 }
308 Routine_DataGovernanceType_value = map[string]int32{
309 "DATA_GOVERNANCE_TYPE_UNSPECIFIED": 0,
310 "DATA_MASKING": 1,
311 }
312 )
313
314 func (x Routine_DataGovernanceType) Enum() *Routine_DataGovernanceType {
315 p := new(Routine_DataGovernanceType)
316 *p = x
317 return p
318 }
319
320 func (x Routine_DataGovernanceType) String() string {
321 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
322 }
323
324 func (Routine_DataGovernanceType) Descriptor() protoreflect.EnumDescriptor {
325 return file_google_cloud_bigquery_v2_routine_proto_enumTypes[4].Descriptor()
326 }
327
328 func (Routine_DataGovernanceType) Type() protoreflect.EnumType {
329 return &file_google_cloud_bigquery_v2_routine_proto_enumTypes[4]
330 }
331
332 func (x Routine_DataGovernanceType) Number() protoreflect.EnumNumber {
333 return protoreflect.EnumNumber(x)
334 }
335
336 // Deprecated: Use Routine_DataGovernanceType.Descriptor instead.
337 func (Routine_DataGovernanceType) EnumDescriptor() ([]byte, []int) {
338 return file_google_cloud_bigquery_v2_routine_proto_rawDescGZIP(), []int{0, 4}
339 }
340
341 // Represents the kind of a given argument.
342 type Routine_Argument_ArgumentKind int32
343
344 const (
345 // Default value.
346 Routine_Argument_ARGUMENT_KIND_UNSPECIFIED Routine_Argument_ArgumentKind = 0
347 // The argument is a variable with fully specified type, which can be a
348 // struct or an array, but not a table.
349 Routine_Argument_FIXED_TYPE Routine_Argument_ArgumentKind = 1
350 // The argument is any type, including struct or array, but not a table.
351 Routine_Argument_ANY_TYPE Routine_Argument_ArgumentKind = 2
352 )
353
354 // Enum value maps for Routine_Argument_ArgumentKind.
355 var (
356 Routine_Argument_ArgumentKind_name = map[int32]string{
357 0: "ARGUMENT_KIND_UNSPECIFIED",
358 1: "FIXED_TYPE",
359 2: "ANY_TYPE",
360 }
361 Routine_Argument_ArgumentKind_value = map[string]int32{
362 "ARGUMENT_KIND_UNSPECIFIED": 0,
363 "FIXED_TYPE": 1,
364 "ANY_TYPE": 2,
365 }
366 )
367
368 func (x Routine_Argument_ArgumentKind) Enum() *Routine_Argument_ArgumentKind {
369 p := new(Routine_Argument_ArgumentKind)
370 *p = x
371 return p
372 }
373
374 func (x Routine_Argument_ArgumentKind) String() string {
375 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
376 }
377
378 func (Routine_Argument_ArgumentKind) Descriptor() protoreflect.EnumDescriptor {
379 return file_google_cloud_bigquery_v2_routine_proto_enumTypes[5].Descriptor()
380 }
381
382 func (Routine_Argument_ArgumentKind) Type() protoreflect.EnumType {
383 return &file_google_cloud_bigquery_v2_routine_proto_enumTypes[5]
384 }
385
386 func (x Routine_Argument_ArgumentKind) Number() protoreflect.EnumNumber {
387 return protoreflect.EnumNumber(x)
388 }
389
390 // Deprecated: Use Routine_Argument_ArgumentKind.Descriptor instead.
391 func (Routine_Argument_ArgumentKind) EnumDescriptor() ([]byte, []int) {
392 return file_google_cloud_bigquery_v2_routine_proto_rawDescGZIP(), []int{0, 0, 0}
393 }
394
395 // The input/output mode of the argument.
396 type Routine_Argument_Mode int32
397
398 const (
399 // Default value.
400 Routine_Argument_MODE_UNSPECIFIED Routine_Argument_Mode = 0
401 // The argument is input-only.
402 Routine_Argument_IN Routine_Argument_Mode = 1
403 // The argument is output-only.
404 Routine_Argument_OUT Routine_Argument_Mode = 2
405 // The argument is both an input and an output.
406 Routine_Argument_INOUT Routine_Argument_Mode = 3
407 )
408
409 // Enum value maps for Routine_Argument_Mode.
410 var (
411 Routine_Argument_Mode_name = map[int32]string{
412 0: "MODE_UNSPECIFIED",
413 1: "IN",
414 2: "OUT",
415 3: "INOUT",
416 }
417 Routine_Argument_Mode_value = map[string]int32{
418 "MODE_UNSPECIFIED": 0,
419 "IN": 1,
420 "OUT": 2,
421 "INOUT": 3,
422 }
423 )
424
425 func (x Routine_Argument_Mode) Enum() *Routine_Argument_Mode {
426 p := new(Routine_Argument_Mode)
427 *p = x
428 return p
429 }
430
431 func (x Routine_Argument_Mode) String() string {
432 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
433 }
434
435 func (Routine_Argument_Mode) Descriptor() protoreflect.EnumDescriptor {
436 return file_google_cloud_bigquery_v2_routine_proto_enumTypes[6].Descriptor()
437 }
438
439 func (Routine_Argument_Mode) Type() protoreflect.EnumType {
440 return &file_google_cloud_bigquery_v2_routine_proto_enumTypes[6]
441 }
442
443 func (x Routine_Argument_Mode) Number() protoreflect.EnumNumber {
444 return protoreflect.EnumNumber(x)
445 }
446
447 // Deprecated: Use Routine_Argument_Mode.Descriptor instead.
448 func (Routine_Argument_Mode) EnumDescriptor() ([]byte, []int) {
449 return file_google_cloud_bigquery_v2_routine_proto_rawDescGZIP(), []int{0, 0, 1}
450 }
451
452 // A user-defined function or a stored procedure.
453 type Routine struct {
454 state protoimpl.MessageState
455 sizeCache protoimpl.SizeCache
456 unknownFields protoimpl.UnknownFields
457
458 // Output only. A hash of this resource.
459 Etag string `protobuf:"bytes,1,opt,name=etag,proto3" json:"etag,omitempty"`
460 // Required. Reference describing the ID of this routine.
461 RoutineReference *RoutineReference `protobuf:"bytes,2,opt,name=routine_reference,json=routineReference,proto3" json:"routine_reference,omitempty"`
462 // Required. The type of routine.
463 RoutineType Routine_RoutineType `protobuf:"varint,3,opt,name=routine_type,json=routineType,proto3,enum=google.cloud.bigquery.v2.Routine_RoutineType" json:"routine_type,omitempty"`
464 // Output only. The time when this routine was created, in milliseconds since
465 // the epoch.
466 CreationTime int64 `protobuf:"varint,4,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"`
467 // Output only. The time when this routine was last modified, in milliseconds
468 // since the epoch.
469 LastModifiedTime int64 `protobuf:"varint,5,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"`
470 // Optional. Defaults to "SQL" if remote_function_options field is absent, not
471 // set otherwise.
472 Language Routine_Language `protobuf:"varint,6,opt,name=language,proto3,enum=google.cloud.bigquery.v2.Routine_Language" json:"language,omitempty"`
473 // Optional.
474 Arguments []*Routine_Argument `protobuf:"bytes,7,rep,name=arguments,proto3" json:"arguments,omitempty"`
475 // Optional if language = "SQL"; required otherwise.
476 // Cannot be set if routine_type = "TABLE_VALUED_FUNCTION".
477 //
478 // If absent, the return type is inferred from definition_body at query time
479 // in each query that references this routine. If present, then the evaluated
480 // result will be cast to the specified returned type at query time.
481 //
482 // For example, for the functions created with the following statements:
483 //
484 // * `CREATE FUNCTION Add(x FLOAT64, y FLOAT64) RETURNS FLOAT64 AS (x + y);`
485 //
486 // * `CREATE FUNCTION Increment(x FLOAT64) AS (Add(x, 1));`
487 //
488 // * `CREATE FUNCTION Decrement(x FLOAT64) RETURNS FLOAT64 AS (Add(x, -1));`
489 //
490 // The return_type is `{type_kind: "FLOAT64"}` for `Add` and `Decrement`, and
491 // is absent for `Increment` (inferred as FLOAT64 at query time).
492 //
493 // Suppose the function `Add` is replaced by
494 //
495 // `CREATE OR REPLACE FUNCTION Add(x INT64, y INT64) AS (x + y);`
496 //
497 // Then the inferred return type of `Increment` is automatically changed to
498 // INT64 at query time, while the return type of `Decrement` remains FLOAT64.
499 ReturnType *StandardSqlDataType `protobuf:"bytes,10,opt,name=return_type,json=returnType,proto3" json:"return_type,omitempty"`
500 // Optional. Can be set only if routine_type = "TABLE_VALUED_FUNCTION".
501 //
502 // If absent, the return table type is inferred from definition_body at query
503 // time in each query that references this routine. If present, then the
504 // columns in the evaluated table result will be cast to match the column
505 // types specified in return table type, at query time.
506 ReturnTableType *StandardSqlTableType `protobuf:"bytes,13,opt,name=return_table_type,json=returnTableType,proto3" json:"return_table_type,omitempty"`
507 // Optional. If language = "JAVASCRIPT", this field stores the path of the
508 // imported JAVASCRIPT libraries.
509 ImportedLibraries []string `protobuf:"bytes,8,rep,name=imported_libraries,json=importedLibraries,proto3" json:"imported_libraries,omitempty"`
510 // Required. The body of the routine.
511 //
512 // For functions, this is the expression in the AS clause.
513 //
514 // If `language = "SQL"`, it is the substring inside (but excluding) the
515 // parentheses. For example, for the function created with the following
516 // statement:
517 //
518 // `CREATE FUNCTION JoinLines(x string, y string) as (concat(x, "\n", y))`
519 //
520 // The definition_body is `concat(x, "\n", y)` (\n is not replaced with
521 // linebreak).
522 //
523 // If `language="JAVASCRIPT"`, it is the evaluated string in the AS clause.
524 // For example, for the function created with the following statement:
525 //
526 // `CREATE FUNCTION f() RETURNS STRING LANGUAGE js AS 'return "\n";\n'`
527 //
528 // The definition_body is
529 //
530 // `return "\n";\n`
531 //
532 // Note that both \n are replaced with linebreaks.
533 //
534 // If `definition_body` references another routine, then that routine must
535 // be fully qualified with its project ID.
536 DefinitionBody string `protobuf:"bytes,9,opt,name=definition_body,json=definitionBody,proto3" json:"definition_body,omitempty"`
537 // Optional. The description of the routine, if defined.
538 Description string `protobuf:"bytes,11,opt,name=description,proto3" json:"description,omitempty"`
539 // Optional. The determinism level of the JavaScript UDF, if defined.
540 DeterminismLevel Routine_DeterminismLevel `protobuf:"varint,12,opt,name=determinism_level,json=determinismLevel,proto3,enum=google.cloud.bigquery.v2.Routine_DeterminismLevel" json:"determinism_level,omitempty"`
541 // Optional. The security mode of the routine, if defined. If not defined, the
542 // security mode is automatically determined from the routine's configuration.
543 SecurityMode Routine_SecurityMode `protobuf:"varint,18,opt,name=security_mode,json=securityMode,proto3,enum=google.cloud.bigquery.v2.Routine_SecurityMode" json:"security_mode,omitempty"`
544 // Optional. Use this option to catch many common errors. Error checking is
545 // not exhaustive, and successfully creating a procedure doesn't guarantee
546 // that the procedure will successfully execute at runtime. If `strictMode` is
547 // set to `TRUE`, the procedure body is further checked for errors such as
548 // non-existent tables or columns. The `CREATE PROCEDURE` statement fails if
549 // the body fails any of these checks.
550 //
551 // If `strictMode` is set to `FALSE`, the procedure body is checked only for
552 // syntax. For procedures that invoke themselves recursively, specify
553 // `strictMode=FALSE` to avoid non-existent procedure errors during
554 // validation.
555 //
556 // Default value is `TRUE`.
557 StrictMode *wrapperspb.BoolValue `protobuf:"bytes,14,opt,name=strict_mode,json=strictMode,proto3" json:"strict_mode,omitempty"`
558 // Optional. Remote function specific options.
559 RemoteFunctionOptions *Routine_RemoteFunctionOptions `protobuf:"bytes,15,opt,name=remote_function_options,json=remoteFunctionOptions,proto3" json:"remote_function_options,omitempty"`
560 // Optional. Spark specific options.
561 SparkOptions *SparkOptions `protobuf:"bytes,16,opt,name=spark_options,json=sparkOptions,proto3" json:"spark_options,omitempty"`
562 // Optional. If set to `DATA_MASKING`, the function is validated and made
563 // available as a masking function. For more information, see [Create custom
564 // masking
565 // routines](https://cloud.google.com/bigquery/docs/user-defined-functions#custom-mask).
566 DataGovernanceType Routine_DataGovernanceType `protobuf:"varint,17,opt,name=data_governance_type,json=dataGovernanceType,proto3,enum=google.cloud.bigquery.v2.Routine_DataGovernanceType" json:"data_governance_type,omitempty"`
567 // Optional. Options for the Python UDF.
568 // [Preview](https://cloud.google.com/products/#product-launch-stages)
569 PythonOptions *PythonOptions `protobuf:"bytes,20,opt,name=python_options,json=pythonOptions,proto3" json:"python_options,omitempty"`
570 // Optional. Options for the runtime of the external system executing the
571 // routine. This field is only applicable for Python UDFs.
572 // [Preview](https://cloud.google.com/products/#product-launch-stages)
573 ExternalRuntimeOptions *ExternalRuntimeOptions `protobuf:"bytes,21,opt,name=external_runtime_options,json=externalRuntimeOptions,proto3" json:"external_runtime_options,omitempty"`
574 }
575
576 func (x *Routine) Reset() {
577 *x = Routine{}
578 mi := &file_google_cloud_bigquery_v2_routine_proto_msgTypes[0]
579 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
580 ms.StoreMessageInfo(mi)
581 }
582
583 func (x *Routine) String() string {
584 return protoimpl.X.MessageStringOf(x)
585 }
586
587 func (*Routine) ProtoMessage() {}
588
589 func (x *Routine) ProtoReflect() protoreflect.Message {
590 mi := &file_google_cloud_bigquery_v2_routine_proto_msgTypes[0]
591 if x != nil {
592 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
593 if ms.LoadMessageInfo() == nil {
594 ms.StoreMessageInfo(mi)
595 }
596 return ms
597 }
598 return mi.MessageOf(x)
599 }
600
601 // Deprecated: Use Routine.ProtoReflect.Descriptor instead.
602 func (*Routine) Descriptor() ([]byte, []int) {
603 return file_google_cloud_bigquery_v2_routine_proto_rawDescGZIP(), []int{0}
604 }
605
606 func (x *Routine) GetEtag() string {
607 if x != nil {
608 return x.Etag
609 }
610 return ""
611 }
612
613 func (x *Routine) GetRoutineReference() *RoutineReference {
614 if x != nil {
615 return x.RoutineReference
616 }
617 return nil
618 }
619
620 func (x *Routine) GetRoutineType() Routine_RoutineType {
621 if x != nil {
622 return x.RoutineType
623 }
624 return Routine_ROUTINE_TYPE_UNSPECIFIED
625 }
626
627 func (x *Routine) GetCreationTime() int64 {
628 if x != nil {
629 return x.CreationTime
630 }
631 return 0
632 }
633
634 func (x *Routine) GetLastModifiedTime() int64 {
635 if x != nil {
636 return x.LastModifiedTime
637 }
638 return 0
639 }
640
641 func (x *Routine) GetLanguage() Routine_Language {
642 if x != nil {
643 return x.Language
644 }
645 return Routine_LANGUAGE_UNSPECIFIED
646 }
647
648 func (x *Routine) GetArguments() []*Routine_Argument {
649 if x != nil {
650 return x.Arguments
651 }
652 return nil
653 }
654
655 func (x *Routine) GetReturnType() *StandardSqlDataType {
656 if x != nil {
657 return x.ReturnType
658 }
659 return nil
660 }
661
662 func (x *Routine) GetReturnTableType() *StandardSqlTableType {
663 if x != nil {
664 return x.ReturnTableType
665 }
666 return nil
667 }
668
669 func (x *Routine) GetImportedLibraries() []string {
670 if x != nil {
671 return x.ImportedLibraries
672 }
673 return nil
674 }
675
676 func (x *Routine) GetDefinitionBody() string {
677 if x != nil {
678 return x.DefinitionBody
679 }
680 return ""
681 }
682
683 func (x *Routine) GetDescription() string {
684 if x != nil {
685 return x.Description
686 }
687 return ""
688 }
689
690 func (x *Routine) GetDeterminismLevel() Routine_DeterminismLevel {
691 if x != nil {
692 return x.DeterminismLevel
693 }
694 return Routine_DETERMINISM_LEVEL_UNSPECIFIED
695 }
696
697 func (x *Routine) GetSecurityMode() Routine_SecurityMode {
698 if x != nil {
699 return x.SecurityMode
700 }
701 return Routine_SECURITY_MODE_UNSPECIFIED
702 }
703
704 func (x *Routine) GetStrictMode() *wrapperspb.BoolValue {
705 if x != nil {
706 return x.StrictMode
707 }
708 return nil
709 }
710
711 func (x *Routine) GetRemoteFunctionOptions() *Routine_RemoteFunctionOptions {
712 if x != nil {
713 return x.RemoteFunctionOptions
714 }
715 return nil
716 }
717
718 func (x *Routine) GetSparkOptions() *SparkOptions {
719 if x != nil {
720 return x.SparkOptions
721 }
722 return nil
723 }
724
725 func (x *Routine) GetDataGovernanceType() Routine_DataGovernanceType {
726 if x != nil {
727 return x.DataGovernanceType
728 }
729 return Routine_DATA_GOVERNANCE_TYPE_UNSPECIFIED
730 }
731
732 func (x *Routine) GetPythonOptions() *PythonOptions {
733 if x != nil {
734 return x.PythonOptions
735 }
736 return nil
737 }
738
739 func (x *Routine) GetExternalRuntimeOptions() *ExternalRuntimeOptions {
740 if x != nil {
741 return x.ExternalRuntimeOptions
742 }
743 return nil
744 }
745
746 // Options for a user-defined Python function.
747 type PythonOptions struct {
748 state protoimpl.MessageState
749 sizeCache protoimpl.SizeCache
750 unknownFields protoimpl.UnknownFields
751
752 // Required. The name of the function defined in Python code as the entry
753 // point when the Python UDF is invoked.
754 EntryPoint string `protobuf:"bytes,1,opt,name=entry_point,json=entryPoint,proto3" json:"entry_point,omitempty"`
755 // Optional. A list of Python package names along with versions to be
756 // installed. Example: ["pandas>=2.1", "google-cloud-translate==3.11"]. For
757 // more information, see [Use third-party
758 // packages](https://cloud.google.com/bigquery/docs/user-defined-functions-python#third-party-packages).
759 Packages []string `protobuf:"bytes,2,rep,name=packages,proto3" json:"packages,omitempty"`
760 }
761
762 func (x *PythonOptions) Reset() {
763 *x = PythonOptions{}
764 mi := &file_google_cloud_bigquery_v2_routine_proto_msgTypes[1]
765 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
766 ms.StoreMessageInfo(mi)
767 }
768
769 func (x *PythonOptions) String() string {
770 return protoimpl.X.MessageStringOf(x)
771 }
772
773 func (*PythonOptions) ProtoMessage() {}
774
775 func (x *PythonOptions) ProtoReflect() protoreflect.Message {
776 mi := &file_google_cloud_bigquery_v2_routine_proto_msgTypes[1]
777 if x != nil {
778 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
779 if ms.LoadMessageInfo() == nil {
780 ms.StoreMessageInfo(mi)
781 }
782 return ms
783 }
784 return mi.MessageOf(x)
785 }
786
787 // Deprecated: Use PythonOptions.ProtoReflect.Descriptor instead.
788 func (*PythonOptions) Descriptor() ([]byte, []int) {
789 return file_google_cloud_bigquery_v2_routine_proto_rawDescGZIP(), []int{1}
790 }
791
792 func (x *PythonOptions) GetEntryPoint() string {
793 if x != nil {
794 return x.EntryPoint
795 }
796 return ""
797 }
798
799 func (x *PythonOptions) GetPackages() []string {
800 if x != nil {
801 return x.Packages
802 }
803 return nil
804 }
805
806 // Options for the runtime of the external system.
807 type ExternalRuntimeOptions struct {
808 state protoimpl.MessageState
809 sizeCache protoimpl.SizeCache
810 unknownFields protoimpl.UnknownFields
811
812 // Optional. Amount of memory provisioned for a Python UDF container instance.
813 // Format: {number}{unit} where unit is one of "M", "G", "Mi" and "Gi" (e.g.
814 // 1G, 512Mi). If not specified, the default value is 512Mi. For more
815 // information, see [Configure container limits for Python
816 // UDFs](https://cloud.google.com/bigquery/docs/user-defined-functions-python#configure-container-limits)
817 ContainerMemory string `protobuf:"bytes,1,opt,name=container_memory,json=containerMemory,proto3" json:"container_memory,omitempty"`
818 // Optional. Amount of CPU provisioned for a Python UDF container instance.
819 // For more information, see [Configure container limits for Python
820 // UDFs](https://cloud.google.com/bigquery/docs/user-defined-functions-python#configure-container-limits)
821 ContainerCpu float64 `protobuf:"fixed64,2,opt,name=container_cpu,json=containerCpu,proto3" json:"container_cpu,omitempty"`
822 // Optional. Fully qualified name of the connection whose service account will
823 // be used to execute the code in the container. Format:
824 // ```"projects/{project_id}/locations/{location_id}/connections/{connection_id}"```
825 RuntimeConnection string `protobuf:"bytes,3,opt,name=runtime_connection,json=runtimeConnection,proto3" json:"runtime_connection,omitempty"`
826 // Optional. Maximum number of rows in each batch sent to the external
827 // runtime. If absent or if 0, BigQuery dynamically decides the number of rows
828 // in a batch.
829 MaxBatchingRows int64 `protobuf:"varint,4,opt,name=max_batching_rows,json=maxBatchingRows,proto3" json:"max_batching_rows,omitempty"`
830 // Optional. Language runtime version. Example: `python-3.11`.
831 RuntimeVersion string `protobuf:"bytes,5,opt,name=runtime_version,json=runtimeVersion,proto3" json:"runtime_version,omitempty"`
832 }
833
834 func (x *ExternalRuntimeOptions) Reset() {
835 *x = ExternalRuntimeOptions{}
836 mi := &file_google_cloud_bigquery_v2_routine_proto_msgTypes[2]
837 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
838 ms.StoreMessageInfo(mi)
839 }
840
841 func (x *ExternalRuntimeOptions) String() string {
842 return protoimpl.X.MessageStringOf(x)
843 }
844
845 func (*ExternalRuntimeOptions) ProtoMessage() {}
846
847 func (x *ExternalRuntimeOptions) ProtoReflect() protoreflect.Message {
848 mi := &file_google_cloud_bigquery_v2_routine_proto_msgTypes[2]
849 if x != nil {
850 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
851 if ms.LoadMessageInfo() == nil {
852 ms.StoreMessageInfo(mi)
853 }
854 return ms
855 }
856 return mi.MessageOf(x)
857 }
858
859 // Deprecated: Use ExternalRuntimeOptions.ProtoReflect.Descriptor instead.
860 func (*ExternalRuntimeOptions) Descriptor() ([]byte, []int) {
861 return file_google_cloud_bigquery_v2_routine_proto_rawDescGZIP(), []int{2}
862 }
863
864 func (x *ExternalRuntimeOptions) GetContainerMemory() string {
865 if x != nil {
866 return x.ContainerMemory
867 }
868 return ""
869 }
870
871 func (x *ExternalRuntimeOptions) GetContainerCpu() float64 {
872 if x != nil {
873 return x.ContainerCpu
874 }
875 return 0
876 }
877
878 func (x *ExternalRuntimeOptions) GetRuntimeConnection() string {
879 if x != nil {
880 return x.RuntimeConnection
881 }
882 return ""
883 }
884
885 func (x *ExternalRuntimeOptions) GetMaxBatchingRows() int64 {
886 if x != nil {
887 return x.MaxBatchingRows
888 }
889 return 0
890 }
891
892 func (x *ExternalRuntimeOptions) GetRuntimeVersion() string {
893 if x != nil {
894 return x.RuntimeVersion
895 }
896 return ""
897 }
898
899 // Options for a user-defined Spark routine.
900 type SparkOptions struct {
901 state protoimpl.MessageState
902 sizeCache protoimpl.SizeCache
903 unknownFields protoimpl.UnknownFields
904
905 // Fully qualified name of the user-provided Spark connection object. Format:
906 // ```"projects/{project_id}/locations/{location_id}/connections/{connection_id}"```
907 Connection string `protobuf:"bytes,1,opt,name=connection,proto3" json:"connection,omitempty"`
908 // Runtime version. If not specified, the default runtime version is used.
909 RuntimeVersion string `protobuf:"bytes,2,opt,name=runtime_version,json=runtimeVersion,proto3" json:"runtime_version,omitempty"`
910 // Custom container image for the runtime environment.
911 ContainerImage string `protobuf:"bytes,3,opt,name=container_image,json=containerImage,proto3" json:"container_image,omitempty"`
912 // Configuration properties as a set of key/value pairs, which will be passed
913 // on to the Spark application. For more information, see
914 // [Apache Spark](https://spark.apache.org/docs/latest/index.html) and the
915 // [procedure option
916 // list](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#procedure_option_list).
917 Properties map[string]string `protobuf:"bytes,4,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
918 // The main file/jar URI of the Spark application. Exactly one of the
919 // definition_body field and the main_file_uri field must be set for Python.
920 // Exactly one of main_class and main_file_uri field
921 // should be set for Java/Scala language type.
922 MainFileUri string `protobuf:"bytes,5,opt,name=main_file_uri,json=mainFileUri,proto3" json:"main_file_uri,omitempty"`
923 // Python files to be placed on the PYTHONPATH for PySpark application.
924 // Supported file types: `.py`, `.egg`, and `.zip`. For more information
925 // about Apache Spark, see
926 // [Apache Spark](https://spark.apache.org/docs/latest/index.html).
927 PyFileUris []string `protobuf:"bytes,6,rep,name=py_file_uris,json=pyFileUris,proto3" json:"py_file_uris,omitempty"`
928 // JARs to include on the driver and executor CLASSPATH.
929 // For more information about Apache Spark, see
930 // [Apache Spark](https://spark.apache.org/docs/latest/index.html).
931 JarUris []string `protobuf:"bytes,7,rep,name=jar_uris,json=jarUris,proto3" json:"jar_uris,omitempty"`
932 // Files to be placed in the working directory of each executor.
933 // For more information about Apache Spark, see
934 // [Apache Spark](https://spark.apache.org/docs/latest/index.html).
935 FileUris []string `protobuf:"bytes,8,rep,name=file_uris,json=fileUris,proto3" json:"file_uris,omitempty"`
936 // Archive files to be extracted into the working directory of each executor.
937 // For more information about Apache Spark, see
938 // [Apache Spark](https://spark.apache.org/docs/latest/index.html).
939 ArchiveUris []string `protobuf:"bytes,9,rep,name=archive_uris,json=archiveUris,proto3" json:"archive_uris,omitempty"`
940 // The fully qualified name of a class in jar_uris, for example,
941 // com.example.wordcount. Exactly one of main_class and main_jar_uri field
942 //
943 // should be set for Java/Scala language type.
944 MainClass string `protobuf:"bytes,10,opt,name=main_class,json=mainClass,proto3" json:"main_class,omitempty"`
945 }
946
947 func (x *SparkOptions) Reset() {
948 *x = SparkOptions{}
949 mi := &file_google_cloud_bigquery_v2_routine_proto_msgTypes[3]
950 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
951 ms.StoreMessageInfo(mi)
952 }
953
954 func (x *SparkOptions) String() string {
955 return protoimpl.X.MessageStringOf(x)
956 }
957
958 func (*SparkOptions) ProtoMessage() {}
959
960 func (x *SparkOptions) ProtoReflect() protoreflect.Message {
961 mi := &file_google_cloud_bigquery_v2_routine_proto_msgTypes[3]
962 if x != nil {
963 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
964 if ms.LoadMessageInfo() == nil {
965 ms.StoreMessageInfo(mi)
966 }
967 return ms
968 }
969 return mi.MessageOf(x)
970 }
971
972 // Deprecated: Use SparkOptions.ProtoReflect.Descriptor instead.
973 func (*SparkOptions) Descriptor() ([]byte, []int) {
974 return file_google_cloud_bigquery_v2_routine_proto_rawDescGZIP(), []int{3}
975 }
976
977 func (x *SparkOptions) GetConnection() string {
978 if x != nil {
979 return x.Connection
980 }
981 return ""
982 }
983
984 func (x *SparkOptions) GetRuntimeVersion() string {
985 if x != nil {
986 return x.RuntimeVersion
987 }
988 return ""
989 }
990
991 func (x *SparkOptions) GetContainerImage() string {
992 if x != nil {
993 return x.ContainerImage
994 }
995 return ""
996 }
997
998 func (x *SparkOptions) GetProperties() map[string]string {
999 if x != nil {
1000 return x.Properties
1001 }
1002 return nil
1003 }
1004
1005 func (x *SparkOptions) GetMainFileUri() string {
1006 if x != nil {
1007 return x.MainFileUri
1008 }
1009 return ""
1010 }
1011
1012 func (x *SparkOptions) GetPyFileUris() []string {
1013 if x != nil {
1014 return x.PyFileUris
1015 }
1016 return nil
1017 }
1018
1019 func (x *SparkOptions) GetJarUris() []string {
1020 if x != nil {
1021 return x.JarUris
1022 }
1023 return nil
1024 }
1025
1026 func (x *SparkOptions) GetFileUris() []string {
1027 if x != nil {
1028 return x.FileUris
1029 }
1030 return nil
1031 }
1032
1033 func (x *SparkOptions) GetArchiveUris() []string {
1034 if x != nil {
1035 return x.ArchiveUris
1036 }
1037 return nil
1038 }
1039
1040 func (x *SparkOptions) GetMainClass() string {
1041 if x != nil {
1042 return x.MainClass
1043 }
1044 return ""
1045 }
1046
1047 // Describes the format for getting information about a routine.
1048 type GetRoutineRequest struct {
1049 state protoimpl.MessageState
1050 sizeCache protoimpl.SizeCache
1051 unknownFields protoimpl.UnknownFields
1052
1053 // Required. Project ID of the requested routine
1054 ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
1055 // Required. Dataset ID of the requested routine
1056 DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
1057 // Required. Routine ID of the requested routine
1058 RoutineId string `protobuf:"bytes,3,opt,name=routine_id,json=routineId,proto3" json:"routine_id,omitempty"`
1059 }
1060
1061 func (x *GetRoutineRequest) Reset() {
1062 *x = GetRoutineRequest{}
1063 mi := &file_google_cloud_bigquery_v2_routine_proto_msgTypes[4]
1064 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1065 ms.StoreMessageInfo(mi)
1066 }
1067
1068 func (x *GetRoutineRequest) String() string {
1069 return protoimpl.X.MessageStringOf(x)
1070 }
1071
1072 func (*GetRoutineRequest) ProtoMessage() {}
1073
1074 func (x *GetRoutineRequest) ProtoReflect() protoreflect.Message {
1075 mi := &file_google_cloud_bigquery_v2_routine_proto_msgTypes[4]
1076 if x != nil {
1077 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1078 if ms.LoadMessageInfo() == nil {
1079 ms.StoreMessageInfo(mi)
1080 }
1081 return ms
1082 }
1083 return mi.MessageOf(x)
1084 }
1085
1086 // Deprecated: Use GetRoutineRequest.ProtoReflect.Descriptor instead.
1087 func (*GetRoutineRequest) Descriptor() ([]byte, []int) {
1088 return file_google_cloud_bigquery_v2_routine_proto_rawDescGZIP(), []int{4}
1089 }
1090
1091 func (x *GetRoutineRequest) GetProjectId() string {
1092 if x != nil {
1093 return x.ProjectId
1094 }
1095 return ""
1096 }
1097
1098 func (x *GetRoutineRequest) GetDatasetId() string {
1099 if x != nil {
1100 return x.DatasetId
1101 }
1102 return ""
1103 }
1104
1105 func (x *GetRoutineRequest) GetRoutineId() string {
1106 if x != nil {
1107 return x.RoutineId
1108 }
1109 return ""
1110 }
1111
1112 // Describes the format for inserting a routine.
1113 type InsertRoutineRequest struct {
1114 state protoimpl.MessageState
1115 sizeCache protoimpl.SizeCache
1116 unknownFields protoimpl.UnknownFields
1117
1118 // Required. Project ID of the new routine
1119 ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
1120 // Required. Dataset ID of the new routine
1121 DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
1122 // Required. A routine resource to insert
1123 Routine *Routine `protobuf:"bytes,3,opt,name=routine,proto3" json:"routine,omitempty"`
1124 }
1125
1126 func (x *InsertRoutineRequest) Reset() {
1127 *x = InsertRoutineRequest{}
1128 mi := &file_google_cloud_bigquery_v2_routine_proto_msgTypes[5]
1129 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1130 ms.StoreMessageInfo(mi)
1131 }
1132
1133 func (x *InsertRoutineRequest) String() string {
1134 return protoimpl.X.MessageStringOf(x)
1135 }
1136
1137 func (*InsertRoutineRequest) ProtoMessage() {}
1138
1139 func (x *InsertRoutineRequest) ProtoReflect() protoreflect.Message {
1140 mi := &file_google_cloud_bigquery_v2_routine_proto_msgTypes[5]
1141 if x != nil {
1142 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1143 if ms.LoadMessageInfo() == nil {
1144 ms.StoreMessageInfo(mi)
1145 }
1146 return ms
1147 }
1148 return mi.MessageOf(x)
1149 }
1150
1151 // Deprecated: Use InsertRoutineRequest.ProtoReflect.Descriptor instead.
1152 func (*InsertRoutineRequest) Descriptor() ([]byte, []int) {
1153 return file_google_cloud_bigquery_v2_routine_proto_rawDescGZIP(), []int{5}
1154 }
1155
1156 func (x *InsertRoutineRequest) GetProjectId() string {
1157 if x != nil {
1158 return x.ProjectId
1159 }
1160 return ""
1161 }
1162
1163 func (x *InsertRoutineRequest) GetDatasetId() string {
1164 if x != nil {
1165 return x.DatasetId
1166 }
1167 return ""
1168 }
1169
1170 func (x *InsertRoutineRequest) GetRoutine() *Routine {
1171 if x != nil {
1172 return x.Routine
1173 }
1174 return nil
1175 }
1176
1177 // Describes the format for updating a routine.
1178 type UpdateRoutineRequest struct {
1179 state protoimpl.MessageState
1180 sizeCache protoimpl.SizeCache
1181 unknownFields protoimpl.UnknownFields
1182
1183 // Required. Project ID of the routine to update
1184 ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
1185 // Required. Dataset ID of the routine to update
1186 DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
1187 // Required. Routine ID of the routine to update
1188 RoutineId string `protobuf:"bytes,3,opt,name=routine_id,json=routineId,proto3" json:"routine_id,omitempty"`
1189 // Required. A routine resource which will replace the specified routine
1190 Routine *Routine `protobuf:"bytes,4,opt,name=routine,proto3" json:"routine,omitempty"`
1191 }
1192
1193 func (x *UpdateRoutineRequest) Reset() {
1194 *x = UpdateRoutineRequest{}
1195 mi := &file_google_cloud_bigquery_v2_routine_proto_msgTypes[6]
1196 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1197 ms.StoreMessageInfo(mi)
1198 }
1199
1200 func (x *UpdateRoutineRequest) String() string {
1201 return protoimpl.X.MessageStringOf(x)
1202 }
1203
1204 func (*UpdateRoutineRequest) ProtoMessage() {}
1205
1206 func (x *UpdateRoutineRequest) ProtoReflect() protoreflect.Message {
1207 mi := &file_google_cloud_bigquery_v2_routine_proto_msgTypes[6]
1208 if x != nil {
1209 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1210 if ms.LoadMessageInfo() == nil {
1211 ms.StoreMessageInfo(mi)
1212 }
1213 return ms
1214 }
1215 return mi.MessageOf(x)
1216 }
1217
1218 // Deprecated: Use UpdateRoutineRequest.ProtoReflect.Descriptor instead.
1219 func (*UpdateRoutineRequest) Descriptor() ([]byte, []int) {
1220 return file_google_cloud_bigquery_v2_routine_proto_rawDescGZIP(), []int{6}
1221 }
1222
1223 func (x *UpdateRoutineRequest) GetProjectId() string {
1224 if x != nil {
1225 return x.ProjectId
1226 }
1227 return ""
1228 }
1229
1230 func (x *UpdateRoutineRequest) GetDatasetId() string {
1231 if x != nil {
1232 return x.DatasetId
1233 }
1234 return ""
1235 }
1236
1237 func (x *UpdateRoutineRequest) GetRoutineId() string {
1238 if x != nil {
1239 return x.RoutineId
1240 }
1241 return ""
1242 }
1243
1244 func (x *UpdateRoutineRequest) GetRoutine() *Routine {
1245 if x != nil {
1246 return x.Routine
1247 }
1248 return nil
1249 }
1250
1251 // Describes the format for the partial update (patch) of a routine.
1252 type PatchRoutineRequest struct {
1253 state protoimpl.MessageState
1254 sizeCache protoimpl.SizeCache
1255 unknownFields protoimpl.UnknownFields
1256
1257 // Required. Project ID of the routine to update
1258 ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
1259 // Required. Dataset ID of the routine to update
1260 DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
1261 // Required. Routine ID of the routine to update
1262 RoutineId string `protobuf:"bytes,3,opt,name=routine_id,json=routineId,proto3" json:"routine_id,omitempty"`
1263 // Required. A routine resource which will be used to partially
1264 // update the specified routine
1265 Routine *Routine `protobuf:"bytes,4,opt,name=routine,proto3" json:"routine,omitempty"`
1266 // Only the Routine fields in the field mask are updated
1267 // by the given routine. Repeated routine fields will be fully replaced
1268 // if contained in the field mask.
1269 FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,5,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"`
1270 }
1271
1272 func (x *PatchRoutineRequest) Reset() {
1273 *x = PatchRoutineRequest{}
1274 mi := &file_google_cloud_bigquery_v2_routine_proto_msgTypes[7]
1275 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1276 ms.StoreMessageInfo(mi)
1277 }
1278
1279 func (x *PatchRoutineRequest) String() string {
1280 return protoimpl.X.MessageStringOf(x)
1281 }
1282
1283 func (*PatchRoutineRequest) ProtoMessage() {}
1284
1285 func (x *PatchRoutineRequest) ProtoReflect() protoreflect.Message {
1286 mi := &file_google_cloud_bigquery_v2_routine_proto_msgTypes[7]
1287 if x != nil {
1288 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1289 if ms.LoadMessageInfo() == nil {
1290 ms.StoreMessageInfo(mi)
1291 }
1292 return ms
1293 }
1294 return mi.MessageOf(x)
1295 }
1296
1297 // Deprecated: Use PatchRoutineRequest.ProtoReflect.Descriptor instead.
1298 func (*PatchRoutineRequest) Descriptor() ([]byte, []int) {
1299 return file_google_cloud_bigquery_v2_routine_proto_rawDescGZIP(), []int{7}
1300 }
1301
1302 func (x *PatchRoutineRequest) GetProjectId() string {
1303 if x != nil {
1304 return x.ProjectId
1305 }
1306 return ""
1307 }
1308
1309 func (x *PatchRoutineRequest) GetDatasetId() string {
1310 if x != nil {
1311 return x.DatasetId
1312 }
1313 return ""
1314 }
1315
1316 func (x *PatchRoutineRequest) GetRoutineId() string {
1317 if x != nil {
1318 return x.RoutineId
1319 }
1320 return ""
1321 }
1322
1323 func (x *PatchRoutineRequest) GetRoutine() *Routine {
1324 if x != nil {
1325 return x.Routine
1326 }
1327 return nil
1328 }
1329
1330 func (x *PatchRoutineRequest) GetFieldMask() *fieldmaskpb.FieldMask {
1331 if x != nil {
1332 return x.FieldMask
1333 }
1334 return nil
1335 }
1336
1337 // Describes the format for deleting a routine.
1338 type DeleteRoutineRequest struct {
1339 state protoimpl.MessageState
1340 sizeCache protoimpl.SizeCache
1341 unknownFields protoimpl.UnknownFields
1342
1343 // Required. Project ID of the routine to delete
1344 ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
1345 // Required. Dataset ID of the routine to delete
1346 DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
1347 // Required. Routine ID of the routine to delete
1348 RoutineId string `protobuf:"bytes,3,opt,name=routine_id,json=routineId,proto3" json:"routine_id,omitempty"`
1349 }
1350
1351 func (x *DeleteRoutineRequest) Reset() {
1352 *x = DeleteRoutineRequest{}
1353 mi := &file_google_cloud_bigquery_v2_routine_proto_msgTypes[8]
1354 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1355 ms.StoreMessageInfo(mi)
1356 }
1357
1358 func (x *DeleteRoutineRequest) String() string {
1359 return protoimpl.X.MessageStringOf(x)
1360 }
1361
1362 func (*DeleteRoutineRequest) ProtoMessage() {}
1363
1364 func (x *DeleteRoutineRequest) ProtoReflect() protoreflect.Message {
1365 mi := &file_google_cloud_bigquery_v2_routine_proto_msgTypes[8]
1366 if x != nil {
1367 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1368 if ms.LoadMessageInfo() == nil {
1369 ms.StoreMessageInfo(mi)
1370 }
1371 return ms
1372 }
1373 return mi.MessageOf(x)
1374 }
1375
1376 // Deprecated: Use DeleteRoutineRequest.ProtoReflect.Descriptor instead.
1377 func (*DeleteRoutineRequest) Descriptor() ([]byte, []int) {
1378 return file_google_cloud_bigquery_v2_routine_proto_rawDescGZIP(), []int{8}
1379 }
1380
1381 func (x *DeleteRoutineRequest) GetProjectId() string {
1382 if x != nil {
1383 return x.ProjectId
1384 }
1385 return ""
1386 }
1387
1388 func (x *DeleteRoutineRequest) GetDatasetId() string {
1389 if x != nil {
1390 return x.DatasetId
1391 }
1392 return ""
1393 }
1394
1395 func (x *DeleteRoutineRequest) GetRoutineId() string {
1396 if x != nil {
1397 return x.RoutineId
1398 }
1399 return ""
1400 }
1401
1402 // Describes the format for listing routines.
1403 type ListRoutinesRequest struct {
1404 state protoimpl.MessageState
1405 sizeCache protoimpl.SizeCache
1406 unknownFields protoimpl.UnknownFields
1407
1408 // Required. Project ID of the routines to list
1409 ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
1410 // Required. Dataset ID of the routines to list
1411 DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
1412 // The maximum number of results to return in a single response page.
1413 // Leverage the page tokens to iterate through the entire collection.
1414 MaxResults *wrapperspb.UInt32Value `protobuf:"bytes,3,opt,name=max_results,json=maxResults,proto3" json:"max_results,omitempty"`
1415 // Page token, returned by a previous call, to request the next page of
1416 // results
1417 PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
1418 // If set, then only the Routines matching this filter are returned.
1419 // The supported format is `routineType:{RoutineType}`, where `{RoutineType}`
1420 // is a RoutineType enum. For example: `routineType:SCALAR_FUNCTION`.
1421 Filter string `protobuf:"bytes,6,opt,name=filter,proto3" json:"filter,omitempty"`
1422 }
1423
1424 func (x *ListRoutinesRequest) Reset() {
1425 *x = ListRoutinesRequest{}
1426 mi := &file_google_cloud_bigquery_v2_routine_proto_msgTypes[9]
1427 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1428 ms.StoreMessageInfo(mi)
1429 }
1430
1431 func (x *ListRoutinesRequest) String() string {
1432 return protoimpl.X.MessageStringOf(x)
1433 }
1434
1435 func (*ListRoutinesRequest) ProtoMessage() {}
1436
1437 func (x *ListRoutinesRequest) ProtoReflect() protoreflect.Message {
1438 mi := &file_google_cloud_bigquery_v2_routine_proto_msgTypes[9]
1439 if x != nil {
1440 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1441 if ms.LoadMessageInfo() == nil {
1442 ms.StoreMessageInfo(mi)
1443 }
1444 return ms
1445 }
1446 return mi.MessageOf(x)
1447 }
1448
1449 // Deprecated: Use ListRoutinesRequest.ProtoReflect.Descriptor instead.
1450 func (*ListRoutinesRequest) Descriptor() ([]byte, []int) {
1451 return file_google_cloud_bigquery_v2_routine_proto_rawDescGZIP(), []int{9}
1452 }
1453
1454 func (x *ListRoutinesRequest) GetProjectId() string {
1455 if x != nil {
1456 return x.ProjectId
1457 }
1458 return ""
1459 }
1460
1461 func (x *ListRoutinesRequest) GetDatasetId() string {
1462 if x != nil {
1463 return x.DatasetId
1464 }
1465 return ""
1466 }
1467
1468 func (x *ListRoutinesRequest) GetMaxResults() *wrapperspb.UInt32Value {
1469 if x != nil {
1470 return x.MaxResults
1471 }
1472 return nil
1473 }
1474
1475 func (x *ListRoutinesRequest) GetPageToken() string {
1476 if x != nil {
1477 return x.PageToken
1478 }
1479 return ""
1480 }
1481
1482 func (x *ListRoutinesRequest) GetFilter() string {
1483 if x != nil {
1484 return x.Filter
1485 }
1486 return ""
1487 }
1488
1489 // Describes the format of a single result page when listing routines.
1490 type ListRoutinesResponse struct {
1491 state protoimpl.MessageState
1492 sizeCache protoimpl.SizeCache
1493 unknownFields protoimpl.UnknownFields
1494
1495 // Routines in the requested dataset. Unless read_mask is set in the request,
1496 // only the following fields are populated:
1497 // etag, project_id, dataset_id, routine_id, routine_type, creation_time,
1498 // last_modified_time, language, and remote_function_options.
1499 Routines []*Routine `protobuf:"bytes,1,rep,name=routines,proto3" json:"routines,omitempty"`
1500 // A token to request the next page of results.
1501 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
1502 }
1503
1504 func (x *ListRoutinesResponse) Reset() {
1505 *x = ListRoutinesResponse{}
1506 mi := &file_google_cloud_bigquery_v2_routine_proto_msgTypes[10]
1507 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1508 ms.StoreMessageInfo(mi)
1509 }
1510
1511 func (x *ListRoutinesResponse) String() string {
1512 return protoimpl.X.MessageStringOf(x)
1513 }
1514
1515 func (*ListRoutinesResponse) ProtoMessage() {}
1516
1517 func (x *ListRoutinesResponse) ProtoReflect() protoreflect.Message {
1518 mi := &file_google_cloud_bigquery_v2_routine_proto_msgTypes[10]
1519 if x != nil {
1520 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1521 if ms.LoadMessageInfo() == nil {
1522 ms.StoreMessageInfo(mi)
1523 }
1524 return ms
1525 }
1526 return mi.MessageOf(x)
1527 }
1528
1529 // Deprecated: Use ListRoutinesResponse.ProtoReflect.Descriptor instead.
1530 func (*ListRoutinesResponse) Descriptor() ([]byte, []int) {
1531 return file_google_cloud_bigquery_v2_routine_proto_rawDescGZIP(), []int{10}
1532 }
1533
1534 func (x *ListRoutinesResponse) GetRoutines() []*Routine {
1535 if x != nil {
1536 return x.Routines
1537 }
1538 return nil
1539 }
1540
1541 func (x *ListRoutinesResponse) GetNextPageToken() string {
1542 if x != nil {
1543 return x.NextPageToken
1544 }
1545 return ""
1546 }
1547
1548 // Input/output argument of a function or a stored procedure.
1549 type Routine_Argument struct {
1550 state protoimpl.MessageState
1551 sizeCache protoimpl.SizeCache
1552 unknownFields protoimpl.UnknownFields
1553
1554 // Optional. The name of this argument. Can be absent for function return
1555 // argument.
1556 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
1557 // Optional. Defaults to FIXED_TYPE.
1558 ArgumentKind Routine_Argument_ArgumentKind `protobuf:"varint,2,opt,name=argument_kind,json=argumentKind,proto3,enum=google.cloud.bigquery.v2.Routine_Argument_ArgumentKind" json:"argument_kind,omitempty"`
1559 // Optional. Specifies whether the argument is input or output.
1560 // Can be set for procedures only.
1561 Mode Routine_Argument_Mode `protobuf:"varint,3,opt,name=mode,proto3,enum=google.cloud.bigquery.v2.Routine_Argument_Mode" json:"mode,omitempty"`
1562 // Set if argument_kind == FIXED_TYPE.
1563 DataType *StandardSqlDataType `protobuf:"bytes,4,opt,name=data_type,json=dataType,proto3" json:"data_type,omitempty"`
1564 // Optional. Whether the argument is an aggregate function parameter.
1565 // Must be Unset for routine types other than AGGREGATE_FUNCTION.
1566 // For AGGREGATE_FUNCTION, if set to false, it is equivalent to adding "NOT
1567 // AGGREGATE" clause in DDL; Otherwise, it is equivalent to omitting "NOT
1568 // AGGREGATE" clause in DDL.
1569 IsAggregate *wrapperspb.BoolValue `protobuf:"bytes,6,opt,name=is_aggregate,json=isAggregate,proto3" json:"is_aggregate,omitempty"`
1570 }
1571
1572 func (x *Routine_Argument) Reset() {
1573 *x = Routine_Argument{}
1574 mi := &file_google_cloud_bigquery_v2_routine_proto_msgTypes[11]
1575 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1576 ms.StoreMessageInfo(mi)
1577 }
1578
1579 func (x *Routine_Argument) String() string {
1580 return protoimpl.X.MessageStringOf(x)
1581 }
1582
1583 func (*Routine_Argument) ProtoMessage() {}
1584
1585 func (x *Routine_Argument) ProtoReflect() protoreflect.Message {
1586 mi := &file_google_cloud_bigquery_v2_routine_proto_msgTypes[11]
1587 if x != nil {
1588 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1589 if ms.LoadMessageInfo() == nil {
1590 ms.StoreMessageInfo(mi)
1591 }
1592 return ms
1593 }
1594 return mi.MessageOf(x)
1595 }
1596
1597 // Deprecated: Use Routine_Argument.ProtoReflect.Descriptor instead.
1598 func (*Routine_Argument) Descriptor() ([]byte, []int) {
1599 return file_google_cloud_bigquery_v2_routine_proto_rawDescGZIP(), []int{0, 0}
1600 }
1601
1602 func (x *Routine_Argument) GetName() string {
1603 if x != nil {
1604 return x.Name
1605 }
1606 return ""
1607 }
1608
1609 func (x *Routine_Argument) GetArgumentKind() Routine_Argument_ArgumentKind {
1610 if x != nil {
1611 return x.ArgumentKind
1612 }
1613 return Routine_Argument_ARGUMENT_KIND_UNSPECIFIED
1614 }
1615
1616 func (x *Routine_Argument) GetMode() Routine_Argument_Mode {
1617 if x != nil {
1618 return x.Mode
1619 }
1620 return Routine_Argument_MODE_UNSPECIFIED
1621 }
1622
1623 func (x *Routine_Argument) GetDataType() *StandardSqlDataType {
1624 if x != nil {
1625 return x.DataType
1626 }
1627 return nil
1628 }
1629
1630 func (x *Routine_Argument) GetIsAggregate() *wrapperspb.BoolValue {
1631 if x != nil {
1632 return x.IsAggregate
1633 }
1634 return nil
1635 }
1636
1637 // Options for a remote user-defined function.
1638 type Routine_RemoteFunctionOptions struct {
1639 state protoimpl.MessageState
1640 sizeCache protoimpl.SizeCache
1641 unknownFields protoimpl.UnknownFields
1642
1643 // Endpoint of the user-provided remote service, e.g.
1644 // ```https://us-east1-my_gcf_project.cloudfunctions.net/remote_add```
1645 Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
1646 // Fully qualified name of the user-provided connection object which holds
1647 // the authentication information to send requests to the remote service.
1648 // Format:
1649 // ```"projects/{projectId}/locations/{locationId}/connections/{connectionId}"```
1650 Connection string `protobuf:"bytes,2,opt,name=connection,proto3" json:"connection,omitempty"`
1651 // User-defined context as a set of key/value pairs, which will be sent as
1652 // function invocation context together with batched arguments in the
1653 // requests to the remote service. The total number of bytes of keys and
1654 // values must be less than 8KB.
1655 UserDefinedContext map[string]string `protobuf:"bytes,3,rep,name=user_defined_context,json=userDefinedContext,proto3" json:"user_defined_context,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
1656 // Max number of rows in each batch sent to the remote service.
1657 // If absent or if 0, BigQuery dynamically decides the number of rows in a
1658 // batch.
1659 MaxBatchingRows int64 `protobuf:"varint,4,opt,name=max_batching_rows,json=maxBatchingRows,proto3" json:"max_batching_rows,omitempty"`
1660 }
1661
1662 func (x *Routine_RemoteFunctionOptions) Reset() {
1663 *x = Routine_RemoteFunctionOptions{}
1664 mi := &file_google_cloud_bigquery_v2_routine_proto_msgTypes[12]
1665 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1666 ms.StoreMessageInfo(mi)
1667 }
1668
1669 func (x *Routine_RemoteFunctionOptions) String() string {
1670 return protoimpl.X.MessageStringOf(x)
1671 }
1672
1673 func (*Routine_RemoteFunctionOptions) ProtoMessage() {}
1674
1675 func (x *Routine_RemoteFunctionOptions) ProtoReflect() protoreflect.Message {
1676 mi := &file_google_cloud_bigquery_v2_routine_proto_msgTypes[12]
1677 if x != nil {
1678 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1679 if ms.LoadMessageInfo() == nil {
1680 ms.StoreMessageInfo(mi)
1681 }
1682 return ms
1683 }
1684 return mi.MessageOf(x)
1685 }
1686
1687 // Deprecated: Use Routine_RemoteFunctionOptions.ProtoReflect.Descriptor instead.
1688 func (*Routine_RemoteFunctionOptions) Descriptor() ([]byte, []int) {
1689 return file_google_cloud_bigquery_v2_routine_proto_rawDescGZIP(), []int{0, 1}
1690 }
1691
1692 func (x *Routine_RemoteFunctionOptions) GetEndpoint() string {
1693 if x != nil {
1694 return x.Endpoint
1695 }
1696 return ""
1697 }
1698
1699 func (x *Routine_RemoteFunctionOptions) GetConnection() string {
1700 if x != nil {
1701 return x.Connection
1702 }
1703 return ""
1704 }
1705
1706 func (x *Routine_RemoteFunctionOptions) GetUserDefinedContext() map[string]string {
1707 if x != nil {
1708 return x.UserDefinedContext
1709 }
1710 return nil
1711 }
1712
1713 func (x *Routine_RemoteFunctionOptions) GetMaxBatchingRows() int64 {
1714 if x != nil {
1715 return x.MaxBatchingRows
1716 }
1717 return 0
1718 }
1719
1720 var File_google_cloud_bigquery_v2_routine_proto protoreflect.FileDescriptor
1721
1722 var file_google_cloud_bigquery_v2_routine_proto_rawDesc = []byte{
1723 0x0a, 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62,
1724 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x69,
1725 0x6e, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1726 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e,
1727 0x76, 0x32, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61,
1728 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1729 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69,
1730 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1731 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61,
1732 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x30, 0x67, 0x6f, 0x6f, 0x67,
1733 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72,
1734 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x5f, 0x72, 0x65, 0x66,
1735 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2b, 0x67, 0x6f,
1736 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62, 0x69, 0x67, 0x71, 0x75,
1737 0x65, 0x72, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, 0x5f,
1738 0x73, 0x71, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1739 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79,
1740 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
1741 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61,
1742 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1743 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65,
1744 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x87, 0x16, 0x0a, 0x07, 0x52, 0x6f, 0x75,
1745 0x74, 0x69, 0x6e, 0x65, 0x12, 0x17, 0x0a, 0x04, 0x65, 0x74, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01,
1746 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x65, 0x74, 0x61, 0x67, 0x12, 0x5c, 0x0a,
1747 0x11, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x5f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e,
1748 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1749 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79,
1750 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72,
1751 0x65, 0x6e, 0x63, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x10, 0x72, 0x6f, 0x75, 0x74, 0x69,
1752 0x6e, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x55, 0x0a, 0x0c, 0x72,
1753 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
1754 0x0e, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
1755 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x6f, 0x75,
1756 0x74, 0x69, 0x6e, 0x65, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x54, 0x79, 0x70, 0x65,
1757 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x54, 0x79,
1758 0x70, 0x65, 0x12, 0x28, 0x0a, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74,
1759 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0c,
1760 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x31, 0x0a, 0x12,
1761 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x74, 0x69,
1762 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x10, 0x6c,
1763 0x61, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12,
1764 0x4b, 0x0a, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28,
1765 0x0e, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
1766 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x6f, 0x75,
1767 0x74, 0x69, 0x6e, 0x65, 0x2e, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x42, 0x03, 0xe0,
1768 0x41, 0x01, 0x52, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x12, 0x48, 0x0a, 0x09,
1769 0x61, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32,
1770 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62,
1771 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x69,
1772 0x6e, 0x65, 0x2e, 0x41, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x09, 0x61, 0x72, 0x67,
1773 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x4e, 0x0a, 0x0b, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e,
1774 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f,
1775 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75,
1776 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, 0x53,
1777 0x71, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x72, 0x65, 0x74, 0x75,
1778 0x72, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x5f, 0x0a, 0x11, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e,
1779 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28,
1780 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
1781 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x74, 0x61,
1782 0x6e, 0x64, 0x61, 0x72, 0x64, 0x53, 0x71, 0x6c, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x79, 0x70,
1783 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0f, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x54, 0x61,
1784 0x62, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2d, 0x0a, 0x12, 0x69, 0x6d, 0x70, 0x6f, 0x72,
1785 0x74, 0x65, 0x64, 0x5f, 0x6c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x69, 0x65, 0x73, 0x18, 0x08, 0x20,
1786 0x03, 0x28, 0x09, 0x52, 0x11, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x4c, 0x69, 0x62,
1787 0x72, 0x61, 0x72, 0x69, 0x65, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69,
1788 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52,
1789 0x0e, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x12,
1790 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0b,
1791 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72,
1792 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x64, 0x0a, 0x11, 0x64, 0x65, 0x74, 0x65, 0x72, 0x6d,
1793 0x69, 0x6e, 0x69, 0x73, 0x6d, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0c, 0x20, 0x01, 0x28,
1794 0x0e, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
1795 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x6f, 0x75,
1796 0x74, 0x69, 0x6e, 0x65, 0x2e, 0x44, 0x65, 0x74, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x69, 0x73, 0x6d,
1797 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x10, 0x64, 0x65, 0x74, 0x65,
1798 0x72, 0x6d, 0x69, 0x6e, 0x69, 0x73, 0x6d, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x58, 0x0a, 0x0d,
1799 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x12, 0x20,
1800 0x01, 0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
1801 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x52,
1802 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x4d,
1803 0x6f, 0x64, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0c, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69,
1804 0x74, 0x79, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74,
1805 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
1806 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f,
1807 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x73, 0x74,
1808 0x72, 0x69, 0x63, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x74, 0x0a, 0x17, 0x72, 0x65, 0x6d, 0x6f,
1809 0x74, 0x65, 0x5f, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69,
1810 0x6f, 0x6e, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
1811 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72,
1812 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x2e, 0x52, 0x65, 0x6d,
1813 0x6f, 0x74, 0x65, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f,
1814 0x6e, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x15, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x46,
1815 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x50,
1816 0x0a, 0x0d, 0x73, 0x70, 0x61, 0x72, 0x6b, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18,
1817 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
1818 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32,
1819 0x2e, 0x53, 0x70, 0x61, 0x72, 0x6b, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x03, 0xe0,
1820 0x41, 0x01, 0x52, 0x0c, 0x73, 0x70, 0x61, 0x72, 0x6b, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
1821 0x12, 0x6b, 0x0a, 0x14, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x67, 0x6f, 0x76, 0x65, 0x72, 0x6e, 0x61,
1822 0x6e, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x34,
1823 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69,
1824 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e,
1825 0x65, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x47, 0x6f, 0x76, 0x65, 0x72, 0x6e, 0x61, 0x6e, 0x63, 0x65,
1826 0x54, 0x79, 0x70, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x12, 0x64, 0x61, 0x74, 0x61, 0x47,
1827 0x6f, 0x76, 0x65, 0x72, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x53, 0x0a,
1828 0x0e, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18,
1829 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
1830 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32,
1831 0x2e, 0x50, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x03,
1832 0xe0, 0x41, 0x01, 0x52, 0x0d, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f,
1833 0x6e, 0x73, 0x12, 0x6f, 0x0a, 0x18, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x72,
1834 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x15,
1835 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
1836 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e,
1837 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x4f,
1838 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x16, 0x65, 0x78, 0x74,
1839 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x4f, 0x70, 0x74, 0x69,
1840 0x6f, 0x6e, 0x73, 0x1a, 0xe2, 0x03, 0x0a, 0x08, 0x41, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74,
1841 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03,
1842 0xe0, 0x41, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x61, 0x0a, 0x0d, 0x61, 0x72, 0x67,
1843 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e,
1844 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
1845 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x6f, 0x75, 0x74,
1846 0x69, 0x6e, 0x65, 0x2e, 0x41, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x41, 0x72, 0x67,
1847 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x4b, 0x69, 0x6e, 0x64, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0c,
1848 0x61, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x43, 0x0a, 0x04,
1849 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f,
1850 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65,
1851 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x2e, 0x41, 0x72,
1852 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6d, 0x6f, 0x64,
1853 0x65, 0x12, 0x4a, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04,
1854 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
1855 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e,
1856 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, 0x53, 0x71, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x54,
1857 0x79, 0x70, 0x65, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x42, 0x0a,
1858 0x0c, 0x69, 0x73, 0x5f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20,
1859 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
1860 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42,
1861 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0b, 0x69, 0x73, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74,
1862 0x65, 0x22, 0x4b, 0x0a, 0x0c, 0x41, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x4b, 0x69, 0x6e,
1863 0x64, 0x12, 0x1d, 0x0a, 0x19, 0x41, 0x52, 0x47, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x4b, 0x49,
1864 0x4e, 0x44, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00,
1865 0x12, 0x0e, 0x0a, 0x0a, 0x46, 0x49, 0x58, 0x45, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x10, 0x01,
1866 0x12, 0x0c, 0x0a, 0x08, 0x41, 0x4e, 0x59, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x10, 0x02, 0x22, 0x38,
1867 0x0a, 0x04, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x55,
1868 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x06, 0x0a, 0x02,
1869 0x49, 0x4e, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x4f, 0x55, 0x54, 0x10, 0x02, 0x12, 0x09, 0x0a,
1870 0x05, 0x49, 0x4e, 0x4f, 0x55, 0x54, 0x10, 0x03, 0x1a, 0xca, 0x02, 0x0a, 0x15, 0x52, 0x65, 0x6d,
1871 0x6f, 0x74, 0x65, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f,
1872 0x6e, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x01,
1873 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x1e,
1874 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01,
1875 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x81,
1876 0x01, 0x0a, 0x14, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x5f,
1877 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4f, 0x2e,
1878 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67,
1879 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65,
1880 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4f,
1881 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x44, 0x65, 0x66, 0x69, 0x6e,
1882 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x12,
1883 0x75, 0x73, 0x65, 0x72, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x65,
1884 0x78, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x6d, 0x61, 0x78, 0x5f, 0x62, 0x61, 0x74, 0x63, 0x68, 0x69,
1885 0x6e, 0x67, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x6d,
1886 0x61, 0x78, 0x42, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x52, 0x6f, 0x77, 0x73, 0x1a, 0x45,
1887 0x0a, 0x17, 0x55, 0x73, 0x65, 0x72, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x43, 0x6f, 0x6e,
1888 0x74, 0x65, 0x78, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79,
1889 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76,
1890 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
1891 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x82, 0x01, 0x0a, 0x0b, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e,
1892 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x18, 0x52, 0x4f, 0x55, 0x54, 0x49, 0x4e, 0x45,
1893 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45,
1894 0x44, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x43, 0x41, 0x4c, 0x41, 0x52, 0x5f, 0x46, 0x55,
1895 0x4e, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x50, 0x52, 0x4f, 0x43,
1896 0x45, 0x44, 0x55, 0x52, 0x45, 0x10, 0x02, 0x12, 0x19, 0x0a, 0x15, 0x54, 0x41, 0x42, 0x4c, 0x45,
1897 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x44, 0x5f, 0x46, 0x55, 0x4e, 0x43, 0x54, 0x49, 0x4f, 0x4e,
1898 0x10, 0x03, 0x12, 0x16, 0x0a, 0x12, 0x41, 0x47, 0x47, 0x52, 0x45, 0x47, 0x41, 0x54, 0x45, 0x5f,
1899 0x46, 0x55, 0x4e, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x04, 0x22, 0x5e, 0x0a, 0x08, 0x4c, 0x61,
1900 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x12, 0x18, 0x0a, 0x14, 0x4c, 0x41, 0x4e, 0x47, 0x55, 0x41,
1901 0x47, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00,
1902 0x12, 0x07, 0x0a, 0x03, 0x53, 0x51, 0x4c, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x4a, 0x41, 0x56,
1903 0x41, 0x53, 0x43, 0x52, 0x49, 0x50, 0x54, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x50, 0x59, 0x54,
1904 0x48, 0x4f, 0x4e, 0x10, 0x03, 0x12, 0x08, 0x0a, 0x04, 0x4a, 0x41, 0x56, 0x41, 0x10, 0x04, 0x12,
1905 0x09, 0x0a, 0x05, 0x53, 0x43, 0x41, 0x4c, 0x41, 0x10, 0x05, 0x22, 0x5f, 0x0a, 0x10, 0x44, 0x65,
1906 0x74, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x69, 0x73, 0x6d, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x21,
1907 0x0a, 0x1d, 0x44, 0x45, 0x54, 0x45, 0x52, 0x4d, 0x49, 0x4e, 0x49, 0x53, 0x4d, 0x5f, 0x4c, 0x45,
1908 0x56, 0x45, 0x4c, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10,
1909 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x44, 0x45, 0x54, 0x45, 0x52, 0x4d, 0x49, 0x4e, 0x49, 0x53, 0x54,
1910 0x49, 0x43, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x4e, 0x4f, 0x54, 0x5f, 0x44, 0x45, 0x54, 0x45,
1911 0x52, 0x4d, 0x49, 0x4e, 0x49, 0x53, 0x54, 0x49, 0x43, 0x10, 0x02, 0x22, 0x47, 0x0a, 0x0c, 0x53,
1912 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x19, 0x53,
1913 0x45, 0x43, 0x55, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x53,
1914 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x45,
1915 0x46, 0x49, 0x4e, 0x45, 0x52, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x49, 0x4e, 0x56, 0x4f, 0x4b,
1916 0x45, 0x52, 0x10, 0x02, 0x22, 0x4c, 0x0a, 0x12, 0x44, 0x61, 0x74, 0x61, 0x47, 0x6f, 0x76, 0x65,
1917 0x72, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x24, 0x0a, 0x20, 0x44, 0x41,
1918 0x54, 0x41, 0x5f, 0x47, 0x4f, 0x56, 0x45, 0x52, 0x4e, 0x41, 0x4e, 0x43, 0x45, 0x5f, 0x54, 0x59,
1919 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00,
1920 0x12, 0x10, 0x0a, 0x0c, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x4d, 0x41, 0x53, 0x4b, 0x49, 0x4e, 0x47,
1921 0x10, 0x01, 0x22, 0x56, 0x0a, 0x0d, 0x50, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69,
1922 0x6f, 0x6e, 0x73, 0x12, 0x24, 0x0a, 0x0b, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x5f, 0x70, 0x6f, 0x69,
1923 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x65,
1924 0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x08, 0x70, 0x61, 0x63,
1925 0x6b, 0x61, 0x67, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01,
1926 0x52, 0x08, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73, 0x22, 0x85, 0x02, 0x0a, 0x16, 0x45,
1927 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x4f, 0x70,
1928 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2e, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e,
1929 0x65, 0x72, 0x5f, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,
1930 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x4d,
1931 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x12, 0x28, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e,
1932 0x65, 0x72, 0x5f, 0x63, 0x70, 0x75, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x42, 0x03, 0xe0, 0x41,
1933 0x01, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x43, 0x70, 0x75, 0x12,
1934 0x32, 0x0a, 0x12, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65,
1935 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01,
1936 0x52, 0x11, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74,
1937 0x69, 0x6f, 0x6e, 0x12, 0x2f, 0x0a, 0x11, 0x6d, 0x61, 0x78, 0x5f, 0x62, 0x61, 0x74, 0x63, 0x68,
1938 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x42, 0x03,
1939 0xe0, 0x41, 0x01, 0x52, 0x0f, 0x6d, 0x61, 0x78, 0x42, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67,
1940 0x52, 0x6f, 0x77, 0x73, 0x12, 0x2c, 0x0a, 0x0f, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x5f,
1941 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0,
1942 0x41, 0x01, 0x52, 0x0e, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69,
1943 0x6f, 0x6e, 0x22, 0xd7, 0x03, 0x0a, 0x0c, 0x53, 0x70, 0x61, 0x72, 0x6b, 0x4f, 0x70, 0x74, 0x69,
1944 0x6f, 0x6e, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f,
1945 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74,
1946 0x69, 0x6f, 0x6e, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x76,
1947 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x75,
1948 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x27, 0x0a, 0x0f,
1949 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18,
1950 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72,
1951 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x56, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74,
1952 0x69, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
1953 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72,
1954 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x70, 0x61, 0x72, 0x6b, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
1955 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72,
1956 0x79, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x22, 0x0a,
1957 0x0d, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x05,
1958 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6d, 0x61, 0x69, 0x6e, 0x46, 0x69, 0x6c, 0x65, 0x55, 0x72,
1959 0x69, 0x12, 0x20, 0x0a, 0x0c, 0x70, 0x79, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x75, 0x72, 0x69,
1960 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x79, 0x46, 0x69, 0x6c, 0x65, 0x55,
1961 0x72, 0x69, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x6a, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x69, 0x73, 0x18,
1962 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x6a, 0x61, 0x72, 0x55, 0x72, 0x69, 0x73, 0x12, 0x1b,
1963 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x75, 0x72, 0x69, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28,
1964 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x55, 0x72, 0x69, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x61,
1965 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x5f, 0x75, 0x72, 0x69, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28,
1966 0x09, 0x52, 0x0b, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x55, 0x72, 0x69, 0x73, 0x12, 0x1d,
1967 0x0a, 0x0a, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x18, 0x0a, 0x20, 0x01,
1968 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61, 0x69, 0x6e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x1a, 0x3d, 0x0a,
1969 0x0f, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
1970 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
1971 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
1972 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x7f, 0x0a, 0x11,
1973 0x47, 0x65, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
1974 0x74, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18,
1975 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a,
1976 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74,
1977 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09,
1978 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0a, 0x72, 0x6f, 0x75,
1979 0x74, 0x69, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0,
1980 0x41, 0x02, 0x52, 0x09, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x49, 0x64, 0x22, 0xa0, 0x01,
1981 0x0a, 0x14, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x52,
1982 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,
1983 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52,
1984 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0a, 0x64, 0x61,
1985 0x74, 0x61, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03,
1986 0xe0, 0x41, 0x02, 0x52, 0x09, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x49, 0x64, 0x12, 0x40,
1987 0x0a, 0x07, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
1988 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62,
1989 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x69,
1990 0x6e, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65,
1991 0x22, 0xc4, 0x01, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x69,
1992 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x72, 0x6f,
1993 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0,
1994 0x41, 0x02, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x22, 0x0a,
1995 0x0a, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
1996 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x49,
1997 0x64, 0x12, 0x22, 0x0a, 0x0a, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18,
1998 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x72, 0x6f, 0x75, 0x74,
1999 0x69, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x40, 0x0a, 0x07, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65,
2000 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
2001 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76,
2002 0x32, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07,
2003 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x22, 0xfe, 0x01, 0x0a, 0x13, 0x50, 0x61, 0x74, 0x63,
2004 0x68, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
2005 0x22, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
2006 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,
2007 0x74, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x5f, 0x69,
2008 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x64, 0x61,
2009 0x74, 0x61, 0x73, 0x65, 0x74, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0a, 0x72, 0x6f, 0x75, 0x74, 0x69,
2010 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02,
2011 0x52, 0x09, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x40, 0x0a, 0x07, 0x72,
2012 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67,
2013 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71,
2014 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x42,
2015 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x12, 0x39, 0x0a,
2016 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28,
2017 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
2018 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x09, 0x66,
2019 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x82, 0x01, 0x0a, 0x14, 0x44, 0x65, 0x6c,
2020 0x65, 0x74, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
2021 0x74, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18,
2022 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a,
2023 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74,
2024 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09,
2025 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0a, 0x72, 0x6f, 0x75,
2026 0x74, 0x69, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0,
2027 0x41, 0x02, 0x52, 0x09, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x49, 0x64, 0x22, 0xd3, 0x01,
2028 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x73, 0x52, 0x65,
2029 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
2030 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09,
2031 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0a, 0x64, 0x61, 0x74,
2032 0x61, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0,
2033 0x41, 0x02, 0x52, 0x09, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x49, 0x64, 0x12, 0x3d, 0x0a,
2034 0x0b, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01,
2035 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
2036 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65,
2037 0x52, 0x0a, 0x6d, 0x61, 0x78, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x1d, 0x0a, 0x0a,
2038 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
2039 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x66,
2040 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c,
2041 0x74, 0x65, 0x72, 0x22, 0x7d, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x69,
2042 0x6e, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x08, 0x72,
2043 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e,
2044 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67,
2045 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65,
2046 0x52, 0x08, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65,
2047 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20,
2048 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b,
2049 0x65, 0x6e, 0x32, 0xe2, 0x09, 0x0a, 0x0e, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x53, 0x65,
2050 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xba, 0x01, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x75,
2051 0x74, 0x69, 0x6e, 0x65, 0x12, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
2052 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e,
2053 0x47, 0x65, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
2054 0x74, 0x1a, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
2055 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x6f, 0x75,
2056 0x74, 0x69, 0x6e, 0x65, 0x22, 0x5c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x56, 0x12, 0x54, 0x2f, 0x62,
2057 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65,
2058 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x3d,
2059 0x2a, 0x7d, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x73, 0x2f, 0x7b, 0x64, 0x61, 0x74,
2060 0x61, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x3d, 0x2a, 0x7d, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x69,
2061 0x6e, 0x65, 0x73, 0x2f, 0x7b, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x3d,
2062 0x2a, 0x7d, 0x12, 0xba, 0x01, 0x0a, 0x0d, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x6f, 0x75,
2063 0x74, 0x69, 0x6e, 0x65, 0x12, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
2064 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e,
2065 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x71,
2066 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
2067 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e,
2068 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x22, 0x56, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x50, 0x3a,
2069 0x07, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x22, 0x45, 0x2f, 0x62, 0x69, 0x67, 0x71, 0x75,
2070 0x65, 0x72, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f,
2071 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x3d, 0x2a, 0x7d, 0x2f, 0x64,
2072 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x73, 0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74,
2073 0x5f, 0x69, 0x64, 0x3d, 0x2a, 0x7d, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x73, 0x12,
2074 0xc9, 0x01, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e,
2075 0x65, 0x12, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
2076 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x55, 0x70, 0x64,
2077 0x61, 0x74, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
2078 0x74, 0x1a, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
2079 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x6f, 0x75,
2080 0x74, 0x69, 0x6e, 0x65, 0x22, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x5f, 0x3a, 0x07, 0x72, 0x6f,
2081 0x75, 0x74, 0x69, 0x6e, 0x65, 0x1a, 0x54, 0x2f, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79,
2082 0x2f, 0x76, 0x32, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72,
2083 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x3d, 0x2a, 0x7d, 0x2f, 0x64, 0x61, 0x74, 0x61,
2084 0x73, 0x65, 0x74, 0x73, 0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64,
2085 0x3d, 0x2a, 0x7d, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x73, 0x2f, 0x7b, 0x72, 0x6f,
2086 0x75, 0x74, 0x69, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x3d, 0x2a, 0x7d, 0x12, 0x62, 0x0a, 0x0c, 0x50,
2087 0x61, 0x74, 0x63, 0x68, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x12, 0x2d, 0x2e, 0x67, 0x6f,
2088 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75,
2089 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x50, 0x61, 0x74, 0x63, 0x68, 0x52, 0x6f, 0x75, 0x74,
2090 0x69, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x67, 0x6f, 0x6f,
2091 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65,
2092 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x22, 0x00, 0x12,
2093 0xb5, 0x01, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e,
2094 0x65, 0x12, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
2095 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x65, 0x6c,
2096 0x65, 0x74, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
2097 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
2098 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x5c, 0x82, 0xd3, 0xe4, 0x93, 0x02,
2099 0x56, 0x2a, 0x54, 0x2f, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x32, 0x2f,
2100 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,
2101 0x74, 0x5f, 0x69, 0x64, 0x3d, 0x2a, 0x7d, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x73,
2102 0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x3d, 0x2a, 0x7d, 0x2f,
2103 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x73, 0x2f, 0x7b, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e,
2104 0x65, 0x5f, 0x69, 0x64, 0x3d, 0x2a, 0x7d, 0x12, 0xbc, 0x01, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74,
2105 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x73, 0x12, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
2106 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79,
2107 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x73,
2108 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
2109 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e,
2110 0x76, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65, 0x73, 0x52,
2111 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x47, 0x12,
2112 0x45, 0x2f, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x70, 0x72,
2113 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f,
2114 0x69, 0x64, 0x3d, 0x2a, 0x7d, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x73, 0x2f, 0x7b,
2115 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x3d, 0x2a, 0x7d, 0x2f, 0x72, 0x6f,
2116 0x75, 0x74, 0x69, 0x6e, 0x65, 0x73, 0x1a, 0xae, 0x01, 0xca, 0x41, 0x17, 0x62, 0x69, 0x67, 0x71,
2117 0x75, 0x65, 0x72, 0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e,
2118 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x90, 0x01, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77,
2119 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f,
2120 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2c,
2121 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
2122 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f,
2123 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2c, 0x68,
2124 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
2125 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63,
2126 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x72, 0x65,
2127 0x61, 0x64, 0x2d, 0x6f, 0x6e, 0x6c, 0x79, 0x42, 0x69, 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x67,
2128 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71,
2129 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x42, 0x0c, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x65,
2130 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5a, 0x3b, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f,
2131 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x69, 0x67, 0x71, 0x75,
2132 0x65, 0x72, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x62, 0x69, 0x67,
2133 0x71, 0x75, 0x65, 0x72, 0x79, 0x70, 0x62, 0x3b, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79,
2134 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
2135 }
2136
2137 var (
2138 file_google_cloud_bigquery_v2_routine_proto_rawDescOnce sync.Once
2139 file_google_cloud_bigquery_v2_routine_proto_rawDescData = file_google_cloud_bigquery_v2_routine_proto_rawDesc
2140 )
2141
2142 func file_google_cloud_bigquery_v2_routine_proto_rawDescGZIP() []byte {
2143 file_google_cloud_bigquery_v2_routine_proto_rawDescOnce.Do(func() {
2144 file_google_cloud_bigquery_v2_routine_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_bigquery_v2_routine_proto_rawDescData)
2145 })
2146 return file_google_cloud_bigquery_v2_routine_proto_rawDescData
2147 }
2148
2149 var file_google_cloud_bigquery_v2_routine_proto_enumTypes = make([]protoimpl.EnumInfo, 7)
2150 var file_google_cloud_bigquery_v2_routine_proto_msgTypes = make([]protoimpl.MessageInfo, 15)
2151 var file_google_cloud_bigquery_v2_routine_proto_goTypes = []any{
2152 (Routine_RoutineType)(0), // 0: google.cloud.bigquery.v2.Routine.RoutineType
2153 (Routine_Language)(0), // 1: google.cloud.bigquery.v2.Routine.Language
2154 (Routine_DeterminismLevel)(0), // 2: google.cloud.bigquery.v2.Routine.DeterminismLevel
2155 (Routine_SecurityMode)(0), // 3: google.cloud.bigquery.v2.Routine.SecurityMode
2156 (Routine_DataGovernanceType)(0), // 4: google.cloud.bigquery.v2.Routine.DataGovernanceType
2157 (Routine_Argument_ArgumentKind)(0), // 5: google.cloud.bigquery.v2.Routine.Argument.ArgumentKind
2158 (Routine_Argument_Mode)(0), // 6: google.cloud.bigquery.v2.Routine.Argument.Mode
2159 (*Routine)(nil), // 7: google.cloud.bigquery.v2.Routine
2160 (*PythonOptions)(nil), // 8: google.cloud.bigquery.v2.PythonOptions
2161 (*ExternalRuntimeOptions)(nil), // 9: google.cloud.bigquery.v2.ExternalRuntimeOptions
2162 (*SparkOptions)(nil), // 10: google.cloud.bigquery.v2.SparkOptions
2163 (*GetRoutineRequest)(nil), // 11: google.cloud.bigquery.v2.GetRoutineRequest
2164 (*InsertRoutineRequest)(nil), // 12: google.cloud.bigquery.v2.InsertRoutineRequest
2165 (*UpdateRoutineRequest)(nil), // 13: google.cloud.bigquery.v2.UpdateRoutineRequest
2166 (*PatchRoutineRequest)(nil), // 14: google.cloud.bigquery.v2.PatchRoutineRequest
2167 (*DeleteRoutineRequest)(nil), // 15: google.cloud.bigquery.v2.DeleteRoutineRequest
2168 (*ListRoutinesRequest)(nil), // 16: google.cloud.bigquery.v2.ListRoutinesRequest
2169 (*ListRoutinesResponse)(nil), // 17: google.cloud.bigquery.v2.ListRoutinesResponse
2170 (*Routine_Argument)(nil), // 18: google.cloud.bigquery.v2.Routine.Argument
2171 (*Routine_RemoteFunctionOptions)(nil), // 19: google.cloud.bigquery.v2.Routine.RemoteFunctionOptions
2172 nil, // 20: google.cloud.bigquery.v2.Routine.RemoteFunctionOptions.UserDefinedContextEntry
2173 nil, // 21: google.cloud.bigquery.v2.SparkOptions.PropertiesEntry
2174 (*RoutineReference)(nil), // 22: google.cloud.bigquery.v2.RoutineReference
2175 (*StandardSqlDataType)(nil), // 23: google.cloud.bigquery.v2.StandardSqlDataType
2176 (*StandardSqlTableType)(nil), // 24: google.cloud.bigquery.v2.StandardSqlTableType
2177 (*wrapperspb.BoolValue)(nil), // 25: google.protobuf.BoolValue
2178 (*fieldmaskpb.FieldMask)(nil), // 26: google.protobuf.FieldMask
2179 (*wrapperspb.UInt32Value)(nil), // 27: google.protobuf.UInt32Value
2180 (*emptypb.Empty)(nil), // 28: google.protobuf.Empty
2181 }
2182 var file_google_cloud_bigquery_v2_routine_proto_depIdxs = []int32{
2183 22, // 0: google.cloud.bigquery.v2.Routine.routine_reference:type_name -> google.cloud.bigquery.v2.RoutineReference
2184 0, // 1: google.cloud.bigquery.v2.Routine.routine_type:type_name -> google.cloud.bigquery.v2.Routine.RoutineType
2185 1, // 2: google.cloud.bigquery.v2.Routine.language:type_name -> google.cloud.bigquery.v2.Routine.Language
2186 18, // 3: google.cloud.bigquery.v2.Routine.arguments:type_name -> google.cloud.bigquery.v2.Routine.Argument
2187 23, // 4: google.cloud.bigquery.v2.Routine.return_type:type_name -> google.cloud.bigquery.v2.StandardSqlDataType
2188 24, // 5: google.cloud.bigquery.v2.Routine.return_table_type:type_name -> google.cloud.bigquery.v2.StandardSqlTableType
2189 2, // 6: google.cloud.bigquery.v2.Routine.determinism_level:type_name -> google.cloud.bigquery.v2.Routine.DeterminismLevel
2190 3, // 7: google.cloud.bigquery.v2.Routine.security_mode:type_name -> google.cloud.bigquery.v2.Routine.SecurityMode
2191 25, // 8: google.cloud.bigquery.v2.Routine.strict_mode:type_name -> google.protobuf.BoolValue
2192 19, // 9: google.cloud.bigquery.v2.Routine.remote_function_options:type_name -> google.cloud.bigquery.v2.Routine.RemoteFunctionOptions
2193 10, // 10: google.cloud.bigquery.v2.Routine.spark_options:type_name -> google.cloud.bigquery.v2.SparkOptions
2194 4, // 11: google.cloud.bigquery.v2.Routine.data_governance_type:type_name -> google.cloud.bigquery.v2.Routine.DataGovernanceType
2195 8, // 12: google.cloud.bigquery.v2.Routine.python_options:type_name -> google.cloud.bigquery.v2.PythonOptions
2196 9, // 13: google.cloud.bigquery.v2.Routine.external_runtime_options:type_name -> google.cloud.bigquery.v2.ExternalRuntimeOptions
2197 21, // 14: google.cloud.bigquery.v2.SparkOptions.properties:type_name -> google.cloud.bigquery.v2.SparkOptions.PropertiesEntry
2198 7, // 15: google.cloud.bigquery.v2.InsertRoutineRequest.routine:type_name -> google.cloud.bigquery.v2.Routine
2199 7, // 16: google.cloud.bigquery.v2.UpdateRoutineRequest.routine:type_name -> google.cloud.bigquery.v2.Routine
2200 7, // 17: google.cloud.bigquery.v2.PatchRoutineRequest.routine:type_name -> google.cloud.bigquery.v2.Routine
2201 26, // 18: google.cloud.bigquery.v2.PatchRoutineRequest.field_mask:type_name -> google.protobuf.FieldMask
2202 27, // 19: google.cloud.bigquery.v2.ListRoutinesRequest.max_results:type_name -> google.protobuf.UInt32Value
2203 7, // 20: google.cloud.bigquery.v2.ListRoutinesResponse.routines:type_name -> google.cloud.bigquery.v2.Routine
2204 5, // 21: google.cloud.bigquery.v2.Routine.Argument.argument_kind:type_name -> google.cloud.bigquery.v2.Routine.Argument.ArgumentKind
2205 6, // 22: google.cloud.bigquery.v2.Routine.Argument.mode:type_name -> google.cloud.bigquery.v2.Routine.Argument.Mode
2206 23, // 23: google.cloud.bigquery.v2.Routine.Argument.data_type:type_name -> google.cloud.bigquery.v2.StandardSqlDataType
2207 25, // 24: google.cloud.bigquery.v2.Routine.Argument.is_aggregate:type_name -> google.protobuf.BoolValue
2208 20, // 25: google.cloud.bigquery.v2.Routine.RemoteFunctionOptions.user_defined_context:type_name -> google.cloud.bigquery.v2.Routine.RemoteFunctionOptions.UserDefinedContextEntry
2209 11, // 26: google.cloud.bigquery.v2.RoutineService.GetRoutine:input_type -> google.cloud.bigquery.v2.GetRoutineRequest
2210 12, // 27: google.cloud.bigquery.v2.RoutineService.InsertRoutine:input_type -> google.cloud.bigquery.v2.InsertRoutineRequest
2211 13, // 28: google.cloud.bigquery.v2.RoutineService.UpdateRoutine:input_type -> google.cloud.bigquery.v2.UpdateRoutineRequest
2212 14, // 29: google.cloud.bigquery.v2.RoutineService.PatchRoutine:input_type -> google.cloud.bigquery.v2.PatchRoutineRequest
2213 15, // 30: google.cloud.bigquery.v2.RoutineService.DeleteRoutine:input_type -> google.cloud.bigquery.v2.DeleteRoutineRequest
2214 16, // 31: google.cloud.bigquery.v2.RoutineService.ListRoutines:input_type -> google.cloud.bigquery.v2.ListRoutinesRequest
2215 7, // 32: google.cloud.bigquery.v2.RoutineService.GetRoutine:output_type -> google.cloud.bigquery.v2.Routine
2216 7, // 33: google.cloud.bigquery.v2.RoutineService.InsertRoutine:output_type -> google.cloud.bigquery.v2.Routine
2217 7, // 34: google.cloud.bigquery.v2.RoutineService.UpdateRoutine:output_type -> google.cloud.bigquery.v2.Routine
2218 7, // 35: google.cloud.bigquery.v2.RoutineService.PatchRoutine:output_type -> google.cloud.bigquery.v2.Routine
2219 28, // 36: google.cloud.bigquery.v2.RoutineService.DeleteRoutine:output_type -> google.protobuf.Empty
2220 17, // 37: google.cloud.bigquery.v2.RoutineService.ListRoutines:output_type -> google.cloud.bigquery.v2.ListRoutinesResponse
2221 32, // [32:38] is the sub-list for method output_type
2222 26, // [26:32] is the sub-list for method input_type
2223 26, // [26:26] is the sub-list for extension type_name
2224 26, // [26:26] is the sub-list for extension extendee
2225 0, // [0:26] is the sub-list for field type_name
2226 }
2227
2228 func init() { file_google_cloud_bigquery_v2_routine_proto_init() }
2229 func file_google_cloud_bigquery_v2_routine_proto_init() {
2230 if File_google_cloud_bigquery_v2_routine_proto != nil {
2231 return
2232 }
2233 file_google_cloud_bigquery_v2_routine_reference_proto_init()
2234 file_google_cloud_bigquery_v2_standard_sql_proto_init()
2235 type x struct{}
2236 out := protoimpl.TypeBuilder{
2237 File: protoimpl.DescBuilder{
2238 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
2239 RawDescriptor: file_google_cloud_bigquery_v2_routine_proto_rawDesc,
2240 NumEnums: 7,
2241 NumMessages: 15,
2242 NumExtensions: 0,
2243 NumServices: 1,
2244 },
2245 GoTypes: file_google_cloud_bigquery_v2_routine_proto_goTypes,
2246 DependencyIndexes: file_google_cloud_bigquery_v2_routine_proto_depIdxs,
2247 EnumInfos: file_google_cloud_bigquery_v2_routine_proto_enumTypes,
2248 MessageInfos: file_google_cloud_bigquery_v2_routine_proto_msgTypes,
2249 }.Build()
2250 File_google_cloud_bigquery_v2_routine_proto = out.File
2251 file_google_cloud_bigquery_v2_routine_proto_rawDesc = nil
2252 file_google_cloud_bigquery_v2_routine_proto_goTypes = nil
2253 file_google_cloud_bigquery_v2_routine_proto_depIdxs = nil
2254 }
2255
2256 // Reference imports to suppress errors if they are not otherwise used.
2257 var _ context.Context
2258 var _ grpc.ClientConnInterface
2259
2260 // This is a compile-time assertion to ensure that this generated file
2261 // is compatible with the grpc package it is being compiled against.
2262 const _ = grpc.SupportPackageIsVersion6
2263
2264 // RoutineServiceClient is the client API for RoutineService service.
2265 //
2266 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
2267 type RoutineServiceClient interface {
2268 // Gets the specified routine resource by routine ID.
2269 GetRoutine(ctx context.Context, in *GetRoutineRequest, opts ...grpc.CallOption) (*Routine, error)
2270 // Creates a new routine in the dataset.
2271 InsertRoutine(ctx context.Context, in *InsertRoutineRequest, opts ...grpc.CallOption) (*Routine, error)
2272 // Updates information in an existing routine. The update method replaces the
2273 // entire Routine resource.
2274 UpdateRoutine(ctx context.Context, in *UpdateRoutineRequest, opts ...grpc.CallOption) (*Routine, error)
2275 // Patches information in an existing routine. The patch method does a partial
2276 // update to an existing Routine resource.
2277 PatchRoutine(ctx context.Context, in *PatchRoutineRequest, opts ...grpc.CallOption) (*Routine, error)
2278 // Deletes the routine specified by routineId from the dataset.
2279 DeleteRoutine(ctx context.Context, in *DeleteRoutineRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
2280 // Lists all routines in the specified dataset. Requires the READER dataset
2281 // role.
2282 ListRoutines(ctx context.Context, in *ListRoutinesRequest, opts ...grpc.CallOption) (*ListRoutinesResponse, error)
2283 }
2284
2285 type routineServiceClient struct {
2286 cc grpc.ClientConnInterface
2287 }
2288
2289 func NewRoutineServiceClient(cc grpc.ClientConnInterface) RoutineServiceClient {
2290 return &routineServiceClient{cc}
2291 }
2292
2293 func (c *routineServiceClient) GetRoutine(ctx context.Context, in *GetRoutineRequest, opts ...grpc.CallOption) (*Routine, error) {
2294 out := new(Routine)
2295 err := c.cc.Invoke(ctx, "/google.cloud.bigquery.v2.RoutineService/GetRoutine", in, out, opts...)
2296 if err != nil {
2297 return nil, err
2298 }
2299 return out, nil
2300 }
2301
2302 func (c *routineServiceClient) InsertRoutine(ctx context.Context, in *InsertRoutineRequest, opts ...grpc.CallOption) (*Routine, error) {
2303 out := new(Routine)
2304 err := c.cc.Invoke(ctx, "/google.cloud.bigquery.v2.RoutineService/InsertRoutine", in, out, opts...)
2305 if err != nil {
2306 return nil, err
2307 }
2308 return out, nil
2309 }
2310
2311 func (c *routineServiceClient) UpdateRoutine(ctx context.Context, in *UpdateRoutineRequest, opts ...grpc.CallOption) (*Routine, error) {
2312 out := new(Routine)
2313 err := c.cc.Invoke(ctx, "/google.cloud.bigquery.v2.RoutineService/UpdateRoutine", in, out, opts...)
2314 if err != nil {
2315 return nil, err
2316 }
2317 return out, nil
2318 }
2319
2320 func (c *routineServiceClient) PatchRoutine(ctx context.Context, in *PatchRoutineRequest, opts ...grpc.CallOption) (*Routine, error) {
2321 out := new(Routine)
2322 err := c.cc.Invoke(ctx, "/google.cloud.bigquery.v2.RoutineService/PatchRoutine", in, out, opts...)
2323 if err != nil {
2324 return nil, err
2325 }
2326 return out, nil
2327 }
2328
2329 func (c *routineServiceClient) DeleteRoutine(ctx context.Context, in *DeleteRoutineRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
2330 out := new(emptypb.Empty)
2331 err := c.cc.Invoke(ctx, "/google.cloud.bigquery.v2.RoutineService/DeleteRoutine", in, out, opts...)
2332 if err != nil {
2333 return nil, err
2334 }
2335 return out, nil
2336 }
2337
2338 func (c *routineServiceClient) ListRoutines(ctx context.Context, in *ListRoutinesRequest, opts ...grpc.CallOption) (*ListRoutinesResponse, error) {
2339 out := new(ListRoutinesResponse)
2340 err := c.cc.Invoke(ctx, "/google.cloud.bigquery.v2.RoutineService/ListRoutines", in, out, opts...)
2341 if err != nil {
2342 return nil, err
2343 }
2344 return out, nil
2345 }
2346
2347 // RoutineServiceServer is the server API for RoutineService service.
2348 type RoutineServiceServer interface {
2349 // Gets the specified routine resource by routine ID.
2350 GetRoutine(context.Context, *GetRoutineRequest) (*Routine, error)
2351 // Creates a new routine in the dataset.
2352 InsertRoutine(context.Context, *InsertRoutineRequest) (*Routine, error)
2353 // Updates information in an existing routine. The update method replaces the
2354 // entire Routine resource.
2355 UpdateRoutine(context.Context, *UpdateRoutineRequest) (*Routine, error)
2356 // Patches information in an existing routine. The patch method does a partial
2357 // update to an existing Routine resource.
2358 PatchRoutine(context.Context, *PatchRoutineRequest) (*Routine, error)
2359 // Deletes the routine specified by routineId from the dataset.
2360 DeleteRoutine(context.Context, *DeleteRoutineRequest) (*emptypb.Empty, error)
2361 // Lists all routines in the specified dataset. Requires the READER dataset
2362 // role.
2363 ListRoutines(context.Context, *ListRoutinesRequest) (*ListRoutinesResponse, error)
2364 }
2365
2366 // UnimplementedRoutineServiceServer can be embedded to have forward compatible implementations.
2367 type UnimplementedRoutineServiceServer struct {
2368 }
2369
2370 func (*UnimplementedRoutineServiceServer) GetRoutine(context.Context, *GetRoutineRequest) (*Routine, error) {
2371 return nil, status.Errorf(codes.Unimplemented, "method GetRoutine not implemented")
2372 }
2373 func (*UnimplementedRoutineServiceServer) InsertRoutine(context.Context, *InsertRoutineRequest) (*Routine, error) {
2374 return nil, status.Errorf(codes.Unimplemented, "method InsertRoutine not implemented")
2375 }
2376 func (*UnimplementedRoutineServiceServer) UpdateRoutine(context.Context, *UpdateRoutineRequest) (*Routine, error) {
2377 return nil, status.Errorf(codes.Unimplemented, "method UpdateRoutine not implemented")
2378 }
2379 func (*UnimplementedRoutineServiceServer) PatchRoutine(context.Context, *PatchRoutineRequest) (*Routine, error) {
2380 return nil, status.Errorf(codes.Unimplemented, "method PatchRoutine not implemented")
2381 }
2382 func (*UnimplementedRoutineServiceServer) DeleteRoutine(context.Context, *DeleteRoutineRequest) (*emptypb.Empty, error) {
2383 return nil, status.Errorf(codes.Unimplemented, "method DeleteRoutine not implemented")
2384 }
2385 func (*UnimplementedRoutineServiceServer) ListRoutines(context.Context, *ListRoutinesRequest) (*ListRoutinesResponse, error) {
2386 return nil, status.Errorf(codes.Unimplemented, "method ListRoutines not implemented")
2387 }
2388
2389 func RegisterRoutineServiceServer(s *grpc.Server, srv RoutineServiceServer) {
2390 s.RegisterService(&_RoutineService_serviceDesc, srv)
2391 }
2392
2393 func _RoutineService_GetRoutine_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2394 in := new(GetRoutineRequest)
2395 if err := dec(in); err != nil {
2396 return nil, err
2397 }
2398 if interceptor == nil {
2399 return srv.(RoutineServiceServer).GetRoutine(ctx, in)
2400 }
2401 info := &grpc.UnaryServerInfo{
2402 Server: srv,
2403 FullMethod: "/google.cloud.bigquery.v2.RoutineService/GetRoutine",
2404 }
2405 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2406 return srv.(RoutineServiceServer).GetRoutine(ctx, req.(*GetRoutineRequest))
2407 }
2408 return interceptor(ctx, in, info, handler)
2409 }
2410
2411 func _RoutineService_InsertRoutine_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2412 in := new(InsertRoutineRequest)
2413 if err := dec(in); err != nil {
2414 return nil, err
2415 }
2416 if interceptor == nil {
2417 return srv.(RoutineServiceServer).InsertRoutine(ctx, in)
2418 }
2419 info := &grpc.UnaryServerInfo{
2420 Server: srv,
2421 FullMethod: "/google.cloud.bigquery.v2.RoutineService/InsertRoutine",
2422 }
2423 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2424 return srv.(RoutineServiceServer).InsertRoutine(ctx, req.(*InsertRoutineRequest))
2425 }
2426 return interceptor(ctx, in, info, handler)
2427 }
2428
2429 func _RoutineService_UpdateRoutine_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2430 in := new(UpdateRoutineRequest)
2431 if err := dec(in); err != nil {
2432 return nil, err
2433 }
2434 if interceptor == nil {
2435 return srv.(RoutineServiceServer).UpdateRoutine(ctx, in)
2436 }
2437 info := &grpc.UnaryServerInfo{
2438 Server: srv,
2439 FullMethod: "/google.cloud.bigquery.v2.RoutineService/UpdateRoutine",
2440 }
2441 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2442 return srv.(RoutineServiceServer).UpdateRoutine(ctx, req.(*UpdateRoutineRequest))
2443 }
2444 return interceptor(ctx, in, info, handler)
2445 }
2446
2447 func _RoutineService_PatchRoutine_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2448 in := new(PatchRoutineRequest)
2449 if err := dec(in); err != nil {
2450 return nil, err
2451 }
2452 if interceptor == nil {
2453 return srv.(RoutineServiceServer).PatchRoutine(ctx, in)
2454 }
2455 info := &grpc.UnaryServerInfo{
2456 Server: srv,
2457 FullMethod: "/google.cloud.bigquery.v2.RoutineService/PatchRoutine",
2458 }
2459 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2460 return srv.(RoutineServiceServer).PatchRoutine(ctx, req.(*PatchRoutineRequest))
2461 }
2462 return interceptor(ctx, in, info, handler)
2463 }
2464
2465 func _RoutineService_DeleteRoutine_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2466 in := new(DeleteRoutineRequest)
2467 if err := dec(in); err != nil {
2468 return nil, err
2469 }
2470 if interceptor == nil {
2471 return srv.(RoutineServiceServer).DeleteRoutine(ctx, in)
2472 }
2473 info := &grpc.UnaryServerInfo{
2474 Server: srv,
2475 FullMethod: "/google.cloud.bigquery.v2.RoutineService/DeleteRoutine",
2476 }
2477 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2478 return srv.(RoutineServiceServer).DeleteRoutine(ctx, req.(*DeleteRoutineRequest))
2479 }
2480 return interceptor(ctx, in, info, handler)
2481 }
2482
2483 func _RoutineService_ListRoutines_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2484 in := new(ListRoutinesRequest)
2485 if err := dec(in); err != nil {
2486 return nil, err
2487 }
2488 if interceptor == nil {
2489 return srv.(RoutineServiceServer).ListRoutines(ctx, in)
2490 }
2491 info := &grpc.UnaryServerInfo{
2492 Server: srv,
2493 FullMethod: "/google.cloud.bigquery.v2.RoutineService/ListRoutines",
2494 }
2495 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2496 return srv.(RoutineServiceServer).ListRoutines(ctx, req.(*ListRoutinesRequest))
2497 }
2498 return interceptor(ctx, in, info, handler)
2499 }
2500
2501 var _RoutineService_serviceDesc = grpc.ServiceDesc{
2502 ServiceName: "google.cloud.bigquery.v2.RoutineService",
2503 HandlerType: (*RoutineServiceServer)(nil),
2504 Methods: []grpc.MethodDesc{
2505 {
2506 MethodName: "GetRoutine",
2507 Handler: _RoutineService_GetRoutine_Handler,
2508 },
2509 {
2510 MethodName: "InsertRoutine",
2511 Handler: _RoutineService_InsertRoutine_Handler,
2512 },
2513 {
2514 MethodName: "UpdateRoutine",
2515 Handler: _RoutineService_UpdateRoutine_Handler,
2516 },
2517 {
2518 MethodName: "PatchRoutine",
2519 Handler: _RoutineService_PatchRoutine_Handler,
2520 },
2521 {
2522 MethodName: "DeleteRoutine",
2523 Handler: _RoutineService_DeleteRoutine_Handler,
2524 },
2525 {
2526 MethodName: "ListRoutines",
2527 Handler: _RoutineService_ListRoutines_Handler,
2528 },
2529 },
2530 Streams: []grpc.StreamDesc{},
2531 Metadata: "google/cloud/bigquery/v2/routine.proto",
2532 }