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 baremetalsolution aliases all exported identifiers in package 18 // "cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb". 19 // 20 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb. 21 // Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md 22 // for more details. 23 package baremetalsolution 24 25 import ( 26 src "cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb" 27 grpc "google.golang.org/grpc" 28 ) 29 30 // Deprecated: Please use consts in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 31 const ( 32 Instance_DELETED = src.Instance_DELETED 33 Instance_PROVISIONING = src.Instance_PROVISIONING 34 Instance_RUNNING = src.Instance_RUNNING 35 Instance_STATE_UNSPECIFIED = src.Instance_STATE_UNSPECIFIED 36 Lun_CREATING = src.Lun_CREATING 37 Lun_DELETING = src.Lun_DELETING 38 Lun_HDD = src.Lun_HDD 39 Lun_LINUX = src.Lun_LINUX 40 Lun_MULTIPROTOCOL_TYPE_UNSPECIFIED = src.Lun_MULTIPROTOCOL_TYPE_UNSPECIFIED 41 Lun_READY = src.Lun_READY 42 Lun_SSD = src.Lun_SSD 43 Lun_STATE_UNSPECIFIED = src.Lun_STATE_UNSPECIFIED 44 Lun_STORAGE_TYPE_UNSPECIFIED = src.Lun_STORAGE_TYPE_UNSPECIFIED 45 Lun_UPDATING = src.Lun_UPDATING 46 Network_CLIENT = src.Network_CLIENT 47 Network_PRIVATE = src.Network_PRIVATE 48 Network_PROVISIONED = src.Network_PROVISIONED 49 Network_PROVISIONING = src.Network_PROVISIONING 50 Network_STATE_UNSPECIFIED = src.Network_STATE_UNSPECIFIED 51 Network_TYPE_UNSPECIFIED = src.Network_TYPE_UNSPECIFIED 52 NfsShare_MOUNT_PERMISSIONS_UNSPECIFIED = src.NfsShare_MOUNT_PERMISSIONS_UNSPECIFIED 53 NfsShare_PROVISIONED = src.NfsShare_PROVISIONED 54 NfsShare_READ = src.NfsShare_READ 55 NfsShare_READ_WRITE = src.NfsShare_READ_WRITE 56 NfsShare_STATE_UNSPECIFIED = src.NfsShare_STATE_UNSPECIFIED 57 ServerNetworkTemplate_LogicalInterface_BOND = src.ServerNetworkTemplate_LogicalInterface_BOND 58 ServerNetworkTemplate_LogicalInterface_INTERFACE_TYPE_UNSPECIFIED = src.ServerNetworkTemplate_LogicalInterface_INTERFACE_TYPE_UNSPECIFIED 59 ServerNetworkTemplate_LogicalInterface_NIC = src.ServerNetworkTemplate_LogicalInterface_NIC 60 VRF_PROVISIONED = src.VRF_PROVISIONED 61 VRF_PROVISIONING = src.VRF_PROVISIONING 62 VRF_STATE_UNSPECIFIED = src.VRF_STATE_UNSPECIFIED 63 Volume_CREATING = src.Volume_CREATING 64 Volume_DELETING = src.Volume_DELETING 65 Volume_DISABLED = src.Volume_DISABLED 66 Volume_HDD = src.Volume_HDD 67 Volume_NEWEST_FIRST = src.Volume_NEWEST_FIRST 68 Volume_OLDEST_FIRST = src.Volume_OLDEST_FIRST 69 Volume_READY = src.Volume_READY 70 Volume_SNAPSHOT_AUTO_DELETE_BEHAVIOR_UNSPECIFIED = src.Volume_SNAPSHOT_AUTO_DELETE_BEHAVIOR_UNSPECIFIED 71 Volume_SSD = src.Volume_SSD 72 Volume_STATE_UNSPECIFIED = src.Volume_STATE_UNSPECIFIED 73 Volume_STORAGE_TYPE_UNSPECIFIED = src.Volume_STORAGE_TYPE_UNSPECIFIED 74 ) 75 76 // Deprecated: Please use vars in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 77 var ( 78 File_google_cloud_baremetalsolution_v2_baremetalsolution_proto = src.File_google_cloud_baremetalsolution_v2_baremetalsolution_proto 79 File_google_cloud_baremetalsolution_v2_instance_proto = src.File_google_cloud_baremetalsolution_v2_instance_proto 80 File_google_cloud_baremetalsolution_v2_lun_proto = src.File_google_cloud_baremetalsolution_v2_lun_proto 81 File_google_cloud_baremetalsolution_v2_network_proto = src.File_google_cloud_baremetalsolution_v2_network_proto 82 File_google_cloud_baremetalsolution_v2_nfs_share_proto = src.File_google_cloud_baremetalsolution_v2_nfs_share_proto 83 File_google_cloud_baremetalsolution_v2_volume_proto = src.File_google_cloud_baremetalsolution_v2_volume_proto 84 Instance_State_name = src.Instance_State_name 85 Instance_State_value = src.Instance_State_value 86 Lun_MultiprotocolType_name = src.Lun_MultiprotocolType_name 87 Lun_MultiprotocolType_value = src.Lun_MultiprotocolType_value 88 Lun_State_name = src.Lun_State_name 89 Lun_State_value = src.Lun_State_value 90 Lun_StorageType_name = src.Lun_StorageType_name 91 Lun_StorageType_value = src.Lun_StorageType_value 92 Network_State_name = src.Network_State_name 93 Network_State_value = src.Network_State_value 94 Network_Type_name = src.Network_Type_name 95 Network_Type_value = src.Network_Type_value 96 NfsShare_MountPermissions_name = src.NfsShare_MountPermissions_name 97 NfsShare_MountPermissions_value = src.NfsShare_MountPermissions_value 98 NfsShare_State_name = src.NfsShare_State_name 99 NfsShare_State_value = src.NfsShare_State_value 100 ServerNetworkTemplate_LogicalInterface_InterfaceType_name = src.ServerNetworkTemplate_LogicalInterface_InterfaceType_name 101 ServerNetworkTemplate_LogicalInterface_InterfaceType_value = src.ServerNetworkTemplate_LogicalInterface_InterfaceType_value 102 VRF_State_name = src.VRF_State_name 103 VRF_State_value = src.VRF_State_value 104 Volume_SnapshotAutoDeleteBehavior_name = src.Volume_SnapshotAutoDeleteBehavior_name 105 Volume_SnapshotAutoDeleteBehavior_value = src.Volume_SnapshotAutoDeleteBehavior_value 106 Volume_State_name = src.Volume_State_name 107 Volume_State_value = src.Volume_State_value 108 Volume_StorageType_name = src.Volume_StorageType_name 109 Volume_StorageType_value = src.Volume_StorageType_value 110 ) 111 112 // BareMetalSolutionClient is the client API for BareMetalSolution service. 113 // For semantics around ctx use and closing/ending streaming RPCs, please refer 114 // to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 115 // 116 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 117 type BareMetalSolutionClient = src.BareMetalSolutionClient 118 119 // BareMetalSolutionServer is the server API for BareMetalSolution service. 120 // 121 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 122 type BareMetalSolutionServer = src.BareMetalSolutionServer 123 124 // Message for detach specific LUN from an Instance. 125 // 126 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 127 type DetachLunRequest = src.DetachLunRequest 128 129 // Message for requesting server information. 130 // 131 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 132 type GetInstanceRequest = src.GetInstanceRequest 133 134 // Message for requesting storage lun information. 135 // 136 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 137 type GetLunRequest = src.GetLunRequest 138 139 // Message for requesting network information. 140 // 141 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 142 type GetNetworkRequest = src.GetNetworkRequest 143 144 // Message for requesting NFS share information. 145 // 146 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 147 type GetNfsShareRequest = src.GetNfsShareRequest 148 149 // Message for requesting storage volume information. 150 // 151 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 152 type GetVolumeRequest = src.GetVolumeRequest 153 154 // A server. 155 // 156 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 157 type Instance = src.Instance 158 159 // The possible states for this server. 160 // 161 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 162 type Instance_State = src.Instance_State 163 164 // Message for requesting the list of servers. 165 // 166 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 167 type ListInstancesRequest = src.ListInstancesRequest 168 169 // Response message for the list of servers. 170 // 171 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 172 type ListInstancesResponse = src.ListInstancesResponse 173 174 // Message for requesting a list of storage volume luns. 175 // 176 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 177 type ListLunsRequest = src.ListLunsRequest 178 179 // Response message containing the list of storage volume luns. 180 // 181 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 182 type ListLunsResponse = src.ListLunsResponse 183 184 // Request to get networks with IPs. 185 // 186 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 187 type ListNetworkUsageRequest = src.ListNetworkUsageRequest 188 189 // Response with Networks with IPs 190 // 191 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 192 type ListNetworkUsageResponse = src.ListNetworkUsageResponse 193 194 // Message for requesting a list of networks. 195 // 196 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 197 type ListNetworksRequest = src.ListNetworksRequest 198 199 // Response message containing the list of networks. 200 // 201 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 202 type ListNetworksResponse = src.ListNetworksResponse 203 204 // Message for requesting a list of NFS shares. 205 // 206 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 207 type ListNfsSharesRequest = src.ListNfsSharesRequest 208 209 // Response message containing the list of NFS shares. 210 // 211 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 212 type ListNfsSharesResponse = src.ListNfsSharesResponse 213 214 // Message for requesting a list of storage volumes. 215 // 216 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 217 type ListVolumesRequest = src.ListVolumesRequest 218 219 // Response message containing the list of storage volumes. 220 // 221 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 222 type ListVolumesResponse = src.ListVolumesResponse 223 224 // Each logical interface represents a logical abstraction of the underlying 225 // physical interface (for eg. bond, nic) of the instance. Each logical 226 // interface can effectively map to multiple network-IP pairs and still be 227 // mapped to one underlying physical interface. 228 // 229 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 230 type LogicalInterface = src.LogicalInterface 231 232 // Each logical network interface is effectively a network and IP pair. 233 // 234 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 235 type LogicalInterface_LogicalNetworkInterface = src.LogicalInterface_LogicalNetworkInterface 236 237 // A storage volume logical unit number (LUN). 238 // 239 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 240 type Lun = src.Lun 241 242 // Display the operating systems present for the LUN multiprotocol type. 243 // 244 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 245 type Lun_MultiprotocolType = src.Lun_MultiprotocolType 246 247 // The possible states for the LUN. 248 // 249 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 250 type Lun_State = src.Lun_State 251 252 // The storage types for a LUN. 253 // 254 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 255 type Lun_StorageType = src.Lun_StorageType 256 257 // A Network. 258 // 259 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 260 type Network = src.Network 261 262 // A reservation of one or more addresses in a network. 263 // 264 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 265 type NetworkAddressReservation = src.NetworkAddressReservation 266 267 // Network with all used IP addresses. 268 // 269 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 270 type NetworkUsage = src.NetworkUsage 271 272 // The possible states for this Network. 273 // 274 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 275 type Network_State = src.Network_State 276 277 // Network type. 278 // 279 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 280 type Network_Type = src.Network_Type 281 282 // An NFS share. 283 // 284 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 285 type NfsShare = src.NfsShare 286 287 // Represents an 'access point' for the share. 288 // 289 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 290 type NfsShare_AllowedClient = src.NfsShare_AllowedClient 291 292 // The possible mount permissions. 293 // 294 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 295 type NfsShare_MountPermissions = src.NfsShare_MountPermissions 296 297 // The possible states for this NFS share. 298 // 299 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 300 type NfsShare_State = src.NfsShare_State 301 302 // Represents the metadata from a long-running operation. 303 // 304 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 305 type OperationMetadata = src.OperationMetadata 306 307 // Message requesting to reset a server. 308 // 309 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 310 type ResetInstanceRequest = src.ResetInstanceRequest 311 312 // Response message from resetting a server. 313 // 314 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 315 type ResetInstanceResponse = src.ResetInstanceResponse 316 317 // Request for emergency resize Volume. 318 // 319 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 320 type ResizeVolumeRequest = src.ResizeVolumeRequest 321 322 // Network template. 323 // 324 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 325 type ServerNetworkTemplate = src.ServerNetworkTemplate 326 327 // Logical interface. 328 // 329 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 330 type ServerNetworkTemplate_LogicalInterface = src.ServerNetworkTemplate_LogicalInterface 331 332 // Interface type. 333 // 334 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 335 type ServerNetworkTemplate_LogicalInterface_InterfaceType = src.ServerNetworkTemplate_LogicalInterface_InterfaceType 336 337 // Message requesting to start a server. 338 // 339 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 340 type StartInstanceRequest = src.StartInstanceRequest 341 342 // Response message from starting a server. 343 // 344 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 345 type StartInstanceResponse = src.StartInstanceResponse 346 347 // Message requesting to stop a server. 348 // 349 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 350 type StopInstanceRequest = src.StopInstanceRequest 351 352 // Response message from stopping a server. 353 // 354 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 355 type StopInstanceResponse = src.StopInstanceResponse 356 357 // UnimplementedBareMetalSolutionServer can be embedded to have forward 358 // compatible implementations. 359 // 360 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 361 type UnimplementedBareMetalSolutionServer = src.UnimplementedBareMetalSolutionServer 362 363 // Message requesting to updating a server. 364 // 365 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 366 type UpdateInstanceRequest = src.UpdateInstanceRequest 367 368 // Message requesting to updating a network. 369 // 370 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 371 type UpdateNetworkRequest = src.UpdateNetworkRequest 372 373 // Message requesting to updating a NFS share. 374 // 375 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 376 type UpdateNfsShareRequest = src.UpdateNfsShareRequest 377 378 // Message for updating a volume. 379 // 380 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 381 type UpdateVolumeRequest = src.UpdateVolumeRequest 382 383 // A network VRF. 384 // 385 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 386 type VRF = src.VRF 387 388 // QOS policy parameters. 389 // 390 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 391 type VRF_QosPolicy = src.VRF_QosPolicy 392 393 // The possible states for this VRF. 394 // 395 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 396 type VRF_State = src.VRF_State 397 398 // VLAN attachment details. 399 // 400 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 401 type VRF_VlanAttachment = src.VRF_VlanAttachment 402 403 // A storage volume. 404 // 405 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 406 type Volume = src.Volume 407 408 // The kinds of auto delete behavior to use when snapshot reserved space is 409 // full. 410 // 411 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 412 type Volume_SnapshotAutoDeleteBehavior = src.Volume_SnapshotAutoDeleteBehavior 413 414 // Details about snapshot space reservation and usage on the storage volume. 415 // 416 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 417 type Volume_SnapshotReservationDetail = src.Volume_SnapshotReservationDetail 418 419 // The possible states for a storage volume. 420 // 421 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 422 type Volume_State = src.Volume_State 423 424 // The storage type for a volume. 425 // 426 // Deprecated: Please use types in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 427 type Volume_StorageType = src.Volume_StorageType 428 429 // Deprecated: Please use funcs in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 430 func NewBareMetalSolutionClient(cc grpc.ClientConnInterface) BareMetalSolutionClient { 431 return src.NewBareMetalSolutionClient(cc) 432 } 433 434 // Deprecated: Please use funcs in: cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb 435 func RegisterBareMetalSolutionServer(s *grpc.Server, srv BareMetalSolutionServer) { 436 src.RegisterBareMetalSolutionServer(s, srv) 437 } 438