Debian Codegraph @

googleapis/cloud/functions/v1beta2/functions.pb.go

raw
1 // Copyright 2019 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
16 // Code generated by protoc-gen-go. DO NOT EDIT.
17 // versions:
18 // protoc-gen-go v1.22.0
19 // protoc v3.12.3
20 // source: google/cloud/functions/v1beta2/functions.proto
21
22 package functions
23
24 import (
25 context "context"
26 reflect "reflect"
27 sync "sync"
28
29 proto "github.com/golang/protobuf/proto"
30 duration "github.com/golang/protobuf/ptypes/duration"
31 timestamp "github.com/golang/protobuf/ptypes/timestamp"
32 _ "google.golang.org/genproto/googleapis/api/annotations"
33 longrunning "google.golang.org/genproto/googleapis/longrunning"
34 grpc "google.golang.org/grpc"
35 codes "google.golang.org/grpc/codes"
36 status "google.golang.org/grpc/status"
37 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
38 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
39 )
40
41 const (
42 // Verify that this generated code is sufficiently up-to-date.
43 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
44 // Verify that runtime/protoimpl is sufficiently up-to-date.
45 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
46 )
47
48 // This is a compile-time assertion that a sufficiently up-to-date version
49 // of the legacy proto package is being used.
50 const _ = proto.ProtoPackageIsVersion4
51
52 // Describes the current stage of a deployment.
53 type CloudFunctionStatus int32
54
55 const (
56 // Status not specified.
57 CloudFunctionStatus_STATUS_UNSPECIFIED CloudFunctionStatus = 0
58 // Successfully deployed.
59 CloudFunctionStatus_READY CloudFunctionStatus = 1
60 // Not deployed correctly - behavior is undefined. The item should be updated
61 // or deleted to move it out of this state.
62 CloudFunctionStatus_FAILED CloudFunctionStatus = 2
63 // Creation or update in progress.
64 CloudFunctionStatus_DEPLOYING CloudFunctionStatus = 3
65 // Deletion in progress.
66 CloudFunctionStatus_DELETING CloudFunctionStatus = 4
67 )
68
69 // Enum value maps for CloudFunctionStatus.
70 var (
71 CloudFunctionStatus_name = map[int32]string{
72 0: "STATUS_UNSPECIFIED",
73 1: "READY",
74 2: "FAILED",
75 3: "DEPLOYING",
76 4: "DELETING",
77 }
78 CloudFunctionStatus_value = map[string]int32{
79 "STATUS_UNSPECIFIED": 0,
80 "READY": 1,
81 "FAILED": 2,
82 "DEPLOYING": 3,
83 "DELETING": 4,
84 }
85 )
86
87 func (x CloudFunctionStatus) Enum() *CloudFunctionStatus {
88 p := new(CloudFunctionStatus)
89 *p = x
90 return p
91 }
92
93 func (x CloudFunctionStatus) String() string {
94 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
95 }
96
97 func (CloudFunctionStatus) Descriptor() protoreflect.EnumDescriptor {
98 return file_google_cloud_functions_v1beta2_functions_proto_enumTypes[0].Descriptor()
99 }
100
101 func (CloudFunctionStatus) Type() protoreflect.EnumType {
102 return &file_google_cloud_functions_v1beta2_functions_proto_enumTypes[0]
103 }
104
105 func (x CloudFunctionStatus) Number() protoreflect.EnumNumber {
106 return protoreflect.EnumNumber(x)
107 }
108
109 // Deprecated: Use CloudFunctionStatus.Descriptor instead.
110 func (CloudFunctionStatus) EnumDescriptor() ([]byte, []int) {
111 return file_google_cloud_functions_v1beta2_functions_proto_rawDescGZIP(), []int{0}
112 }
113
114 // Describes a Cloud Function that contains user computation executed in
115 // response to an event. It encapsulate function and triggers configurations.
116 type CloudFunction struct {
117 state protoimpl.MessageState
118 sizeCache protoimpl.SizeCache
119 unknownFields protoimpl.UnknownFields
120
121 // A user-defined name of the function. Function names must be unique
122 // globally and match pattern `projects/*/locations/*/functions/*`
123 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
124 // The location of the function source code.
125 //
126 // Types that are assignable to SourceCode:
127 // *CloudFunction_SourceArchiveUrl
128 // *CloudFunction_SourceRepository
129 // *CloudFunction_SourceRepositoryUrl
130 // *CloudFunction_SourceUploadUrl
131 SourceCode isCloudFunction_SourceCode `protobuf_oneof:"source_code"`
132 // An event that triggers the function.
133 //
134 // Types that are assignable to Trigger:
135 // *CloudFunction_HttpsTrigger
136 // *CloudFunction_EventTrigger
137 Trigger isCloudFunction_Trigger `protobuf_oneof:"trigger"`
138 // Output only. Status of the function deployment.
139 Status CloudFunctionStatus `protobuf:"varint,7,opt,name=status,proto3,enum=google.cloud.functions.v1beta2.CloudFunctionStatus" json:"status,omitempty"`
140 // Output only. Name of the most recent operation modifying the function. If
141 // the function status is `DEPLOYING` or `DELETING`, then it points to the
142 // active operation.
143 LatestOperation string `protobuf:"bytes,8,opt,name=latest_operation,json=latestOperation,proto3" json:"latest_operation,omitempty"`
144 // The name of the function (as defined in source code) that will be
145 // executed. Defaults to the resource name suffix, if not specified. For
146 // backward compatibility, if function with given name is not found, then the
147 // system will try to use function named "function".
148 // For Node.js this is name of a function exported by the module specified
149 // in `source_location`.
150 EntryPoint string `protobuf:"bytes,9,opt,name=entry_point,json=entryPoint,proto3" json:"entry_point,omitempty"`
151 // The runtime in which to run the function. Required when deploying a new
152 // function, optional when updating an existing function. For a complete
153 // list of possible choices, see the
154 // [`gcloud` command
155 // reference](/sdk/gcloud/reference/functions/deploy#--runtime).
156 Runtime string `protobuf:"bytes,23,opt,name=runtime,proto3" json:"runtime,omitempty"`
157 // The function execution timeout. Execution is considered failed and
158 // can be terminated if the function is not completed at the end of the
159 // timeout period. Defaults to 60 seconds.
160 Timeout *duration.Duration `protobuf:"bytes,10,opt,name=timeout,proto3" json:"timeout,omitempty"`
161 // The amount of memory in MB available for a function.
162 // Defaults to 256MB.
163 AvailableMemoryMb int32 `protobuf:"varint,11,opt,name=available_memory_mb,json=availableMemoryMb,proto3" json:"available_memory_mb,omitempty"`
164 // The email of the function's service account. If empty, defaults to
165 // `{project_id}@appspot.gserviceaccount.com`.
166 ServiceAccount string `protobuf:"bytes,13,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
167 // Output only. The last update timestamp of a Cloud Function.
168 UpdateTime *timestamp.Timestamp `protobuf:"bytes,15,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
169 // Output only. The version identifier of the Cloud Function. Each deployment attempt
170 // results in a new version of a function being created.
171 VersionId int64 `protobuf:"varint,20,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"`
172 // Labels associated with this Cloud Function.
173 Labels map[string]string `protobuf:"bytes,21,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
174 // Environment variables that shall be available during function execution.
175 EnvironmentVariables map[string]string `protobuf:"bytes,22,rep,name=environment_variables,json=environmentVariables,proto3" json:"environment_variables,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
176 // The limit on the maximum number of function instances that may coexist at a
177 // given time.
178 MaxInstances int32 `protobuf:"varint,24,opt,name=max_instances,json=maxInstances,proto3" json:"max_instances,omitempty"`
179 // The VPC Network that this cloud function can connect to. It can be
180 // either the fully-qualified URI, or the short name of the network resource.
181 // If the short network name is used, the network must belong to the same
182 // project. Otherwise, it must belong to a project within the same
183 // organization. The format of this field is either
184 // `projects/{project}/global/networks/{network}` or `{network}`, where
185 // {project} is a project id where the network is defined, and {network} is
186 // the short name of the network.
187 //
188 // This field is mutually exclusive with `vpc_connector` and will be replaced
189 // by it.
190 //
191 // See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for
192 // more information on connecting Cloud projects.
193 Network string `protobuf:"bytes,25,opt,name=network,proto3" json:"network,omitempty"`
194 // The VPC Network Connector that this cloud function can connect to. It can
195 // be either the fully-qualified URI, or the short name of the network
196 // connector resource. The format of this field is
197 // `projects/*/locations/*/connectors/*`
198 //
199 // This field is mutually exclusive with `network` field and will eventually
200 // replace it.
201 //
202 // See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for
203 // more information on connecting Cloud projects.
204 VpcConnector string `protobuf:"bytes,26,opt,name=vpc_connector,json=vpcConnector,proto3" json:"vpc_connector,omitempty"`
205 }
206
207 func (x *CloudFunction) Reset() {
208 *x = CloudFunction{}
209 if protoimpl.UnsafeEnabled {
210 mi := &file_google_cloud_functions_v1beta2_functions_proto_msgTypes[0]
211 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
212 ms.StoreMessageInfo(mi)
213 }
214 }
215
216 func (x *CloudFunction) String() string {
217 return protoimpl.X.MessageStringOf(x)
218 }
219
220 func (*CloudFunction) ProtoMessage() {}
221
222 func (x *CloudFunction) ProtoReflect() protoreflect.Message {
223 mi := &file_google_cloud_functions_v1beta2_functions_proto_msgTypes[0]
224 if protoimpl.UnsafeEnabled && x != nil {
225 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
226 if ms.LoadMessageInfo() == nil {
227 ms.StoreMessageInfo(mi)
228 }
229 return ms
230 }
231 return mi.MessageOf(x)
232 }
233
234 // Deprecated: Use CloudFunction.ProtoReflect.Descriptor instead.
235 func (*CloudFunction) Descriptor() ([]byte, []int) {
236 return file_google_cloud_functions_v1beta2_functions_proto_rawDescGZIP(), []int{0}
237 }
238
239 func (x *CloudFunction) GetName() string {
240 if x != nil {
241 return x.Name
242 }
243 return ""
244 }
245
246 func (m *CloudFunction) GetSourceCode() isCloudFunction_SourceCode {
247 if m != nil {
248 return m.SourceCode
249 }
250 return nil
251 }
252
253 func (x *CloudFunction) GetSourceArchiveUrl() string {
254 if x, ok := x.GetSourceCode().(*CloudFunction_SourceArchiveUrl); ok {
255 return x.SourceArchiveUrl
256 }
257 return ""
258 }
259
260 func (x *CloudFunction) GetSourceRepository() *SourceRepository {
261 if x, ok := x.GetSourceCode().(*CloudFunction_SourceRepository); ok {
262 return x.SourceRepository
263 }
264 return nil
265 }
266
267 func (x *CloudFunction) GetSourceRepositoryUrl() string {
268 if x, ok := x.GetSourceCode().(*CloudFunction_SourceRepositoryUrl); ok {
269 return x.SourceRepositoryUrl
270 }
271 return ""
272 }
273
274 func (x *CloudFunction) GetSourceUploadUrl() string {
275 if x, ok := x.GetSourceCode().(*CloudFunction_SourceUploadUrl); ok {
276 return x.SourceUploadUrl
277 }
278 return ""
279 }
280
281 func (m *CloudFunction) GetTrigger() isCloudFunction_Trigger {
282 if m != nil {
283 return m.Trigger
284 }
285 return nil
286 }
287
288 func (x *CloudFunction) GetHttpsTrigger() *HTTPSTrigger {
289 if x, ok := x.GetTrigger().(*CloudFunction_HttpsTrigger); ok {
290 return x.HttpsTrigger
291 }
292 return nil
293 }
294
295 func (x *CloudFunction) GetEventTrigger() *EventTrigger {
296 if x, ok := x.GetTrigger().(*CloudFunction_EventTrigger); ok {
297 return x.EventTrigger
298 }
299 return nil
300 }
301
302 func (x *CloudFunction) GetStatus() CloudFunctionStatus {
303 if x != nil {
304 return x.Status
305 }
306 return CloudFunctionStatus_STATUS_UNSPECIFIED
307 }
308
309 func (x *CloudFunction) GetLatestOperation() string {
310 if x != nil {
311 return x.LatestOperation
312 }
313 return ""
314 }
315
316 func (x *CloudFunction) GetEntryPoint() string {
317 if x != nil {
318 return x.EntryPoint
319 }
320 return ""
321 }
322
323 func (x *CloudFunction) GetRuntime() string {
324 if x != nil {
325 return x.Runtime
326 }
327 return ""
328 }
329
330 func (x *CloudFunction) GetTimeout() *duration.Duration {
331 if x != nil {
332 return x.Timeout
333 }
334 return nil
335 }
336
337 func (x *CloudFunction) GetAvailableMemoryMb() int32 {
338 if x != nil {
339 return x.AvailableMemoryMb
340 }
341 return 0
342 }
343
344 func (x *CloudFunction) GetServiceAccount() string {
345 if x != nil {
346 return x.ServiceAccount
347 }
348 return ""
349 }
350
351 func (x *CloudFunction) GetUpdateTime() *timestamp.Timestamp {
352 if x != nil {
353 return x.UpdateTime
354 }
355 return nil
356 }
357
358 func (x *CloudFunction) GetVersionId() int64 {
359 if x != nil {
360 return x.VersionId
361 }
362 return 0
363 }
364
365 func (x *CloudFunction) GetLabels() map[string]string {
366 if x != nil {
367 return x.Labels
368 }
369 return nil
370 }
371
372 func (x *CloudFunction) GetEnvironmentVariables() map[string]string {
373 if x != nil {
374 return x.EnvironmentVariables
375 }
376 return nil
377 }
378
379 func (x *CloudFunction) GetMaxInstances() int32 {
380 if x != nil {
381 return x.MaxInstances
382 }
383 return 0
384 }
385
386 func (x *CloudFunction) GetNetwork() string {
387 if x != nil {
388 return x.Network
389 }
390 return ""
391 }
392
393 func (x *CloudFunction) GetVpcConnector() string {
394 if x != nil {
395 return x.VpcConnector
396 }
397 return ""
398 }
399
400 type isCloudFunction_SourceCode interface {
401 isCloudFunction_SourceCode()
402 }
403
404 type CloudFunction_SourceArchiveUrl struct {
405 // The Google Cloud Storage URL, starting with gs://, pointing to the zip
406 // archive which contains the function.
407 SourceArchiveUrl string `protobuf:"bytes,14,opt,name=source_archive_url,json=sourceArchiveUrl,proto3,oneof"`
408 }
409
410 type CloudFunction_SourceRepository struct {
411 // The hosted repository where the function is defined.
412 SourceRepository *SourceRepository `protobuf:"bytes,3,opt,name=source_repository,json=sourceRepository,proto3,oneof"`
413 }
414
415 type CloudFunction_SourceRepositoryUrl struct {
416 // The URL pointing to the hosted repository where the function is defined.
417 // There are supported Cloud Source Repository URLs in the following
418 // formats:
419 //
420 // To refer to a specific commit:
421 // `https://source.developers.google.com/projects/*/repos/*/revisions/*/paths/*`
422 // To refer to a moveable alias (branch):
423 // `https://source.developers.google.com/projects/*/repos/*/moveable-aliases/*/paths/*`
424 // In particular, to refer to HEAD use `master` moveable alias.
425 // To refer to a specific fixed alias (tag):
426 // `https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/*`
427 //
428 // You may omit `paths/*` if you want to use the main directory.
429 SourceRepositoryUrl string `protobuf:"bytes,18,opt,name=source_repository_url,json=sourceRepositoryUrl,proto3,oneof"`
430 }
431
432 type CloudFunction_SourceUploadUrl struct {
433 // The Google Cloud Storage signed URL used for source uploading, generated
434 // by [google.cloud.functions.v1beta2.GenerateUploadUrl][]
435 SourceUploadUrl string `protobuf:"bytes,16,opt,name=source_upload_url,json=sourceUploadUrl,proto3,oneof"`
436 }
437
438 func (*CloudFunction_SourceArchiveUrl) isCloudFunction_SourceCode() {}
439
440 func (*CloudFunction_SourceRepository) isCloudFunction_SourceCode() {}
441
442 func (*CloudFunction_SourceRepositoryUrl) isCloudFunction_SourceCode() {}
443
444 func (*CloudFunction_SourceUploadUrl) isCloudFunction_SourceCode() {}
445
446 type isCloudFunction_Trigger interface {
447 isCloudFunction_Trigger()
448 }
449
450 type CloudFunction_HttpsTrigger struct {
451 // An HTTPS endpoint type of source that can be triggered via URL.
452 HttpsTrigger *HTTPSTrigger `protobuf:"bytes,6,opt,name=https_trigger,json=httpsTrigger,proto3,oneof"`
453 }
454
455 type CloudFunction_EventTrigger struct {
456 // A source that fires events in response to a condition in another service.
457 EventTrigger *EventTrigger `protobuf:"bytes,12,opt,name=event_trigger,json=eventTrigger,proto3,oneof"`
458 }
459
460 func (*CloudFunction_HttpsTrigger) isCloudFunction_Trigger() {}
461
462 func (*CloudFunction_EventTrigger) isCloudFunction_Trigger() {}
463
464 // Describes HTTPSTrigger, could be used to connect web hooks to function.
465 type HTTPSTrigger struct {
466 state protoimpl.MessageState
467 sizeCache protoimpl.SizeCache
468 unknownFields protoimpl.UnknownFields
469
470 // Output only. The deployed url for the function.
471 Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
472 }
473
474 func (x *HTTPSTrigger) Reset() {
475 *x = HTTPSTrigger{}
476 if protoimpl.UnsafeEnabled {
477 mi := &file_google_cloud_functions_v1beta2_functions_proto_msgTypes[1]
478 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
479 ms.StoreMessageInfo(mi)
480 }
481 }
482
483 func (x *HTTPSTrigger) String() string {
484 return protoimpl.X.MessageStringOf(x)
485 }
486
487 func (*HTTPSTrigger) ProtoMessage() {}
488
489 func (x *HTTPSTrigger) ProtoReflect() protoreflect.Message {
490 mi := &file_google_cloud_functions_v1beta2_functions_proto_msgTypes[1]
491 if protoimpl.UnsafeEnabled && x != nil {
492 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
493 if ms.LoadMessageInfo() == nil {
494 ms.StoreMessageInfo(mi)
495 }
496 return ms
497 }
498 return mi.MessageOf(x)
499 }
500
501 // Deprecated: Use HTTPSTrigger.ProtoReflect.Descriptor instead.
502 func (*HTTPSTrigger) Descriptor() ([]byte, []int) {
503 return file_google_cloud_functions_v1beta2_functions_proto_rawDescGZIP(), []int{1}
504 }
505
506 func (x *HTTPSTrigger) GetUrl() string {
507 if x != nil {
508 return x.Url
509 }
510 return ""
511 }
512
513 // Describes EventTrigger, used to request events be sent from another
514 // service.
515 type EventTrigger struct {
516 state protoimpl.MessageState
517 sizeCache protoimpl.SizeCache
518 unknownFields protoimpl.UnknownFields
519
520 // `event_type` names contain the service that is sending an event and the
521 // kind of event that was fired. Must be of the form
522 // `providers/*/eventTypes/*` e.g. Directly handle a Message published to
523 // Google Cloud Pub/Sub `providers/cloud.pubsub/eventTypes/topic.publish`.
524 //
525 // Handle an object changing in Google Cloud Storage:
526 // `providers/cloud.storage/eventTypes/object.change`
527 //
528 // Handle a write to the Firebase Realtime Database:
529 // `providers/google.firebase.database/eventTypes/ref.write`
530 EventType string `protobuf:"bytes,1,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"`
531 // Which instance of the source's service should send events. E.g. for Pub/Sub
532 // this would be a Pub/Sub topic at `projects/*/topics/*`. For Google Cloud
533 // Storage this would be a bucket at `projects/*/buckets/*`. For any source
534 // that only supports one instance per-project, this should be the name of the
535 // project (`projects/*`)
536 Resource string `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
537 // The hostname of the service that should be observed.
538 //
539 // If no string is provided, the default service implementing the API will
540 // be used. For example, `storage.googleapis.com` is the default for all
541 // event types in the `google.storage` namespace.
542 Service string `protobuf:"bytes,6,opt,name=service,proto3" json:"service,omitempty"`
543 // Specifies policy for failed executions.
544 FailurePolicy *FailurePolicy `protobuf:"bytes,5,opt,name=failure_policy,json=failurePolicy,proto3" json:"failure_policy,omitempty"`
545 }
546
547 func (x *EventTrigger) Reset() {
548 *x = EventTrigger{}
549 if protoimpl.UnsafeEnabled {
550 mi := &file_google_cloud_functions_v1beta2_functions_proto_msgTypes[2]
551 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
552 ms.StoreMessageInfo(mi)
553 }
554 }
555
556 func (x *EventTrigger) String() string {
557 return protoimpl.X.MessageStringOf(x)
558 }
559
560 func (*EventTrigger) ProtoMessage() {}
561
562 func (x *EventTrigger) ProtoReflect() protoreflect.Message {
563 mi := &file_google_cloud_functions_v1beta2_functions_proto_msgTypes[2]
564 if protoimpl.UnsafeEnabled && x != nil {
565 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
566 if ms.LoadMessageInfo() == nil {
567 ms.StoreMessageInfo(mi)
568 }
569 return ms
570 }
571 return mi.MessageOf(x)
572 }
573
574 // Deprecated: Use EventTrigger.ProtoReflect.Descriptor instead.
575 func (*EventTrigger) Descriptor() ([]byte, []int) {
576 return file_google_cloud_functions_v1beta2_functions_proto_rawDescGZIP(), []int{2}
577 }
578
579 func (x *EventTrigger) GetEventType() string {
580 if x != nil {
581 return x.EventType
582 }
583 return ""
584 }
585
586 func (x *EventTrigger) GetResource() string {
587 if x != nil {
588 return x.Resource
589 }
590 return ""
591 }
592
593 func (x *EventTrigger) GetService() string {
594 if x != nil {
595 return x.Service
596 }
597 return ""
598 }
599
600 func (x *EventTrigger) GetFailurePolicy() *FailurePolicy {
601 if x != nil {
602 return x.FailurePolicy
603 }
604 return nil
605 }
606
607 // Describes the location of the function source in a remote repository.
608 type SourceRepository struct {
609 state protoimpl.MessageState
610 sizeCache protoimpl.SizeCache
611 unknownFields protoimpl.UnknownFields
612
613 // URL to the hosted repository where the function is defined. Only paths in
614 // https://source.developers.google.com domain are supported. The path should
615 // contain the name of the repository.
616 RepositoryUrl string `protobuf:"bytes,1,opt,name=repository_url,json=repositoryUrl,proto3" json:"repository_url,omitempty"`
617 // The path within the repository where the function is defined. The path
618 // should point to the directory where Cloud Functions files are located. Use
619 // "/" if the function is defined directly in the root directory of a
620 // repository.
621 SourcePath string `protobuf:"bytes,2,opt,name=source_path,json=sourcePath,proto3" json:"source_path,omitempty"`
622 // The version of a function. Defaults to the latest version of the master
623 // branch.
624 //
625 // Types that are assignable to Version:
626 // *SourceRepository_Branch
627 // *SourceRepository_Tag
628 // *SourceRepository_Revision
629 Version isSourceRepository_Version `protobuf_oneof:"version"`
630 // Output only. The id of the revision that was resolved at the moment of
631 // function creation or update. For example when a user deployed from a
632 // branch, it will be the revision id of the latest change on this branch at
633 // that time. If user deployed from revision then this value will be always
634 // equal to the revision specified by the user.
635 DeployedRevision string `protobuf:"bytes,6,opt,name=deployed_revision,json=deployedRevision,proto3" json:"deployed_revision,omitempty"`
636 }
637
638 func (x *SourceRepository) Reset() {
639 *x = SourceRepository{}
640 if protoimpl.UnsafeEnabled {
641 mi := &file_google_cloud_functions_v1beta2_functions_proto_msgTypes[3]
642 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
643 ms.StoreMessageInfo(mi)
644 }
645 }
646
647 func (x *SourceRepository) String() string {
648 return protoimpl.X.MessageStringOf(x)
649 }
650
651 func (*SourceRepository) ProtoMessage() {}
652
653 func (x *SourceRepository) ProtoReflect() protoreflect.Message {
654 mi := &file_google_cloud_functions_v1beta2_functions_proto_msgTypes[3]
655 if protoimpl.UnsafeEnabled && x != nil {
656 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
657 if ms.LoadMessageInfo() == nil {
658 ms.StoreMessageInfo(mi)
659 }
660 return ms
661 }
662 return mi.MessageOf(x)
663 }
664
665 // Deprecated: Use SourceRepository.ProtoReflect.Descriptor instead.
666 func (*SourceRepository) Descriptor() ([]byte, []int) {
667 return file_google_cloud_functions_v1beta2_functions_proto_rawDescGZIP(), []int{3}
668 }
669
670 func (x *SourceRepository) GetRepositoryUrl() string {
671 if x != nil {
672 return x.RepositoryUrl
673 }
674 return ""
675 }
676
677 func (x *SourceRepository) GetSourcePath() string {
678 if x != nil {
679 return x.SourcePath
680 }
681 return ""
682 }
683
684 func (m *SourceRepository) GetVersion() isSourceRepository_Version {
685 if m != nil {
686 return m.Version
687 }
688 return nil
689 }
690
691 func (x *SourceRepository) GetBranch() string {
692 if x, ok := x.GetVersion().(*SourceRepository_Branch); ok {
693 return x.Branch
694 }
695 return ""
696 }
697
698 func (x *SourceRepository) GetTag() string {
699 if x, ok := x.GetVersion().(*SourceRepository_Tag); ok {
700 return x.Tag
701 }
702 return ""
703 }
704
705 func (x *SourceRepository) GetRevision() string {
706 if x, ok := x.GetVersion().(*SourceRepository_Revision); ok {
707 return x.Revision
708 }
709 return ""
710 }
711
712 func (x *SourceRepository) GetDeployedRevision() string {
713 if x != nil {
714 return x.DeployedRevision
715 }
716 return ""
717 }
718
719 type isSourceRepository_Version interface {
720 isSourceRepository_Version()
721 }
722
723 type SourceRepository_Branch struct {
724 // The name of the branch from which the function should be fetched.
725 Branch string `protobuf:"bytes,3,opt,name=branch,proto3,oneof"`
726 }
727
728 type SourceRepository_Tag struct {
729 // The name of the tag that captures the state of the repository from
730 // which the function should be fetched.
731 Tag string `protobuf:"bytes,4,opt,name=tag,proto3,oneof"`
732 }
733
734 type SourceRepository_Revision struct {
735 // The id of the revision that captures the state of the repository from
736 // which the function should be fetched.
737 Revision string `protobuf:"bytes,5,opt,name=revision,proto3,oneof"`
738 }
739
740 func (*SourceRepository_Branch) isSourceRepository_Version() {}
741
742 func (*SourceRepository_Tag) isSourceRepository_Version() {}
743
744 func (*SourceRepository_Revision) isSourceRepository_Version() {}
745
746 // Describes the policy in case of function's execution failure.
747 // If empty, then defaults to ignoring failures (i.e. not retrying them).
748 type FailurePolicy struct {
749 state protoimpl.MessageState
750 sizeCache protoimpl.SizeCache
751 unknownFields protoimpl.UnknownFields
752
753 // Defines the action taken in case of a function execution failure.
754 //
755 // Types that are assignable to Action:
756 // *FailurePolicy_Retry_
757 Action isFailurePolicy_Action `protobuf_oneof:"action"`
758 }
759
760 func (x *FailurePolicy) Reset() {
761 *x = FailurePolicy{}
762 if protoimpl.UnsafeEnabled {
763 mi := &file_google_cloud_functions_v1beta2_functions_proto_msgTypes[4]
764 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
765 ms.StoreMessageInfo(mi)
766 }
767 }
768
769 func (x *FailurePolicy) String() string {
770 return protoimpl.X.MessageStringOf(x)
771 }
772
773 func (*FailurePolicy) ProtoMessage() {}
774
775 func (x *FailurePolicy) ProtoReflect() protoreflect.Message {
776 mi := &file_google_cloud_functions_v1beta2_functions_proto_msgTypes[4]
777 if protoimpl.UnsafeEnabled && 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 FailurePolicy.ProtoReflect.Descriptor instead.
788 func (*FailurePolicy) Descriptor() ([]byte, []int) {
789 return file_google_cloud_functions_v1beta2_functions_proto_rawDescGZIP(), []int{4}
790 }
791
792 func (m *FailurePolicy) GetAction() isFailurePolicy_Action {
793 if m != nil {
794 return m.Action
795 }
796 return nil
797 }
798
799 func (x *FailurePolicy) GetRetry() *FailurePolicy_Retry {
800 if x, ok := x.GetAction().(*FailurePolicy_Retry_); ok {
801 return x.Retry
802 }
803 return nil
804 }
805
806 type isFailurePolicy_Action interface {
807 isFailurePolicy_Action()
808 }
809
810 type FailurePolicy_Retry_ struct {
811 // If specified, then the function will be retried in case of a failure.
812 Retry *FailurePolicy_Retry `protobuf:"bytes,1,opt,name=retry,proto3,oneof"`
813 }
814
815 func (*FailurePolicy_Retry_) isFailurePolicy_Action() {}
816
817 // Request for the `CreateFunction` method.
818 type CreateFunctionRequest struct {
819 state protoimpl.MessageState
820 sizeCache protoimpl.SizeCache
821 unknownFields protoimpl.UnknownFields
822
823 // Required. The project and location in which the function should be created, specified
824 // in the format `projects/*/locations/*`
825 Location string `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`
826 // Required. Function to be created.
827 Function *CloudFunction `protobuf:"bytes,2,opt,name=function,proto3" json:"function,omitempty"`
828 }
829
830 func (x *CreateFunctionRequest) Reset() {
831 *x = CreateFunctionRequest{}
832 if protoimpl.UnsafeEnabled {
833 mi := &file_google_cloud_functions_v1beta2_functions_proto_msgTypes[5]
834 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
835 ms.StoreMessageInfo(mi)
836 }
837 }
838
839 func (x *CreateFunctionRequest) String() string {
840 return protoimpl.X.MessageStringOf(x)
841 }
842
843 func (*CreateFunctionRequest) ProtoMessage() {}
844
845 func (x *CreateFunctionRequest) ProtoReflect() protoreflect.Message {
846 mi := &file_google_cloud_functions_v1beta2_functions_proto_msgTypes[5]
847 if protoimpl.UnsafeEnabled && x != nil {
848 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
849 if ms.LoadMessageInfo() == nil {
850 ms.StoreMessageInfo(mi)
851 }
852 return ms
853 }
854 return mi.MessageOf(x)
855 }
856
857 // Deprecated: Use CreateFunctionRequest.ProtoReflect.Descriptor instead.
858 func (*CreateFunctionRequest) Descriptor() ([]byte, []int) {
859 return file_google_cloud_functions_v1beta2_functions_proto_rawDescGZIP(), []int{5}
860 }
861
862 func (x *CreateFunctionRequest) GetLocation() string {
863 if x != nil {
864 return x.Location
865 }
866 return ""
867 }
868
869 func (x *CreateFunctionRequest) GetFunction() *CloudFunction {
870 if x != nil {
871 return x.Function
872 }
873 return nil
874 }
875
876 // Request for the `UpdateFunction` method.
877 type UpdateFunctionRequest struct {
878 state protoimpl.MessageState
879 sizeCache protoimpl.SizeCache
880 unknownFields protoimpl.UnknownFields
881
882 // Required. The name of the function to be updated.
883 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
884 // Required. New version of the function.
885 Function *CloudFunction `protobuf:"bytes,2,opt,name=function,proto3" json:"function,omitempty"`
886 }
887
888 func (x *UpdateFunctionRequest) Reset() {
889 *x = UpdateFunctionRequest{}
890 if protoimpl.UnsafeEnabled {
891 mi := &file_google_cloud_functions_v1beta2_functions_proto_msgTypes[6]
892 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
893 ms.StoreMessageInfo(mi)
894 }
895 }
896
897 func (x *UpdateFunctionRequest) String() string {
898 return protoimpl.X.MessageStringOf(x)
899 }
900
901 func (*UpdateFunctionRequest) ProtoMessage() {}
902
903 func (x *UpdateFunctionRequest) ProtoReflect() protoreflect.Message {
904 mi := &file_google_cloud_functions_v1beta2_functions_proto_msgTypes[6]
905 if protoimpl.UnsafeEnabled && x != nil {
906 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
907 if ms.LoadMessageInfo() == nil {
908 ms.StoreMessageInfo(mi)
909 }
910 return ms
911 }
912 return mi.MessageOf(x)
913 }
914
915 // Deprecated: Use UpdateFunctionRequest.ProtoReflect.Descriptor instead.
916 func (*UpdateFunctionRequest) Descriptor() ([]byte, []int) {
917 return file_google_cloud_functions_v1beta2_functions_proto_rawDescGZIP(), []int{6}
918 }
919
920 func (x *UpdateFunctionRequest) GetName() string {
921 if x != nil {
922 return x.Name
923 }
924 return ""
925 }
926
927 func (x *UpdateFunctionRequest) GetFunction() *CloudFunction {
928 if x != nil {
929 return x.Function
930 }
931 return nil
932 }
933
934 // Request for the `GetFunction` method.
935 type GetFunctionRequest struct {
936 state protoimpl.MessageState
937 sizeCache protoimpl.SizeCache
938 unknownFields protoimpl.UnknownFields
939
940 // Required. The name of the function which details should be obtained.
941 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
942 }
943
944 func (x *GetFunctionRequest) Reset() {
945 *x = GetFunctionRequest{}
946 if protoimpl.UnsafeEnabled {
947 mi := &file_google_cloud_functions_v1beta2_functions_proto_msgTypes[7]
948 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
949 ms.StoreMessageInfo(mi)
950 }
951 }
952
953 func (x *GetFunctionRequest) String() string {
954 return protoimpl.X.MessageStringOf(x)
955 }
956
957 func (*GetFunctionRequest) ProtoMessage() {}
958
959 func (x *GetFunctionRequest) ProtoReflect() protoreflect.Message {
960 mi := &file_google_cloud_functions_v1beta2_functions_proto_msgTypes[7]
961 if protoimpl.UnsafeEnabled && x != nil {
962 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
963 if ms.LoadMessageInfo() == nil {
964 ms.StoreMessageInfo(mi)
965 }
966 return ms
967 }
968 return mi.MessageOf(x)
969 }
970
971 // Deprecated: Use GetFunctionRequest.ProtoReflect.Descriptor instead.
972 func (*GetFunctionRequest) Descriptor() ([]byte, []int) {
973 return file_google_cloud_functions_v1beta2_functions_proto_rawDescGZIP(), []int{7}
974 }
975
976 func (x *GetFunctionRequest) GetName() string {
977 if x != nil {
978 return x.Name
979 }
980 return ""
981 }
982
983 // Request for the `ListFunctions` method.
984 type ListFunctionsRequest struct {
985 state protoimpl.MessageState
986 sizeCache protoimpl.SizeCache
987 unknownFields protoimpl.UnknownFields
988
989 // Required. The project and location from which the function should be listed,
990 // specified in the format `projects/*/locations/*`
991 // If you want to list functions in all locations, use "-" in place of a
992 // location. When listing functions in all locations, if one or more
993 // location(s) are unreachable, the response will contain functions from all
994 // reachable locations along with the names of any unreachable locations.
995 Location string `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`
996 // Maximum number of functions to return per call.
997 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
998 // The value returned by the last
999 // `ListFunctionsResponse`; indicates that
1000 // this is a continuation of a prior `ListFunctions` call, and that the
1001 // system should return the next page of data.
1002 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
1003 }
1004
1005 func (x *ListFunctionsRequest) Reset() {
1006 *x = ListFunctionsRequest{}
1007 if protoimpl.UnsafeEnabled {
1008 mi := &file_google_cloud_functions_v1beta2_functions_proto_msgTypes[8]
1009 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1010 ms.StoreMessageInfo(mi)
1011 }
1012 }
1013
1014 func (x *ListFunctionsRequest) String() string {
1015 return protoimpl.X.MessageStringOf(x)
1016 }
1017
1018 func (*ListFunctionsRequest) ProtoMessage() {}
1019
1020 func (x *ListFunctionsRequest) ProtoReflect() protoreflect.Message {
1021 mi := &file_google_cloud_functions_v1beta2_functions_proto_msgTypes[8]
1022 if protoimpl.UnsafeEnabled && x != nil {
1023 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1024 if ms.LoadMessageInfo() == nil {
1025 ms.StoreMessageInfo(mi)
1026 }
1027 return ms
1028 }
1029 return mi.MessageOf(x)
1030 }
1031
1032 // Deprecated: Use ListFunctionsRequest.ProtoReflect.Descriptor instead.
1033 func (*ListFunctionsRequest) Descriptor() ([]byte, []int) {
1034 return file_google_cloud_functions_v1beta2_functions_proto_rawDescGZIP(), []int{8}
1035 }
1036
1037 func (x *ListFunctionsRequest) GetLocation() string {
1038 if x != nil {
1039 return x.Location
1040 }
1041 return ""
1042 }
1043
1044 func (x *ListFunctionsRequest) GetPageSize() int32 {
1045 if x != nil {
1046 return x.PageSize
1047 }
1048 return 0
1049 }
1050
1051 func (x *ListFunctionsRequest) GetPageToken() string {
1052 if x != nil {
1053 return x.PageToken
1054 }
1055 return ""
1056 }
1057
1058 // Response for the `ListFunctions` method.
1059 type ListFunctionsResponse struct {
1060 state protoimpl.MessageState
1061 sizeCache protoimpl.SizeCache
1062 unknownFields protoimpl.UnknownFields
1063
1064 // The functions that match the request.
1065 Functions []*CloudFunction `protobuf:"bytes,1,rep,name=functions,proto3" json:"functions,omitempty"`
1066 // If not empty, indicates that there may be more functions that match
1067 // the request; this value should be passed in a new
1068 // [google.cloud.functions.v1beta2.ListFunctionsRequest][google.cloud.functions.v1beta2.ListFunctionsRequest]
1069 // to get more functions.
1070 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
1071 // Locations that could not be reached. The response does not include any
1072 // functions from these locations.
1073 Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
1074 }
1075
1076 func (x *ListFunctionsResponse) Reset() {
1077 *x = ListFunctionsResponse{}
1078 if protoimpl.UnsafeEnabled {
1079 mi := &file_google_cloud_functions_v1beta2_functions_proto_msgTypes[9]
1080 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1081 ms.StoreMessageInfo(mi)
1082 }
1083 }
1084
1085 func (x *ListFunctionsResponse) String() string {
1086 return protoimpl.X.MessageStringOf(x)
1087 }
1088
1089 func (*ListFunctionsResponse) ProtoMessage() {}
1090
1091 func (x *ListFunctionsResponse) ProtoReflect() protoreflect.Message {
1092 mi := &file_google_cloud_functions_v1beta2_functions_proto_msgTypes[9]
1093 if protoimpl.UnsafeEnabled && x != nil {
1094 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1095 if ms.LoadMessageInfo() == nil {
1096 ms.StoreMessageInfo(mi)
1097 }
1098 return ms
1099 }
1100 return mi.MessageOf(x)
1101 }
1102
1103 // Deprecated: Use ListFunctionsResponse.ProtoReflect.Descriptor instead.
1104 func (*ListFunctionsResponse) Descriptor() ([]byte, []int) {
1105 return file_google_cloud_functions_v1beta2_functions_proto_rawDescGZIP(), []int{9}
1106 }
1107
1108 func (x *ListFunctionsResponse) GetFunctions() []*CloudFunction {
1109 if x != nil {
1110 return x.Functions
1111 }
1112 return nil
1113 }
1114
1115 func (x *ListFunctionsResponse) GetNextPageToken() string {
1116 if x != nil {
1117 return x.NextPageToken
1118 }
1119 return ""
1120 }
1121
1122 func (x *ListFunctionsResponse) GetUnreachable() []string {
1123 if x != nil {
1124 return x.Unreachable
1125 }
1126 return nil
1127 }
1128
1129 // Request for the `DeleteFunction` method.
1130 type DeleteFunctionRequest struct {
1131 state protoimpl.MessageState
1132 sizeCache protoimpl.SizeCache
1133 unknownFields protoimpl.UnknownFields
1134
1135 // Required. The name of the function which should be deleted.
1136 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
1137 }
1138
1139 func (x *DeleteFunctionRequest) Reset() {
1140 *x = DeleteFunctionRequest{}
1141 if protoimpl.UnsafeEnabled {
1142 mi := &file_google_cloud_functions_v1beta2_functions_proto_msgTypes[10]
1143 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1144 ms.StoreMessageInfo(mi)
1145 }
1146 }
1147
1148 func (x *DeleteFunctionRequest) String() string {
1149 return protoimpl.X.MessageStringOf(x)
1150 }
1151
1152 func (*DeleteFunctionRequest) ProtoMessage() {}
1153
1154 func (x *DeleteFunctionRequest) ProtoReflect() protoreflect.Message {
1155 mi := &file_google_cloud_functions_v1beta2_functions_proto_msgTypes[10]
1156 if protoimpl.UnsafeEnabled && x != nil {
1157 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1158 if ms.LoadMessageInfo() == nil {
1159 ms.StoreMessageInfo(mi)
1160 }
1161 return ms
1162 }
1163 return mi.MessageOf(x)
1164 }
1165
1166 // Deprecated: Use DeleteFunctionRequest.ProtoReflect.Descriptor instead.
1167 func (*DeleteFunctionRequest) Descriptor() ([]byte, []int) {
1168 return file_google_cloud_functions_v1beta2_functions_proto_rawDescGZIP(), []int{10}
1169 }
1170
1171 func (x *DeleteFunctionRequest) GetName() string {
1172 if x != nil {
1173 return x.Name
1174 }
1175 return ""
1176 }
1177
1178 // Request for the `CallFunction` method.
1179 type CallFunctionRequest struct {
1180 state protoimpl.MessageState
1181 sizeCache protoimpl.SizeCache
1182 unknownFields protoimpl.UnknownFields
1183
1184 // Required. The name of the function to be called.
1185 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
1186 // Required. Input to be passed to the function.
1187 Data string `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
1188 }
1189
1190 func (x *CallFunctionRequest) Reset() {
1191 *x = CallFunctionRequest{}
1192 if protoimpl.UnsafeEnabled {
1193 mi := &file_google_cloud_functions_v1beta2_functions_proto_msgTypes[11]
1194 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1195 ms.StoreMessageInfo(mi)
1196 }
1197 }
1198
1199 func (x *CallFunctionRequest) String() string {
1200 return protoimpl.X.MessageStringOf(x)
1201 }
1202
1203 func (*CallFunctionRequest) ProtoMessage() {}
1204
1205 func (x *CallFunctionRequest) ProtoReflect() protoreflect.Message {
1206 mi := &file_google_cloud_functions_v1beta2_functions_proto_msgTypes[11]
1207 if protoimpl.UnsafeEnabled && x != nil {
1208 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1209 if ms.LoadMessageInfo() == nil {
1210 ms.StoreMessageInfo(mi)
1211 }
1212 return ms
1213 }
1214 return mi.MessageOf(x)
1215 }
1216
1217 // Deprecated: Use CallFunctionRequest.ProtoReflect.Descriptor instead.
1218 func (*CallFunctionRequest) Descriptor() ([]byte, []int) {
1219 return file_google_cloud_functions_v1beta2_functions_proto_rawDescGZIP(), []int{11}
1220 }
1221
1222 func (x *CallFunctionRequest) GetName() string {
1223 if x != nil {
1224 return x.Name
1225 }
1226 return ""
1227 }
1228
1229 func (x *CallFunctionRequest) GetData() string {
1230 if x != nil {
1231 return x.Data
1232 }
1233 return ""
1234 }
1235
1236 // Response of `CallFunction` method.
1237 type CallFunctionResponse struct {
1238 state protoimpl.MessageState
1239 sizeCache protoimpl.SizeCache
1240 unknownFields protoimpl.UnknownFields
1241
1242 // Execution id of function invocation.
1243 ExecutionId string `protobuf:"bytes,1,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"`
1244 // Result populated for successful execution of synchronous function. Will
1245 // not be populated if function does not return a result through context.
1246 Result string `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"`
1247 // Either system or user-function generated error. Set if execution
1248 // was not successful.
1249 Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
1250 }
1251
1252 func (x *CallFunctionResponse) Reset() {
1253 *x = CallFunctionResponse{}
1254 if protoimpl.UnsafeEnabled {
1255 mi := &file_google_cloud_functions_v1beta2_functions_proto_msgTypes[12]
1256 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1257 ms.StoreMessageInfo(mi)
1258 }
1259 }
1260
1261 func (x *CallFunctionResponse) String() string {
1262 return protoimpl.X.MessageStringOf(x)
1263 }
1264
1265 func (*CallFunctionResponse) ProtoMessage() {}
1266
1267 func (x *CallFunctionResponse) ProtoReflect() protoreflect.Message {
1268 mi := &file_google_cloud_functions_v1beta2_functions_proto_msgTypes[12]
1269 if protoimpl.UnsafeEnabled && x != nil {
1270 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1271 if ms.LoadMessageInfo() == nil {
1272 ms.StoreMessageInfo(mi)
1273 }
1274 return ms
1275 }
1276 return mi.MessageOf(x)
1277 }
1278
1279 // Deprecated: Use CallFunctionResponse.ProtoReflect.Descriptor instead.
1280 func (*CallFunctionResponse) Descriptor() ([]byte, []int) {
1281 return file_google_cloud_functions_v1beta2_functions_proto_rawDescGZIP(), []int{12}
1282 }
1283
1284 func (x *CallFunctionResponse) GetExecutionId() string {
1285 if x != nil {
1286 return x.ExecutionId
1287 }
1288 return ""
1289 }
1290
1291 func (x *CallFunctionResponse) GetResult() string {
1292 if x != nil {
1293 return x.Result
1294 }
1295 return ""
1296 }
1297
1298 func (x *CallFunctionResponse) GetError() string {
1299 if x != nil {
1300 return x.Error
1301 }
1302 return ""
1303 }
1304
1305 // Request of `GenerateUploadUrl` method.
1306 type GenerateUploadUrlRequest struct {
1307 state protoimpl.MessageState
1308 sizeCache protoimpl.SizeCache
1309 unknownFields protoimpl.UnknownFields
1310
1311 // The project and location in which the Google Cloud Storage signed URL
1312 // should be generated, specified in the format `projects/*/locations/*`.
1313 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
1314 }
1315
1316 func (x *GenerateUploadUrlRequest) Reset() {
1317 *x = GenerateUploadUrlRequest{}
1318 if protoimpl.UnsafeEnabled {
1319 mi := &file_google_cloud_functions_v1beta2_functions_proto_msgTypes[13]
1320 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1321 ms.StoreMessageInfo(mi)
1322 }
1323 }
1324
1325 func (x *GenerateUploadUrlRequest) String() string {
1326 return protoimpl.X.MessageStringOf(x)
1327 }
1328
1329 func (*GenerateUploadUrlRequest) ProtoMessage() {}
1330
1331 func (x *GenerateUploadUrlRequest) ProtoReflect() protoreflect.Message {
1332 mi := &file_google_cloud_functions_v1beta2_functions_proto_msgTypes[13]
1333 if protoimpl.UnsafeEnabled && x != nil {
1334 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1335 if ms.LoadMessageInfo() == nil {
1336 ms.StoreMessageInfo(mi)
1337 }
1338 return ms
1339 }
1340 return mi.MessageOf(x)
1341 }
1342
1343 // Deprecated: Use GenerateUploadUrlRequest.ProtoReflect.Descriptor instead.
1344 func (*GenerateUploadUrlRequest) Descriptor() ([]byte, []int) {
1345 return file_google_cloud_functions_v1beta2_functions_proto_rawDescGZIP(), []int{13}
1346 }
1347
1348 func (x *GenerateUploadUrlRequest) GetParent() string {
1349 if x != nil {
1350 return x.Parent
1351 }
1352 return ""
1353 }
1354
1355 // Response of `GenerateUploadUrl` method.
1356 type GenerateUploadUrlResponse struct {
1357 state protoimpl.MessageState
1358 sizeCache protoimpl.SizeCache
1359 unknownFields protoimpl.UnknownFields
1360
1361 // The generated Google Cloud Storage signed URL that should be used for a
1362 // function source code upload. The uploaded file should be a zip archive
1363 // which contains a function.
1364 UploadUrl string `protobuf:"bytes,1,opt,name=upload_url,json=uploadUrl,proto3" json:"upload_url,omitempty"`
1365 }
1366
1367 func (x *GenerateUploadUrlResponse) Reset() {
1368 *x = GenerateUploadUrlResponse{}
1369 if protoimpl.UnsafeEnabled {
1370 mi := &file_google_cloud_functions_v1beta2_functions_proto_msgTypes[14]
1371 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1372 ms.StoreMessageInfo(mi)
1373 }
1374 }
1375
1376 func (x *GenerateUploadUrlResponse) String() string {
1377 return protoimpl.X.MessageStringOf(x)
1378 }
1379
1380 func (*GenerateUploadUrlResponse) ProtoMessage() {}
1381
1382 func (x *GenerateUploadUrlResponse) ProtoReflect() protoreflect.Message {
1383 mi := &file_google_cloud_functions_v1beta2_functions_proto_msgTypes[14]
1384 if protoimpl.UnsafeEnabled && x != nil {
1385 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1386 if ms.LoadMessageInfo() == nil {
1387 ms.StoreMessageInfo(mi)
1388 }
1389 return ms
1390 }
1391 return mi.MessageOf(x)
1392 }
1393
1394 // Deprecated: Use GenerateUploadUrlResponse.ProtoReflect.Descriptor instead.
1395 func (*GenerateUploadUrlResponse) Descriptor() ([]byte, []int) {
1396 return file_google_cloud_functions_v1beta2_functions_proto_rawDescGZIP(), []int{14}
1397 }
1398
1399 func (x *GenerateUploadUrlResponse) GetUploadUrl() string {
1400 if x != nil {
1401 return x.UploadUrl
1402 }
1403 return ""
1404 }
1405
1406 // Request of `GenerateDownloadUrl` method.
1407 type GenerateDownloadUrlRequest struct {
1408 state protoimpl.MessageState
1409 sizeCache protoimpl.SizeCache
1410 unknownFields protoimpl.UnknownFields
1411
1412 // The name of function for which source code Google Cloud Storage signed
1413 // URL should be generated.
1414 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
1415 // The optional version of function.
1416 VersionId uint64 `protobuf:"varint,2,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"`
1417 }
1418
1419 func (x *GenerateDownloadUrlRequest) Reset() {
1420 *x = GenerateDownloadUrlRequest{}
1421 if protoimpl.UnsafeEnabled {
1422 mi := &file_google_cloud_functions_v1beta2_functions_proto_msgTypes[15]
1423 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1424 ms.StoreMessageInfo(mi)
1425 }
1426 }
1427
1428 func (x *GenerateDownloadUrlRequest) String() string {
1429 return protoimpl.X.MessageStringOf(x)
1430 }
1431
1432 func (*GenerateDownloadUrlRequest) ProtoMessage() {}
1433
1434 func (x *GenerateDownloadUrlRequest) ProtoReflect() protoreflect.Message {
1435 mi := &file_google_cloud_functions_v1beta2_functions_proto_msgTypes[15]
1436 if protoimpl.UnsafeEnabled && x != nil {
1437 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1438 if ms.LoadMessageInfo() == nil {
1439 ms.StoreMessageInfo(mi)
1440 }
1441 return ms
1442 }
1443 return mi.MessageOf(x)
1444 }
1445
1446 // Deprecated: Use GenerateDownloadUrlRequest.ProtoReflect.Descriptor instead.
1447 func (*GenerateDownloadUrlRequest) Descriptor() ([]byte, []int) {
1448 return file_google_cloud_functions_v1beta2_functions_proto_rawDescGZIP(), []int{15}
1449 }
1450
1451 func (x *GenerateDownloadUrlRequest) GetName() string {
1452 if x != nil {
1453 return x.Name
1454 }
1455 return ""
1456 }
1457
1458 func (x *GenerateDownloadUrlRequest) GetVersionId() uint64 {
1459 if x != nil {
1460 return x.VersionId
1461 }
1462 return 0
1463 }
1464
1465 // Response of `GenerateDownloadUrl` method.
1466 type GenerateDownloadUrlResponse struct {
1467 state protoimpl.MessageState
1468 sizeCache protoimpl.SizeCache
1469 unknownFields protoimpl.UnknownFields
1470
1471 // The generated Google Cloud Storage signed URL that should be used for
1472 // function source code download.
1473 DownloadUrl string `protobuf:"bytes,1,opt,name=download_url,json=downloadUrl,proto3" json:"download_url,omitempty"`
1474 }
1475
1476 func (x *GenerateDownloadUrlResponse) Reset() {
1477 *x = GenerateDownloadUrlResponse{}
1478 if protoimpl.UnsafeEnabled {
1479 mi := &file_google_cloud_functions_v1beta2_functions_proto_msgTypes[16]
1480 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1481 ms.StoreMessageInfo(mi)
1482 }
1483 }
1484
1485 func (x *GenerateDownloadUrlResponse) String() string {
1486 return protoimpl.X.MessageStringOf(x)
1487 }
1488
1489 func (*GenerateDownloadUrlResponse) ProtoMessage() {}
1490
1491 func (x *GenerateDownloadUrlResponse) ProtoReflect() protoreflect.Message {
1492 mi := &file_google_cloud_functions_v1beta2_functions_proto_msgTypes[16]
1493 if protoimpl.UnsafeEnabled && x != nil {
1494 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1495 if ms.LoadMessageInfo() == nil {
1496 ms.StoreMessageInfo(mi)
1497 }
1498 return ms
1499 }
1500 return mi.MessageOf(x)
1501 }
1502
1503 // Deprecated: Use GenerateDownloadUrlResponse.ProtoReflect.Descriptor instead.
1504 func (*GenerateDownloadUrlResponse) Descriptor() ([]byte, []int) {
1505 return file_google_cloud_functions_v1beta2_functions_proto_rawDescGZIP(), []int{16}
1506 }
1507
1508 func (x *GenerateDownloadUrlResponse) GetDownloadUrl() string {
1509 if x != nil {
1510 return x.DownloadUrl
1511 }
1512 return ""
1513 }
1514
1515 // Describes the retry policy in case of function's execution failure.
1516 // A function execution will be retried on any failure.
1517 // A failed execution will be retried up to 7 days with an exponential backoff
1518 // (capped at 10 seconds).
1519 // Retried execution is charged as any other execution.
1520 type FailurePolicy_Retry struct {
1521 state protoimpl.MessageState
1522 sizeCache protoimpl.SizeCache
1523 unknownFields protoimpl.UnknownFields
1524 }
1525
1526 func (x *FailurePolicy_Retry) Reset() {
1527 *x = FailurePolicy_Retry{}
1528 if protoimpl.UnsafeEnabled {
1529 mi := &file_google_cloud_functions_v1beta2_functions_proto_msgTypes[19]
1530 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1531 ms.StoreMessageInfo(mi)
1532 }
1533 }
1534
1535 func (x *FailurePolicy_Retry) String() string {
1536 return protoimpl.X.MessageStringOf(x)
1537 }
1538
1539 func (*FailurePolicy_Retry) ProtoMessage() {}
1540
1541 func (x *FailurePolicy_Retry) ProtoReflect() protoreflect.Message {
1542 mi := &file_google_cloud_functions_v1beta2_functions_proto_msgTypes[19]
1543 if protoimpl.UnsafeEnabled && x != nil {
1544 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1545 if ms.LoadMessageInfo() == nil {
1546 ms.StoreMessageInfo(mi)
1547 }
1548 return ms
1549 }
1550 return mi.MessageOf(x)
1551 }
1552
1553 // Deprecated: Use FailurePolicy_Retry.ProtoReflect.Descriptor instead.
1554 func (*FailurePolicy_Retry) Descriptor() ([]byte, []int) {
1555 return file_google_cloud_functions_v1beta2_functions_proto_rawDescGZIP(), []int{4, 0}
1556 }
1557
1558 var File_google_cloud_functions_v1beta2_functions_proto protoreflect.FileDescriptor
1559
1560 var file_google_cloud_functions_v1beta2_functions_proto_rawDesc = []byte{
1561 0x0a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x66,
1562 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32,
1563 0x2f, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1564 0x12, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x66,
1565 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32,
1566 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e,
1567 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17,
1568 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e,
1569 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
1570 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69,
1571 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1572 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72,
1573 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6c, 0x6f, 0x6e, 0x67,
1574 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
1575 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1576 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69,
1577 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1578 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74,
1579 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb6, 0x0b, 0x0a, 0x0d, 0x43, 0x6c,
1580 0x6f, 0x75, 0x64, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e,
1581 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
1582 0x2e, 0x0a, 0x12, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76,
1583 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x10, 0x73,
1584 0x6f, 0x75, 0x72, 0x63, 0x65, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x55, 0x72, 0x6c, 0x12,
1585 0x5f, 0x0a, 0x11, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69,
1586 0x74, 0x6f, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f,
1587 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69,
1588 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x53, 0x6f, 0x75, 0x72,
1589 0x63, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x48, 0x00, 0x52, 0x10,
1590 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79,
1591 0x12, 0x34, 0x0a, 0x15, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73,
1592 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x48,
1593 0x00, 0x52, 0x13, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74,
1594 0x6f, 0x72, 0x79, 0x55, 0x72, 0x6c, 0x12, 0x2c, 0x0a, 0x11, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
1595 0x5f, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x10, 0x20, 0x01, 0x28,
1596 0x09, 0x48, 0x00, 0x52, 0x0f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x55, 0x70, 0x6c, 0x6f, 0x61,
1597 0x64, 0x55, 0x72, 0x6c, 0x12, 0x53, 0x0a, 0x0d, 0x68, 0x74, 0x74, 0x70, 0x73, 0x5f, 0x74, 0x72,
1598 0x69, 0x67, 0x67, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f,
1599 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x66, 0x75, 0x6e, 0x63, 0x74,
1600 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x48, 0x54, 0x54,
1601 0x50, 0x53, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x48, 0x01, 0x52, 0x0c, 0x68, 0x74, 0x74,
1602 0x70, 0x73, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x12, 0x53, 0x0a, 0x0d, 0x65, 0x76, 0x65,
1603 0x6e, 0x74, 0x5f, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b,
1604 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
1605 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
1606 0x32, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x48, 0x01,
1607 0x52, 0x0c, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x12, 0x50,
1608 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x33,
1609 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x66, 0x75,
1610 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e,
1611 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61,
1612 0x74, 0x75, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
1613 0x12, 0x2e, 0x0a, 0x10, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61,
1614 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52,
1615 0x0f, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
1616 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18,
1617 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e,
1618 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x17, 0x20, 0x01,
1619 0x28, 0x09, 0x52, 0x07, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x33, 0x0a, 0x07, 0x74,
1620 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67,
1621 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44,
1622 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74,
1623 0x12, 0x2e, 0x0a, 0x13, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6d, 0x65,
1624 0x6d, 0x6f, 0x72, 0x79, 0x5f, 0x6d, 0x62, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, 0x61,
1625 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x4d, 0x62,
1626 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f,
1627 0x75, 0x6e, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69,
1628 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64,
1629 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
1630 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
1631 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52,
1632 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x76,
1633 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x14, 0x20, 0x01, 0x28, 0x03, 0x42,
1634 0x03, 0xe0, 0x41, 0x03, 0x52, 0x09, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12,
1635 0x51, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x15, 0x20, 0x03, 0x28, 0x0b, 0x32,
1636 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x66,
1637 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32,
1638 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4c,
1639 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65,
1640 0x6c, 0x73, 0x12, 0x7c, 0x0a, 0x15, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e,
1641 0x74, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x16, 0x20, 0x03, 0x28,
1642 0x0b, 0x32, 0x47, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
1643 0x2e, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74,
1644 0x61, 0x32, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e,
1645 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x61, 0x72, 0x69,
1646 0x61, 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x14, 0x65, 0x6e, 0x76, 0x69,
1647 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73,
1648 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x61, 0x78, 0x5f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
1649 0x73, 0x18, 0x18, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x6d, 0x61, 0x78, 0x49, 0x6e, 0x73, 0x74,
1650 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b,
1651 0x18, 0x19, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x12,
1652 0x23, 0x0a, 0x0d, 0x76, 0x70, 0x63, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72,
1653 0x18, 0x1a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x76, 0x70, 0x63, 0x43, 0x6f, 0x6e, 0x6e, 0x65,
1654 0x63, 0x74, 0x6f, 0x72, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e,
1655 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
1656 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
1657 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a,
1658 0x47, 0x0a, 0x19, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x61,
1659 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03,
1660 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14,
1661 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76,
1662 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x3a, 0x6e, 0xea, 0x41, 0x6b, 0x0a, 0x2b, 0x63,
1663 0x6c, 0x6f, 0x75, 0x64, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x67, 0x6f,
1664 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x6c, 0x6f,
1665 0x75, 0x64, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3c, 0x70, 0x72, 0x6f, 0x6a,
1666 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c,
1667 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69,
1668 0x6f, 0x6e, 0x7d, 0x2f, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x66,
1669 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x42, 0x0d, 0x0a, 0x0b, 0x73, 0x6f, 0x75, 0x72,
1670 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x09, 0x0a, 0x07, 0x74, 0x72, 0x69, 0x67, 0x67,
1671 0x65, 0x72, 0x22, 0x25, 0x0a, 0x0c, 0x48, 0x54, 0x54, 0x50, 0x53, 0x54, 0x72, 0x69, 0x67, 0x67,
1672 0x65, 0x72, 0x12, 0x15, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,
1673 0x03, 0xe0, 0x41, 0x03, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x22, 0xb9, 0x01, 0x0a, 0x0c, 0x45, 0x76,
1674 0x65, 0x6e, 0x74, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x76,
1675 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
1676 0x65, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x73,
1677 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x73,
1678 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
1679 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12,
1680 0x54, 0x0a, 0x0e, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63,
1681 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1682 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73,
1683 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65,
1684 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x0d, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x50,
1685 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0xe3, 0x01, 0x0a, 0x10, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65,
1686 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x72, 0x65,
1687 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01,
1688 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x55, 0x72,
1689 0x6c, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68,
1690 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x61,
1691 0x74, 0x68, 0x12, 0x18, 0x0a, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x03, 0x20, 0x01,
1692 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x12, 0x0a, 0x03,
1693 0x74, 0x61, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x03, 0x74, 0x61, 0x67,
1694 0x12, 0x1c, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01,
1695 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x30,
1696 0x0a, 0x11, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x76, 0x69, 0x73,
1697 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x10,
1698 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x65, 0x64, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e,
1699 0x42, 0x09, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x6f, 0x0a, 0x0d, 0x46,
1700 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x4b, 0x0a, 0x05,
1701 0x72, 0x65, 0x74, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f,
1702 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x66, 0x75, 0x6e, 0x63, 0x74,
1703 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x46, 0x61, 0x69,
1704 0x6c, 0x75, 0x72, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x52, 0x65, 0x74, 0x72, 0x79,
1705 0x48, 0x00, 0x52, 0x05, 0x72, 0x65, 0x74, 0x72, 0x79, 0x1a, 0x07, 0x0a, 0x05, 0x52, 0x65, 0x74,
1706 0x72, 0x79, 0x42, 0x08, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xae, 0x01, 0x0a,
1707 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52,
1708 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x45, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69,
1709 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x29, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x23,
1710 0x0a, 0x21, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
1711 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4c, 0x6f, 0x63, 0x61, 0x74,
1712 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4e, 0x0a,
1713 0x08, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
1714 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x66,
1715 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32,
1716 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03,
1717 0xe0, 0x41, 0x02, 0x52, 0x08, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xb0, 0x01,
1718 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e,
1719 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x47, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
1720 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x33, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2d, 0x0a, 0x2b, 0x63,
1721 0x6c, 0x6f, 0x75, 0x64, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x67, 0x6f,
1722 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x6c, 0x6f,
1723 0x75, 0x64, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
1724 0x12, 0x4e, 0x0a, 0x08, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01,
1725 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
1726 0x64, 0x2e, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65,
1727 0x74, 0x61, 0x32, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f,
1728 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e,
1729 0x22, 0x5d, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52,
1730 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x47, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
1731 0x20, 0x01, 0x28, 0x09, 0x42, 0x33, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2d, 0x0a, 0x2b, 0x63, 0x6c,
1732 0x6f, 0x75, 0x64, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x67, 0x6f, 0x6f,
1733 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x6c, 0x6f, 0x75,
1734 0x64, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22,
1735 0x99, 0x01, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e,
1736 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x45, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61,
1737 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x29, 0xe0, 0x41, 0x02, 0xfa,
1738 0x41, 0x23, 0x0a, 0x21, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x67, 0x6f,
1739 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4c, 0x6f, 0x63,
1740 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12,
1741 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01,
1742 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a,
1743 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
1744 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xae, 0x01, 0x0a, 0x15,
1745 0x4c, 0x69, 0x73, 0x74, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73,
1746 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4b, 0x0a, 0x09, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f,
1747 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1748 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e,
1749 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x46,
1750 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f,
1751 0x6e, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f,
1752 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78,
1753 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x75, 0x6e,
1754 0x72, 0x65, 0x61, 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52,
1755 0x0b, 0x75, 0x6e, 0x72, 0x65, 0x61, 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x60, 0x0a, 0x15,
1756 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65,
1757 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x47, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
1758 0x01, 0x28, 0x09, 0x42, 0x33, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2d, 0x0a, 0x2b, 0x63, 0x6c, 0x6f,
1759 0x75, 0x64, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
1760 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x6c, 0x6f, 0x75, 0x64,
1761 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x77,
1762 0x0a, 0x13, 0x43, 0x61, 0x6c, 0x6c, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65,
1763 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x47, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
1764 0x01, 0x28, 0x09, 0x42, 0x33, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2d, 0x0a, 0x2b, 0x63, 0x6c, 0x6f,
1765 0x75, 0x64, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
1766 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x6c, 0x6f, 0x75, 0x64,
1767 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x17,
1768 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41,
1769 0x02, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x67, 0x0a, 0x14, 0x43, 0x61, 0x6c, 0x6c, 0x46,
1770 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
1771 0x21, 0x0a, 0x0c, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18,
1772 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e,
1773 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01,
1774 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72,
1775 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72,
1776 0x22, 0x32, 0x0a, 0x18, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x55, 0x70, 0x6c, 0x6f,
1777 0x61, 0x64, 0x55, 0x72, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06,
1778 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61,
1779 0x72, 0x65, 0x6e, 0x74, 0x22, 0x3a, 0x0a, 0x19, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65,
1780 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
1781 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x75, 0x72, 0x6c, 0x18,
1782 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72, 0x6c,
1783 0x22, 0x4f, 0x0a, 0x1a, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x44, 0x6f, 0x77, 0x6e,
1784 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12,
1785 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
1786 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64,
1787 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x49,
1788 0x64, 0x22, 0x40, 0x0a, 0x1b, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x44, 0x6f, 0x77,
1789 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
1790 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x75, 0x72, 0x6c,
1791 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64,
1792 0x55, 0x72, 0x6c, 0x2a, 0x61, 0x0a, 0x13, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x46, 0x75, 0x6e, 0x63,
1793 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x54,
1794 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44,
1795 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x01, 0x12, 0x0a, 0x0a,
1796 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x44, 0x45, 0x50,
1797 0x4c, 0x4f, 0x59, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x45, 0x4c, 0x45,
1798 0x54, 0x49, 0x4e, 0x47, 0x10, 0x04, 0x32, 0xb2, 0x0e, 0x0a, 0x15, 0x43, 0x6c, 0x6f, 0x75, 0x64,
1799 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
1800 0x12, 0xc5, 0x01, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f,
1801 0x6e, 0x73, 0x12, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
1802 0x64, 0x2e, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65,
1803 0x74, 0x61, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e,
1804 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1805 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e,
1806 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x75,
1807 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
1808 0x47, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x36, 0x12, 0x34, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
1809 0x32, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3d, 0x70, 0x72, 0x6f, 0x6a,
1810 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
1811 0x2f, 0x2a, 0x7d, 0x2f, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0xda, 0x41, 0x08,
1812 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0xb3, 0x01, 0x0a, 0x0b, 0x47, 0x65, 0x74,
1813 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1814 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e,
1815 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x75, 0x6e,
1816 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x67,
1817 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x66, 0x75, 0x6e, 0x63,
1818 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x43, 0x6c,
1819 0x6f, 0x75, 0x64, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x41, 0x82, 0xd3, 0xe4,
1820 0x93, 0x02, 0x34, 0x12, 0x32, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x7b, 0x6e,
1821 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c,
1822 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x66, 0x75, 0x6e, 0x63, 0x74,
1823 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xef,
1824 0x01, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f,
1825 0x6e, 0x12, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
1826 0x2e, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74,
1827 0x61, 0x32, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f,
1828 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1829 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70,
1830 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x86, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x40,
1831 0x22, 0x34, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61,
1832 0x74, 0x69, 0x6f, 0x6e, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f,
1833 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x66, 0x75, 0x6e,
1834 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x08, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e,
1835 0xda, 0x41, 0x11, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2c, 0x66, 0x75, 0x6e, 0x63,
1836 0x74, 0x69, 0x6f, 0x6e, 0xca, 0x41, 0x29, 0x0a, 0x0d, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x46, 0x75,
1837 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
1838 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x32,
1839 0x12, 0xe9, 0x01, 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x75, 0x6e, 0x63, 0x74,
1840 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
1841 0x75, 0x64, 0x2e, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x62,
1842 0x65, 0x74, 0x61, 0x32, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x75, 0x6e, 0x63, 0x74,
1843 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f,
1844 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e,
1845 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x80, 0x01, 0x82, 0xd3, 0xe4, 0x93,
1846 0x02, 0x3e, 0x1a, 0x32, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x7b, 0x6e, 0x61,
1847 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f,
1848 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69,
1849 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x08, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e,
1850 0xda, 0x41, 0x0d, 0x6e, 0x61, 0x6d, 0x65, 0x2c, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e,
1851 0xca, 0x41, 0x29, 0x0a, 0x0d, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69,
1852 0x6f, 0x6e, 0x12, 0x18, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74,
1853 0x61, 0x64, 0x61, 0x74, 0x61, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x32, 0x12, 0xdd, 0x01, 0x0a,
1854 0x0e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12,
1855 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x66,
1856 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32,
1857 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52,
1858 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1859 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72,
1860 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x75, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x34, 0x2a, 0x32, 0x2f,
1861 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72,
1862 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
1863 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a,
1864 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0xca, 0x41, 0x31, 0x0a, 0x15, 0x67, 0x6f, 0x6f,
1865 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70,
1866 0x74, 0x79, 0x12, 0x18, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74,
1867 0x61, 0x64, 0x61, 0x74, 0x61, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x32, 0x12, 0xc9, 0x01, 0x0a,
1868 0x0c, 0x43, 0x61, 0x6c, 0x6c, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x33, 0x2e,
1869 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x66, 0x75, 0x6e,
1870 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x43,
1871 0x61, 0x6c, 0x6c, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65,
1872 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
1873 0x64, 0x2e, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65,
1874 0x74, 0x61, 0x32, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e,
1875 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3c,
1876 0x22, 0x37, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65,
1877 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61,
1878 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e,
1879 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x63, 0x61, 0x6c, 0x6c, 0x3a, 0x01, 0x2a, 0xda, 0x41, 0x09, 0x6e,
1880 0x61, 0x6d, 0x65, 0x2c, 0x64, 0x61, 0x74, 0x61, 0x12, 0xd9, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x6e,
1881 0x65, 0x72, 0x61, 0x74, 0x65, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x12, 0x38,
1882 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x66, 0x75,
1883 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e,
1884 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72,
1885 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1886 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e,
1887 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61,
1888 0x74, 0x65, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f,
1889 0x6e, 0x73, 0x65, 0x22, 0x4f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x49, 0x22, 0x44, 0x2f, 0x76, 0x31,
1890 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72,
1891 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
1892 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x3a,
1893 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72,
1894 0x6c, 0x3a, 0x01, 0x2a, 0x12, 0xe1, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74,
1895 0x65, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x12, 0x3a, 0x2e, 0x67,
1896 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x66, 0x75, 0x6e, 0x63,
1897 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x47, 0x65,
1898 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72,
1899 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1900 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e,
1901 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61,
1902 0x74, 0x65, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x52, 0x65, 0x73,
1903 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x51, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4b, 0x22, 0x46, 0x2f,
1904 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72,
1905 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
1906 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a,
1907 0x7d, 0x3a, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f,
1908 0x61, 0x64, 0x55, 0x72, 0x6c, 0x3a, 0x01, 0x2a, 0x1a, 0x51, 0xca, 0x41, 0x1d, 0x63, 0x6c, 0x6f,
1909 0x75, 0x64, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
1910 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x2e, 0x68, 0x74, 0x74,
1911 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
1912 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f,
1913 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x42, 0x85, 0x01, 0x0a, 0x22,
1914 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
1915 0x2e, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74,
1916 0x61, 0x32, 0x42, 0x0e, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x50, 0x72, 0x6f,
1917 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x47, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c,
1918 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1919 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75,
1920 0x64, 0x2f, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65,
1921 0x74, 0x61, 0x32, 0x3b, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0xa2, 0x02, 0x03,
1922 0x47, 0x43, 0x46, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
1923 }
1924
1925 var (
1926 file_google_cloud_functions_v1beta2_functions_proto_rawDescOnce sync.Once
1927 file_google_cloud_functions_v1beta2_functions_proto_rawDescData = file_google_cloud_functions_v1beta2_functions_proto_rawDesc
1928 )
1929
1930 func file_google_cloud_functions_v1beta2_functions_proto_rawDescGZIP() []byte {
1931 file_google_cloud_functions_v1beta2_functions_proto_rawDescOnce.Do(func() {
1932 file_google_cloud_functions_v1beta2_functions_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_functions_v1beta2_functions_proto_rawDescData)
1933 })
1934 return file_google_cloud_functions_v1beta2_functions_proto_rawDescData
1935 }
1936
1937 var file_google_cloud_functions_v1beta2_functions_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
1938 var file_google_cloud_functions_v1beta2_functions_proto_msgTypes = make([]protoimpl.MessageInfo, 20)
1939 var file_google_cloud_functions_v1beta2_functions_proto_goTypes = []interface{}{
1940 (CloudFunctionStatus)(0), // 0: google.cloud.functions.v1beta2.CloudFunctionStatus
1941 (*CloudFunction)(nil), // 1: google.cloud.functions.v1beta2.CloudFunction
1942 (*HTTPSTrigger)(nil), // 2: google.cloud.functions.v1beta2.HTTPSTrigger
1943 (*EventTrigger)(nil), // 3: google.cloud.functions.v1beta2.EventTrigger
1944 (*SourceRepository)(nil), // 4: google.cloud.functions.v1beta2.SourceRepository
1945 (*FailurePolicy)(nil), // 5: google.cloud.functions.v1beta2.FailurePolicy
1946 (*CreateFunctionRequest)(nil), // 6: google.cloud.functions.v1beta2.CreateFunctionRequest
1947 (*UpdateFunctionRequest)(nil), // 7: google.cloud.functions.v1beta2.UpdateFunctionRequest
1948 (*GetFunctionRequest)(nil), // 8: google.cloud.functions.v1beta2.GetFunctionRequest
1949 (*ListFunctionsRequest)(nil), // 9: google.cloud.functions.v1beta2.ListFunctionsRequest
1950 (*ListFunctionsResponse)(nil), // 10: google.cloud.functions.v1beta2.ListFunctionsResponse
1951 (*DeleteFunctionRequest)(nil), // 11: google.cloud.functions.v1beta2.DeleteFunctionRequest
1952 (*CallFunctionRequest)(nil), // 12: google.cloud.functions.v1beta2.CallFunctionRequest
1953 (*CallFunctionResponse)(nil), // 13: google.cloud.functions.v1beta2.CallFunctionResponse
1954 (*GenerateUploadUrlRequest)(nil), // 14: google.cloud.functions.v1beta2.GenerateUploadUrlRequest
1955 (*GenerateUploadUrlResponse)(nil), // 15: google.cloud.functions.v1beta2.GenerateUploadUrlResponse
1956 (*GenerateDownloadUrlRequest)(nil), // 16: google.cloud.functions.v1beta2.GenerateDownloadUrlRequest
1957 (*GenerateDownloadUrlResponse)(nil), // 17: google.cloud.functions.v1beta2.GenerateDownloadUrlResponse
1958 nil, // 18: google.cloud.functions.v1beta2.CloudFunction.LabelsEntry
1959 nil, // 19: google.cloud.functions.v1beta2.CloudFunction.EnvironmentVariablesEntry
1960 (*FailurePolicy_Retry)(nil), // 20: google.cloud.functions.v1beta2.FailurePolicy.Retry
1961 (*duration.Duration)(nil), // 21: google.protobuf.Duration
1962 (*timestamp.Timestamp)(nil), // 22: google.protobuf.Timestamp
1963 (*longrunning.Operation)(nil), // 23: google.longrunning.Operation
1964 }
1965 var file_google_cloud_functions_v1beta2_functions_proto_depIdxs = []int32{
1966 4, // 0: google.cloud.functions.v1beta2.CloudFunction.source_repository:type_name -> google.cloud.functions.v1beta2.SourceRepository
1967 2, // 1: google.cloud.functions.v1beta2.CloudFunction.https_trigger:type_name -> google.cloud.functions.v1beta2.HTTPSTrigger
1968 3, // 2: google.cloud.functions.v1beta2.CloudFunction.event_trigger:type_name -> google.cloud.functions.v1beta2.EventTrigger
1969 0, // 3: google.cloud.functions.v1beta2.CloudFunction.status:type_name -> google.cloud.functions.v1beta2.CloudFunctionStatus
1970 21, // 4: google.cloud.functions.v1beta2.CloudFunction.timeout:type_name -> google.protobuf.Duration
1971 22, // 5: google.cloud.functions.v1beta2.CloudFunction.update_time:type_name -> google.protobuf.Timestamp
1972 18, // 6: google.cloud.functions.v1beta2.CloudFunction.labels:type_name -> google.cloud.functions.v1beta2.CloudFunction.LabelsEntry
1973 19, // 7: google.cloud.functions.v1beta2.CloudFunction.environment_variables:type_name -> google.cloud.functions.v1beta2.CloudFunction.EnvironmentVariablesEntry
1974 5, // 8: google.cloud.functions.v1beta2.EventTrigger.failure_policy:type_name -> google.cloud.functions.v1beta2.FailurePolicy
1975 20, // 9: google.cloud.functions.v1beta2.FailurePolicy.retry:type_name -> google.cloud.functions.v1beta2.FailurePolicy.Retry
1976 1, // 10: google.cloud.functions.v1beta2.CreateFunctionRequest.function:type_name -> google.cloud.functions.v1beta2.CloudFunction
1977 1, // 11: google.cloud.functions.v1beta2.UpdateFunctionRequest.function:type_name -> google.cloud.functions.v1beta2.CloudFunction
1978 1, // 12: google.cloud.functions.v1beta2.ListFunctionsResponse.functions:type_name -> google.cloud.functions.v1beta2.CloudFunction
1979 9, // 13: google.cloud.functions.v1beta2.CloudFunctionsService.ListFunctions:input_type -> google.cloud.functions.v1beta2.ListFunctionsRequest
1980 8, // 14: google.cloud.functions.v1beta2.CloudFunctionsService.GetFunction:input_type -> google.cloud.functions.v1beta2.GetFunctionRequest
1981 6, // 15: google.cloud.functions.v1beta2.CloudFunctionsService.CreateFunction:input_type -> google.cloud.functions.v1beta2.CreateFunctionRequest
1982 7, // 16: google.cloud.functions.v1beta2.CloudFunctionsService.UpdateFunction:input_type -> google.cloud.functions.v1beta2.UpdateFunctionRequest
1983 11, // 17: google.cloud.functions.v1beta2.CloudFunctionsService.DeleteFunction:input_type -> google.cloud.functions.v1beta2.DeleteFunctionRequest
1984 12, // 18: google.cloud.functions.v1beta2.CloudFunctionsService.CallFunction:input_type -> google.cloud.functions.v1beta2.CallFunctionRequest
1985 14, // 19: google.cloud.functions.v1beta2.CloudFunctionsService.GenerateUploadUrl:input_type -> google.cloud.functions.v1beta2.GenerateUploadUrlRequest
1986 16, // 20: google.cloud.functions.v1beta2.CloudFunctionsService.GenerateDownloadUrl:input_type -> google.cloud.functions.v1beta2.GenerateDownloadUrlRequest
1987 10, // 21: google.cloud.functions.v1beta2.CloudFunctionsService.ListFunctions:output_type -> google.cloud.functions.v1beta2.ListFunctionsResponse
1988 1, // 22: google.cloud.functions.v1beta2.CloudFunctionsService.GetFunction:output_type -> google.cloud.functions.v1beta2.CloudFunction
1989 23, // 23: google.cloud.functions.v1beta2.CloudFunctionsService.CreateFunction:output_type -> google.longrunning.Operation
1990 23, // 24: google.cloud.functions.v1beta2.CloudFunctionsService.UpdateFunction:output_type -> google.longrunning.Operation
1991 23, // 25: google.cloud.functions.v1beta2.CloudFunctionsService.DeleteFunction:output_type -> google.longrunning.Operation
1992 13, // 26: google.cloud.functions.v1beta2.CloudFunctionsService.CallFunction:output_type -> google.cloud.functions.v1beta2.CallFunctionResponse
1993 15, // 27: google.cloud.functions.v1beta2.CloudFunctionsService.GenerateUploadUrl:output_type -> google.cloud.functions.v1beta2.GenerateUploadUrlResponse
1994 17, // 28: google.cloud.functions.v1beta2.CloudFunctionsService.GenerateDownloadUrl:output_type -> google.cloud.functions.v1beta2.GenerateDownloadUrlResponse
1995 21, // [21:29] is the sub-list for method output_type
1996 13, // [13:21] is the sub-list for method input_type
1997 13, // [13:13] is the sub-list for extension type_name
1998 13, // [13:13] is the sub-list for extension extendee
1999 0, // [0:13] is the sub-list for field type_name
2000 }
2001
2002 func init() { file_google_cloud_functions_v1beta2_functions_proto_init() }
2003 func file_google_cloud_functions_v1beta2_functions_proto_init() {
2004 if File_google_cloud_functions_v1beta2_functions_proto != nil {
2005 return
2006 }
2007 if !protoimpl.UnsafeEnabled {
2008 file_google_cloud_functions_v1beta2_functions_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
2009 switch v := v.(*CloudFunction); i {
2010 case 0:
2011 return &v.state
2012 case 1:
2013 return &v.sizeCache
2014 case 2:
2015 return &v.unknownFields
2016 default:
2017 return nil
2018 }
2019 }
2020 file_google_cloud_functions_v1beta2_functions_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
2021 switch v := v.(*HTTPSTrigger); i {
2022 case 0:
2023 return &v.state
2024 case 1:
2025 return &v.sizeCache
2026 case 2:
2027 return &v.unknownFields
2028 default:
2029 return nil
2030 }
2031 }
2032 file_google_cloud_functions_v1beta2_functions_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
2033 switch v := v.(*EventTrigger); i {
2034 case 0:
2035 return &v.state
2036 case 1:
2037 return &v.sizeCache
2038 case 2:
2039 return &v.unknownFields
2040 default:
2041 return nil
2042 }
2043 }
2044 file_google_cloud_functions_v1beta2_functions_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
2045 switch v := v.(*SourceRepository); i {
2046 case 0:
2047 return &v.state
2048 case 1:
2049 return &v.sizeCache
2050 case 2:
2051 return &v.unknownFields
2052 default:
2053 return nil
2054 }
2055 }
2056 file_google_cloud_functions_v1beta2_functions_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
2057 switch v := v.(*FailurePolicy); i {
2058 case 0:
2059 return &v.state
2060 case 1:
2061 return &v.sizeCache
2062 case 2:
2063 return &v.unknownFields
2064 default:
2065 return nil
2066 }
2067 }
2068 file_google_cloud_functions_v1beta2_functions_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
2069 switch v := v.(*CreateFunctionRequest); i {
2070 case 0:
2071 return &v.state
2072 case 1:
2073 return &v.sizeCache
2074 case 2:
2075 return &v.unknownFields
2076 default:
2077 return nil
2078 }
2079 }
2080 file_google_cloud_functions_v1beta2_functions_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
2081 switch v := v.(*UpdateFunctionRequest); i {
2082 case 0:
2083 return &v.state
2084 case 1:
2085 return &v.sizeCache
2086 case 2:
2087 return &v.unknownFields
2088 default:
2089 return nil
2090 }
2091 }
2092 file_google_cloud_functions_v1beta2_functions_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
2093 switch v := v.(*GetFunctionRequest); i {
2094 case 0:
2095 return &v.state
2096 case 1:
2097 return &v.sizeCache
2098 case 2:
2099 return &v.unknownFields
2100 default:
2101 return nil
2102 }
2103 }
2104 file_google_cloud_functions_v1beta2_functions_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
2105 switch v := v.(*ListFunctionsRequest); i {
2106 case 0:
2107 return &v.state
2108 case 1:
2109 return &v.sizeCache
2110 case 2:
2111 return &v.unknownFields
2112 default:
2113 return nil
2114 }
2115 }
2116 file_google_cloud_functions_v1beta2_functions_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
2117 switch v := v.(*ListFunctionsResponse); i {
2118 case 0:
2119 return &v.state
2120 case 1:
2121 return &v.sizeCache
2122 case 2:
2123 return &v.unknownFields
2124 default:
2125 return nil
2126 }
2127 }
2128 file_google_cloud_functions_v1beta2_functions_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
2129 switch v := v.(*DeleteFunctionRequest); i {
2130 case 0:
2131 return &v.state
2132 case 1:
2133 return &v.sizeCache
2134 case 2:
2135 return &v.unknownFields
2136 default:
2137 return nil
2138 }
2139 }
2140 file_google_cloud_functions_v1beta2_functions_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
2141 switch v := v.(*CallFunctionRequest); i {
2142 case 0:
2143 return &v.state
2144 case 1:
2145 return &v.sizeCache
2146 case 2:
2147 return &v.unknownFields
2148 default:
2149 return nil
2150 }
2151 }
2152 file_google_cloud_functions_v1beta2_functions_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
2153 switch v := v.(*CallFunctionResponse); i {
2154 case 0:
2155 return &v.state
2156 case 1:
2157 return &v.sizeCache
2158 case 2:
2159 return &v.unknownFields
2160 default:
2161 return nil
2162 }
2163 }
2164 file_google_cloud_functions_v1beta2_functions_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
2165 switch v := v.(*GenerateUploadUrlRequest); i {
2166 case 0:
2167 return &v.state
2168 case 1:
2169 return &v.sizeCache
2170 case 2:
2171 return &v.unknownFields
2172 default:
2173 return nil
2174 }
2175 }
2176 file_google_cloud_functions_v1beta2_functions_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
2177 switch v := v.(*GenerateUploadUrlResponse); i {
2178 case 0:
2179 return &v.state
2180 case 1:
2181 return &v.sizeCache
2182 case 2:
2183 return &v.unknownFields
2184 default:
2185 return nil
2186 }
2187 }
2188 file_google_cloud_functions_v1beta2_functions_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
2189 switch v := v.(*GenerateDownloadUrlRequest); i {
2190 case 0:
2191 return &v.state
2192 case 1:
2193 return &v.sizeCache
2194 case 2:
2195 return &v.unknownFields
2196 default:
2197 return nil
2198 }
2199 }
2200 file_google_cloud_functions_v1beta2_functions_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
2201 switch v := v.(*GenerateDownloadUrlResponse); i {
2202 case 0:
2203 return &v.state
2204 case 1:
2205 return &v.sizeCache
2206 case 2:
2207 return &v.unknownFields
2208 default:
2209 return nil
2210 }
2211 }
2212 file_google_cloud_functions_v1beta2_functions_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
2213 switch v := v.(*FailurePolicy_Retry); i {
2214 case 0:
2215 return &v.state
2216 case 1:
2217 return &v.sizeCache
2218 case 2:
2219 return &v.unknownFields
2220 default:
2221 return nil
2222 }
2223 }
2224 }
2225 file_google_cloud_functions_v1beta2_functions_proto_msgTypes[0].OneofWrappers = []interface{}{
2226 (*CloudFunction_SourceArchiveUrl)(nil),
2227 (*CloudFunction_SourceRepository)(nil),
2228 (*CloudFunction_SourceRepositoryUrl)(nil),
2229 (*CloudFunction_SourceUploadUrl)(nil),
2230 (*CloudFunction_HttpsTrigger)(nil),
2231 (*CloudFunction_EventTrigger)(nil),
2232 }
2233 file_google_cloud_functions_v1beta2_functions_proto_msgTypes[3].OneofWrappers = []interface{}{
2234 (*SourceRepository_Branch)(nil),
2235 (*SourceRepository_Tag)(nil),
2236 (*SourceRepository_Revision)(nil),
2237 }
2238 file_google_cloud_functions_v1beta2_functions_proto_msgTypes[4].OneofWrappers = []interface{}{
2239 (*FailurePolicy_Retry_)(nil),
2240 }
2241 type x struct{}
2242 out := protoimpl.TypeBuilder{
2243 File: protoimpl.DescBuilder{
2244 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
2245 RawDescriptor: file_google_cloud_functions_v1beta2_functions_proto_rawDesc,
2246 NumEnums: 1,
2247 NumMessages: 20,
2248 NumExtensions: 0,
2249 NumServices: 1,
2250 },
2251 GoTypes: file_google_cloud_functions_v1beta2_functions_proto_goTypes,
2252 DependencyIndexes: file_google_cloud_functions_v1beta2_functions_proto_depIdxs,
2253 EnumInfos: file_google_cloud_functions_v1beta2_functions_proto_enumTypes,
2254 MessageInfos: file_google_cloud_functions_v1beta2_functions_proto_msgTypes,
2255 }.Build()
2256 File_google_cloud_functions_v1beta2_functions_proto = out.File
2257 file_google_cloud_functions_v1beta2_functions_proto_rawDesc = nil
2258 file_google_cloud_functions_v1beta2_functions_proto_goTypes = nil
2259 file_google_cloud_functions_v1beta2_functions_proto_depIdxs = nil
2260 }
2261
2262 // Reference imports to suppress errors if they are not otherwise used.
2263 var _ context.Context
2264 var _ grpc.ClientConnInterface
2265
2266 // This is a compile-time assertion to ensure that this generated file
2267 // is compatible with the grpc package it is being compiled against.
2268 const _ = grpc.SupportPackageIsVersion6
2269
2270 // CloudFunctionsServiceClient is the client API for CloudFunctionsService service.
2271 //
2272 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
2273 type CloudFunctionsServiceClient interface {
2274 // Returns a list of functions that belong to the requested project.
2275 ListFunctions(ctx context.Context, in *ListFunctionsRequest, opts ...grpc.CallOption) (*ListFunctionsResponse, error)
2276 // Returns a function with the given name from the requested project.
2277 GetFunction(ctx context.Context, in *GetFunctionRequest, opts ...grpc.CallOption) (*CloudFunction, error)
2278 // Creates a new function. If a function with the given name already exists in
2279 // the specified project, the long running operation will return
2280 // `ALREADY_EXISTS` error.
2281 CreateFunction(ctx context.Context, in *CreateFunctionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
2282 // Updates existing function.
2283 UpdateFunction(ctx context.Context, in *UpdateFunctionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
2284 // Deletes a function with the given name from the specified project. If the
2285 // given function is used by some trigger, the trigger will be updated to
2286 // remove this function.
2287 DeleteFunction(ctx context.Context, in *DeleteFunctionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
2288 // Synchronously invokes a deployed Cloud Function. To be used for testing
2289 // purposes as very limited traffic is allowed. For more information on
2290 // the actual limits refer to [API Calls](
2291 // https://cloud.google.com/functions/quotas#rate_limits).
2292 CallFunction(ctx context.Context, in *CallFunctionRequest, opts ...grpc.CallOption) (*CallFunctionResponse, error)
2293 // Returns a signed URL for uploading a function source code.
2294 // For more information about the signed URL usage see:
2295 // https://cloud.google.com/storage/docs/access-control/signed-urls
2296 // Once the function source code upload is complete, the used signed
2297 // URL should be provided in CreateFunction or UpdateFunction request
2298 // as a reference to the function source code.
2299 //
2300 // When uploading source code to the generated signed URL, please follow
2301 // these restrictions:
2302 //
2303 // * Source file type should be a zip file.
2304 // * Source file size should not exceed 100MB limit.
2305 // * No credentials should be attached - the signed URLs provide access to the
2306 // target bucket using internal service identity; if credentials were
2307 // attached, the identity from the credentials would be used, but that
2308 // identity does not have permissions to upload files to the URL.
2309 //
2310 // When making a HTTP PUT request, these two headers need to be specified:
2311 //
2312 // * `content-type: application/zip`
2313 // * `x-goog-content-length-range: 0,104857600`
2314 //
2315 // And this header SHOULD NOT be specified:
2316 //
2317 // * `Authorization: Bearer YOUR_TOKEN`
2318 GenerateUploadUrl(ctx context.Context, in *GenerateUploadUrlRequest, opts ...grpc.CallOption) (*GenerateUploadUrlResponse, error)
2319 // Returns a signed URL for downloading deployed function source code.
2320 // The URL is only valid for a limited period and should be used within
2321 // minutes after generation.
2322 // For more information about the signed URL usage see:
2323 // https://cloud.google.com/storage/docs/access-control/signed-urls
2324 GenerateDownloadUrl(ctx context.Context, in *GenerateDownloadUrlRequest, opts ...grpc.CallOption) (*GenerateDownloadUrlResponse, error)
2325 }
2326
2327 type cloudFunctionsServiceClient struct {
2328 cc grpc.ClientConnInterface
2329 }
2330
2331 func NewCloudFunctionsServiceClient(cc grpc.ClientConnInterface) CloudFunctionsServiceClient {
2332 return &cloudFunctionsServiceClient{cc}
2333 }
2334
2335 func (c *cloudFunctionsServiceClient) ListFunctions(ctx context.Context, in *ListFunctionsRequest, opts ...grpc.CallOption) (*ListFunctionsResponse, error) {
2336 out := new(ListFunctionsResponse)
2337 err := c.cc.Invoke(ctx, "/google.cloud.functions.v1beta2.CloudFunctionsService/ListFunctions", in, out, opts...)
2338 if err != nil {
2339 return nil, err
2340 }
2341 return out, nil
2342 }
2343
2344 func (c *cloudFunctionsServiceClient) GetFunction(ctx context.Context, in *GetFunctionRequest, opts ...grpc.CallOption) (*CloudFunction, error) {
2345 out := new(CloudFunction)
2346 err := c.cc.Invoke(ctx, "/google.cloud.functions.v1beta2.CloudFunctionsService/GetFunction", in, out, opts...)
2347 if err != nil {
2348 return nil, err
2349 }
2350 return out, nil
2351 }
2352
2353 func (c *cloudFunctionsServiceClient) CreateFunction(ctx context.Context, in *CreateFunctionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
2354 out := new(longrunning.Operation)
2355 err := c.cc.Invoke(ctx, "/google.cloud.functions.v1beta2.CloudFunctionsService/CreateFunction", in, out, opts...)
2356 if err != nil {
2357 return nil, err
2358 }
2359 return out, nil
2360 }
2361
2362 func (c *cloudFunctionsServiceClient) UpdateFunction(ctx context.Context, in *UpdateFunctionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
2363 out := new(longrunning.Operation)
2364 err := c.cc.Invoke(ctx, "/google.cloud.functions.v1beta2.CloudFunctionsService/UpdateFunction", in, out, opts...)
2365 if err != nil {
2366 return nil, err
2367 }
2368 return out, nil
2369 }
2370
2371 func (c *cloudFunctionsServiceClient) DeleteFunction(ctx context.Context, in *DeleteFunctionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
2372 out := new(longrunning.Operation)
2373 err := c.cc.Invoke(ctx, "/google.cloud.functions.v1beta2.CloudFunctionsService/DeleteFunction", in, out, opts...)
2374 if err != nil {
2375 return nil, err
2376 }
2377 return out, nil
2378 }
2379
2380 func (c *cloudFunctionsServiceClient) CallFunction(ctx context.Context, in *CallFunctionRequest, opts ...grpc.CallOption) (*CallFunctionResponse, error) {
2381 out := new(CallFunctionResponse)
2382 err := c.cc.Invoke(ctx, "/google.cloud.functions.v1beta2.CloudFunctionsService/CallFunction", in, out, opts...)
2383 if err != nil {
2384 return nil, err
2385 }
2386 return out, nil
2387 }
2388
2389 func (c *cloudFunctionsServiceClient) GenerateUploadUrl(ctx context.Context, in *GenerateUploadUrlRequest, opts ...grpc.CallOption) (*GenerateUploadUrlResponse, error) {
2390 out := new(GenerateUploadUrlResponse)
2391 err := c.cc.Invoke(ctx, "/google.cloud.functions.v1beta2.CloudFunctionsService/GenerateUploadUrl", in, out, opts...)
2392 if err != nil {
2393 return nil, err
2394 }
2395 return out, nil
2396 }
2397
2398 func (c *cloudFunctionsServiceClient) GenerateDownloadUrl(ctx context.Context, in *GenerateDownloadUrlRequest, opts ...grpc.CallOption) (*GenerateDownloadUrlResponse, error) {
2399 out := new(GenerateDownloadUrlResponse)
2400 err := c.cc.Invoke(ctx, "/google.cloud.functions.v1beta2.CloudFunctionsService/GenerateDownloadUrl", in, out, opts...)
2401 if err != nil {
2402 return nil, err
2403 }
2404 return out, nil
2405 }
2406
2407 // CloudFunctionsServiceServer is the server API for CloudFunctionsService service.
2408 type CloudFunctionsServiceServer interface {
2409 // Returns a list of functions that belong to the requested project.
2410 ListFunctions(context.Context, *ListFunctionsRequest) (*ListFunctionsResponse, error)
2411 // Returns a function with the given name from the requested project.
2412 GetFunction(context.Context, *GetFunctionRequest) (*CloudFunction, error)
2413 // Creates a new function. If a function with the given name already exists in
2414 // the specified project, the long running operation will return
2415 // `ALREADY_EXISTS` error.
2416 CreateFunction(context.Context, *CreateFunctionRequest) (*longrunning.Operation, error)
2417 // Updates existing function.
2418 UpdateFunction(context.Context, *UpdateFunctionRequest) (*longrunning.Operation, error)
2419 // Deletes a function with the given name from the specified project. If the
2420 // given function is used by some trigger, the trigger will be updated to
2421 // remove this function.
2422 DeleteFunction(context.Context, *DeleteFunctionRequest) (*longrunning.Operation, error)
2423 // Synchronously invokes a deployed Cloud Function. To be used for testing
2424 // purposes as very limited traffic is allowed. For more information on
2425 // the actual limits refer to [API Calls](
2426 // https://cloud.google.com/functions/quotas#rate_limits).
2427 CallFunction(context.Context, *CallFunctionRequest) (*CallFunctionResponse, error)
2428 // Returns a signed URL for uploading a function source code.
2429 // For more information about the signed URL usage see:
2430 // https://cloud.google.com/storage/docs/access-control/signed-urls
2431 // Once the function source code upload is complete, the used signed
2432 // URL should be provided in CreateFunction or UpdateFunction request
2433 // as a reference to the function source code.
2434 //
2435 // When uploading source code to the generated signed URL, please follow
2436 // these restrictions:
2437 //
2438 // * Source file type should be a zip file.
2439 // * Source file size should not exceed 100MB limit.
2440 // * No credentials should be attached - the signed URLs provide access to the
2441 // target bucket using internal service identity; if credentials were
2442 // attached, the identity from the credentials would be used, but that
2443 // identity does not have permissions to upload files to the URL.
2444 //
2445 // When making a HTTP PUT request, these two headers need to be specified:
2446 //
2447 // * `content-type: application/zip`
2448 // * `x-goog-content-length-range: 0,104857600`
2449 //
2450 // And this header SHOULD NOT be specified:
2451 //
2452 // * `Authorization: Bearer YOUR_TOKEN`
2453 GenerateUploadUrl(context.Context, *GenerateUploadUrlRequest) (*GenerateUploadUrlResponse, error)
2454 // Returns a signed URL for downloading deployed function source code.
2455 // The URL is only valid for a limited period and should be used within
2456 // minutes after generation.
2457 // For more information about the signed URL usage see:
2458 // https://cloud.google.com/storage/docs/access-control/signed-urls
2459 GenerateDownloadUrl(context.Context, *GenerateDownloadUrlRequest) (*GenerateDownloadUrlResponse, error)
2460 }
2461
2462 // UnimplementedCloudFunctionsServiceServer can be embedded to have forward compatible implementations.
2463 type UnimplementedCloudFunctionsServiceServer struct {
2464 }
2465
2466 func (*UnimplementedCloudFunctionsServiceServer) ListFunctions(context.Context, *ListFunctionsRequest) (*ListFunctionsResponse, error) {
2467 return nil, status.Errorf(codes.Unimplemented, "method ListFunctions not implemented")
2468 }
2469 func (*UnimplementedCloudFunctionsServiceServer) GetFunction(context.Context, *GetFunctionRequest) (*CloudFunction, error) {
2470 return nil, status.Errorf(codes.Unimplemented, "method GetFunction not implemented")
2471 }
2472 func (*UnimplementedCloudFunctionsServiceServer) CreateFunction(context.Context, *CreateFunctionRequest) (*longrunning.Operation, error) {
2473 return nil, status.Errorf(codes.Unimplemented, "method CreateFunction not implemented")
2474 }
2475 func (*UnimplementedCloudFunctionsServiceServer) UpdateFunction(context.Context, *UpdateFunctionRequest) (*longrunning.Operation, error) {
2476 return nil, status.Errorf(codes.Unimplemented, "method UpdateFunction not implemented")
2477 }
2478 func (*UnimplementedCloudFunctionsServiceServer) DeleteFunction(context.Context, *DeleteFunctionRequest) (*longrunning.Operation, error) {
2479 return nil, status.Errorf(codes.Unimplemented, "method DeleteFunction not implemented")
2480 }
2481 func (*UnimplementedCloudFunctionsServiceServer) CallFunction(context.Context, *CallFunctionRequest) (*CallFunctionResponse, error) {
2482 return nil, status.Errorf(codes.Unimplemented, "method CallFunction not implemented")
2483 }
2484 func (*UnimplementedCloudFunctionsServiceServer) GenerateUploadUrl(context.Context, *GenerateUploadUrlRequest) (*GenerateUploadUrlResponse, error) {
2485 return nil, status.Errorf(codes.Unimplemented, "method GenerateUploadUrl not implemented")
2486 }
2487 func (*UnimplementedCloudFunctionsServiceServer) GenerateDownloadUrl(context.Context, *GenerateDownloadUrlRequest) (*GenerateDownloadUrlResponse, error) {
2488 return nil, status.Errorf(codes.Unimplemented, "method GenerateDownloadUrl not implemented")
2489 }
2490
2491 func RegisterCloudFunctionsServiceServer(s *grpc.Server, srv CloudFunctionsServiceServer) {
2492 s.RegisterService(&_CloudFunctionsService_serviceDesc, srv)
2493 }
2494
2495 func _CloudFunctionsService_ListFunctions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2496 in := new(ListFunctionsRequest)
2497 if err := dec(in); err != nil {
2498 return nil, err
2499 }
2500 if interceptor == nil {
2501 return srv.(CloudFunctionsServiceServer).ListFunctions(ctx, in)
2502 }
2503 info := &grpc.UnaryServerInfo{
2504 Server: srv,
2505 FullMethod: "/google.cloud.functions.v1beta2.CloudFunctionsService/ListFunctions",
2506 }
2507 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2508 return srv.(CloudFunctionsServiceServer).ListFunctions(ctx, req.(*ListFunctionsRequest))
2509 }
2510 return interceptor(ctx, in, info, handler)
2511 }
2512
2513 func _CloudFunctionsService_GetFunction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2514 in := new(GetFunctionRequest)
2515 if err := dec(in); err != nil {
2516 return nil, err
2517 }
2518 if interceptor == nil {
2519 return srv.(CloudFunctionsServiceServer).GetFunction(ctx, in)
2520 }
2521 info := &grpc.UnaryServerInfo{
2522 Server: srv,
2523 FullMethod: "/google.cloud.functions.v1beta2.CloudFunctionsService/GetFunction",
2524 }
2525 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2526 return srv.(CloudFunctionsServiceServer).GetFunction(ctx, req.(*GetFunctionRequest))
2527 }
2528 return interceptor(ctx, in, info, handler)
2529 }
2530
2531 func _CloudFunctionsService_CreateFunction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2532 in := new(CreateFunctionRequest)
2533 if err := dec(in); err != nil {
2534 return nil, err
2535 }
2536 if interceptor == nil {
2537 return srv.(CloudFunctionsServiceServer).CreateFunction(ctx, in)
2538 }
2539 info := &grpc.UnaryServerInfo{
2540 Server: srv,
2541 FullMethod: "/google.cloud.functions.v1beta2.CloudFunctionsService/CreateFunction",
2542 }
2543 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2544 return srv.(CloudFunctionsServiceServer).CreateFunction(ctx, req.(*CreateFunctionRequest))
2545 }
2546 return interceptor(ctx, in, info, handler)
2547 }
2548
2549 func _CloudFunctionsService_UpdateFunction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2550 in := new(UpdateFunctionRequest)
2551 if err := dec(in); err != nil {
2552 return nil, err
2553 }
2554 if interceptor == nil {
2555 return srv.(CloudFunctionsServiceServer).UpdateFunction(ctx, in)
2556 }
2557 info := &grpc.UnaryServerInfo{
2558 Server: srv,
2559 FullMethod: "/google.cloud.functions.v1beta2.CloudFunctionsService/UpdateFunction",
2560 }
2561 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2562 return srv.(CloudFunctionsServiceServer).UpdateFunction(ctx, req.(*UpdateFunctionRequest))
2563 }
2564 return interceptor(ctx, in, info, handler)
2565 }
2566
2567 func _CloudFunctionsService_DeleteFunction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2568 in := new(DeleteFunctionRequest)
2569 if err := dec(in); err != nil {
2570 return nil, err
2571 }
2572 if interceptor == nil {
2573 return srv.(CloudFunctionsServiceServer).DeleteFunction(ctx, in)
2574 }
2575 info := &grpc.UnaryServerInfo{
2576 Server: srv,
2577 FullMethod: "/google.cloud.functions.v1beta2.CloudFunctionsService/DeleteFunction",
2578 }
2579 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2580 return srv.(CloudFunctionsServiceServer).DeleteFunction(ctx, req.(*DeleteFunctionRequest))
2581 }
2582 return interceptor(ctx, in, info, handler)
2583 }
2584
2585 func _CloudFunctionsService_CallFunction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2586 in := new(CallFunctionRequest)
2587 if err := dec(in); err != nil {
2588 return nil, err
2589 }
2590 if interceptor == nil {
2591 return srv.(CloudFunctionsServiceServer).CallFunction(ctx, in)
2592 }
2593 info := &grpc.UnaryServerInfo{
2594 Server: srv,
2595 FullMethod: "/google.cloud.functions.v1beta2.CloudFunctionsService/CallFunction",
2596 }
2597 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2598 return srv.(CloudFunctionsServiceServer).CallFunction(ctx, req.(*CallFunctionRequest))
2599 }
2600 return interceptor(ctx, in, info, handler)
2601 }
2602
2603 func _CloudFunctionsService_GenerateUploadUrl_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2604 in := new(GenerateUploadUrlRequest)
2605 if err := dec(in); err != nil {
2606 return nil, err
2607 }
2608 if interceptor == nil {
2609 return srv.(CloudFunctionsServiceServer).GenerateUploadUrl(ctx, in)
2610 }
2611 info := &grpc.UnaryServerInfo{
2612 Server: srv,
2613 FullMethod: "/google.cloud.functions.v1beta2.CloudFunctionsService/GenerateUploadUrl",
2614 }
2615 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2616 return srv.(CloudFunctionsServiceServer).GenerateUploadUrl(ctx, req.(*GenerateUploadUrlRequest))
2617 }
2618 return interceptor(ctx, in, info, handler)
2619 }
2620
2621 func _CloudFunctionsService_GenerateDownloadUrl_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2622 in := new(GenerateDownloadUrlRequest)
2623 if err := dec(in); err != nil {
2624 return nil, err
2625 }
2626 if interceptor == nil {
2627 return srv.(CloudFunctionsServiceServer).GenerateDownloadUrl(ctx, in)
2628 }
2629 info := &grpc.UnaryServerInfo{
2630 Server: srv,
2631 FullMethod: "/google.cloud.functions.v1beta2.CloudFunctionsService/GenerateDownloadUrl",
2632 }
2633 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2634 return srv.(CloudFunctionsServiceServer).GenerateDownloadUrl(ctx, req.(*GenerateDownloadUrlRequest))
2635 }
2636 return interceptor(ctx, in, info, handler)
2637 }
2638
2639 var _CloudFunctionsService_serviceDesc = grpc.ServiceDesc{
2640 ServiceName: "google.cloud.functions.v1beta2.CloudFunctionsService",
2641 HandlerType: (*CloudFunctionsServiceServer)(nil),
2642 Methods: []grpc.MethodDesc{
2643 {
2644 MethodName: "ListFunctions",
2645 Handler: _CloudFunctionsService_ListFunctions_Handler,
2646 },
2647 {
2648 MethodName: "GetFunction",
2649 Handler: _CloudFunctionsService_GetFunction_Handler,
2650 },
2651 {
2652 MethodName: "CreateFunction",
2653 Handler: _CloudFunctionsService_CreateFunction_Handler,
2654 },
2655 {
2656 MethodName: "UpdateFunction",
2657 Handler: _CloudFunctionsService_UpdateFunction_Handler,
2658 },
2659 {
2660 MethodName: "DeleteFunction",
2661 Handler: _CloudFunctionsService_DeleteFunction_Handler,
2662 },
2663 {
2664 MethodName: "CallFunction",
2665 Handler: _CloudFunctionsService_CallFunction_Handler,
2666 },
2667 {
2668 MethodName: "GenerateUploadUrl",
2669 Handler: _CloudFunctionsService_GenerateUploadUrl_Handler,
2670 },
2671 {
2672 MethodName: "GenerateDownloadUrl",
2673 Handler: _CloudFunctionsService_GenerateDownloadUrl_Handler,
2674 },
2675 },
2676 Streams: []grpc.StreamDesc{},
2677 Metadata: "google/cloud/functions/v1beta2/functions.proto",
2678 }