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 lifesciences aliases all exported identifiers in package 18 // "cloud.google.com/go/lifesciences/apiv2beta/lifesciencespb". 19 // 20 // Deprecated: Please use types in: cloud.google.com/go/lifesciences/apiv2beta/lifesciencespb. 21 // Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md 22 // for more details. 23 package lifesciences 24 25 import ( 26 src "cloud.google.com/go/lifesciences/apiv2beta/lifesciencespb" 27 grpc "google.golang.org/grpc" 28 ) 29 30 // Deprecated: Please use vars in: cloud.google.com/go/lifesciences/apiv2beta/lifesciencespb 31 var ( 32 File_google_cloud_lifesciences_v2beta_workflows_proto = src.File_google_cloud_lifesciences_v2beta_workflows_proto 33 ) 34 35 // Carries information about an accelerator that can be attached to a VM. 36 // 37 // Deprecated: Please use types in: cloud.google.com/go/lifesciences/apiv2beta/lifesciencespb 38 type Accelerator = src.Accelerator 39 40 // Specifies a single action that runs a Docker container. 41 // 42 // Deprecated: Please use types in: cloud.google.com/go/lifesciences/apiv2beta/lifesciencespb 43 type Action = src.Action 44 45 // An event generated when a container is forcibly terminated by the worker. 46 // Currently, this only occurs when the container outlives the timeout 47 // specified by the user. 48 // 49 // Deprecated: Please use types in: cloud.google.com/go/lifesciences/apiv2beta/lifesciencespb 50 type ContainerKilledEvent = src.ContainerKilledEvent 51 52 // An event generated when a container starts. 53 // 54 // Deprecated: Please use types in: cloud.google.com/go/lifesciences/apiv2beta/lifesciencespb 55 type ContainerStartedEvent = src.ContainerStartedEvent 56 57 // An event generated when a container exits. 58 // 59 // Deprecated: Please use types in: cloud.google.com/go/lifesciences/apiv2beta/lifesciencespb 60 type ContainerStoppedEvent = src.ContainerStoppedEvent 61 62 // An event generated whenever a resource limitation or transient error delays 63 // execution of a pipeline that was otherwise ready to run. 64 // 65 // Deprecated: Please use types in: cloud.google.com/go/lifesciences/apiv2beta/lifesciencespb 66 type DelayedEvent = src.DelayedEvent 67 68 // Carries information about a disk that can be attached to a VM. See 69 // https://cloud.google.com/compute/docs/disks/performance for more information 70 // about disk type, size, and performance considerations. Specify either 71 // [`Volume`][google.cloud.lifesciences.v2beta.Volume] or 72 // [`Disk`][google.cloud.lifesciences.v2beta.Disk], but not both. 73 // 74 // Deprecated: Please use types in: cloud.google.com/go/lifesciences/apiv2beta/lifesciencespb 75 type Disk = src.Disk 76 77 // Carries information about events that occur during pipeline execution. 78 // 79 // Deprecated: Please use types in: cloud.google.com/go/lifesciences/apiv2beta/lifesciencespb 80 type Event = src.Event 81 type Event_ContainerKilled = src.Event_ContainerKilled 82 type Event_ContainerStarted = src.Event_ContainerStarted 83 type Event_ContainerStopped = src.Event_ContainerStopped 84 type Event_Delayed = src.Event_Delayed 85 type Event_Failed = src.Event_Failed 86 type Event_PullStarted = src.Event_PullStarted 87 type Event_PullStopped = src.Event_PullStopped 88 type Event_UnexpectedExitStatus = src.Event_UnexpectedExitStatus 89 type Event_WorkerAssigned = src.Event_WorkerAssigned 90 type Event_WorkerReleased = src.Event_WorkerReleased 91 92 // Configuration for an existing disk to be attached to the VM. 93 // 94 // Deprecated: Please use types in: cloud.google.com/go/lifesciences/apiv2beta/lifesciencespb 95 type ExistingDisk = src.ExistingDisk 96 97 // An event generated when the execution of a pipeline has failed. Note that 98 // other events can continue to occur after this event. 99 // 100 // Deprecated: Please use types in: cloud.google.com/go/lifesciences/apiv2beta/lifesciencespb 101 type FailedEvent = src.FailedEvent 102 103 // Carries information about the pipeline execution that is returned in the 104 // long running operation's metadata field. 105 // 106 // Deprecated: Please use types in: cloud.google.com/go/lifesciences/apiv2beta/lifesciencespb 107 type Metadata = src.Metadata 108 109 // Carries information about a particular disk mount inside a container. 110 // 111 // Deprecated: Please use types in: cloud.google.com/go/lifesciences/apiv2beta/lifesciencespb 112 type Mount = src.Mount 113 114 // Configuration for an `NFSMount` to be attached to the VM. 115 // 116 // Deprecated: Please use types in: cloud.google.com/go/lifesciences/apiv2beta/lifesciencespb 117 type NFSMount = src.NFSMount 118 119 // VM networking options. 120 // 121 // Deprecated: Please use types in: cloud.google.com/go/lifesciences/apiv2beta/lifesciencespb 122 type Network = src.Network 123 124 // Configuration for a persistent disk to be attached to the VM. See 125 // https://cloud.google.com/compute/docs/disks/performance for more information 126 // about disk type, size, and performance considerations. 127 // 128 // Deprecated: Please use types in: cloud.google.com/go/lifesciences/apiv2beta/lifesciencespb 129 type PersistentDisk = src.PersistentDisk 130 131 // Specifies a series of actions to execute, expressed as Docker containers. 132 // 133 // Deprecated: Please use types in: cloud.google.com/go/lifesciences/apiv2beta/lifesciencespb 134 type Pipeline = src.Pipeline 135 136 // An event generated when the worker starts pulling an image. 137 // 138 // Deprecated: Please use types in: cloud.google.com/go/lifesciences/apiv2beta/lifesciencespb 139 type PullStartedEvent = src.PullStartedEvent 140 141 // An event generated when the worker stops pulling an image. 142 // 143 // Deprecated: Please use types in: cloud.google.com/go/lifesciences/apiv2beta/lifesciencespb 144 type PullStoppedEvent = src.PullStoppedEvent 145 146 // The system resources for the pipeline run. At least one zone or region must 147 // be specified or the pipeline run will fail. 148 // 149 // Deprecated: Please use types in: cloud.google.com/go/lifesciences/apiv2beta/lifesciencespb 150 type Resources = src.Resources 151 152 // The arguments to the `RunPipeline` method. The requesting user must have 153 // the `iam.serviceAccounts.actAs` permission for the Cloud Life Sciences 154 // service account or the request will fail. 155 // 156 // Deprecated: Please use types in: cloud.google.com/go/lifesciences/apiv2beta/lifesciencespb 157 type RunPipelineRequest = src.RunPipelineRequest 158 159 // The response to the RunPipeline method, returned in the operation's result 160 // field on success. 161 // 162 // Deprecated: Please use types in: cloud.google.com/go/lifesciences/apiv2beta/lifesciencespb 163 type RunPipelineResponse = src.RunPipelineResponse 164 165 // Holds encrypted information that is only decrypted and stored in RAM by the 166 // worker VM when running the pipeline. 167 // 168 // Deprecated: Please use types in: cloud.google.com/go/lifesciences/apiv2beta/lifesciencespb 169 type Secret = src.Secret 170 171 // Carries information about a Google Cloud service account. 172 // 173 // Deprecated: Please use types in: cloud.google.com/go/lifesciences/apiv2beta/lifesciencespb 174 type ServiceAccount = src.ServiceAccount 175 176 // An event generated when the execution of a container results in a non-zero 177 // exit status that was not otherwise ignored. Execution will continue, but 178 // only actions that are flagged as `ALWAYS_RUN` will be executed. Other 179 // actions will be skipped. 180 // 181 // Deprecated: Please use types in: cloud.google.com/go/lifesciences/apiv2beta/lifesciencespb 182 type UnexpectedExitStatusEvent = src.UnexpectedExitStatusEvent 183 184 // UnimplementedWorkflowsServiceV2BetaServer can be embedded to have forward 185 // compatible implementations. 186 // 187 // Deprecated: Please use types in: cloud.google.com/go/lifesciences/apiv2beta/lifesciencespb 188 type UnimplementedWorkflowsServiceV2BetaServer = src.UnimplementedWorkflowsServiceV2BetaServer 189 190 // Carries information about a Compute Engine VM resource. 191 // 192 // Deprecated: Please use types in: cloud.google.com/go/lifesciences/apiv2beta/lifesciencespb 193 type VirtualMachine = src.VirtualMachine 194 195 // Carries information about storage that can be attached to a VM. Specify 196 // either [`Volume`][google.cloud.lifesciences.v2beta.Volume] or 197 // [`Disk`][google.cloud.lifesciences.v2beta.Disk], but not both. 198 // 199 // Deprecated: Please use types in: cloud.google.com/go/lifesciences/apiv2beta/lifesciencespb 200 type Volume = src.Volume 201 type Volume_ExistingDisk = src.Volume_ExistingDisk 202 type Volume_NfsMount = src.Volume_NfsMount 203 type Volume_PersistentDisk = src.Volume_PersistentDisk 204 205 // An event generated after a worker VM has been assigned to run the pipeline. 206 // 207 // Deprecated: Please use types in: cloud.google.com/go/lifesciences/apiv2beta/lifesciencespb 208 type WorkerAssignedEvent = src.WorkerAssignedEvent 209 210 // An event generated when the worker VM that was assigned to the pipeline has 211 // been released (deleted). 212 // 213 // Deprecated: Please use types in: cloud.google.com/go/lifesciences/apiv2beta/lifesciencespb 214 type WorkerReleasedEvent = src.WorkerReleasedEvent 215 216 // WorkflowsServiceV2BetaClient is the client API for WorkflowsServiceV2Beta 217 // service. For semantics around ctx use and closing/ending streaming RPCs, 218 // please refer to 219 // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 220 // 221 // Deprecated: Please use types in: cloud.google.com/go/lifesciences/apiv2beta/lifesciencespb 222 type WorkflowsServiceV2BetaClient = src.WorkflowsServiceV2BetaClient 223 224 // WorkflowsServiceV2BetaServer is the server API for WorkflowsServiceV2Beta 225 // service. 226 // 227 // Deprecated: Please use types in: cloud.google.com/go/lifesciences/apiv2beta/lifesciencespb 228 type WorkflowsServiceV2BetaServer = src.WorkflowsServiceV2BetaServer 229 230 // Deprecated: Please use funcs in: cloud.google.com/go/lifesciences/apiv2beta/lifesciencespb 231 func NewWorkflowsServiceV2BetaClient(cc grpc.ClientConnInterface) WorkflowsServiceV2BetaClient { 232 return src.NewWorkflowsServiceV2BetaClient(cc) 233 } 234 235 // Deprecated: Please use funcs in: cloud.google.com/go/lifesciences/apiv2beta/lifesciencespb 236 func RegisterWorkflowsServiceV2BetaServer(s *grpc.Server, srv WorkflowsServiceV2BetaServer) { 237 src.RegisterWorkflowsServiceV2BetaServer(s, srv) 238 } 239