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 workflows aliases all exported identifiers in package 18 // "cloud.google.com/go/workflows/apiv1/workflowspb". 19 // 20 // Deprecated: Please use types in: cloud.google.com/go/workflows/apiv1/workflowspb. 21 // Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md 22 // for more details. 23 package workflows 24 25 import ( 26 src "cloud.google.com/go/workflows/apiv1/workflowspb" 27 grpc "google.golang.org/grpc" 28 ) 29 30 // Deprecated: Please use consts in: cloud.google.com/go/workflows/apiv1/workflowspb 31 const ( 32 Workflow_ACTIVE = src.Workflow_ACTIVE 33 Workflow_STATE_UNSPECIFIED = src.Workflow_STATE_UNSPECIFIED 34 ) 35 36 // Deprecated: Please use vars in: cloud.google.com/go/workflows/apiv1/workflowspb 37 var ( 38 File_google_cloud_workflows_v1_workflows_proto = src.File_google_cloud_workflows_v1_workflows_proto 39 Workflow_State_name = src.Workflow_State_name 40 Workflow_State_value = src.Workflow_State_value 41 ) 42 43 // Request for the 44 // [CreateWorkflow][google.cloud.workflows.v1.Workflows.CreateWorkflow] method. 45 // 46 // Deprecated: Please use types in: cloud.google.com/go/workflows/apiv1/workflowspb 47 type CreateWorkflowRequest = src.CreateWorkflowRequest 48 49 // Request for the 50 // [DeleteWorkflow][google.cloud.workflows.v1.Workflows.DeleteWorkflow] method. 51 // 52 // Deprecated: Please use types in: cloud.google.com/go/workflows/apiv1/workflowspb 53 type DeleteWorkflowRequest = src.DeleteWorkflowRequest 54 55 // Request for the 56 // [GetWorkflow][google.cloud.workflows.v1.Workflows.GetWorkflow] method. 57 // 58 // Deprecated: Please use types in: cloud.google.com/go/workflows/apiv1/workflowspb 59 type GetWorkflowRequest = src.GetWorkflowRequest 60 61 // Request for the 62 // [ListWorkflows][google.cloud.workflows.v1.Workflows.ListWorkflows] method. 63 // 64 // Deprecated: Please use types in: cloud.google.com/go/workflows/apiv1/workflowspb 65 type ListWorkflowsRequest = src.ListWorkflowsRequest 66 67 // Response for the 68 // [ListWorkflows][google.cloud.workflows.v1.Workflows.ListWorkflows] method. 69 // 70 // Deprecated: Please use types in: cloud.google.com/go/workflows/apiv1/workflowspb 71 type ListWorkflowsResponse = src.ListWorkflowsResponse 72 73 // Represents the metadata of the long-running operation. 74 // 75 // Deprecated: Please use types in: cloud.google.com/go/workflows/apiv1/workflowspb 76 type OperationMetadata = src.OperationMetadata 77 78 // UnimplementedWorkflowsServer can be embedded to have forward compatible 79 // implementations. 80 // 81 // Deprecated: Please use types in: cloud.google.com/go/workflows/apiv1/workflowspb 82 type UnimplementedWorkflowsServer = src.UnimplementedWorkflowsServer 83 84 // Request for the 85 // [UpdateWorkflow][google.cloud.workflows.v1.Workflows.UpdateWorkflow] method. 86 // 87 // Deprecated: Please use types in: cloud.google.com/go/workflows/apiv1/workflowspb 88 type UpdateWorkflowRequest = src.UpdateWorkflowRequest 89 90 // Workflow program to be executed by Workflows. 91 // 92 // Deprecated: Please use types in: cloud.google.com/go/workflows/apiv1/workflowspb 93 type Workflow = src.Workflow 94 type Workflow_SourceContents = src.Workflow_SourceContents 95 96 // Describes the current state of workflow deployment. More states may be 97 // added in the future. 98 // 99 // Deprecated: Please use types in: cloud.google.com/go/workflows/apiv1/workflowspb 100 type Workflow_State = src.Workflow_State 101 102 // WorkflowsClient is the client API for Workflows service. For semantics 103 // around ctx use and closing/ending streaming RPCs, please refer to 104 // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 105 // 106 // Deprecated: Please use types in: cloud.google.com/go/workflows/apiv1/workflowspb 107 type WorkflowsClient = src.WorkflowsClient 108 109 // WorkflowsServer is the server API for Workflows service. 110 // 111 // Deprecated: Please use types in: cloud.google.com/go/workflows/apiv1/workflowspb 112 type WorkflowsServer = src.WorkflowsServer 113 114 // Deprecated: Please use funcs in: cloud.google.com/go/workflows/apiv1/workflowspb 115 func NewWorkflowsClient(cc grpc.ClientConnInterface) WorkflowsClient { 116 return src.NewWorkflowsClient(cc) 117 } 118 119 // Deprecated: Please use funcs in: cloud.google.com/go/workflows/apiv1/workflowspb 120 func RegisterWorkflowsServer(s *grpc.Server, srv WorkflowsServer) { 121 src.RegisterWorkflowsServer(s, srv) 122 } 123