| 1 |
// Copyright 2025 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 protoc-gen-go. DO NOT EDIT. |
| 16 |
// versions: |
| 17 |
// protoc-gen-go v1.35.2 |
| 18 |
// protoc v4.25.7 |
| 19 |
// source: google/cloud/gkebackup/v1/volume.proto |
| 20 |
|
| 21 |
package gkebackuppb |
| 22 |
|
| 23 |
import ( |
| 24 |
_ "google.golang.org/genproto/googleapis/api/annotations" |
| 25 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 26 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 27 |
timestamppb "google.golang.org/protobuf/types/known/timestamppb" |
| 28 |
reflect "reflect" |
| 29 |
sync "sync" |
| 30 |
) |
| 31 |
|
| 32 |
const ( |
| 33 |
// Verify that this generated code is sufficiently up-to-date. |
| 34 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 35 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 36 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 37 |
) |
| 38 |
|
| 39 |
// Identifies the format used for the volume backup. |
| 40 |
type VolumeBackup_VolumeBackupFormat int32 |
| 41 |
|
| 42 |
const ( |
| 43 |
// Default value, not specified. |
| 44 |
VolumeBackup_VOLUME_BACKUP_FORMAT_UNSPECIFIED VolumeBackup_VolumeBackupFormat = 0 |
| 45 |
// Compute Engine Persistent Disk snapshot based volume backup. |
| 46 |
VolumeBackup_GCE_PERSISTENT_DISK VolumeBackup_VolumeBackupFormat = 1 |
| 47 |
) |
| 48 |
|
| 49 |
// Enum value maps for VolumeBackup_VolumeBackupFormat. |
| 50 |
var ( |
| 51 |
VolumeBackup_VolumeBackupFormat_name = map[int32]string{ |
| 52 |
0: "VOLUME_BACKUP_FORMAT_UNSPECIFIED", |
| 53 |
1: "GCE_PERSISTENT_DISK", |
| 54 |
} |
| 55 |
VolumeBackup_VolumeBackupFormat_value = map[string]int32{ |
| 56 |
"VOLUME_BACKUP_FORMAT_UNSPECIFIED": 0, |
| 57 |
"GCE_PERSISTENT_DISK": 1, |
| 58 |
} |
| 59 |
) |
| 60 |
|
| 61 |
func (x VolumeBackup_VolumeBackupFormat) Enum() *VolumeBackup_VolumeBackupFormat { |
| 62 |
p := new(VolumeBackup_VolumeBackupFormat) |
| 63 |
*p = x |
| 64 |
return p |
| 65 |
} |
| 66 |
|
| 67 |
func (x VolumeBackup_VolumeBackupFormat) String() string { |
| 68 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 69 |
} |
| 70 |
|
| 71 |
func (VolumeBackup_VolumeBackupFormat) Descriptor() protoreflect.EnumDescriptor { |
| 72 |
return file_google_cloud_gkebackup_v1_volume_proto_enumTypes[0].Descriptor() |
| 73 |
} |
| 74 |
|
| 75 |
func (VolumeBackup_VolumeBackupFormat) Type() protoreflect.EnumType { |
| 76 |
return &file_google_cloud_gkebackup_v1_volume_proto_enumTypes[0] |
| 77 |
} |
| 78 |
|
| 79 |
func (x VolumeBackup_VolumeBackupFormat) Number() protoreflect.EnumNumber { |
| 80 |
return protoreflect.EnumNumber(x) |
| 81 |
} |
| 82 |
|
| 83 |
// Deprecated: Use VolumeBackup_VolumeBackupFormat.Descriptor instead. |
| 84 |
func (VolumeBackup_VolumeBackupFormat) EnumDescriptor() ([]byte, []int) { |
| 85 |
return file_google_cloud_gkebackup_v1_volume_proto_rawDescGZIP(), []int{0, 0} |
| 86 |
} |
| 87 |
|
| 88 |
// The current state of a VolumeBackup |
| 89 |
type VolumeBackup_State int32 |
| 90 |
|
| 91 |
const ( |
| 92 |
// This is an illegal state and should not be encountered. |
| 93 |
VolumeBackup_STATE_UNSPECIFIED VolumeBackup_State = 0 |
| 94 |
// A volume for the backup was identified and backup process is about to |
| 95 |
// start. |
| 96 |
VolumeBackup_CREATING VolumeBackup_State = 1 |
| 97 |
// The volume backup operation has begun and is in the initial "snapshot" |
| 98 |
// phase of the process. Any defined ProtectedApplication "pre" hooks will |
| 99 |
// be executed before entering this state and "post" hooks will be executed |
| 100 |
// upon leaving this state. |
| 101 |
VolumeBackup_SNAPSHOTTING VolumeBackup_State = 2 |
| 102 |
// The snapshot phase of the volume backup operation has completed and |
| 103 |
// the snapshot is now being uploaded to backup storage. |
| 104 |
VolumeBackup_UPLOADING VolumeBackup_State = 3 |
| 105 |
// The volume backup operation has completed successfully. |
| 106 |
VolumeBackup_SUCCEEDED VolumeBackup_State = 4 |
| 107 |
// The volume backup operation has failed. |
| 108 |
VolumeBackup_FAILED VolumeBackup_State = 5 |
| 109 |
// This VolumeBackup resource (and its associated artifacts) is in the |
| 110 |
// process of being deleted. |
| 111 |
VolumeBackup_DELETING VolumeBackup_State = 6 |
| 112 |
// The underlying artifacts of a volume backup (eg: persistent disk |
| 113 |
// snapshots) are deleted. |
| 114 |
VolumeBackup_CLEANED_UP VolumeBackup_State = 7 |
| 115 |
) |
| 116 |
|
| 117 |
// Enum value maps for VolumeBackup_State. |
| 118 |
var ( |
| 119 |
VolumeBackup_State_name = map[int32]string{ |
| 120 |
0: "STATE_UNSPECIFIED", |
| 121 |
1: "CREATING", |
| 122 |
2: "SNAPSHOTTING", |
| 123 |
3: "UPLOADING", |
| 124 |
4: "SUCCEEDED", |
| 125 |
5: "FAILED", |
| 126 |
6: "DELETING", |
| 127 |
7: "CLEANED_UP", |
| 128 |
} |
| 129 |
VolumeBackup_State_value = map[string]int32{ |
| 130 |
"STATE_UNSPECIFIED": 0, |
| 131 |
"CREATING": 1, |
| 132 |
"SNAPSHOTTING": 2, |
| 133 |
"UPLOADING": 3, |
| 134 |
"SUCCEEDED": 4, |
| 135 |
"FAILED": 5, |
| 136 |
"DELETING": 6, |
| 137 |
"CLEANED_UP": 7, |
| 138 |
} |
| 139 |
) |
| 140 |
|
| 141 |
func (x VolumeBackup_State) Enum() *VolumeBackup_State { |
| 142 |
p := new(VolumeBackup_State) |
| 143 |
*p = x |
| 144 |
return p |
| 145 |
} |
| 146 |
|
| 147 |
func (x VolumeBackup_State) String() string { |
| 148 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 149 |
} |
| 150 |
|
| 151 |
func (VolumeBackup_State) Descriptor() protoreflect.EnumDescriptor { |
| 152 |
return file_google_cloud_gkebackup_v1_volume_proto_enumTypes[1].Descriptor() |
| 153 |
} |
| 154 |
|
| 155 |
func (VolumeBackup_State) Type() protoreflect.EnumType { |
| 156 |
return &file_google_cloud_gkebackup_v1_volume_proto_enumTypes[1] |
| 157 |
} |
| 158 |
|
| 159 |
func (x VolumeBackup_State) Number() protoreflect.EnumNumber { |
| 160 |
return protoreflect.EnumNumber(x) |
| 161 |
} |
| 162 |
|
| 163 |
// Deprecated: Use VolumeBackup_State.Descriptor instead. |
| 164 |
func (VolumeBackup_State) EnumDescriptor() ([]byte, []int) { |
| 165 |
return file_google_cloud_gkebackup_v1_volume_proto_rawDescGZIP(), []int{0, 1} |
| 166 |
} |
| 167 |
|
| 168 |
// Supported volume types. |
| 169 |
type VolumeRestore_VolumeType int32 |
| 170 |
|
| 171 |
const ( |
| 172 |
// Default |
| 173 |
VolumeRestore_VOLUME_TYPE_UNSPECIFIED VolumeRestore_VolumeType = 0 |
| 174 |
// Compute Engine Persistent Disk volume |
| 175 |
VolumeRestore_GCE_PERSISTENT_DISK VolumeRestore_VolumeType = 1 |
| 176 |
) |
| 177 |
|
| 178 |
// Enum value maps for VolumeRestore_VolumeType. |
| 179 |
var ( |
| 180 |
VolumeRestore_VolumeType_name = map[int32]string{ |
| 181 |
0: "VOLUME_TYPE_UNSPECIFIED", |
| 182 |
1: "GCE_PERSISTENT_DISK", |
| 183 |
} |
| 184 |
VolumeRestore_VolumeType_value = map[string]int32{ |
| 185 |
"VOLUME_TYPE_UNSPECIFIED": 0, |
| 186 |
"GCE_PERSISTENT_DISK": 1, |
| 187 |
} |
| 188 |
) |
| 189 |
|
| 190 |
func (x VolumeRestore_VolumeType) Enum() *VolumeRestore_VolumeType { |
| 191 |
p := new(VolumeRestore_VolumeType) |
| 192 |
*p = x |
| 193 |
return p |
| 194 |
} |
| 195 |
|
| 196 |
func (x VolumeRestore_VolumeType) String() string { |
| 197 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 198 |
} |
| 199 |
|
| 200 |
func (VolumeRestore_VolumeType) Descriptor() protoreflect.EnumDescriptor { |
| 201 |
return file_google_cloud_gkebackup_v1_volume_proto_enumTypes[2].Descriptor() |
| 202 |
} |
| 203 |
|
| 204 |
func (VolumeRestore_VolumeType) Type() protoreflect.EnumType { |
| 205 |
return &file_google_cloud_gkebackup_v1_volume_proto_enumTypes[2] |
| 206 |
} |
| 207 |
|
| 208 |
func (x VolumeRestore_VolumeType) Number() protoreflect.EnumNumber { |
| 209 |
return protoreflect.EnumNumber(x) |
| 210 |
} |
| 211 |
|
| 212 |
// Deprecated: Use VolumeRestore_VolumeType.Descriptor instead. |
| 213 |
func (VolumeRestore_VolumeType) EnumDescriptor() ([]byte, []int) { |
| 214 |
return file_google_cloud_gkebackup_v1_volume_proto_rawDescGZIP(), []int{1, 0} |
| 215 |
} |
| 216 |
|
| 217 |
// The current state of a VolumeRestore |
| 218 |
type VolumeRestore_State int32 |
| 219 |
|
| 220 |
const ( |
| 221 |
// This is an illegal state and should not be encountered. |
| 222 |
VolumeRestore_STATE_UNSPECIFIED VolumeRestore_State = 0 |
| 223 |
// A volume for the restore was identified and restore process is about to |
| 224 |
// start. |
| 225 |
VolumeRestore_CREATING VolumeRestore_State = 1 |
| 226 |
// The volume is currently being restored. |
| 227 |
VolumeRestore_RESTORING VolumeRestore_State = 2 |
| 228 |
// The volume has been successfully restored. |
| 229 |
VolumeRestore_SUCCEEDED VolumeRestore_State = 3 |
| 230 |
// The volume restoration process failed. |
| 231 |
VolumeRestore_FAILED VolumeRestore_State = 4 |
| 232 |
// This VolumeRestore resource is in the process of being deleted. |
| 233 |
VolumeRestore_DELETING VolumeRestore_State = 5 |
| 234 |
) |
| 235 |
|
| 236 |
// Enum value maps for VolumeRestore_State. |
| 237 |
var ( |
| 238 |
VolumeRestore_State_name = map[int32]string{ |
| 239 |
0: "STATE_UNSPECIFIED", |
| 240 |
1: "CREATING", |
| 241 |
2: "RESTORING", |
| 242 |
3: "SUCCEEDED", |
| 243 |
4: "FAILED", |
| 244 |
5: "DELETING", |
| 245 |
} |
| 246 |
VolumeRestore_State_value = map[string]int32{ |
| 247 |
"STATE_UNSPECIFIED": 0, |
| 248 |
"CREATING": 1, |
| 249 |
"RESTORING": 2, |
| 250 |
"SUCCEEDED": 3, |
| 251 |
"FAILED": 4, |
| 252 |
"DELETING": 5, |
| 253 |
} |
| 254 |
) |
| 255 |
|
| 256 |
func (x VolumeRestore_State) Enum() *VolumeRestore_State { |
| 257 |
p := new(VolumeRestore_State) |
| 258 |
*p = x |
| 259 |
return p |
| 260 |
} |
| 261 |
|
| 262 |
func (x VolumeRestore_State) String() string { |
| 263 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 264 |
} |
| 265 |
|
| 266 |
func (VolumeRestore_State) Descriptor() protoreflect.EnumDescriptor { |
| 267 |
return file_google_cloud_gkebackup_v1_volume_proto_enumTypes[3].Descriptor() |
| 268 |
} |
| 269 |
|
| 270 |
func (VolumeRestore_State) Type() protoreflect.EnumType { |
| 271 |
return &file_google_cloud_gkebackup_v1_volume_proto_enumTypes[3] |
| 272 |
} |
| 273 |
|
| 274 |
func (x VolumeRestore_State) Number() protoreflect.EnumNumber { |
| 275 |
return protoreflect.EnumNumber(x) |
| 276 |
} |
| 277 |
|
| 278 |
// Deprecated: Use VolumeRestore_State.Descriptor instead. |
| 279 |
func (VolumeRestore_State) EnumDescriptor() ([]byte, []int) { |
| 280 |
return file_google_cloud_gkebackup_v1_volume_proto_rawDescGZIP(), []int{1, 1} |
| 281 |
} |
| 282 |
|
| 283 |
// Represents the backup of a specific persistent volume as a component of a |
| 284 |
// Backup - both the record of the operation and a pointer to the underlying |
| 285 |
// storage-specific artifacts. |
| 286 |
type VolumeBackup struct { |
| 287 |
state protoimpl.MessageState |
| 288 |
sizeCache protoimpl.SizeCache |
| 289 |
unknownFields protoimpl.UnknownFields |
| 290 |
|
| 291 |
// Output only. The full name of the VolumeBackup resource. |
| 292 |
// Format: `projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/*`. |
| 293 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 294 |
// Output only. Server generated global unique identifier of |
| 295 |
// [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier) format. |
| 296 |
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` |
| 297 |
// Output only. The timestamp when this VolumeBackup resource was |
| 298 |
// created. |
| 299 |
CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` |
| 300 |
// Output only. The timestamp when this VolumeBackup resource was last |
| 301 |
// updated. |
| 302 |
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` |
| 303 |
// Output only. A reference to the source Kubernetes PVC from which this |
| 304 |
// VolumeBackup was created. |
| 305 |
SourcePvc *NamespacedName `protobuf:"bytes,5,opt,name=source_pvc,json=sourcePvc,proto3" json:"source_pvc,omitempty"` |
| 306 |
// Output only. A storage system-specific opaque handle to the underlying |
| 307 |
// volume backup. |
| 308 |
VolumeBackupHandle string `protobuf:"bytes,6,opt,name=volume_backup_handle,json=volumeBackupHandle,proto3" json:"volume_backup_handle,omitempty"` |
| 309 |
// Output only. The format used for the volume backup. |
| 310 |
Format VolumeBackup_VolumeBackupFormat `protobuf:"varint,7,opt,name=format,proto3,enum=google.cloud.gkebackup.v1.VolumeBackup_VolumeBackupFormat" json:"format,omitempty"` |
| 311 |
// Output only. The aggregate size of the underlying artifacts associated with |
| 312 |
// this VolumeBackup in the backup storage. This may change over time when |
| 313 |
// multiple backups of the same volume share the same backup storage |
| 314 |
// location. In particular, this is likely to increase in size when |
| 315 |
// the immediately preceding backup of the same volume is deleted. |
| 316 |
StorageBytes int64 `protobuf:"varint,8,opt,name=storage_bytes,json=storageBytes,proto3" json:"storage_bytes,omitempty"` |
| 317 |
// Output only. The minimum size of the disk to which this VolumeBackup can be |
| 318 |
// restored. |
| 319 |
DiskSizeBytes int64 `protobuf:"varint,9,opt,name=disk_size_bytes,json=diskSizeBytes,proto3" json:"disk_size_bytes,omitempty"` |
| 320 |
// Output only. The timestamp when the associated underlying volume backup |
| 321 |
// operation completed. |
| 322 |
CompleteTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=complete_time,json=completeTime,proto3" json:"complete_time,omitempty"` |
| 323 |
// Output only. The current state of this VolumeBackup. |
| 324 |
State VolumeBackup_State `protobuf:"varint,11,opt,name=state,proto3,enum=google.cloud.gkebackup.v1.VolumeBackup_State" json:"state,omitempty"` |
| 325 |
// Output only. A human readable message explaining why the VolumeBackup is in |
| 326 |
// its current state. This field is only meant for human consumption and |
| 327 |
// should not be used programmatically as this field is not guaranteed to be |
| 328 |
// consistent. |
| 329 |
StateMessage string `protobuf:"bytes,12,opt,name=state_message,json=stateMessage,proto3" json:"state_message,omitempty"` |
| 330 |
// Output only. `etag` is used for optimistic concurrency control as a way to |
| 331 |
// help prevent simultaneous updates of a volume backup from overwriting each |
| 332 |
// other. It is strongly suggested that systems make use of the `etag` in the |
| 333 |
// read-modify-write cycle to perform volume backup updates in order to avoid |
| 334 |
// race conditions. |
| 335 |
Etag string `protobuf:"bytes,13,opt,name=etag,proto3" json:"etag,omitempty"` |
| 336 |
// Output only. [Output Only] Reserved for future use. |
| 337 |
SatisfiesPzs bool `protobuf:"varint,14,opt,name=satisfies_pzs,json=satisfiesPzs,proto3" json:"satisfies_pzs,omitempty"` |
| 338 |
// Output only. [Output Only] Reserved for future use. |
| 339 |
SatisfiesPzi bool `protobuf:"varint,15,opt,name=satisfies_pzi,json=satisfiesPzi,proto3" json:"satisfies_pzi,omitempty"` |
| 340 |
} |
| 341 |
|
| 342 |
func (x *VolumeBackup) Reset() { |
| 343 |
*x = VolumeBackup{} |
| 344 |
mi := &file_google_cloud_gkebackup_v1_volume_proto_msgTypes[0] |
| 345 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 346 |
ms.StoreMessageInfo(mi) |
| 347 |
} |
| 348 |
|
| 349 |
func (x *VolumeBackup) String() string { |
| 350 |
return protoimpl.X.MessageStringOf(x) |
| 351 |
} |
| 352 |
|
| 353 |
func (*VolumeBackup) ProtoMessage() {} |
| 354 |
|
| 355 |
func (x *VolumeBackup) ProtoReflect() protoreflect.Message { |
| 356 |
mi := &file_google_cloud_gkebackup_v1_volume_proto_msgTypes[0] |
| 357 |
if x != nil { |
| 358 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 359 |
if ms.LoadMessageInfo() == nil { |
| 360 |
ms.StoreMessageInfo(mi) |
| 361 |
} |
| 362 |
return ms |
| 363 |
} |
| 364 |
return mi.MessageOf(x) |
| 365 |
} |
| 366 |
|
| 367 |
// Deprecated: Use VolumeBackup.ProtoReflect.Descriptor instead. |
| 368 |
func (*VolumeBackup) Descriptor() ([]byte, []int) { |
| 369 |
return file_google_cloud_gkebackup_v1_volume_proto_rawDescGZIP(), []int{0} |
| 370 |
} |
| 371 |
|
| 372 |
func (x *VolumeBackup) GetName() string { |
| 373 |
if x != nil { |
| 374 |
return x.Name |
| 375 |
} |
| 376 |
return "" |
| 377 |
} |
| 378 |
|
| 379 |
func (x *VolumeBackup) GetUid() string { |
| 380 |
if x != nil { |
| 381 |
return x.Uid |
| 382 |
} |
| 383 |
return "" |
| 384 |
} |
| 385 |
|
| 386 |
func (x *VolumeBackup) GetCreateTime() *timestamppb.Timestamp { |
| 387 |
if x != nil { |
| 388 |
return x.CreateTime |
| 389 |
} |
| 390 |
return nil |
| 391 |
} |
| 392 |
|
| 393 |
func (x *VolumeBackup) GetUpdateTime() *timestamppb.Timestamp { |
| 394 |
if x != nil { |
| 395 |
return x.UpdateTime |
| 396 |
} |
| 397 |
return nil |
| 398 |
} |
| 399 |
|
| 400 |
func (x *VolumeBackup) GetSourcePvc() *NamespacedName { |
| 401 |
if x != nil { |
| 402 |
return x.SourcePvc |
| 403 |
} |
| 404 |
return nil |
| 405 |
} |
| 406 |
|
| 407 |
func (x *VolumeBackup) GetVolumeBackupHandle() string { |
| 408 |
if x != nil { |
| 409 |
return x.VolumeBackupHandle |
| 410 |
} |
| 411 |
return "" |
| 412 |
} |
| 413 |
|
| 414 |
func (x *VolumeBackup) GetFormat() VolumeBackup_VolumeBackupFormat { |
| 415 |
if x != nil { |
| 416 |
return x.Format |
| 417 |
} |
| 418 |
return VolumeBackup_VOLUME_BACKUP_FORMAT_UNSPECIFIED |
| 419 |
} |
| 420 |
|
| 421 |
func (x *VolumeBackup) GetStorageBytes() int64 { |
| 422 |
if x != nil { |
| 423 |
return x.StorageBytes |
| 424 |
} |
| 425 |
return 0 |
| 426 |
} |
| 427 |
|
| 428 |
func (x *VolumeBackup) GetDiskSizeBytes() int64 { |
| 429 |
if x != nil { |
| 430 |
return x.DiskSizeBytes |
| 431 |
} |
| 432 |
return 0 |
| 433 |
} |
| 434 |
|
| 435 |
func (x *VolumeBackup) GetCompleteTime() *timestamppb.Timestamp { |
| 436 |
if x != nil { |
| 437 |
return x.CompleteTime |
| 438 |
} |
| 439 |
return nil |
| 440 |
} |
| 441 |
|
| 442 |
func (x *VolumeBackup) GetState() VolumeBackup_State { |
| 443 |
if x != nil { |
| 444 |
return x.State |
| 445 |
} |
| 446 |
return VolumeBackup_STATE_UNSPECIFIED |
| 447 |
} |
| 448 |
|
| 449 |
func (x *VolumeBackup) GetStateMessage() string { |
| 450 |
if x != nil { |
| 451 |
return x.StateMessage |
| 452 |
} |
| 453 |
return "" |
| 454 |
} |
| 455 |
|
| 456 |
func (x *VolumeBackup) GetEtag() string { |
| 457 |
if x != nil { |
| 458 |
return x.Etag |
| 459 |
} |
| 460 |
return "" |
| 461 |
} |
| 462 |
|
| 463 |
func (x *VolumeBackup) GetSatisfiesPzs() bool { |
| 464 |
if x != nil { |
| 465 |
return x.SatisfiesPzs |
| 466 |
} |
| 467 |
return false |
| 468 |
} |
| 469 |
|
| 470 |
func (x *VolumeBackup) GetSatisfiesPzi() bool { |
| 471 |
if x != nil { |
| 472 |
return x.SatisfiesPzi |
| 473 |
} |
| 474 |
return false |
| 475 |
} |
| 476 |
|
| 477 |
// Represents the operation of restoring a volume from a VolumeBackup. |
| 478 |
type VolumeRestore struct { |
| 479 |
state protoimpl.MessageState |
| 480 |
sizeCache protoimpl.SizeCache |
| 481 |
unknownFields protoimpl.UnknownFields |
| 482 |
|
| 483 |
// Output only. Full name of the VolumeRestore resource. |
| 484 |
// Format: `projects/*/locations/*/restorePlans/*/restores/*/volumeRestores/*` |
| 485 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 486 |
// Output only. Server generated global unique identifier of |
| 487 |
// [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier) format. |
| 488 |
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` |
| 489 |
// Output only. The timestamp when this VolumeRestore resource was |
| 490 |
// created. |
| 491 |
CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` |
| 492 |
// Output only. The timestamp when this VolumeRestore resource was last |
| 493 |
// updated. |
| 494 |
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` |
| 495 |
// Output only. The full name of the VolumeBackup from which the volume will |
| 496 |
// be restored. Format: |
| 497 |
// `projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/*`. |
| 498 |
VolumeBackup string `protobuf:"bytes,5,opt,name=volume_backup,json=volumeBackup,proto3" json:"volume_backup,omitempty"` |
| 499 |
// Output only. The reference to the target Kubernetes PVC to be restored. |
| 500 |
TargetPvc *NamespacedName `protobuf:"bytes,6,opt,name=target_pvc,json=targetPvc,proto3" json:"target_pvc,omitempty"` |
| 501 |
// Output only. A storage system-specific opaque handler to the underlying |
| 502 |
// volume created for the target PVC from the volume backup. |
| 503 |
VolumeHandle string `protobuf:"bytes,7,opt,name=volume_handle,json=volumeHandle,proto3" json:"volume_handle,omitempty"` |
| 504 |
// Output only. The type of volume provisioned |
| 505 |
VolumeType VolumeRestore_VolumeType `protobuf:"varint,8,opt,name=volume_type,json=volumeType,proto3,enum=google.cloud.gkebackup.v1.VolumeRestore_VolumeType" json:"volume_type,omitempty"` |
| 506 |
// Output only. The timestamp when the associated underlying volume |
| 507 |
// restoration completed. |
| 508 |
CompleteTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=complete_time,json=completeTime,proto3" json:"complete_time,omitempty"` |
| 509 |
// Output only. The current state of this VolumeRestore. |
| 510 |
State VolumeRestore_State `protobuf:"varint,10,opt,name=state,proto3,enum=google.cloud.gkebackup.v1.VolumeRestore_State" json:"state,omitempty"` |
| 511 |
// Output only. A human readable message explaining why the VolumeRestore is |
| 512 |
// in its current state. |
| 513 |
StateMessage string `protobuf:"bytes,11,opt,name=state_message,json=stateMessage,proto3" json:"state_message,omitempty"` |
| 514 |
// Output only. `etag` is used for optimistic concurrency control as a way to |
| 515 |
// help prevent simultaneous updates of a volume restore from overwriting each |
| 516 |
// other. It is strongly suggested that systems make use of the `etag` in the |
| 517 |
// read-modify-write cycle to perform volume restore updates in order to avoid |
| 518 |
// race conditions. |
| 519 |
Etag string `protobuf:"bytes,12,opt,name=etag,proto3" json:"etag,omitempty"` |
| 520 |
} |
| 521 |
|
| 522 |
func (x *VolumeRestore) Reset() { |
| 523 |
*x = VolumeRestore{} |
| 524 |
mi := &file_google_cloud_gkebackup_v1_volume_proto_msgTypes[1] |
| 525 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 526 |
ms.StoreMessageInfo(mi) |
| 527 |
} |
| 528 |
|
| 529 |
func (x *VolumeRestore) String() string { |
| 530 |
return protoimpl.X.MessageStringOf(x) |
| 531 |
} |
| 532 |
|
| 533 |
func (*VolumeRestore) ProtoMessage() {} |
| 534 |
|
| 535 |
func (x *VolumeRestore) ProtoReflect() protoreflect.Message { |
| 536 |
mi := &file_google_cloud_gkebackup_v1_volume_proto_msgTypes[1] |
| 537 |
if x != nil { |
| 538 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 539 |
if ms.LoadMessageInfo() == nil { |
| 540 |
ms.StoreMessageInfo(mi) |
| 541 |
} |
| 542 |
return ms |
| 543 |
} |
| 544 |
return mi.MessageOf(x) |
| 545 |
} |
| 546 |
|
| 547 |
// Deprecated: Use VolumeRestore.ProtoReflect.Descriptor instead. |
| 548 |
func (*VolumeRestore) Descriptor() ([]byte, []int) { |
| 549 |
return file_google_cloud_gkebackup_v1_volume_proto_rawDescGZIP(), []int{1} |
| 550 |
} |
| 551 |
|
| 552 |
func (x *VolumeRestore) GetName() string { |
| 553 |
if x != nil { |
| 554 |
return x.Name |
| 555 |
} |
| 556 |
return "" |
| 557 |
} |
| 558 |
|
| 559 |
func (x *VolumeRestore) GetUid() string { |
| 560 |
if x != nil { |
| 561 |
return x.Uid |
| 562 |
} |
| 563 |
return "" |
| 564 |
} |
| 565 |
|
| 566 |
func (x *VolumeRestore) GetCreateTime() *timestamppb.Timestamp { |
| 567 |
if x != nil { |
| 568 |
return x.CreateTime |
| 569 |
} |
| 570 |
return nil |
| 571 |
} |
| 572 |
|
| 573 |
func (x *VolumeRestore) GetUpdateTime() *timestamppb.Timestamp { |
| 574 |
if x != nil { |
| 575 |
return x.UpdateTime |
| 576 |
} |
| 577 |
return nil |
| 578 |
} |
| 579 |
|
| 580 |
func (x *VolumeRestore) GetVolumeBackup() string { |
| 581 |
if x != nil { |
| 582 |
return x.VolumeBackup |
| 583 |
} |
| 584 |
return "" |
| 585 |
} |
| 586 |
|
| 587 |
func (x *VolumeRestore) GetTargetPvc() *NamespacedName { |
| 588 |
if x != nil { |
| 589 |
return x.TargetPvc |
| 590 |
} |
| 591 |
return nil |
| 592 |
} |
| 593 |
|
| 594 |
func (x *VolumeRestore) GetVolumeHandle() string { |
| 595 |
if x != nil { |
| 596 |
return x.VolumeHandle |
| 597 |
} |
| 598 |
return "" |
| 599 |
} |
| 600 |
|
| 601 |
func (x *VolumeRestore) GetVolumeType() VolumeRestore_VolumeType { |
| 602 |
if x != nil { |
| 603 |
return x.VolumeType |
| 604 |
} |
| 605 |
return VolumeRestore_VOLUME_TYPE_UNSPECIFIED |
| 606 |
} |
| 607 |
|
| 608 |
func (x *VolumeRestore) GetCompleteTime() *timestamppb.Timestamp { |
| 609 |
if x != nil { |
| 610 |
return x.CompleteTime |
| 611 |
} |
| 612 |
return nil |
| 613 |
} |
| 614 |
|
| 615 |
func (x *VolumeRestore) GetState() VolumeRestore_State { |
| 616 |
if x != nil { |
| 617 |
return x.State |
| 618 |
} |
| 619 |
return VolumeRestore_STATE_UNSPECIFIED |
| 620 |
} |
| 621 |
|
| 622 |
func (x *VolumeRestore) GetStateMessage() string { |
| 623 |
if x != nil { |
| 624 |
return x.StateMessage |
| 625 |
} |
| 626 |
return "" |
| 627 |
} |
| 628 |
|
| 629 |
func (x *VolumeRestore) GetEtag() string { |
| 630 |
if x != nil { |
| 631 |
return x.Etag |
| 632 |
} |
| 633 |
return "" |
| 634 |
} |
| 635 |
|
| 636 |
var File_google_cloud_gkebackup_v1_volume_proto protoreflect.FileDescriptor |
| 637 |
|
| 638 |
var file_google_cloud_gkebackup_v1_volume_proto_rawDesc = []byte{ |
| 639 |
0x0a, 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x67, |
| 640 |
0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x6f, 0x6c, 0x75, |
| 641 |
0x6d, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 642 |
0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, |
| 643 |
0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, |
| 644 |
0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, |
| 645 |
0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, |
| 646 |
0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, |
| 647 |
0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x67, 0x6b, |
| 648 |
0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, |
| 649 |
0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, |
| 650 |
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, |
| 651 |
0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9d, 0x09, 0x0a, 0x0c, 0x56, 0x6f, 0x6c, |
| 652 |
0x75, 0x6d, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, |
| 653 |
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e, 0x61, |
| 654 |
0x6d, 0x65, 0x12, 0x15, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, |
| 655 |
0x03, 0xe0, 0x41, 0x03, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, |
| 656 |
0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, |
| 657 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, |
| 658 |
0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, |
| 659 |
0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x75, |
| 660 |
0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, |
| 661 |
0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, |
| 662 |
0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, |
| 663 |
0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x4d, 0x0a, |
| 664 |
0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x76, 0x63, 0x18, 0x05, 0x20, 0x01, 0x28, |
| 665 |
0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, |
| 666 |
0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, |
| 667 |
0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x42, 0x03, 0xe0, 0x41, |
| 668 |
0x03, 0x52, 0x09, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x76, 0x63, 0x12, 0x35, 0x0a, 0x14, |
| 669 |
0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x68, 0x61, |
| 670 |
0x6e, 0x64, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, |
| 671 |
0x12, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x48, 0x61, 0x6e, |
| 672 |
0x64, 0x6c, 0x65, 0x12, 0x57, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x07, 0x20, |
| 673 |
0x01, 0x28, 0x0e, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, |
| 674 |
0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x2e, |
| 675 |
0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x56, 0x6f, 0x6c, |
| 676 |
0x75, 0x6d, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x42, |
| 677 |
0x03, 0xe0, 0x41, 0x03, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x28, 0x0a, 0x0d, |
| 678 |
0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x08, 0x20, |
| 679 |
0x01, 0x28, 0x03, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, |
| 680 |
0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x2b, 0x0a, 0x0f, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x73, |
| 681 |
0x69, 0x7a, 0x65, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x42, |
| 682 |
0x03, 0xe0, 0x41, 0x03, 0x52, 0x0d, 0x64, 0x69, 0x73, 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x42, 0x79, |
| 683 |
0x74, 0x65, 0x73, 0x12, 0x44, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x5f, |
| 684 |
0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, |
| 685 |
0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, |
| 686 |
0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0c, 0x63, 0x6f, 0x6d, |
| 687 |
0x70, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x48, 0x0a, 0x05, 0x73, 0x74, 0x61, |
| 688 |
0x74, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 689 |
0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, |
| 690 |
0x70, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, |
| 691 |
0x70, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x05, 0x73, 0x74, |
| 692 |
0x61, 0x74, 0x65, 0x12, 0x28, 0x0a, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x65, 0x73, |
| 693 |
0x73, 0x61, 0x67, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, |
| 694 |
0x0c, 0x73, 0x74, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x17, 0x0a, |
| 695 |
0x04, 0x65, 0x74, 0x61, 0x67, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, |
| 696 |
0x52, 0x04, 0x65, 0x74, 0x61, 0x67, 0x12, 0x28, 0x0a, 0x0d, 0x73, 0x61, 0x74, 0x69, 0x73, 0x66, |
| 697 |
0x69, 0x65, 0x73, 0x5f, 0x70, 0x7a, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, |
| 698 |
0x41, 0x03, 0x52, 0x0c, 0x73, 0x61, 0x74, 0x69, 0x73, 0x66, 0x69, 0x65, 0x73, 0x50, 0x7a, 0x73, |
| 699 |
0x12, 0x28, 0x0a, 0x0d, 0x73, 0x61, 0x74, 0x69, 0x73, 0x66, 0x69, 0x65, 0x73, 0x5f, 0x70, 0x7a, |
| 700 |
0x69, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0c, 0x73, 0x61, |
| 701 |
0x74, 0x69, 0x73, 0x66, 0x69, 0x65, 0x73, 0x50, 0x7a, 0x69, 0x22, 0x53, 0x0a, 0x12, 0x56, 0x6f, |
| 702 |
0x6c, 0x75, 0x6d, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, |
| 703 |
0x12, 0x24, 0x0a, 0x20, 0x56, 0x4f, 0x4c, 0x55, 0x4d, 0x45, 0x5f, 0x42, 0x41, 0x43, 0x4b, 0x55, |
| 704 |
0x50, 0x5f, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, |
| 705 |
0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x47, 0x43, 0x45, 0x5f, 0x50, 0x45, |
| 706 |
0x52, 0x53, 0x49, 0x53, 0x54, 0x45, 0x4e, 0x54, 0x5f, 0x44, 0x49, 0x53, 0x4b, 0x10, 0x01, 0x22, |
| 707 |
0x86, 0x01, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, |
| 708 |
0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, |
| 709 |
0x12, 0x0c, 0x0a, 0x08, 0x43, 0x52, 0x45, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x10, |
| 710 |
0x0a, 0x0c, 0x53, 0x4e, 0x41, 0x50, 0x53, 0x48, 0x4f, 0x54, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x02, |
| 711 |
0x12, 0x0d, 0x0a, 0x09, 0x55, 0x50, 0x4c, 0x4f, 0x41, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x12, |
| 712 |
0x0d, 0x0a, 0x09, 0x53, 0x55, 0x43, 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, 0x10, 0x04, 0x12, 0x0a, |
| 713 |
0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x05, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x45, |
| 714 |
0x4c, 0x45, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x06, 0x12, 0x0e, 0x0a, 0x0a, 0x43, 0x4c, 0x45, 0x41, |
| 715 |
0x4e, 0x45, 0x44, 0x5f, 0x55, 0x50, 0x10, 0x07, 0x3a, 0x9d, 0x01, 0xea, 0x41, 0x99, 0x01, 0x0a, |
| 716 |
0x25, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 717 |
0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, |
| 718 |
0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x12, 0x70, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, |
| 719 |
0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, |
| 720 |
0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, |
| 721 |
0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x2f, 0x7b, 0x62, 0x61, 0x63, |
| 722 |
0x6b, 0x75, 0x70, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x7d, 0x2f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, |
| 723 |
0x73, 0x2f, 0x7b, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x7d, 0x2f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, |
| 724 |
0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x2f, 0x7b, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, |
| 725 |
0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x7d, 0x22, 0xe6, 0x07, 0x0a, 0x0d, 0x56, 0x6f, 0x6c, |
| 726 |
0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, |
| 727 |
0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e, |
| 728 |
0x61, 0x6d, 0x65, 0x12, 0x15, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, |
| 729 |
0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, |
| 730 |
0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, |
| 731 |
0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, |
| 732 |
0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, |
| 733 |
0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, |
| 734 |
0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, |
| 735 |
0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 736 |
0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, |
| 737 |
0x41, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x28, |
| 738 |
0x0a, 0x0d, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x18, |
| 739 |
0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0c, 0x76, 0x6f, 0x6c, 0x75, |
| 740 |
0x6d, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x12, 0x4d, 0x0a, 0x0a, 0x74, 0x61, 0x72, 0x67, |
| 741 |
0x65, 0x74, 0x5f, 0x70, 0x76, 0x63, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, |
| 742 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, |
| 743 |
0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, |
| 744 |
0x63, 0x65, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x09, 0x74, 0x61, |
| 745 |
0x72, 0x67, 0x65, 0x74, 0x50, 0x76, 0x63, 0x12, 0x28, 0x0a, 0x0d, 0x76, 0x6f, 0x6c, 0x75, 0x6d, |
| 746 |
0x65, 0x5f, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, |
| 747 |
0xe0, 0x41, 0x03, 0x52, 0x0c, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x48, 0x61, 0x6e, 0x64, 0x6c, |
| 748 |
0x65, 0x12, 0x59, 0x0a, 0x0b, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, |
| 749 |
0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 750 |
0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, |
| 751 |
0x76, 0x31, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, |
| 752 |
0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, |
| 753 |
0x52, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x44, 0x0a, 0x0d, |
| 754 |
0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, |
| 755 |
0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, |
| 756 |
0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, |
| 757 |
0x03, 0xe0, 0x41, 0x03, 0x52, 0x0c, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x69, |
| 758 |
0x6d, 0x65, 0x12, 0x49, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, |
| 759 |
0x0e, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, |
| 760 |
0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x6f, |
| 761 |
0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, |
| 762 |
0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x28, 0x0a, |
| 763 |
0x0d, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x0b, |
| 764 |
0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0c, 0x73, 0x74, 0x61, 0x74, 0x65, |
| 765 |
0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x17, 0x0a, 0x04, 0x65, 0x74, 0x61, 0x67, 0x18, |
| 766 |
0x0c, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x65, 0x74, 0x61, 0x67, |
| 767 |
0x22, 0x42, 0x0a, 0x0a, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, |
| 768 |
0x0a, 0x17, 0x56, 0x4f, 0x4c, 0x55, 0x4d, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, |
| 769 |
0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x47, |
| 770 |
0x43, 0x45, 0x5f, 0x50, 0x45, 0x52, 0x53, 0x49, 0x53, 0x54, 0x45, 0x4e, 0x54, 0x5f, 0x44, 0x49, |
| 771 |
0x53, 0x4b, 0x10, 0x01, 0x22, 0x64, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, |
| 772 |
0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, |
| 773 |
0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x52, 0x45, 0x41, 0x54, 0x49, 0x4e, 0x47, |
| 774 |
0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x52, 0x45, 0x53, 0x54, 0x4f, 0x52, 0x49, 0x4e, 0x47, 0x10, |
| 775 |
0x02, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x55, 0x43, 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, 0x10, 0x03, |
| 776 |
0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x04, 0x12, 0x0c, 0x0a, 0x08, |
| 777 |
0x44, 0x45, 0x4c, 0x45, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x05, 0x3a, 0xa4, 0x01, 0xea, 0x41, 0xa0, |
| 778 |
0x01, 0x0a, 0x26, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x67, 0x6f, 0x6f, |
| 779 |
0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x56, 0x6f, 0x6c, 0x75, |
| 780 |
0x6d, 0x65, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x12, 0x76, 0x70, 0x72, 0x6f, 0x6a, 0x65, |
| 781 |
0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, |
| 782 |
0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, |
| 783 |
0x6e, 0x7d, 0x2f, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x73, 0x2f, |
| 784 |
0x7b, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x7d, 0x2f, 0x72, |
| 785 |
0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x73, 0x2f, 0x7b, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, |
| 786 |
0x7d, 0x2f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x73, |
| 787 |
0x2f, 0x7b, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, |
| 788 |
0x7d, 0x42, 0xc2, 0x01, 0x0a, 0x1d, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 789 |
0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, |
| 790 |
0x2e, 0x76, 0x31, 0x42, 0x0b, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, |
| 791 |
0x50, 0x01, 0x5a, 0x3b, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 792 |
0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, |
| 793 |
0x70, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, |
| 794 |
0x70, 0x70, 0x62, 0x3b, 0x67, 0x6b, 0x65, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x70, 0x62, 0xaa, |
| 795 |
0x02, 0x19, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x47, |
| 796 |
0x6b, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x19, 0x47, 0x6f, |
| 797 |
0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x47, 0x6b, 0x65, 0x42, 0x61, |
| 798 |
0x63, 0x6b, 0x75, 0x70, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x1c, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 799 |
0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x47, 0x6b, 0x65, 0x42, 0x61, 0x63, 0x6b, |
| 800 |
0x75, 0x70, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 801 |
} |
| 802 |
|
| 803 |
var ( |
| 804 |
file_google_cloud_gkebackup_v1_volume_proto_rawDescOnce sync.Once |
| 805 |
file_google_cloud_gkebackup_v1_volume_proto_rawDescData = file_google_cloud_gkebackup_v1_volume_proto_rawDesc |
| 806 |
) |
| 807 |
|
| 808 |
func file_google_cloud_gkebackup_v1_volume_proto_rawDescGZIP() []byte { |
| 809 |
file_google_cloud_gkebackup_v1_volume_proto_rawDescOnce.Do(func() { |
| 810 |
file_google_cloud_gkebackup_v1_volume_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_gkebackup_v1_volume_proto_rawDescData) |
| 811 |
}) |
| 812 |
return file_google_cloud_gkebackup_v1_volume_proto_rawDescData |
| 813 |
} |
| 814 |
|
| 815 |
var file_google_cloud_gkebackup_v1_volume_proto_enumTypes = make([]protoimpl.EnumInfo, 4) |
| 816 |
var file_google_cloud_gkebackup_v1_volume_proto_msgTypes = make([]protoimpl.MessageInfo, 2) |
| 817 |
var file_google_cloud_gkebackup_v1_volume_proto_goTypes = []any{ |
| 818 |
(VolumeBackup_VolumeBackupFormat)(0), // 0: google.cloud.gkebackup.v1.VolumeBackup.VolumeBackupFormat |
| 819 |
(VolumeBackup_State)(0), // 1: google.cloud.gkebackup.v1.VolumeBackup.State |
| 820 |
(VolumeRestore_VolumeType)(0), // 2: google.cloud.gkebackup.v1.VolumeRestore.VolumeType |
| 821 |
(VolumeRestore_State)(0), // 3: google.cloud.gkebackup.v1.VolumeRestore.State |
| 822 |
(*VolumeBackup)(nil), // 4: google.cloud.gkebackup.v1.VolumeBackup |
| 823 |
(*VolumeRestore)(nil), // 5: google.cloud.gkebackup.v1.VolumeRestore |
| 824 |
(*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp |
| 825 |
(*NamespacedName)(nil), // 7: google.cloud.gkebackup.v1.NamespacedName |
| 826 |
} |
| 827 |
var file_google_cloud_gkebackup_v1_volume_proto_depIdxs = []int32{ |
| 828 |
6, // 0: google.cloud.gkebackup.v1.VolumeBackup.create_time:type_name -> google.protobuf.Timestamp |
| 829 |
6, // 1: google.cloud.gkebackup.v1.VolumeBackup.update_time:type_name -> google.protobuf.Timestamp |
| 830 |
7, // 2: google.cloud.gkebackup.v1.VolumeBackup.source_pvc:type_name -> google.cloud.gkebackup.v1.NamespacedName |
| 831 |
0, // 3: google.cloud.gkebackup.v1.VolumeBackup.format:type_name -> google.cloud.gkebackup.v1.VolumeBackup.VolumeBackupFormat |
| 832 |
6, // 4: google.cloud.gkebackup.v1.VolumeBackup.complete_time:type_name -> google.protobuf.Timestamp |
| 833 |
1, // 5: google.cloud.gkebackup.v1.VolumeBackup.state:type_name -> google.cloud.gkebackup.v1.VolumeBackup.State |
| 834 |
6, // 6: google.cloud.gkebackup.v1.VolumeRestore.create_time:type_name -> google.protobuf.Timestamp |
| 835 |
6, // 7: google.cloud.gkebackup.v1.VolumeRestore.update_time:type_name -> google.protobuf.Timestamp |
| 836 |
7, // 8: google.cloud.gkebackup.v1.VolumeRestore.target_pvc:type_name -> google.cloud.gkebackup.v1.NamespacedName |
| 837 |
2, // 9: google.cloud.gkebackup.v1.VolumeRestore.volume_type:type_name -> google.cloud.gkebackup.v1.VolumeRestore.VolumeType |
| 838 |
6, // 10: google.cloud.gkebackup.v1.VolumeRestore.complete_time:type_name -> google.protobuf.Timestamp |
| 839 |
3, // 11: google.cloud.gkebackup.v1.VolumeRestore.state:type_name -> google.cloud.gkebackup.v1.VolumeRestore.State |
| 840 |
12, // [12:12] is the sub-list for method output_type |
| 841 |
12, // [12:12] is the sub-list for method input_type |
| 842 |
12, // [12:12] is the sub-list for extension type_name |
| 843 |
12, // [12:12] is the sub-list for extension extendee |
| 844 |
0, // [0:12] is the sub-list for field type_name |
| 845 |
} |
| 846 |
|
| 847 |
func init() { file_google_cloud_gkebackup_v1_volume_proto_init() } |
| 848 |
func file_google_cloud_gkebackup_v1_volume_proto_init() { |
| 849 |
if File_google_cloud_gkebackup_v1_volume_proto != nil { |
| 850 |
return |
| 851 |
} |
| 852 |
file_google_cloud_gkebackup_v1_common_proto_init() |
| 853 |
type x struct{} |
| 854 |
out := protoimpl.TypeBuilder{ |
| 855 |
File: protoimpl.DescBuilder{ |
| 856 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 857 |
RawDescriptor: file_google_cloud_gkebackup_v1_volume_proto_rawDesc, |
| 858 |
NumEnums: 4, |
| 859 |
NumMessages: 2, |
| 860 |
NumExtensions: 0, |
| 861 |
NumServices: 0, |
| 862 |
}, |
| 863 |
GoTypes: file_google_cloud_gkebackup_v1_volume_proto_goTypes, |
| 864 |
DependencyIndexes: file_google_cloud_gkebackup_v1_volume_proto_depIdxs, |
| 865 |
EnumInfos: file_google_cloud_gkebackup_v1_volume_proto_enumTypes, |
| 866 |
MessageInfos: file_google_cloud_gkebackup_v1_volume_proto_msgTypes, |
| 867 |
}.Build() |
| 868 |
File_google_cloud_gkebackup_v1_volume_proto = out.File |
| 869 |
file_google_cloud_gkebackup_v1_volume_proto_rawDesc = nil |
| 870 |
file_google_cloud_gkebackup_v1_volume_proto_goTypes = nil |
| 871 |
file_google_cloud_gkebackup_v1_volume_proto_depIdxs = nil |
| 872 |
} |