| // Copyright 2023 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 protoc-gen-go. DO NOT EDIT. |
| // versions: |
| // protoc-gen-go v1.33.0 |
| // protoc v4.25.3 |
| // source: google/cloud/netapp/v1/backup.proto |
| |
| package netapppb |
| |
| import ( |
| reflect "reflect" |
| sync "sync" |
| |
| _ "google.golang.org/genproto/googleapis/api/annotations" |
| protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" |
| timestamppb "google.golang.org/protobuf/types/known/timestamppb" |
| ) |
| |
| const ( |
| // Verify that this generated code is sufficiently up-to-date. |
| _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| // Verify that runtime/protoimpl is sufficiently up-to-date. |
| _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| ) |
| |
| // The Backup States |
| type Backup_State int32 |
| |
| const ( |
| // State not set. |
| Backup_STATE_UNSPECIFIED Backup_State = 0 |
| // Backup is being created. While in this state, the snapshot for the backup |
| // point-in-time may not have been created yet, and so the point-in-time may |
| // not have been fixed. |
| Backup_CREATING Backup_State = 1 |
| // Backup is being uploaded. While in this state, none of the writes to the |
| // volume will be included in the backup. |
| Backup_UPLOADING Backup_State = 2 |
| // Backup is available for use. |
| Backup_READY Backup_State = 3 |
| // Backup is being deleted. |
| Backup_DELETING Backup_State = 4 |
| // Backup is not valid and cannot be used for creating new volumes or |
| // restoring existing volumes. |
| Backup_ERROR Backup_State = 5 |
| // Backup is being updated. |
| Backup_UPDATING Backup_State = 6 |
| ) |
| |
| // Enum value maps for Backup_State. |
| var ( |
| Backup_State_name = map[int32]string{ |
| 0: "STATE_UNSPECIFIED", |
| 1: "CREATING", |
| 2: "UPLOADING", |
| 3: "READY", |
| 4: "DELETING", |
| 5: "ERROR", |
| 6: "UPDATING", |
| } |
| Backup_State_value = map[string]int32{ |
| "STATE_UNSPECIFIED": 0, |
| "CREATING": 1, |
| "UPLOADING": 2, |
| "READY": 3, |
| "DELETING": 4, |
| "ERROR": 5, |
| "UPDATING": 6, |
| } |
| ) |
| |
| func (x Backup_State) Enum() *Backup_State { |
| p := new(Backup_State) |
| *p = x |
| return p |
| } |
| |
| func (x Backup_State) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (Backup_State) Descriptor() protoreflect.EnumDescriptor { |
| return file_google_cloud_netapp_v1_backup_proto_enumTypes[0].Descriptor() |
| } |
| |
| func (Backup_State) Type() protoreflect.EnumType { |
| return &file_google_cloud_netapp_v1_backup_proto_enumTypes[0] |
| } |
| |
| func (x Backup_State) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use Backup_State.Descriptor instead. |
| func (Backup_State) EnumDescriptor() ([]byte, []int) { |
| return file_google_cloud_netapp_v1_backup_proto_rawDescGZIP(), []int{0, 0} |
| } |
| |
| // Backup types. |
| type Backup_Type int32 |
| |
| const ( |
| // Unspecified backup type. |
| Backup_TYPE_UNSPECIFIED Backup_Type = 0 |
| // Manual backup type. |
| Backup_MANUAL Backup_Type = 1 |
| // Scheduled backup type. |
| Backup_SCHEDULED Backup_Type = 2 |
| ) |
| |
| // Enum value maps for Backup_Type. |
| var ( |
| Backup_Type_name = map[int32]string{ |
| 0: "TYPE_UNSPECIFIED", |
| 1: "MANUAL", |
| 2: "SCHEDULED", |
| } |
| Backup_Type_value = map[string]int32{ |
| "TYPE_UNSPECIFIED": 0, |
| "MANUAL": 1, |
| "SCHEDULED": 2, |
| } |
| ) |
| |
| func (x Backup_Type) Enum() *Backup_Type { |
| p := new(Backup_Type) |
| *p = x |
| return p |
| } |
| |
| func (x Backup_Type) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (Backup_Type) Descriptor() protoreflect.EnumDescriptor { |
| return file_google_cloud_netapp_v1_backup_proto_enumTypes[1].Descriptor() |
| } |
| |
| func (Backup_Type) Type() protoreflect.EnumType { |
| return &file_google_cloud_netapp_v1_backup_proto_enumTypes[1] |
| } |
| |
| func (x Backup_Type) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use Backup_Type.Descriptor instead. |
| func (Backup_Type) EnumDescriptor() ([]byte, []int) { |
| return file_google_cloud_netapp_v1_backup_proto_rawDescGZIP(), []int{0, 1} |
| } |
| |
| // A NetApp Backup. |
| type Backup struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // Identifier. The resource name of the backup. |
| // Format: |
| // `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}`. |
| Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| // Output only. The backup state. |
| State Backup_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.netapp.v1.Backup_State" json:"state,omitempty"` |
| // A description of the backup with 2048 characters or less. |
| // Requests with longer descriptions will be rejected. |
| Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` |
| // Output only. Size of the file system when the backup was created. When |
| // creating a new volume from the backup, the volume capacity will have to be |
| // at least as big. |
| VolumeUsageBytes int64 `protobuf:"varint,4,opt,name=volume_usage_bytes,json=volumeUsageBytes,proto3" json:"volume_usage_bytes,omitempty"` |
| // Output only. Type of backup, manually created or created by a backup |
| // policy. |
| BackupType Backup_Type `protobuf:"varint,5,opt,name=backup_type,json=backupType,proto3,enum=google.cloud.netapp.v1.Backup_Type" json:"backup_type,omitempty"` |
| // Volume full name of this backup belongs to. |
| // Format: |
| // `projects/{projects_id}/locations/{location}/volumes/{volume_id}` |
| SourceVolume string `protobuf:"bytes,6,opt,name=source_volume,json=sourceVolume,proto3" json:"source_volume,omitempty"` |
| // If specified, backup will be created from the given snapshot. |
| // If not specified, there will be a new snapshot taken to initiate the backup |
| // creation. Format: |
| // `projects/{project_id}/locations/{location}/volumes/{volume_id}/snapshots/{snapshot_id}` |
| SourceSnapshot *string `protobuf:"bytes,7,opt,name=source_snapshot,json=sourceSnapshot,proto3,oneof" json:"source_snapshot,omitempty"` |
| // Output only. The time when the backup was created. |
| CreateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` |
| // Resource labels to represent user provided metadata. |
| Labels map[string]string `protobuf:"bytes,9,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| // Output only. Total size of all backups in a chain in bytes = baseline |
| // backup size + sum(incremental backup size) |
| ChainStorageBytes int64 `protobuf:"varint,10,opt,name=chain_storage_bytes,json=chainStorageBytes,proto3" json:"chain_storage_bytes,omitempty"` |
| } |
| |
| func (x *Backup) Reset() { |
| *x = Backup{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_google_cloud_netapp_v1_backup_proto_msgTypes[0] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *Backup) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Backup) ProtoMessage() {} |
| |
| func (x *Backup) ProtoReflect() protoreflect.Message { |
| mi := &file_google_cloud_netapp_v1_backup_proto_msgTypes[0] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use Backup.ProtoReflect.Descriptor instead. |
| func (*Backup) Descriptor() ([]byte, []int) { |
| return file_google_cloud_netapp_v1_backup_proto_rawDescGZIP(), []int{0} |
| } |
| |
| func (x *Backup) GetName() string { |
| if x != nil { |
| return x.Name |
| } |
| return "" |
| } |
| |
| func (x *Backup) GetState() Backup_State { |
| if x != nil { |
| return x.State |
| } |
| return Backup_STATE_UNSPECIFIED |
| } |
| |
| func (x *Backup) GetDescription() string { |
| if x != nil { |
| return x.Description |
| } |
| return "" |
| } |
| |
| func (x *Backup) GetVolumeUsageBytes() int64 { |
| if x != nil { |
| return x.VolumeUsageBytes |
| } |
| return 0 |
| } |
| |
| func (x *Backup) GetBackupType() Backup_Type { |
| if x != nil { |
| return x.BackupType |
| } |
| return Backup_TYPE_UNSPECIFIED |
| } |
| |
| func (x *Backup) GetSourceVolume() string { |
| if x != nil { |
| return x.SourceVolume |
| } |
| return "" |
| } |
| |
| func (x *Backup) GetSourceSnapshot() string { |
| if x != nil && x.SourceSnapshot != nil { |
| return *x.SourceSnapshot |
| } |
| return "" |
| } |
| |
| func (x *Backup) GetCreateTime() *timestamppb.Timestamp { |
| if x != nil { |
| return x.CreateTime |
| } |
| return nil |
| } |
| |
| func (x *Backup) GetLabels() map[string]string { |
| if x != nil { |
| return x.Labels |
| } |
| return nil |
| } |
| |
| func (x *Backup) GetChainStorageBytes() int64 { |
| if x != nil { |
| return x.ChainStorageBytes |
| } |
| return 0 |
| } |
| |
| // ListBackupsRequest lists backups. |
| type ListBackupsRequest struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // Required. The backupVault for which to retrieve backup information, |
| // in the format |
| // `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}`. |
| // To retrieve backup information for all locations, use "-" for the |
| // `{location}` value. |
| // To retrieve backup information for all backupVaults, use "-" for the |
| // `{backup_vault_id}` value. |
| // To retrieve backup information for a volume, use "-" for the |
| // `{backup_vault_id}` value and specify volume full name with the filter. |
| Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` |
| // The maximum number of items to return. The service may return fewer |
| // than this value. The maximum value |
| // is 1000; values above 1000 will be coerced to 1000. |
| PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` |
| // The next_page_token value to use if there are additional |
| // results to retrieve for this list request. |
| PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` |
| // Sort results. Supported values are "name", "name desc" or "" (unsorted). |
| OrderBy string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` |
| // The standard list filter. |
| // If specified, backups will be returned based on the attribute name that |
| // matches the filter expression. If empty, then no backups are filtered out. |
| // See https://google.aip.dev/160 |
| Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"` |
| } |
| |
| func (x *ListBackupsRequest) Reset() { |
| *x = ListBackupsRequest{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_google_cloud_netapp_v1_backup_proto_msgTypes[1] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *ListBackupsRequest) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*ListBackupsRequest) ProtoMessage() {} |
| |
| func (x *ListBackupsRequest) ProtoReflect() protoreflect.Message { |
| mi := &file_google_cloud_netapp_v1_backup_proto_msgTypes[1] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use ListBackupsRequest.ProtoReflect.Descriptor instead. |
| func (*ListBackupsRequest) Descriptor() ([]byte, []int) { |
| return file_google_cloud_netapp_v1_backup_proto_rawDescGZIP(), []int{1} |
| } |
| |
| func (x *ListBackupsRequest) GetParent() string { |
| if x != nil { |
| return x.Parent |
| } |
| return "" |
| } |
| |
| func (x *ListBackupsRequest) GetPageSize() int32 { |
| if x != nil { |
| return x.PageSize |
| } |
| return 0 |
| } |
| |
| func (x *ListBackupsRequest) GetPageToken() string { |
| if x != nil { |
| return x.PageToken |
| } |
| return "" |
| } |
| |
| func (x *ListBackupsRequest) GetOrderBy() string { |
| if x != nil { |
| return x.OrderBy |
| } |
| return "" |
| } |
| |
| func (x *ListBackupsRequest) GetFilter() string { |
| if x != nil { |
| return x.Filter |
| } |
| return "" |
| } |
| |
| // ListBackupsResponse is the result of ListBackupsRequest. |
| type ListBackupsResponse struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // A list of backups in the project. |
| Backups []*Backup `protobuf:"bytes,1,rep,name=backups,proto3" json:"backups,omitempty"` |
| // The token you can use to retrieve the next page of results. Not returned |
| // if there are no more results in the list. |
| NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` |
| // Locations that could not be reached. |
| Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"` |
| } |
| |
| func (x *ListBackupsResponse) Reset() { |
| *x = ListBackupsResponse{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_google_cloud_netapp_v1_backup_proto_msgTypes[2] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *ListBackupsResponse) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*ListBackupsResponse) ProtoMessage() {} |
| |
| func (x *ListBackupsResponse) ProtoReflect() protoreflect.Message { |
| mi := &file_google_cloud_netapp_v1_backup_proto_msgTypes[2] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use ListBackupsResponse.ProtoReflect.Descriptor instead. |
| func (*ListBackupsResponse) Descriptor() ([]byte, []int) { |
| return file_google_cloud_netapp_v1_backup_proto_rawDescGZIP(), []int{2} |
| } |
| |
| func (x *ListBackupsResponse) GetBackups() []*Backup { |
| if x != nil { |
| return x.Backups |
| } |
| return nil |
| } |
| |
| func (x *ListBackupsResponse) GetNextPageToken() string { |
| if x != nil { |
| return x.NextPageToken |
| } |
| return "" |
| } |
| |
| func (x *ListBackupsResponse) GetUnreachable() []string { |
| if x != nil { |
| return x.Unreachable |
| } |
| return nil |
| } |
| |
| // GetBackupRequest gets the state of a backup. |
| type GetBackupRequest struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // Required. The backup resource name, in the format |
| // `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}` |
| Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| } |
| |
| func (x *GetBackupRequest) Reset() { |
| *x = GetBackupRequest{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_google_cloud_netapp_v1_backup_proto_msgTypes[3] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *GetBackupRequest) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*GetBackupRequest) ProtoMessage() {} |
| |
| func (x *GetBackupRequest) ProtoReflect() protoreflect.Message { |
| mi := &file_google_cloud_netapp_v1_backup_proto_msgTypes[3] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use GetBackupRequest.ProtoReflect.Descriptor instead. |
| func (*GetBackupRequest) Descriptor() ([]byte, []int) { |
| return file_google_cloud_netapp_v1_backup_proto_rawDescGZIP(), []int{3} |
| } |
| |
| func (x *GetBackupRequest) GetName() string { |
| if x != nil { |
| return x.Name |
| } |
| return "" |
| } |
| |
| // CreateBackupRequest creates a backup. |
| type CreateBackupRequest struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // Required. The NetApp backupVault to create the backups of, in the format |
| // `projects/*/locations/*/backupVaults/{backup_vault_id}` |
| Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` |
| // Required. The ID to use for the backup. |
| // The ID must be unique within the specified backupVault. |
| // This value must start with a lowercase letter followed by up to 62 |
| // lowercase letters, numbers, or hyphens, and cannot end with a hyphen. |
| // Values that do not match this pattern will trigger an INVALID_ARGUMENT |
| // error. |
| BackupId string `protobuf:"bytes,2,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"` |
| // Required. A backup resource |
| Backup *Backup `protobuf:"bytes,3,opt,name=backup,proto3" json:"backup,omitempty"` |
| } |
| |
| func (x *CreateBackupRequest) Reset() { |
| *x = CreateBackupRequest{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_google_cloud_netapp_v1_backup_proto_msgTypes[4] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *CreateBackupRequest) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*CreateBackupRequest) ProtoMessage() {} |
| |
| func (x *CreateBackupRequest) ProtoReflect() protoreflect.Message { |
| mi := &file_google_cloud_netapp_v1_backup_proto_msgTypes[4] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use CreateBackupRequest.ProtoReflect.Descriptor instead. |
| func (*CreateBackupRequest) Descriptor() ([]byte, []int) { |
| return file_google_cloud_netapp_v1_backup_proto_rawDescGZIP(), []int{4} |
| } |
| |
| func (x *CreateBackupRequest) GetParent() string { |
| if x != nil { |
| return x.Parent |
| } |
| return "" |
| } |
| |
| func (x *CreateBackupRequest) GetBackupId() string { |
| if x != nil { |
| return x.BackupId |
| } |
| return "" |
| } |
| |
| func (x *CreateBackupRequest) GetBackup() *Backup { |
| if x != nil { |
| return x.Backup |
| } |
| return nil |
| } |
| |
| // DeleteBackupRequest deletes a backup. |
| type DeleteBackupRequest struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // Required. The backup resource name, in the format |
| // `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}` |
| Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| } |
| |
| func (x *DeleteBackupRequest) Reset() { |
| *x = DeleteBackupRequest{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_google_cloud_netapp_v1_backup_proto_msgTypes[5] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *DeleteBackupRequest) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*DeleteBackupRequest) ProtoMessage() {} |
| |
| func (x *DeleteBackupRequest) ProtoReflect() protoreflect.Message { |
| mi := &file_google_cloud_netapp_v1_backup_proto_msgTypes[5] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use DeleteBackupRequest.ProtoReflect.Descriptor instead. |
| func (*DeleteBackupRequest) Descriptor() ([]byte, []int) { |
| return file_google_cloud_netapp_v1_backup_proto_rawDescGZIP(), []int{5} |
| } |
| |
| func (x *DeleteBackupRequest) GetName() string { |
| if x != nil { |
| return x.Name |
| } |
| return "" |
| } |
| |
| // UpdateBackupRequest updates description and/or labels for a backup. |
| type UpdateBackupRequest struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // Required. Field mask is used to specify the fields to be overwritten in the |
| // Backup resource to be updated. |
| // The fields specified in the update_mask are relative to the resource, not |
| // the full request. A field will be overwritten if it is in the mask. If the |
| // user does not provide a mask then all fields will be overwritten. |
| UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` |
| // Required. The backup being updated |
| Backup *Backup `protobuf:"bytes,2,opt,name=backup,proto3" json:"backup,omitempty"` |
| } |
| |
| func (x *UpdateBackupRequest) Reset() { |
| *x = UpdateBackupRequest{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_google_cloud_netapp_v1_backup_proto_msgTypes[6] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *UpdateBackupRequest) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*UpdateBackupRequest) ProtoMessage() {} |
| |
| func (x *UpdateBackupRequest) ProtoReflect() protoreflect.Message { |
| mi := &file_google_cloud_netapp_v1_backup_proto_msgTypes[6] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use UpdateBackupRequest.ProtoReflect.Descriptor instead. |
| func (*UpdateBackupRequest) Descriptor() ([]byte, []int) { |
| return file_google_cloud_netapp_v1_backup_proto_rawDescGZIP(), []int{6} |
| } |
| |
| func (x *UpdateBackupRequest) GetUpdateMask() *fieldmaskpb.FieldMask { |
| if x != nil { |
| return x.UpdateMask |
| } |
| return nil |
| } |
| |
| func (x *UpdateBackupRequest) GetBackup() *Backup { |
| if x != nil { |
| return x.Backup |
| } |
| return nil |
| } |
| |
| var File_google_cloud_netapp_v1_backup_proto protoreflect.FileDescriptor |
| |
| var file_google_cloud_netapp_v1_backup_proto_rawDesc = []byte{ |
| 0x0a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6e, |
| 0x65, 0x74, 0x61, 0x70, 0x70, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, |
| 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, |
| 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, |
| 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, |
| 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, |
| 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, |
| 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, |
| 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, |
| 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, |
| 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xdb, 0x07, 0x0a, |
| 0x06, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, |
| 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x08, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, |
| 0x12, 0x3f, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, |
| 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, |
| 0x65, 0x74, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, |
| 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, |
| 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, |
| 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, |
| 0x69, 0x6f, 0x6e, 0x12, 0x31, 0x0a, 0x12, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x75, 0x73, |
| 0x61, 0x67, 0x65, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x42, |
| 0x03, 0xe0, 0x41, 0x03, 0x52, 0x10, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x55, 0x73, 0x61, 0x67, |
| 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x49, 0x0a, 0x0b, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, |
| 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x67, 0x6f, |
| 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x61, 0x70, |
| 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x54, 0x79, 0x70, 0x65, |
| 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x54, 0x79, 0x70, |
| 0x65, 0x12, 0x46, 0x0a, 0x0d, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x6f, 0x6c, 0x75, |
| 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x42, 0x21, 0xfa, 0x41, 0x1e, 0x0a, 0x1c, 0x6e, |
| 0x65, 0x74, 0x61, 0x70, 0x70, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, |
| 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x0c, 0x73, 0x6f, 0x75, |
| 0x72, 0x63, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x51, 0x0a, 0x0f, 0x73, 0x6f, 0x75, |
| 0x72, 0x63, 0x65, 0x5f, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x18, 0x07, 0x20, 0x01, |
| 0x28, 0x09, 0x42, 0x23, 0xfa, 0x41, 0x20, 0x0a, 0x1e, 0x6e, 0x65, 0x74, 0x61, 0x70, 0x70, 0x2e, |
| 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, |
| 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x48, 0x00, 0x52, 0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, |
| 0x65, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x88, 0x01, 0x01, 0x12, 0x40, 0x0a, 0x0b, |
| 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, |
| 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, |
| 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x42, |
| 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, |
| 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, |
| 0x74, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x2e, 0x4c, |
| 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, |
| 0x6c, 0x73, 0x12, 0x33, 0x0a, 0x13, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x5f, 0x73, 0x74, 0x6f, 0x72, |
| 0x61, 0x67, 0x65, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x42, |
| 0x03, 0xe0, 0x41, 0x03, 0x52, 0x11, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x53, 0x74, 0x6f, 0x72, 0x61, |
| 0x67, 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, |
| 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, |
| 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, |
| 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, |
| 0x38, 0x01, 0x22, 0x6d, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, |
| 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, |
| 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x52, 0x45, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x01, |
| 0x12, 0x0d, 0x0a, 0x09, 0x55, 0x50, 0x4c, 0x4f, 0x41, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, |
| 0x09, 0x0a, 0x05, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x45, |
| 0x4c, 0x45, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x04, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, |
| 0x52, 0x10, 0x05, 0x12, 0x0c, 0x0a, 0x08, 0x55, 0x50, 0x44, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x10, |
| 0x06, 0x22, 0x37, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, |
| 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, |
| 0x0a, 0x0a, 0x06, 0x4d, 0x41, 0x4e, 0x55, 0x41, 0x4c, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x53, |
| 0x43, 0x48, 0x45, 0x44, 0x55, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x3a, 0x89, 0x01, 0xea, 0x41, 0x85, |
| 0x01, 0x0a, 0x1c, 0x6e, 0x65, 0x74, 0x61, 0x70, 0x70, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x12, |
| 0x54, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, |
| 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, |
| 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x56, |
| 0x61, 0x75, 0x6c, 0x74, 0x73, 0x2f, 0x7b, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x76, 0x61, |
| 0x75, 0x6c, 0x74, 0x7d, 0x2f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x2f, 0x7b, 0x62, 0x61, |
| 0x63, 0x6b, 0x75, 0x70, 0x7d, 0x2a, 0x07, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x32, 0x06, |
| 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x42, 0x12, 0x0a, 0x10, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, |
| 0x65, 0x5f, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x22, 0xc1, 0x01, 0x0a, 0x12, 0x4c, |
| 0x69, 0x73, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, |
| 0x74, 0x12, 0x3c, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 0x09, 0x42, 0x24, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1e, 0x12, 0x1c, 0x6e, 0x65, 0x74, 0x61, 0x70, |
| 0x70, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, |
| 0x2f, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, |
| 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, |
| 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, |
| 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, |
| 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x19, 0x0a, 0x08, 0x6f, |
| 0x72, 0x64, 0x65, 0x72, 0x5f, 0x62, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, |
| 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, |
| 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x99, |
| 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x52, 0x65, |
| 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x07, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, |
| 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, |
| 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x07, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, |
| 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, |
| 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, |
| 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x75, 0x6e, 0x72, 0x65, |
| 0x61, 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x75, |
| 0x6e, 0x72, 0x65, 0x61, 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x4c, 0x0a, 0x10, 0x47, 0x65, |
| 0x74, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, |
| 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x24, 0xe0, 0x41, |
| 0x02, 0xfa, 0x41, 0x1e, 0x0a, 0x1c, 0x6e, 0x65, 0x74, 0x61, 0x70, 0x70, 0x2e, 0x67, 0x6f, 0x6f, |
| 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x42, 0x61, 0x63, 0x6b, |
| 0x75, 0x70, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xb2, 0x01, 0x0a, 0x13, 0x43, 0x72, 0x65, |
| 0x61, 0x74, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, |
| 0x12, 0x3c, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, |
| 0x42, 0x24, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1e, 0x12, 0x1c, 0x6e, 0x65, 0x74, 0x61, 0x70, 0x70, |
| 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, |
| 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x20, |
| 0x0a, 0x09, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, |
| 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x49, 0x64, |
| 0x12, 0x3b, 0x0a, 0x06, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, |
| 0x32, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, |
| 0x6e, 0x65, 0x74, 0x61, 0x70, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, |
| 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x22, 0x4f, 0x0a, |
| 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x71, |
| 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, |
| 0x28, 0x09, 0x42, 0x24, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1e, 0x0a, 0x1c, 0x6e, 0x65, 0x74, 0x61, |
| 0x70, 0x70, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, |
| 0x6d, 0x2f, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x94, |
| 0x01, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, |
| 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, |
| 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, |
| 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, |
| 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x75, 0x70, |
| 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x3b, 0x0a, 0x06, 0x62, 0x61, 0x63, 0x6b, |
| 0x75, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x61, 0x70, 0x70, 0x2e, 0x76, |
| 0x31, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x62, |
| 0x61, 0x63, 0x6b, 0x75, 0x70, 0x42, 0xad, 0x01, 0x0a, 0x1a, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, |
| 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x61, 0x70, |
| 0x70, 0x2e, 0x76, 0x31, 0x42, 0x0b, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x50, 0x72, 0x6f, 0x74, |
| 0x6f, 0x50, 0x01, 0x5a, 0x32, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x6e, 0x65, 0x74, 0x61, 0x70, 0x70, 0x2f, |
| 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x6e, 0x65, 0x74, 0x61, 0x70, 0x70, 0x70, 0x62, 0x3b, 0x6e, |
| 0x65, 0x74, 0x61, 0x70, 0x70, 0x70, 0x62, 0xaa, 0x02, 0x16, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x4e, 0x65, 0x74, 0x41, 0x70, 0x70, 0x2e, 0x56, 0x31, |
| 0xca, 0x02, 0x16, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, |
| 0x4e, 0x65, 0x74, 0x41, 0x70, 0x70, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x19, 0x47, 0x6f, 0x6f, 0x67, |
| 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x4e, 0x65, 0x74, 0x41, 0x70, |
| 0x70, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| } |
| |
| var ( |
| file_google_cloud_netapp_v1_backup_proto_rawDescOnce sync.Once |
| file_google_cloud_netapp_v1_backup_proto_rawDescData = file_google_cloud_netapp_v1_backup_proto_rawDesc |
| ) |
| |
| func file_google_cloud_netapp_v1_backup_proto_rawDescGZIP() []byte { |
| file_google_cloud_netapp_v1_backup_proto_rawDescOnce.Do(func() { |
| file_google_cloud_netapp_v1_backup_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_netapp_v1_backup_proto_rawDescData) |
| }) |
| return file_google_cloud_netapp_v1_backup_proto_rawDescData |
| } |
| |
| var file_google_cloud_netapp_v1_backup_proto_enumTypes = make([]protoimpl.EnumInfo, 2) |
| var file_google_cloud_netapp_v1_backup_proto_msgTypes = make([]protoimpl.MessageInfo, 8) |
| var file_google_cloud_netapp_v1_backup_proto_goTypes = []interface{}{ |
| (Backup_State)(0), // 0: google.cloud.netapp.v1.Backup.State |
| (Backup_Type)(0), // 1: google.cloud.netapp.v1.Backup.Type |
| (*Backup)(nil), // 2: google.cloud.netapp.v1.Backup |
| (*ListBackupsRequest)(nil), // 3: google.cloud.netapp.v1.ListBackupsRequest |
| (*ListBackupsResponse)(nil), // 4: google.cloud.netapp.v1.ListBackupsResponse |
| (*GetBackupRequest)(nil), // 5: google.cloud.netapp.v1.GetBackupRequest |
| (*CreateBackupRequest)(nil), // 6: google.cloud.netapp.v1.CreateBackupRequest |
| (*DeleteBackupRequest)(nil), // 7: google.cloud.netapp.v1.DeleteBackupRequest |
| (*UpdateBackupRequest)(nil), // 8: google.cloud.netapp.v1.UpdateBackupRequest |
| nil, // 9: google.cloud.netapp.v1.Backup.LabelsEntry |
| (*timestamppb.Timestamp)(nil), // 10: google.protobuf.Timestamp |
| (*fieldmaskpb.FieldMask)(nil), // 11: google.protobuf.FieldMask |
| } |
| var file_google_cloud_netapp_v1_backup_proto_depIdxs = []int32{ |
| 0, // 0: google.cloud.netapp.v1.Backup.state:type_name -> google.cloud.netapp.v1.Backup.State |
| 1, // 1: google.cloud.netapp.v1.Backup.backup_type:type_name -> google.cloud.netapp.v1.Backup.Type |
| 10, // 2: google.cloud.netapp.v1.Backup.create_time:type_name -> google.protobuf.Timestamp |
| 9, // 3: google.cloud.netapp.v1.Backup.labels:type_name -> google.cloud.netapp.v1.Backup.LabelsEntry |
| 2, // 4: google.cloud.netapp.v1.ListBackupsResponse.backups:type_name -> google.cloud.netapp.v1.Backup |
| 2, // 5: google.cloud.netapp.v1.CreateBackupRequest.backup:type_name -> google.cloud.netapp.v1.Backup |
| 11, // 6: google.cloud.netapp.v1.UpdateBackupRequest.update_mask:type_name -> google.protobuf.FieldMask |
| 2, // 7: google.cloud.netapp.v1.UpdateBackupRequest.backup:type_name -> google.cloud.netapp.v1.Backup |
| 8, // [8:8] is the sub-list for method output_type |
| 8, // [8:8] is the sub-list for method input_type |
| 8, // [8:8] is the sub-list for extension type_name |
| 8, // [8:8] is the sub-list for extension extendee |
| 0, // [0:8] is the sub-list for field type_name |
| } |
| |
| func init() { file_google_cloud_netapp_v1_backup_proto_init() } |
| func file_google_cloud_netapp_v1_backup_proto_init() { |
| if File_google_cloud_netapp_v1_backup_proto != nil { |
| return |
| } |
| if !protoimpl.UnsafeEnabled { |
| file_google_cloud_netapp_v1_backup_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*Backup); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_google_cloud_netapp_v1_backup_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*ListBackupsRequest); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_google_cloud_netapp_v1_backup_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*ListBackupsResponse); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_google_cloud_netapp_v1_backup_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*GetBackupRequest); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_google_cloud_netapp_v1_backup_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*CreateBackupRequest); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_google_cloud_netapp_v1_backup_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*DeleteBackupRequest); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_google_cloud_netapp_v1_backup_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*UpdateBackupRequest); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| } |
| file_google_cloud_netapp_v1_backup_proto_msgTypes[0].OneofWrappers = []interface{}{} |
| type x struct{} |
| out := protoimpl.TypeBuilder{ |
| File: protoimpl.DescBuilder{ |
| GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| RawDescriptor: file_google_cloud_netapp_v1_backup_proto_rawDesc, |
| NumEnums: 2, |
| NumMessages: 8, |
| NumExtensions: 0, |
| NumServices: 0, |
| }, |
| GoTypes: file_google_cloud_netapp_v1_backup_proto_goTypes, |
| DependencyIndexes: file_google_cloud_netapp_v1_backup_proto_depIdxs, |
| EnumInfos: file_google_cloud_netapp_v1_backup_proto_enumTypes, |
| MessageInfos: file_google_cloud_netapp_v1_backup_proto_msgTypes, |
| }.Build() |
| File_google_cloud_netapp_v1_backup_proto = out.File |
| file_google_cloud_netapp_v1_backup_proto_rawDesc = nil |
| file_google_cloud_netapp_v1_backup_proto_goTypes = nil |
| file_google_cloud_netapp_v1_backup_proto_depIdxs = nil |
| } |