...

Source file src/google.golang.org/genproto/googleapis/cloud/workflows/v1beta/alias.go

Documentation: google.golang.org/genproto/googleapis/cloud/workflows/v1beta

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

View as plain text