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/apiv1/executionspb". 19 // 20 // Deprecated: Please use types in: cloud.google.com/go/workflows/executions/apiv1/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/apiv1/executionspb" 27 grpc "google.golang.org/grpc" 28 ) 29 30 // Deprecated: Please use consts in: cloud.google.com/go/workflows/executions/apiv1/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_CALL_LOG_LEVEL_UNSPECIFIED = src.Execution_CALL_LOG_LEVEL_UNSPECIFIED 37 Execution_CANCELLED = src.Execution_CANCELLED 38 Execution_FAILED = src.Execution_FAILED 39 Execution_LOG_ALL_CALLS = src.Execution_LOG_ALL_CALLS 40 Execution_LOG_ERRORS_ONLY = src.Execution_LOG_ERRORS_ONLY 41 Execution_STATE_UNSPECIFIED = src.Execution_STATE_UNSPECIFIED 42 Execution_SUCCEEDED = src.Execution_SUCCEEDED 43 ) 44 45 // Deprecated: Please use vars in: cloud.google.com/go/workflows/executions/apiv1/executionspb 46 var ( 47 ExecutionView_name = src.ExecutionView_name 48 ExecutionView_value = src.ExecutionView_value 49 Execution_CallLogLevel_name = src.Execution_CallLogLevel_name 50 Execution_CallLogLevel_value = src.Execution_CallLogLevel_value 51 Execution_State_name = src.Execution_State_name 52 Execution_State_value = src.Execution_State_value 53 File_google_cloud_workflows_executions_v1_executions_proto = src.File_google_cloud_workflows_executions_v1_executions_proto 54 ) 55 56 // Request for the 57 // [CancelExecution][google.cloud.workflows.executions.v1.Executions.CancelExecution] 58 // method. 59 // 60 // Deprecated: Please use types in: cloud.google.com/go/workflows/executions/apiv1/executionspb 61 type CancelExecutionRequest = src.CancelExecutionRequest 62 63 // Request for the 64 // [CreateExecution][google.cloud.workflows.executions.v1.Executions.CreateExecution] 65 // method. 66 // 67 // Deprecated: Please use types in: cloud.google.com/go/workflows/executions/apiv1/executionspb 68 type CreateExecutionRequest = src.CreateExecutionRequest 69 70 // A running instance of a 71 // [Workflow](/workflows/docs/reference/rest/v1/projects.locations.workflows). 72 // 73 // Deprecated: Please use types in: cloud.google.com/go/workflows/executions/apiv1/executionspb 74 type Execution = src.Execution 75 76 // Defines possible views for execution resource. 77 // 78 // Deprecated: Please use types in: cloud.google.com/go/workflows/executions/apiv1/executionspb 79 type ExecutionView = src.ExecutionView 80 81 // Describes the level of platform logging to apply to calls and call 82 // responses during workflow executions. 83 // 84 // Deprecated: Please use types in: cloud.google.com/go/workflows/executions/apiv1/executionspb 85 type Execution_CallLogLevel = src.Execution_CallLogLevel 86 87 // Error describes why the execution was abnormally terminated. 88 // 89 // Deprecated: Please use types in: cloud.google.com/go/workflows/executions/apiv1/executionspb 90 type Execution_Error = src.Execution_Error 91 92 // A collection of stack elements (frames) where an error occurred. 93 // 94 // Deprecated: Please use types in: cloud.google.com/go/workflows/executions/apiv1/executionspb 95 type Execution_StackTrace = src.Execution_StackTrace 96 97 // A single stack element (frame) where an error occurred. 98 // 99 // Deprecated: Please use types in: cloud.google.com/go/workflows/executions/apiv1/executionspb 100 type Execution_StackTraceElement = src.Execution_StackTraceElement 101 102 // Position contains source position information about the stack trace element 103 // such as line number, column number and length of the code block in bytes. 104 // 105 // Deprecated: Please use types in: cloud.google.com/go/workflows/executions/apiv1/executionspb 106 type Execution_StackTraceElement_Position = src.Execution_StackTraceElement_Position 107 108 // Describes the current state of the execution. More states might be added in 109 // the future. 110 // 111 // Deprecated: Please use types in: cloud.google.com/go/workflows/executions/apiv1/executionspb 112 type Execution_State = src.Execution_State 113 114 // ExecutionsClient is the client API for Executions service. For semantics 115 // around ctx use and closing/ending streaming RPCs, please refer to 116 // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 117 // 118 // Deprecated: Please use types in: cloud.google.com/go/workflows/executions/apiv1/executionspb 119 type ExecutionsClient = src.ExecutionsClient 120 121 // ExecutionsServer is the server API for Executions service. 122 // 123 // Deprecated: Please use types in: cloud.google.com/go/workflows/executions/apiv1/executionspb 124 type ExecutionsServer = src.ExecutionsServer 125 126 // Request for the 127 // [GetExecution][google.cloud.workflows.executions.v1.Executions.GetExecution] 128 // method. 129 // 130 // Deprecated: Please use types in: cloud.google.com/go/workflows/executions/apiv1/executionspb 131 type GetExecutionRequest = src.GetExecutionRequest 132 133 // Request for the [ListExecutions][] method. 134 // 135 // Deprecated: Please use types in: cloud.google.com/go/workflows/executions/apiv1/executionspb 136 type ListExecutionsRequest = src.ListExecutionsRequest 137 138 // Response for the 139 // [ListExecutions][google.cloud.workflows.executions.v1.Executions.ListExecutions] 140 // method. 141 // 142 // Deprecated: Please use types in: cloud.google.com/go/workflows/executions/apiv1/executionspb 143 type ListExecutionsResponse = src.ListExecutionsResponse 144 145 // UnimplementedExecutionsServer can be embedded to have forward compatible 146 // implementations. 147 // 148 // Deprecated: Please use types in: cloud.google.com/go/workflows/executions/apiv1/executionspb 149 type UnimplementedExecutionsServer = src.UnimplementedExecutionsServer 150 151 // Deprecated: Please use funcs in: cloud.google.com/go/workflows/executions/apiv1/executionspb 152 func NewExecutionsClient(cc grpc.ClientConnInterface) ExecutionsClient { 153 return src.NewExecutionsClient(cc) 154 } 155 156 // Deprecated: Please use funcs in: cloud.google.com/go/workflows/executions/apiv1/executionspb 157 func RegisterExecutionsServer(s *grpc.Server, srv ExecutionsServer) { 158 src.RegisterExecutionsServer(s, srv) 159 } 160