1// Copyright 2020 Google LLC 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15// Code generated by protoc-gen-go. DO NOT EDIT. 16// versions: 17// protoc-gen-go v1.25.0-devel 18// protoc v3.13.0 19// source: google/cloud/workflows/executions/v1/executions.proto 20 21package executions 22 23import ( 24 context "context" 25 reflect "reflect" 26 sync "sync" 27 28 proto "github.com/golang/protobuf/proto" 29 _ "google.golang.org/genproto/googleapis/api/annotations" 30 grpc "google.golang.org/grpc" 31 codes "google.golang.org/grpc/codes" 32 status "google.golang.org/grpc/status" 33 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 34 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 35 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 36) 37 38const ( 39 // Verify that this generated code is sufficiently up-to-date. 40 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 41 // Verify that runtime/protoimpl is sufficiently up-to-date. 42 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 43) 44 45// This is a compile-time assertion that a sufficiently up-to-date version 46// of the legacy proto package is being used. 47const _ = proto.ProtoPackageIsVersion4 48 49// Defines possible views for execution resource. 50type ExecutionView int32 51 52const ( 53 // The default / unset value. 54 ExecutionView_EXECUTION_VIEW_UNSPECIFIED ExecutionView = 0 55 // Includes only basic metadata about the execution. 56 // Following fields are returned: name, start_time, end_time, state 57 // and workflow_revision_id. 58 ExecutionView_BASIC ExecutionView = 1 59 // Includes all data. 60 ExecutionView_FULL ExecutionView = 2 61) 62 63// Enum value maps for ExecutionView. 64var ( 65 ExecutionView_name = map[int32]string{ 66 0: "EXECUTION_VIEW_UNSPECIFIED", 67 1: "BASIC", 68 2: "FULL", 69 } 70 ExecutionView_value = map[string]int32{ 71 "EXECUTION_VIEW_UNSPECIFIED": 0, 72 "BASIC": 1, 73 "FULL": 2, 74 } 75) 76 77func (x ExecutionView) Enum() *ExecutionView { 78 p := new(ExecutionView) 79 *p = x 80 return p 81} 82 83func (x ExecutionView) String() string { 84 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 85} 86 87func (ExecutionView) Descriptor() protoreflect.EnumDescriptor { 88 return file_google_cloud_workflows_executions_v1_executions_proto_enumTypes[0].Descriptor() 89} 90 91func (ExecutionView) Type() protoreflect.EnumType { 92 return &file_google_cloud_workflows_executions_v1_executions_proto_enumTypes[0] 93} 94 95func (x ExecutionView) Number() protoreflect.EnumNumber { 96 return protoreflect.EnumNumber(x) 97} 98 99// Deprecated: Use ExecutionView.Descriptor instead. 100func (ExecutionView) EnumDescriptor() ([]byte, []int) { 101 return file_google_cloud_workflows_executions_v1_executions_proto_rawDescGZIP(), []int{0} 102} 103 104// Describes the current state of the execution. More states may be added 105// in the future. 106type Execution_State int32 107 108const ( 109 // Invalid state. 110 Execution_STATE_UNSPECIFIED Execution_State = 0 111 // The execution is in progress. 112 Execution_ACTIVE Execution_State = 1 113 // The execution finished successfully. 114 Execution_SUCCEEDED Execution_State = 2 115 // The execution failed with an error. 116 Execution_FAILED Execution_State = 3 117 // The execution was stopped intentionally. 118 Execution_CANCELLED Execution_State = 4 119) 120 121// Enum value maps for Execution_State. 122var ( 123 Execution_State_name = map[int32]string{ 124 0: "STATE_UNSPECIFIED", 125 1: "ACTIVE", 126 2: "SUCCEEDED", 127 3: "FAILED", 128 4: "CANCELLED", 129 } 130 Execution_State_value = map[string]int32{ 131 "STATE_UNSPECIFIED": 0, 132 "ACTIVE": 1, 133 "SUCCEEDED": 2, 134 "FAILED": 3, 135 "CANCELLED": 4, 136 } 137) 138 139func (x Execution_State) Enum() *Execution_State { 140 p := new(Execution_State) 141 *p = x 142 return p 143} 144 145func (x Execution_State) String() string { 146 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 147} 148 149func (Execution_State) Descriptor() protoreflect.EnumDescriptor { 150 return file_google_cloud_workflows_executions_v1_executions_proto_enumTypes[1].Descriptor() 151} 152 153func (Execution_State) Type() protoreflect.EnumType { 154 return &file_google_cloud_workflows_executions_v1_executions_proto_enumTypes[1] 155} 156 157func (x Execution_State) Number() protoreflect.EnumNumber { 158 return protoreflect.EnumNumber(x) 159} 160 161// Deprecated: Use Execution_State.Descriptor instead. 162func (Execution_State) EnumDescriptor() ([]byte, []int) { 163 return file_google_cloud_workflows_executions_v1_executions_proto_rawDescGZIP(), []int{0, 0} 164} 165 166// A running instance of a 167// [Workflow](/workflows/docs/reference/rest/v1/projects.locations.workflows). 168type Execution struct { 169 state protoimpl.MessageState 170 sizeCache protoimpl.SizeCache 171 unknownFields protoimpl.UnknownFields 172 173 // Output only. The resource name of the execution. 174 // Format: 175 // projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution} 176 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 177 // Output only. Marks the beginning of execution. 178 StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` 179 // Output only. Marks the end of execution, successful or not. 180 EndTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` 181 // Output only. Current state of the execution. 182 State Execution_State `protobuf:"varint,4,opt,name=state,proto3,enum=google.cloud.workflows.executions.v1.Execution_State" json:"state,omitempty"` 183 // Input parameters of the execution represented as a JSON string. 184 // The size limit is 32KB. 185 Argument string `protobuf:"bytes,5,opt,name=argument,proto3" json:"argument,omitempty"` 186 // Output only. Output of the execution represented as a JSON string. The 187 // value can only be present if the execution's state is `SUCCEEDED`. 188 Result string `protobuf:"bytes,6,opt,name=result,proto3" json:"result,omitempty"` 189 // Output only. The error which caused the execution to finish prematurely. 190 // The value is only present if the execution's state is `FAILED` 191 // or `CANCELLED`. 192 Error *Execution_Error `protobuf:"bytes,7,opt,name=error,proto3" json:"error,omitempty"` 193 // Output only. Revision of the workflow this execution is using. 194 WorkflowRevisionId string `protobuf:"bytes,8,opt,name=workflow_revision_id,json=workflowRevisionId,proto3" json:"workflow_revision_id,omitempty"` 195} 196 197func (x *Execution) Reset() { 198 *x = Execution{} 199 if protoimpl.UnsafeEnabled { 200 mi := &file_google_cloud_workflows_executions_v1_executions_proto_msgTypes[0] 201 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 202 ms.StoreMessageInfo(mi) 203 } 204} 205 206func (x *Execution) String() string { 207 return protoimpl.X.MessageStringOf(x) 208} 209 210func (*Execution) ProtoMessage() {} 211 212func (x *Execution) ProtoReflect() protoreflect.Message { 213 mi := &file_google_cloud_workflows_executions_v1_executions_proto_msgTypes[0] 214 if protoimpl.UnsafeEnabled && x != nil { 215 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 216 if ms.LoadMessageInfo() == nil { 217 ms.StoreMessageInfo(mi) 218 } 219 return ms 220 } 221 return mi.MessageOf(x) 222} 223 224// Deprecated: Use Execution.ProtoReflect.Descriptor instead. 225func (*Execution) Descriptor() ([]byte, []int) { 226 return file_google_cloud_workflows_executions_v1_executions_proto_rawDescGZIP(), []int{0} 227} 228 229func (x *Execution) GetName() string { 230 if x != nil { 231 return x.Name 232 } 233 return "" 234} 235 236func (x *Execution) GetStartTime() *timestamppb.Timestamp { 237 if x != nil { 238 return x.StartTime 239 } 240 return nil 241} 242 243func (x *Execution) GetEndTime() *timestamppb.Timestamp { 244 if x != nil { 245 return x.EndTime 246 } 247 return nil 248} 249 250func (x *Execution) GetState() Execution_State { 251 if x != nil { 252 return x.State 253 } 254 return Execution_STATE_UNSPECIFIED 255} 256 257func (x *Execution) GetArgument() string { 258 if x != nil { 259 return x.Argument 260 } 261 return "" 262} 263 264func (x *Execution) GetResult() string { 265 if x != nil { 266 return x.Result 267 } 268 return "" 269} 270 271func (x *Execution) GetError() *Execution_Error { 272 if x != nil { 273 return x.Error 274 } 275 return nil 276} 277 278func (x *Execution) GetWorkflowRevisionId() string { 279 if x != nil { 280 return x.WorkflowRevisionId 281 } 282 return "" 283} 284 285// Request for the 286// [ListExecutions][] 287// method. 288type ListExecutionsRequest struct { 289 state protoimpl.MessageState 290 sizeCache protoimpl.SizeCache 291 unknownFields protoimpl.UnknownFields 292 293 // Required. Name of the workflow for which the executions should be listed. 294 // Format: projects/{project}/locations/{location}/workflows/{workflow} 295 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 296 // Maximum number of executions to return per call. 297 // Max supported value depends on the selected Execution view: it's 10000 for 298 // BASIC and 100 for FULL. The default value used if the field is not 299 // specified is 100, regardless of the selected view. Values greater than 300 // the max value will be coerced down to it. 301 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 302 // A page token, received from a previous `ListExecutions` call. 303 // Provide this to retrieve the subsequent page. 304 // 305 // When paginating, all other parameters provided to `ListExecutions` must 306 // match the call that provided the page token. 307 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 308 // Optional. A view defining which fields should be filled in the returned executions. 309 // The API will default to the BASIC view. 310 View ExecutionView `protobuf:"varint,4,opt,name=view,proto3,enum=google.cloud.workflows.executions.v1.ExecutionView" json:"view,omitempty"` 311} 312 313func (x *ListExecutionsRequest) Reset() { 314 *x = ListExecutionsRequest{} 315 if protoimpl.UnsafeEnabled { 316 mi := &file_google_cloud_workflows_executions_v1_executions_proto_msgTypes[1] 317 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 318 ms.StoreMessageInfo(mi) 319 } 320} 321 322func (x *ListExecutionsRequest) String() string { 323 return protoimpl.X.MessageStringOf(x) 324} 325 326func (*ListExecutionsRequest) ProtoMessage() {} 327 328func (x *ListExecutionsRequest) ProtoReflect() protoreflect.Message { 329 mi := &file_google_cloud_workflows_executions_v1_executions_proto_msgTypes[1] 330 if protoimpl.UnsafeEnabled && x != nil { 331 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 332 if ms.LoadMessageInfo() == nil { 333 ms.StoreMessageInfo(mi) 334 } 335 return ms 336 } 337 return mi.MessageOf(x) 338} 339 340// Deprecated: Use ListExecutionsRequest.ProtoReflect.Descriptor instead. 341func (*ListExecutionsRequest) Descriptor() ([]byte, []int) { 342 return file_google_cloud_workflows_executions_v1_executions_proto_rawDescGZIP(), []int{1} 343} 344 345func (x *ListExecutionsRequest) GetParent() string { 346 if x != nil { 347 return x.Parent 348 } 349 return "" 350} 351 352func (x *ListExecutionsRequest) GetPageSize() int32 { 353 if x != nil { 354 return x.PageSize 355 } 356 return 0 357} 358 359func (x *ListExecutionsRequest) GetPageToken() string { 360 if x != nil { 361 return x.PageToken 362 } 363 return "" 364} 365 366func (x *ListExecutionsRequest) GetView() ExecutionView { 367 if x != nil { 368 return x.View 369 } 370 return ExecutionView_EXECUTION_VIEW_UNSPECIFIED 371} 372 373// Response for the 374// [ListExecutions][google.cloud.workflows.executions.v1.Executions.ListExecutions] 375// method. 376type ListExecutionsResponse struct { 377 state protoimpl.MessageState 378 sizeCache protoimpl.SizeCache 379 unknownFields protoimpl.UnknownFields 380 381 // The executions which match the request. 382 Executions []*Execution `protobuf:"bytes,1,rep,name=executions,proto3" json:"executions,omitempty"` 383 // A token, which can be sent as `page_token` to retrieve the next page. 384 // If this field is omitted, there are no subsequent pages. 385 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 386} 387 388func (x *ListExecutionsResponse) Reset() { 389 *x = ListExecutionsResponse{} 390 if protoimpl.UnsafeEnabled { 391 mi := &file_google_cloud_workflows_executions_v1_executions_proto_msgTypes[2] 392 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 393 ms.StoreMessageInfo(mi) 394 } 395} 396 397func (x *ListExecutionsResponse) String() string { 398 return protoimpl.X.MessageStringOf(x) 399} 400 401func (*ListExecutionsResponse) ProtoMessage() {} 402 403func (x *ListExecutionsResponse) ProtoReflect() protoreflect.Message { 404 mi := &file_google_cloud_workflows_executions_v1_executions_proto_msgTypes[2] 405 if protoimpl.UnsafeEnabled && x != nil { 406 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 407 if ms.LoadMessageInfo() == nil { 408 ms.StoreMessageInfo(mi) 409 } 410 return ms 411 } 412 return mi.MessageOf(x) 413} 414 415// Deprecated: Use ListExecutionsResponse.ProtoReflect.Descriptor instead. 416func (*ListExecutionsResponse) Descriptor() ([]byte, []int) { 417 return file_google_cloud_workflows_executions_v1_executions_proto_rawDescGZIP(), []int{2} 418} 419 420func (x *ListExecutionsResponse) GetExecutions() []*Execution { 421 if x != nil { 422 return x.Executions 423 } 424 return nil 425} 426 427func (x *ListExecutionsResponse) GetNextPageToken() string { 428 if x != nil { 429 return x.NextPageToken 430 } 431 return "" 432} 433 434// Request for the 435// [CreateExecution][google.cloud.workflows.executions.v1.Executions.CreateExecution] 436// method. 437type CreateExecutionRequest struct { 438 state protoimpl.MessageState 439 sizeCache protoimpl.SizeCache 440 unknownFields protoimpl.UnknownFields 441 442 // Required. Name of the workflow for which an execution should be created. 443 // Format: projects/{project}/locations/{location}/workflows/{workflow} 444 // The latest revision of the workflow will be used. 445 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 446 // Required. Execution to be created. 447 Execution *Execution `protobuf:"bytes,2,opt,name=execution,proto3" json:"execution,omitempty"` 448} 449 450func (x *CreateExecutionRequest) Reset() { 451 *x = CreateExecutionRequest{} 452 if protoimpl.UnsafeEnabled { 453 mi := &file_google_cloud_workflows_executions_v1_executions_proto_msgTypes[3] 454 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 455 ms.StoreMessageInfo(mi) 456 } 457} 458 459func (x *CreateExecutionRequest) String() string { 460 return protoimpl.X.MessageStringOf(x) 461} 462 463func (*CreateExecutionRequest) ProtoMessage() {} 464 465func (x *CreateExecutionRequest) ProtoReflect() protoreflect.Message { 466 mi := &file_google_cloud_workflows_executions_v1_executions_proto_msgTypes[3] 467 if protoimpl.UnsafeEnabled && x != nil { 468 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 469 if ms.LoadMessageInfo() == nil { 470 ms.StoreMessageInfo(mi) 471 } 472 return ms 473 } 474 return mi.MessageOf(x) 475} 476 477// Deprecated: Use CreateExecutionRequest.ProtoReflect.Descriptor instead. 478func (*CreateExecutionRequest) Descriptor() ([]byte, []int) { 479 return file_google_cloud_workflows_executions_v1_executions_proto_rawDescGZIP(), []int{3} 480} 481 482func (x *CreateExecutionRequest) GetParent() string { 483 if x != nil { 484 return x.Parent 485 } 486 return "" 487} 488 489func (x *CreateExecutionRequest) GetExecution() *Execution { 490 if x != nil { 491 return x.Execution 492 } 493 return nil 494} 495 496// Request for the 497// [GetExecution][google.cloud.workflows.executions.v1.Executions.GetExecution] 498// method. 499type GetExecutionRequest struct { 500 state protoimpl.MessageState 501 sizeCache protoimpl.SizeCache 502 unknownFields protoimpl.UnknownFields 503 504 // Required. Name of the execution to be retrieved. 505 // Format: 506 // projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution} 507 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 508 // Optional. A view defining which fields should be filled in the returned execution. 509 // The API will default to the FULL view. 510 View ExecutionView `protobuf:"varint,2,opt,name=view,proto3,enum=google.cloud.workflows.executions.v1.ExecutionView" json:"view,omitempty"` 511} 512 513func (x *GetExecutionRequest) Reset() { 514 *x = GetExecutionRequest{} 515 if protoimpl.UnsafeEnabled { 516 mi := &file_google_cloud_workflows_executions_v1_executions_proto_msgTypes[4] 517 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 518 ms.StoreMessageInfo(mi) 519 } 520} 521 522func (x *GetExecutionRequest) String() string { 523 return protoimpl.X.MessageStringOf(x) 524} 525 526func (*GetExecutionRequest) ProtoMessage() {} 527 528func (x *GetExecutionRequest) ProtoReflect() protoreflect.Message { 529 mi := &file_google_cloud_workflows_executions_v1_executions_proto_msgTypes[4] 530 if protoimpl.UnsafeEnabled && x != nil { 531 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 532 if ms.LoadMessageInfo() == nil { 533 ms.StoreMessageInfo(mi) 534 } 535 return ms 536 } 537 return mi.MessageOf(x) 538} 539 540// Deprecated: Use GetExecutionRequest.ProtoReflect.Descriptor instead. 541func (*GetExecutionRequest) Descriptor() ([]byte, []int) { 542 return file_google_cloud_workflows_executions_v1_executions_proto_rawDescGZIP(), []int{4} 543} 544 545func (x *GetExecutionRequest) GetName() string { 546 if x != nil { 547 return x.Name 548 } 549 return "" 550} 551 552func (x *GetExecutionRequest) GetView() ExecutionView { 553 if x != nil { 554 return x.View 555 } 556 return ExecutionView_EXECUTION_VIEW_UNSPECIFIED 557} 558 559// Request for the 560// [CancelExecution][google.cloud.workflows.executions.v1.Executions.CancelExecution] 561// method. 562type CancelExecutionRequest struct { 563 state protoimpl.MessageState 564 sizeCache protoimpl.SizeCache 565 unknownFields protoimpl.UnknownFields 566 567 // Required. Name of the execution to be cancelled. 568 // Format: 569 // projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution} 570 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 571} 572 573func (x *CancelExecutionRequest) Reset() { 574 *x = CancelExecutionRequest{} 575 if protoimpl.UnsafeEnabled { 576 mi := &file_google_cloud_workflows_executions_v1_executions_proto_msgTypes[5] 577 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 578 ms.StoreMessageInfo(mi) 579 } 580} 581 582func (x *CancelExecutionRequest) String() string { 583 return protoimpl.X.MessageStringOf(x) 584} 585 586func (*CancelExecutionRequest) ProtoMessage() {} 587 588func (x *CancelExecutionRequest) ProtoReflect() protoreflect.Message { 589 mi := &file_google_cloud_workflows_executions_v1_executions_proto_msgTypes[5] 590 if protoimpl.UnsafeEnabled && x != nil { 591 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 592 if ms.LoadMessageInfo() == nil { 593 ms.StoreMessageInfo(mi) 594 } 595 return ms 596 } 597 return mi.MessageOf(x) 598} 599 600// Deprecated: Use CancelExecutionRequest.ProtoReflect.Descriptor instead. 601func (*CancelExecutionRequest) Descriptor() ([]byte, []int) { 602 return file_google_cloud_workflows_executions_v1_executions_proto_rawDescGZIP(), []int{5} 603} 604 605func (x *CancelExecutionRequest) GetName() string { 606 if x != nil { 607 return x.Name 608 } 609 return "" 610} 611 612// Error describes why the execution was abnormally terminated. 613type Execution_Error struct { 614 state protoimpl.MessageState 615 sizeCache protoimpl.SizeCache 616 unknownFields protoimpl.UnknownFields 617 618 // Error payload returned by the execution, represented as a JSON string. 619 Payload string `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` 620 // Human readable error context, helpful for debugging purposes. 621 Context string `protobuf:"bytes,2,opt,name=context,proto3" json:"context,omitempty"` 622} 623 624func (x *Execution_Error) Reset() { 625 *x = Execution_Error{} 626 if protoimpl.UnsafeEnabled { 627 mi := &file_google_cloud_workflows_executions_v1_executions_proto_msgTypes[6] 628 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 629 ms.StoreMessageInfo(mi) 630 } 631} 632 633func (x *Execution_Error) String() string { 634 return protoimpl.X.MessageStringOf(x) 635} 636 637func (*Execution_Error) ProtoMessage() {} 638 639func (x *Execution_Error) ProtoReflect() protoreflect.Message { 640 mi := &file_google_cloud_workflows_executions_v1_executions_proto_msgTypes[6] 641 if protoimpl.UnsafeEnabled && x != nil { 642 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 643 if ms.LoadMessageInfo() == nil { 644 ms.StoreMessageInfo(mi) 645 } 646 return ms 647 } 648 return mi.MessageOf(x) 649} 650 651// Deprecated: Use Execution_Error.ProtoReflect.Descriptor instead. 652func (*Execution_Error) Descriptor() ([]byte, []int) { 653 return file_google_cloud_workflows_executions_v1_executions_proto_rawDescGZIP(), []int{0, 0} 654} 655 656func (x *Execution_Error) GetPayload() string { 657 if x != nil { 658 return x.Payload 659 } 660 return "" 661} 662 663func (x *Execution_Error) GetContext() string { 664 if x != nil { 665 return x.Context 666 } 667 return "" 668} 669 670var File_google_cloud_workflows_executions_v1_executions_proto protoreflect.FileDescriptor 671 672var file_google_cloud_workflows_executions_v1_executions_proto_rawDesc = []byte{ 673 0x0a, 0x35, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x77, 674 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x2f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 675 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 676 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x24, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 677 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x2e, 678 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 679 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 680 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 681 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 682 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 683 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 684 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 685 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 686 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 687 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 688 0x6f, 0x22, 0xd0, 0x05, 0x0a, 0x09, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 689 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 690 0x41, 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3e, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 691 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 692 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 693 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x09, 0x73, 694 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 695 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 696 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 697 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x07, 0x65, 0x6e, 0x64, 698 0x54, 0x69, 0x6d, 0x65, 0x12, 0x50, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 699 0x01, 0x28, 0x0e, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 700 0x75, 0x64, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x2e, 0x65, 0x78, 0x65, 701 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 702 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 703 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x72, 0x67, 0x75, 0x6d, 0x65, 704 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x72, 0x67, 0x75, 0x6d, 0x65, 705 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x06, 0x20, 0x01, 706 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 707 0x50, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 708 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x77, 0x6f, 709 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 710 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 711 0x45, 0x72, 0x72, 0x6f, 0x72, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 712 0x72, 0x12, 0x35, 0x0a, 0x14, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x72, 0x65, 713 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x42, 714 0x03, 0xe0, 0x41, 0x03, 0x52, 0x12, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x65, 715 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x1a, 0x3b, 0x0a, 0x05, 0x45, 0x72, 0x72, 0x6f, 716 0x72, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x01, 0x20, 0x01, 717 0x28, 0x09, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x63, 718 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 719 0x6e, 0x74, 0x65, 0x78, 0x74, 0x22, 0x54, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 720 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 721 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 722 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x55, 0x43, 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, 0x10, 0x02, 723 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x03, 0x12, 0x0d, 0x0a, 0x09, 724 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x4c, 0x45, 0x44, 0x10, 0x04, 0x3a, 0x86, 0x01, 0xea, 0x41, 725 0x82, 0x01, 0x0a, 0x2b, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x65, 0x78, 0x65, 0x63, 726 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 727 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 728 0x53, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 729 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 730 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 731 0x77, 0x73, 0x2f, 0x7b, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x7d, 0x2f, 0x65, 0x78, 732 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 733 0x69, 0x6f, 0x6e, 0x7d, 0x22, 0xe4, 0x01, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x78, 0x65, 734 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 735 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x29, 736 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x23, 0x0a, 0x21, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 737 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 738 0x2f, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 739 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 740 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 741 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 742 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x4c, 0x0a, 743 0x04, 0x76, 0x69, 0x65, 0x77, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x33, 0x2e, 0x67, 0x6f, 744 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x66, 745 0x6c, 0x6f, 0x77, 0x73, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 746 0x76, 0x31, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x69, 0x65, 0x77, 747 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x04, 0x76, 0x69, 0x65, 0x77, 0x22, 0x91, 0x01, 0x0a, 0x16, 748 0x4c, 0x69, 0x73, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 749 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4f, 0x0a, 0x0a, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 750 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 751 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 752 0x6f, 0x77, 0x73, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 753 0x31, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x65, 0x78, 0x65, 754 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 755 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 756 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 757 0xaf, 0x01, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 758 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 0x0a, 0x06, 0x70, 0x61, 759 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x29, 0xe0, 0x41, 0x02, 0xfa, 760 0x41, 0x23, 0x0a, 0x21, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x2e, 0x67, 0x6f, 761 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x57, 0x6f, 0x72, 762 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x52, 0x0a, 763 0x09, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 764 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 765 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 766 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 767 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 768 0x6e, 0x22, 0xac, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 769 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x47, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 770 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x33, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2d, 0x0a, 771 0x2b, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 772 0x6f, 0x6e, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 773 0x6f, 0x6d, 0x2f, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x04, 0x6e, 0x61, 774 0x6d, 0x65, 0x12, 0x4c, 0x0a, 0x04, 0x76, 0x69, 0x65, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 775 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 776 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 777 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 778 0x6e, 0x56, 0x69, 0x65, 0x77, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x04, 0x76, 0x69, 0x65, 0x77, 779 0x22, 0x61, 0x0a, 0x16, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 780 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x47, 0x0a, 0x04, 0x6e, 0x61, 781 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x33, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2d, 782 0x0a, 0x2b, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 783 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 784 0x63, 0x6f, 0x6d, 0x2f, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x04, 0x6e, 785 0x61, 0x6d, 0x65, 0x2a, 0x44, 0x0a, 0x0d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 786 0x56, 0x69, 0x65, 0x77, 0x12, 0x1e, 0x0a, 0x1a, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x49, 0x4f, 787 0x4e, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 788 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x42, 0x41, 0x53, 0x49, 0x43, 0x10, 0x01, 0x12, 789 0x08, 0x0a, 0x04, 0x46, 0x55, 0x4c, 0x4c, 0x10, 0x02, 0x32, 0xc3, 0x07, 0x0a, 0x0a, 0x45, 0x78, 790 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0xd8, 0x01, 0x0a, 0x0e, 0x4c, 0x69, 0x73, 791 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3b, 0x2e, 0x67, 0x6f, 792 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x66, 793 0x6c, 0x6f, 0x77, 0x73, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 794 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 795 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 796 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 797 0x73, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 798 0x4c, 0x69, 0x73, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 799 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3c, 0x12, 0x3a, 800 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 801 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 802 0x2f, 0x2a, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 803 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 804 0x65, 0x6e, 0x74, 0x12, 0xe2, 0x01, 0x0a, 0x0f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x78, 805 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 806 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 807 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 808 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 809 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 810 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x2e, 0x65, 811 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x65, 812 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x60, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x47, 0x22, 0x3a, 813 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 814 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 815 0x2f, 0x2a, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 816 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x09, 0x65, 0x78, 0x65, 0x63, 817 0x75, 0x74, 0x69, 0x6f, 0x6e, 0xda, 0x41, 0x10, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x65, 818 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0xc5, 0x01, 0x0a, 0x0c, 0x47, 0x65, 0x74, 819 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 820 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 821 0x77, 0x73, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 822 0x2e, 0x47, 0x65, 0x74, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 823 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 824 0x6f, 0x75, 0x64, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x2e, 0x65, 0x78, 825 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x65, 0x63, 826 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x49, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3c, 0x12, 0x3a, 0x2f, 827 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 828 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 829 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x2f, 0x2a, 0x2f, 0x65, 0x78, 0x65, 0x63, 830 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 831 0x12, 0xd5, 0x01, 0x0a, 0x0f, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x45, 0x78, 0x65, 0x63, 0x75, 832 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 833 0x6f, 0x75, 0x64, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x2e, 0x65, 0x78, 834 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x61, 0x6e, 0x63, 835 0x65, 0x6c, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 836 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 837 0x64, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x2e, 0x65, 0x78, 0x65, 0x63, 838 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 839 0x69, 0x6f, 0x6e, 0x22, 0x53, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x46, 0x22, 0x41, 0x2f, 0x76, 0x31, 840 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 841 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x77, 0x6f, 842 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x2f, 0x2a, 0x2f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 843 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x3a, 0x01, 844 0x2a, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x1a, 0x55, 0xca, 0x41, 0x21, 0x77, 0x6f, 0x72, 845 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 846 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 847 0x2e, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 848 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 849 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x42, 850 0xf1, 0x01, 0x0a, 0x28, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 851 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x2e, 0x65, 852 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x0f, 0x45, 0x78, 853 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 854 0x4e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 855 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 856 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x77, 0x6f, 0x72, 857 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x2f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 858 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0xea, 859 0x41, 0x61, 0x0a, 0x21, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x2e, 0x67, 0x6f, 860 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x57, 0x6f, 0x72, 861 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x3c, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 862 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 863 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x77, 864 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x2f, 0x7b, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 865 0x6f, 0x77, 0x7d, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 866} 867 868var ( 869 file_google_cloud_workflows_executions_v1_executions_proto_rawDescOnce sync.Once 870 file_google_cloud_workflows_executions_v1_executions_proto_rawDescData = file_google_cloud_workflows_executions_v1_executions_proto_rawDesc 871) 872 873func file_google_cloud_workflows_executions_v1_executions_proto_rawDescGZIP() []byte { 874 file_google_cloud_workflows_executions_v1_executions_proto_rawDescOnce.Do(func() { 875 file_google_cloud_workflows_executions_v1_executions_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_workflows_executions_v1_executions_proto_rawDescData) 876 }) 877 return file_google_cloud_workflows_executions_v1_executions_proto_rawDescData 878} 879 880var file_google_cloud_workflows_executions_v1_executions_proto_enumTypes = make([]protoimpl.EnumInfo, 2) 881var file_google_cloud_workflows_executions_v1_executions_proto_msgTypes = make([]protoimpl.MessageInfo, 7) 882var file_google_cloud_workflows_executions_v1_executions_proto_goTypes = []interface{}{ 883 (ExecutionView)(0), // 0: google.cloud.workflows.executions.v1.ExecutionView 884 (Execution_State)(0), // 1: google.cloud.workflows.executions.v1.Execution.State 885 (*Execution)(nil), // 2: google.cloud.workflows.executions.v1.Execution 886 (*ListExecutionsRequest)(nil), // 3: google.cloud.workflows.executions.v1.ListExecutionsRequest 887 (*ListExecutionsResponse)(nil), // 4: google.cloud.workflows.executions.v1.ListExecutionsResponse 888 (*CreateExecutionRequest)(nil), // 5: google.cloud.workflows.executions.v1.CreateExecutionRequest 889 (*GetExecutionRequest)(nil), // 6: google.cloud.workflows.executions.v1.GetExecutionRequest 890 (*CancelExecutionRequest)(nil), // 7: google.cloud.workflows.executions.v1.CancelExecutionRequest 891 (*Execution_Error)(nil), // 8: google.cloud.workflows.executions.v1.Execution.Error 892 (*timestamppb.Timestamp)(nil), // 9: google.protobuf.Timestamp 893} 894var file_google_cloud_workflows_executions_v1_executions_proto_depIdxs = []int32{ 895 9, // 0: google.cloud.workflows.executions.v1.Execution.start_time:type_name -> google.protobuf.Timestamp 896 9, // 1: google.cloud.workflows.executions.v1.Execution.end_time:type_name -> google.protobuf.Timestamp 897 1, // 2: google.cloud.workflows.executions.v1.Execution.state:type_name -> google.cloud.workflows.executions.v1.Execution.State 898 8, // 3: google.cloud.workflows.executions.v1.Execution.error:type_name -> google.cloud.workflows.executions.v1.Execution.Error 899 0, // 4: google.cloud.workflows.executions.v1.ListExecutionsRequest.view:type_name -> google.cloud.workflows.executions.v1.ExecutionView 900 2, // 5: google.cloud.workflows.executions.v1.ListExecutionsResponse.executions:type_name -> google.cloud.workflows.executions.v1.Execution 901 2, // 6: google.cloud.workflows.executions.v1.CreateExecutionRequest.execution:type_name -> google.cloud.workflows.executions.v1.Execution 902 0, // 7: google.cloud.workflows.executions.v1.GetExecutionRequest.view:type_name -> google.cloud.workflows.executions.v1.ExecutionView 903 3, // 8: google.cloud.workflows.executions.v1.Executions.ListExecutions:input_type -> google.cloud.workflows.executions.v1.ListExecutionsRequest 904 5, // 9: google.cloud.workflows.executions.v1.Executions.CreateExecution:input_type -> google.cloud.workflows.executions.v1.CreateExecutionRequest 905 6, // 10: google.cloud.workflows.executions.v1.Executions.GetExecution:input_type -> google.cloud.workflows.executions.v1.GetExecutionRequest 906 7, // 11: google.cloud.workflows.executions.v1.Executions.CancelExecution:input_type -> google.cloud.workflows.executions.v1.CancelExecutionRequest 907 4, // 12: google.cloud.workflows.executions.v1.Executions.ListExecutions:output_type -> google.cloud.workflows.executions.v1.ListExecutionsResponse 908 2, // 13: google.cloud.workflows.executions.v1.Executions.CreateExecution:output_type -> google.cloud.workflows.executions.v1.Execution 909 2, // 14: google.cloud.workflows.executions.v1.Executions.GetExecution:output_type -> google.cloud.workflows.executions.v1.Execution 910 2, // 15: google.cloud.workflows.executions.v1.Executions.CancelExecution:output_type -> google.cloud.workflows.executions.v1.Execution 911 12, // [12:16] is the sub-list for method output_type 912 8, // [8:12] is the sub-list for method input_type 913 8, // [8:8] is the sub-list for extension type_name 914 8, // [8:8] is the sub-list for extension extendee 915 0, // [0:8] is the sub-list for field type_name 916} 917 918func init() { file_google_cloud_workflows_executions_v1_executions_proto_init() } 919func file_google_cloud_workflows_executions_v1_executions_proto_init() { 920 if File_google_cloud_workflows_executions_v1_executions_proto != nil { 921 return 922 } 923 if !protoimpl.UnsafeEnabled { 924 file_google_cloud_workflows_executions_v1_executions_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 925 switch v := v.(*Execution); i { 926 case 0: 927 return &v.state 928 case 1: 929 return &v.sizeCache 930 case 2: 931 return &v.unknownFields 932 default: 933 return nil 934 } 935 } 936 file_google_cloud_workflows_executions_v1_executions_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 937 switch v := v.(*ListExecutionsRequest); i { 938 case 0: 939 return &v.state 940 case 1: 941 return &v.sizeCache 942 case 2: 943 return &v.unknownFields 944 default: 945 return nil 946 } 947 } 948 file_google_cloud_workflows_executions_v1_executions_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 949 switch v := v.(*ListExecutionsResponse); i { 950 case 0: 951 return &v.state 952 case 1: 953 return &v.sizeCache 954 case 2: 955 return &v.unknownFields 956 default: 957 return nil 958 } 959 } 960 file_google_cloud_workflows_executions_v1_executions_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 961 switch v := v.(*CreateExecutionRequest); i { 962 case 0: 963 return &v.state 964 case 1: 965 return &v.sizeCache 966 case 2: 967 return &v.unknownFields 968 default: 969 return nil 970 } 971 } 972 file_google_cloud_workflows_executions_v1_executions_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 973 switch v := v.(*GetExecutionRequest); i { 974 case 0: 975 return &v.state 976 case 1: 977 return &v.sizeCache 978 case 2: 979 return &v.unknownFields 980 default: 981 return nil 982 } 983 } 984 file_google_cloud_workflows_executions_v1_executions_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 985 switch v := v.(*CancelExecutionRequest); i { 986 case 0: 987 return &v.state 988 case 1: 989 return &v.sizeCache 990 case 2: 991 return &v.unknownFields 992 default: 993 return nil 994 } 995 } 996 file_google_cloud_workflows_executions_v1_executions_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 997 switch v := v.(*Execution_Error); i { 998 case 0: 999 return &v.state 1000 case 1: 1001 return &v.sizeCache 1002 case 2: 1003 return &v.unknownFields 1004 default: 1005 return nil 1006 } 1007 } 1008 } 1009 type x struct{} 1010 out := protoimpl.TypeBuilder{ 1011 File: protoimpl.DescBuilder{ 1012 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1013 RawDescriptor: file_google_cloud_workflows_executions_v1_executions_proto_rawDesc, 1014 NumEnums: 2, 1015 NumMessages: 7, 1016 NumExtensions: 0, 1017 NumServices: 1, 1018 }, 1019 GoTypes: file_google_cloud_workflows_executions_v1_executions_proto_goTypes, 1020 DependencyIndexes: file_google_cloud_workflows_executions_v1_executions_proto_depIdxs, 1021 EnumInfos: file_google_cloud_workflows_executions_v1_executions_proto_enumTypes, 1022 MessageInfos: file_google_cloud_workflows_executions_v1_executions_proto_msgTypes, 1023 }.Build() 1024 File_google_cloud_workflows_executions_v1_executions_proto = out.File 1025 file_google_cloud_workflows_executions_v1_executions_proto_rawDesc = nil 1026 file_google_cloud_workflows_executions_v1_executions_proto_goTypes = nil 1027 file_google_cloud_workflows_executions_v1_executions_proto_depIdxs = nil 1028} 1029 1030// Reference imports to suppress errors if they are not otherwise used. 1031var _ context.Context 1032var _ grpc.ClientConnInterface 1033 1034// This is a compile-time assertion to ensure that this generated file 1035// is compatible with the grpc package it is being compiled against. 1036const _ = grpc.SupportPackageIsVersion6 1037 1038// ExecutionsClient is the client API for Executions service. 1039// 1040// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 1041type ExecutionsClient interface { 1042 // Returns a list of executions which belong to the workflow with 1043 // the given name. The method returns executions of all workflow 1044 // revisions. Returned executions are ordered by their start time (newest 1045 // first). 1046 ListExecutions(ctx context.Context, in *ListExecutionsRequest, opts ...grpc.CallOption) (*ListExecutionsResponse, error) 1047 // Creates a new execution using the latest revision of the given workflow. 1048 CreateExecution(ctx context.Context, in *CreateExecutionRequest, opts ...grpc.CallOption) (*Execution, error) 1049 // Returns an execution of the given name. 1050 GetExecution(ctx context.Context, in *GetExecutionRequest, opts ...grpc.CallOption) (*Execution, error) 1051 // Cancels an execution of the given name. 1052 CancelExecution(ctx context.Context, in *CancelExecutionRequest, opts ...grpc.CallOption) (*Execution, error) 1053} 1054 1055type executionsClient struct { 1056 cc grpc.ClientConnInterface 1057} 1058 1059func NewExecutionsClient(cc grpc.ClientConnInterface) ExecutionsClient { 1060 return &executionsClient{cc} 1061} 1062 1063func (c *executionsClient) ListExecutions(ctx context.Context, in *ListExecutionsRequest, opts ...grpc.CallOption) (*ListExecutionsResponse, error) { 1064 out := new(ListExecutionsResponse) 1065 err := c.cc.Invoke(ctx, "/google.cloud.workflows.executions.v1.Executions/ListExecutions", in, out, opts...) 1066 if err != nil { 1067 return nil, err 1068 } 1069 return out, nil 1070} 1071 1072func (c *executionsClient) CreateExecution(ctx context.Context, in *CreateExecutionRequest, opts ...grpc.CallOption) (*Execution, error) { 1073 out := new(Execution) 1074 err := c.cc.Invoke(ctx, "/google.cloud.workflows.executions.v1.Executions/CreateExecution", in, out, opts...) 1075 if err != nil { 1076 return nil, err 1077 } 1078 return out, nil 1079} 1080 1081func (c *executionsClient) GetExecution(ctx context.Context, in *GetExecutionRequest, opts ...grpc.CallOption) (*Execution, error) { 1082 out := new(Execution) 1083 err := c.cc.Invoke(ctx, "/google.cloud.workflows.executions.v1.Executions/GetExecution", in, out, opts...) 1084 if err != nil { 1085 return nil, err 1086 } 1087 return out, nil 1088} 1089 1090func (c *executionsClient) CancelExecution(ctx context.Context, in *CancelExecutionRequest, opts ...grpc.CallOption) (*Execution, error) { 1091 out := new(Execution) 1092 err := c.cc.Invoke(ctx, "/google.cloud.workflows.executions.v1.Executions/CancelExecution", in, out, opts...) 1093 if err != nil { 1094 return nil, err 1095 } 1096 return out, nil 1097} 1098 1099// ExecutionsServer is the server API for Executions service. 1100type ExecutionsServer interface { 1101 // Returns a list of executions which belong to the workflow with 1102 // the given name. The method returns executions of all workflow 1103 // revisions. Returned executions are ordered by their start time (newest 1104 // first). 1105 ListExecutions(context.Context, *ListExecutionsRequest) (*ListExecutionsResponse, error) 1106 // Creates a new execution using the latest revision of the given workflow. 1107 CreateExecution(context.Context, *CreateExecutionRequest) (*Execution, error) 1108 // Returns an execution of the given name. 1109 GetExecution(context.Context, *GetExecutionRequest) (*Execution, error) 1110 // Cancels an execution of the given name. 1111 CancelExecution(context.Context, *CancelExecutionRequest) (*Execution, error) 1112} 1113 1114// UnimplementedExecutionsServer can be embedded to have forward compatible implementations. 1115type UnimplementedExecutionsServer struct { 1116} 1117 1118func (*UnimplementedExecutionsServer) ListExecutions(context.Context, *ListExecutionsRequest) (*ListExecutionsResponse, error) { 1119 return nil, status.Errorf(codes.Unimplemented, "method ListExecutions not implemented") 1120} 1121func (*UnimplementedExecutionsServer) CreateExecution(context.Context, *CreateExecutionRequest) (*Execution, error) { 1122 return nil, status.Errorf(codes.Unimplemented, "method CreateExecution not implemented") 1123} 1124func (*UnimplementedExecutionsServer) GetExecution(context.Context, *GetExecutionRequest) (*Execution, error) { 1125 return nil, status.Errorf(codes.Unimplemented, "method GetExecution not implemented") 1126} 1127func (*UnimplementedExecutionsServer) CancelExecution(context.Context, *CancelExecutionRequest) (*Execution, error) { 1128 return nil, status.Errorf(codes.Unimplemented, "method CancelExecution not implemented") 1129} 1130 1131func RegisterExecutionsServer(s *grpc.Server, srv ExecutionsServer) { 1132 s.RegisterService(&_Executions_serviceDesc, srv) 1133} 1134 1135func _Executions_ListExecutions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1136 in := new(ListExecutionsRequest) 1137 if err := dec(in); err != nil { 1138 return nil, err 1139 } 1140 if interceptor == nil { 1141 return srv.(ExecutionsServer).ListExecutions(ctx, in) 1142 } 1143 info := &grpc.UnaryServerInfo{ 1144 Server: srv, 1145 FullMethod: "/google.cloud.workflows.executions.v1.Executions/ListExecutions", 1146 } 1147 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1148 return srv.(ExecutionsServer).ListExecutions(ctx, req.(*ListExecutionsRequest)) 1149 } 1150 return interceptor(ctx, in, info, handler) 1151} 1152 1153func _Executions_CreateExecution_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1154 in := new(CreateExecutionRequest) 1155 if err := dec(in); err != nil { 1156 return nil, err 1157 } 1158 if interceptor == nil { 1159 return srv.(ExecutionsServer).CreateExecution(ctx, in) 1160 } 1161 info := &grpc.UnaryServerInfo{ 1162 Server: srv, 1163 FullMethod: "/google.cloud.workflows.executions.v1.Executions/CreateExecution", 1164 } 1165 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1166 return srv.(ExecutionsServer).CreateExecution(ctx, req.(*CreateExecutionRequest)) 1167 } 1168 return interceptor(ctx, in, info, handler) 1169} 1170 1171func _Executions_GetExecution_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1172 in := new(GetExecutionRequest) 1173 if err := dec(in); err != nil { 1174 return nil, err 1175 } 1176 if interceptor == nil { 1177 return srv.(ExecutionsServer).GetExecution(ctx, in) 1178 } 1179 info := &grpc.UnaryServerInfo{ 1180 Server: srv, 1181 FullMethod: "/google.cloud.workflows.executions.v1.Executions/GetExecution", 1182 } 1183 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1184 return srv.(ExecutionsServer).GetExecution(ctx, req.(*GetExecutionRequest)) 1185 } 1186 return interceptor(ctx, in, info, handler) 1187} 1188 1189func _Executions_CancelExecution_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1190 in := new(CancelExecutionRequest) 1191 if err := dec(in); err != nil { 1192 return nil, err 1193 } 1194 if interceptor == nil { 1195 return srv.(ExecutionsServer).CancelExecution(ctx, in) 1196 } 1197 info := &grpc.UnaryServerInfo{ 1198 Server: srv, 1199 FullMethod: "/google.cloud.workflows.executions.v1.Executions/CancelExecution", 1200 } 1201 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1202 return srv.(ExecutionsServer).CancelExecution(ctx, req.(*CancelExecutionRequest)) 1203 } 1204 return interceptor(ctx, in, info, handler) 1205} 1206 1207var _Executions_serviceDesc = grpc.ServiceDesc{ 1208 ServiceName: "google.cloud.workflows.executions.v1.Executions", 1209 HandlerType: (*ExecutionsServer)(nil), 1210 Methods: []grpc.MethodDesc{ 1211 { 1212 MethodName: "ListExecutions", 1213 Handler: _Executions_ListExecutions_Handler, 1214 }, 1215 { 1216 MethodName: "CreateExecution", 1217 Handler: _Executions_CreateExecution_Handler, 1218 }, 1219 { 1220 MethodName: "GetExecution", 1221 Handler: _Executions_GetExecution_Handler, 1222 }, 1223 { 1224 MethodName: "CancelExecution", 1225 Handler: _Executions_CancelExecution_Handler, 1226 }, 1227 }, 1228 Streams: []grpc.StreamDesc{}, 1229 Metadata: "google/cloud/workflows/executions/v1/executions.proto", 1230} 1231