| 1 |
// Copyright 2022 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 aliasgen. DO NOT EDIT. |
| 16 |
|
| 17 |
// Package executions aliases all exported identifiers in package |
| 18 |
// "cloud.google.com/go/workflows/executions/apiv1beta/executionspb". |
| 19 |
// |
| 20 |
// Deprecated: Please use types in: cloud.google.com/go/workflows/executions/apiv1beta/executionspb. |
| 21 |
// Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md |
| 22 |
// for more details. |
| 23 |
package executions |
| 24 |
|
| 25 |
import ( |
| 26 |
src "cloud.google.com/go/workflows/executions/apiv1beta/executionspb" |
| 27 |
grpc "google.golang.org/grpc" |
| 28 |
) |
| 29 |
|
| 30 |
// Deprecated: Please use consts in: cloud.google.com/go/workflows/executions/apiv1beta/executionspb |
| 31 |
const ( |
| 32 |
ExecutionView_BASIC = src.ExecutionView_BASIC |
| 33 |
ExecutionView_EXECUTION_VIEW_UNSPECIFIED = src.ExecutionView_EXECUTION_VIEW_UNSPECIFIED |
| 34 |
ExecutionView_FULL = src.ExecutionView_FULL |
| 35 |
Execution_ACTIVE = src.Execution_ACTIVE |
| 36 |
Execution_CANCELLED = src.Execution_CANCELLED |
| 37 |
Execution_FAILED = src.Execution_FAILED |
| 38 |
Execution_STATE_UNSPECIFIED = src.Execution_STATE_UNSPECIFIED |
| 39 |
Execution_SUCCEEDED = src.Execution_SUCCEEDED |
| 40 |
) |
| 41 |
|
| 42 |
// Deprecated: Please use vars in: cloud.google.com/go/workflows/executions/apiv1beta/executionspb |
| 43 |
var ( |
| 44 |
ExecutionView_name = src.ExecutionView_name |
| 45 |
ExecutionView_value = src.ExecutionView_value |
| 46 |
Execution_State_name = src.Execution_State_name |
| 47 |
Execution_State_value = src.Execution_State_value |
| 48 |
File_google_cloud_workflows_executions_v1beta_executions_proto = src.File_google_cloud_workflows_executions_v1beta_executions_proto |
| 49 |
) |
| 50 |
|
| 51 |
// Request for the |
| 52 |
// [CancelExecution][google.cloud.workflows.executions.v1beta.Executions.CancelExecution] |
| 53 |
// method. |
| 54 |
// |
| 55 |
// Deprecated: Please use types in: cloud.google.com/go/workflows/executions/apiv1beta/executionspb |
| 56 |
type CancelExecutionRequest = src.CancelExecutionRequest |
| 57 |
|
| 58 |
// Request for the |
| 59 |
// [CreateExecution][google.cloud.workflows.executions.v1beta.Executions.CreateExecution] |
| 60 |
// method. |
| 61 |
// |
| 62 |
// Deprecated: Please use types in: cloud.google.com/go/workflows/executions/apiv1beta/executionspb |
| 63 |
type CreateExecutionRequest = src.CreateExecutionRequest |
| 64 |
|
| 65 |
// A running instance of a [Workflow][google.cloud.workflows.v1beta.Workflow]. |
| 66 |
// |
| 67 |
// Deprecated: Please use types in: cloud.google.com/go/workflows/executions/apiv1beta/executionspb |
| 68 |
type Execution = src.Execution |
| 69 |
|
| 70 |
// Defines possible views for execution resource. |
| 71 |
// |
| 72 |
// Deprecated: Please use types in: cloud.google.com/go/workflows/executions/apiv1beta/executionspb |
| 73 |
type ExecutionView = src.ExecutionView |
| 74 |
|
| 75 |
// Error describes why the execution was abnormally terminated. |
| 76 |
// |
| 77 |
// Deprecated: Please use types in: cloud.google.com/go/workflows/executions/apiv1beta/executionspb |
| 78 |
type Execution_Error = src.Execution_Error |
| 79 |
|
| 80 |
// Describes the current state of the execution. More states may be added in |
| 81 |
// the future. |
| 82 |
// |
| 83 |
// Deprecated: Please use types in: cloud.google.com/go/workflows/executions/apiv1beta/executionspb |
| 84 |
type Execution_State = src.Execution_State |
| 85 |
|
| 86 |
// ExecutionsClient is the client API for Executions service. For semantics |
| 87 |
// around ctx use and closing/ending streaming RPCs, please refer to |
| 88 |
// https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 89 |
// |
| 90 |
// Deprecated: Please use types in: cloud.google.com/go/workflows/executions/apiv1beta/executionspb |
| 91 |
type ExecutionsClient = src.ExecutionsClient |
| 92 |
|
| 93 |
// ExecutionsServer is the server API for Executions service. |
| 94 |
// |
| 95 |
// Deprecated: Please use types in: cloud.google.com/go/workflows/executions/apiv1beta/executionspb |
| 96 |
type ExecutionsServer = src.ExecutionsServer |
| 97 |
|
| 98 |
// Request for the |
| 99 |
// [GetExecution][google.cloud.workflows.executions.v1beta.Executions.GetExecution] |
| 100 |
// method. |
| 101 |
// |
| 102 |
// Deprecated: Please use types in: cloud.google.com/go/workflows/executions/apiv1beta/executionspb |
| 103 |
type GetExecutionRequest = src.GetExecutionRequest |
| 104 |
|
| 105 |
// Request for the |
| 106 |
// [ListExecutions][google.cloud.workflows.executions.v1beta.Executions.ListExecutions] |
| 107 |
// method. |
| 108 |
// |
| 109 |
// Deprecated: Please use types in: cloud.google.com/go/workflows/executions/apiv1beta/executionspb |
| 110 |
type ListExecutionsRequest = src.ListExecutionsRequest |
| 111 |
|
| 112 |
// Response for the |
| 113 |
// [ListExecutions][google.cloud.workflows.executions.v1beta.Executions.ListExecutions] |
| 114 |
// method. |
| 115 |
// |
| 116 |
// Deprecated: Please use types in: cloud.google.com/go/workflows/executions/apiv1beta/executionspb |
| 117 |
type ListExecutionsResponse = src.ListExecutionsResponse |
| 118 |
|
| 119 |
// UnimplementedExecutionsServer can be embedded to have forward compatible |
| 120 |
// implementations. |
| 121 |
// |
| 122 |
// Deprecated: Please use types in: cloud.google.com/go/workflows/executions/apiv1beta/executionspb |
| 123 |
type UnimplementedExecutionsServer = src.UnimplementedExecutionsServer |
| 124 |
|
| 125 |
// Deprecated: Please use funcs in: cloud.google.com/go/workflows/executions/apiv1beta/executionspb |
| 126 |
func NewExecutionsClient(cc grpc.ClientConnInterface) ExecutionsClient { |
| 127 |
return src.NewExecutionsClient(cc) |
| 128 |
} |
| 129 |
|
| 130 |
// Deprecated: Please use funcs in: cloud.google.com/go/workflows/executions/apiv1beta/executionspb |
| 131 |
func RegisterExecutionsServer(s *grpc.Server, srv ExecutionsServer) { |
| 132 |
src.RegisterExecutionsServer(s, srv) |
| 133 |
} |