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