| // 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_policy.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) |
| ) |
| |
| type BackupPolicy_State int32 |
| |
| const ( |
| // State not set. |
| BackupPolicy_STATE_UNSPECIFIED BackupPolicy_State = 0 |
| // BackupPolicy is being created. |
| BackupPolicy_CREATING BackupPolicy_State = 1 |
| // BackupPolicy is available for use. |
| BackupPolicy_READY BackupPolicy_State = 2 |
| // BackupPolicy is being deleted. |
| BackupPolicy_DELETING BackupPolicy_State = 3 |
| // BackupPolicy is not valid and cannot be used. |
| BackupPolicy_ERROR BackupPolicy_State = 4 |
| // BackupPolicy is being updated. |
| BackupPolicy_UPDATING BackupPolicy_State = 5 |
| ) |
| |
| // Enum value maps for BackupPolicy_State. |
| var ( |
| BackupPolicy_State_name = map[int32]string{ |
| 0: "STATE_UNSPECIFIED", |
| 1: "CREATING", |
| 2: "READY", |
| 3: "DELETING", |
| 4: "ERROR", |
| 5: "UPDATING", |
| } |
| BackupPolicy_State_value = map[string]int32{ |
| "STATE_UNSPECIFIED": 0, |
| "CREATING": 1, |
| "READY": 2, |
| "DELETING": 3, |
| "ERROR": 4, |
| "UPDATING": 5, |
| } |
| ) |
| |
| func (x BackupPolicy_State) Enum() *BackupPolicy_State { |
| p := new(BackupPolicy_State) |
| *p = x |
| return p |
| } |
| |
| func (x BackupPolicy_State) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (BackupPolicy_State) Descriptor() protoreflect.EnumDescriptor { |
| return file_google_cloud_netapp_v1_backup_policy_proto_enumTypes[0].Descriptor() |
| } |
| |
| func (BackupPolicy_State) Type() protoreflect.EnumType { |
| return &file_google_cloud_netapp_v1_backup_policy_proto_enumTypes[0] |
| } |
| |
| func (x BackupPolicy_State) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use BackupPolicy_State.Descriptor instead. |
| func (BackupPolicy_State) EnumDescriptor() ([]byte, []int) { |
| return file_google_cloud_netapp_v1_backup_policy_proto_rawDescGZIP(), []int{0, 0} |
| } |
| |
| // Backup Policy. |
| type BackupPolicy struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // Identifier. The resource name of the backup policy. |
| // Format: |
| // `projects/{project_id}/locations/{location}/backupPolicies/{backup_policy_id}`. |
| Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| // Number of daily backups to keep. Note that the minimum daily backup limit |
| // is 2. |
| DailyBackupLimit *int32 `protobuf:"varint,2,opt,name=daily_backup_limit,json=dailyBackupLimit,proto3,oneof" json:"daily_backup_limit,omitempty"` |
| // Number of weekly backups to keep. Note that the sum of daily, weekly and |
| // monthly backups should be greater than 1. |
| WeeklyBackupLimit *int32 `protobuf:"varint,3,opt,name=weekly_backup_limit,json=weeklyBackupLimit,proto3,oneof" json:"weekly_backup_limit,omitempty"` |
| // Number of monthly backups to keep. Note that the sum of daily, weekly and |
| // monthly backups should be greater than 1. |
| MonthlyBackupLimit *int32 `protobuf:"varint,4,opt,name=monthly_backup_limit,json=monthlyBackupLimit,proto3,oneof" json:"monthly_backup_limit,omitempty"` |
| // Description of the backup policy. |
| Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"` |
| // If enabled, make backups automatically according to the schedules. |
| // This will be applied to all volumes that have this policy attached and |
| // enforced on volume level. If not specified, default is true. |
| Enabled *bool `protobuf:"varint,6,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"` |
| // Output only. The total number of volumes assigned by this backup policy. |
| AssignedVolumeCount *int32 `protobuf:"varint,7,opt,name=assigned_volume_count,json=assignedVolumeCount,proto3,oneof" json:"assigned_volume_count,omitempty"` |
| // Output only. The time when the backup policy 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. The backup policy state. |
| State BackupPolicy_State `protobuf:"varint,10,opt,name=state,proto3,enum=google.cloud.netapp.v1.BackupPolicy_State" json:"state,omitempty"` |
| } |
| |
| func (x *BackupPolicy) Reset() { |
| *x = BackupPolicy{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_google_cloud_netapp_v1_backup_policy_proto_msgTypes[0] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *BackupPolicy) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*BackupPolicy) ProtoMessage() {} |
| |
| func (x *BackupPolicy) ProtoReflect() protoreflect.Message { |
| mi := &file_google_cloud_netapp_v1_backup_policy_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 BackupPolicy.ProtoReflect.Descriptor instead. |
| func (*BackupPolicy) Descriptor() ([]byte, []int) { |
| return file_google_cloud_netapp_v1_backup_policy_proto_rawDescGZIP(), []int{0} |
| } |
| |
| func (x *BackupPolicy) GetName() string { |
| if x != nil { |
| return x.Name |
| } |
| return "" |
| } |
| |
| func (x *BackupPolicy) GetDailyBackupLimit() int32 { |
| if x != nil && x.DailyBackupLimit != nil { |
| return *x.DailyBackupLimit |
| } |
| return 0 |
| } |
| |
| func (x *BackupPolicy) GetWeeklyBackupLimit() int32 { |
| if x != nil && x.WeeklyBackupLimit != nil { |
| return *x.WeeklyBackupLimit |
| } |
| return 0 |
| } |
| |
| func (x *BackupPolicy) GetMonthlyBackupLimit() int32 { |
| if x != nil && x.MonthlyBackupLimit != nil { |
| return *x.MonthlyBackupLimit |
| } |
| return 0 |
| } |
| |
| func (x *BackupPolicy) GetDescription() string { |
| if x != nil && x.Description != nil { |
| return *x.Description |
| } |
| return "" |
| } |
| |
| func (x *BackupPolicy) GetEnabled() bool { |
| if x != nil && x.Enabled != nil { |
| return *x.Enabled |
| } |
| return false |
| } |
| |
| func (x *BackupPolicy) GetAssignedVolumeCount() int32 { |
| if x != nil && x.AssignedVolumeCount != nil { |
| return *x.AssignedVolumeCount |
| } |
| return 0 |
| } |
| |
| func (x *BackupPolicy) GetCreateTime() *timestamppb.Timestamp { |
| if x != nil { |
| return x.CreateTime |
| } |
| return nil |
| } |
| |
| func (x *BackupPolicy) GetLabels() map[string]string { |
| if x != nil { |
| return x.Labels |
| } |
| return nil |
| } |
| |
| func (x *BackupPolicy) GetState() BackupPolicy_State { |
| if x != nil { |
| return x.State |
| } |
| return BackupPolicy_STATE_UNSPECIFIED |
| } |
| |
| // CreateBackupPolicyRequest creates a backupPolicy. |
| type CreateBackupPolicyRequest struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // Required. The location to create the backup policies of, in the format |
| // `projects/{project_id}/locations/{location}` |
| Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` |
| // Required. A backupPolicy resource |
| BackupPolicy *BackupPolicy `protobuf:"bytes,2,opt,name=backup_policy,json=backupPolicy,proto3" json:"backup_policy,omitempty"` |
| // Required. The ID to use for the backup policy. |
| // The ID must be unique within the specified location. |
| // This value must start with a lowercase letter followed by up to 62 |
| // lowercase letters, numbers, or hyphens, and cannot end with a hyphen. |
| BackupPolicyId string `protobuf:"bytes,3,opt,name=backup_policy_id,json=backupPolicyId,proto3" json:"backup_policy_id,omitempty"` |
| } |
| |
| func (x *CreateBackupPolicyRequest) Reset() { |
| *x = CreateBackupPolicyRequest{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_google_cloud_netapp_v1_backup_policy_proto_msgTypes[1] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *CreateBackupPolicyRequest) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*CreateBackupPolicyRequest) ProtoMessage() {} |
| |
| func (x *CreateBackupPolicyRequest) ProtoReflect() protoreflect.Message { |
| mi := &file_google_cloud_netapp_v1_backup_policy_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 CreateBackupPolicyRequest.ProtoReflect.Descriptor instead. |
| func (*CreateBackupPolicyRequest) Descriptor() ([]byte, []int) { |
| return file_google_cloud_netapp_v1_backup_policy_proto_rawDescGZIP(), []int{1} |
| } |
| |
| func (x *CreateBackupPolicyRequest) GetParent() string { |
| if x != nil { |
| return x.Parent |
| } |
| return "" |
| } |
| |
| func (x *CreateBackupPolicyRequest) GetBackupPolicy() *BackupPolicy { |
| if x != nil { |
| return x.BackupPolicy |
| } |
| return nil |
| } |
| |
| func (x *CreateBackupPolicyRequest) GetBackupPolicyId() string { |
| if x != nil { |
| return x.BackupPolicyId |
| } |
| return "" |
| } |
| |
| // GetBackupPolicyRequest gets the state of a backupPolicy. |
| type GetBackupPolicyRequest struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // Required. The backupPolicy resource name, in the format |
| // `projects/{project_id}/locations/{location}/backupPolicies/{backup_policy_id}` |
| Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| } |
| |
| func (x *GetBackupPolicyRequest) Reset() { |
| *x = GetBackupPolicyRequest{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_google_cloud_netapp_v1_backup_policy_proto_msgTypes[2] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *GetBackupPolicyRequest) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*GetBackupPolicyRequest) ProtoMessage() {} |
| |
| func (x *GetBackupPolicyRequest) ProtoReflect() protoreflect.Message { |
| mi := &file_google_cloud_netapp_v1_backup_policy_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 GetBackupPolicyRequest.ProtoReflect.Descriptor instead. |
| func (*GetBackupPolicyRequest) Descriptor() ([]byte, []int) { |
| return file_google_cloud_netapp_v1_backup_policy_proto_rawDescGZIP(), []int{2} |
| } |
| |
| func (x *GetBackupPolicyRequest) GetName() string { |
| if x != nil { |
| return x.Name |
| } |
| return "" |
| } |
| |
| // ListBackupPoliciesRequest for requesting multiple backup policies. |
| type ListBackupPoliciesRequest struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // Required. Parent value for ListBackupPoliciesRequest |
| Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` |
| // Requested page size. Server may return fewer items than requested. |
| // If unspecified, the server will pick an appropriate default. |
| PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` |
| // A token identifying a page of results the server should return. |
| PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` |
| // Filtering results |
| Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` |
| // Hint for how to order the results |
| OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` |
| } |
| |
| func (x *ListBackupPoliciesRequest) Reset() { |
| *x = ListBackupPoliciesRequest{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_google_cloud_netapp_v1_backup_policy_proto_msgTypes[3] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *ListBackupPoliciesRequest) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*ListBackupPoliciesRequest) ProtoMessage() {} |
| |
| func (x *ListBackupPoliciesRequest) ProtoReflect() protoreflect.Message { |
| mi := &file_google_cloud_netapp_v1_backup_policy_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 ListBackupPoliciesRequest.ProtoReflect.Descriptor instead. |
| func (*ListBackupPoliciesRequest) Descriptor() ([]byte, []int) { |
| return file_google_cloud_netapp_v1_backup_policy_proto_rawDescGZIP(), []int{3} |
| } |
| |
| func (x *ListBackupPoliciesRequest) GetParent() string { |
| if x != nil { |
| return x.Parent |
| } |
| return "" |
| } |
| |
| func (x *ListBackupPoliciesRequest) GetPageSize() int32 { |
| if x != nil { |
| return x.PageSize |
| } |
| return 0 |
| } |
| |
| func (x *ListBackupPoliciesRequest) GetPageToken() string { |
| if x != nil { |
| return x.PageToken |
| } |
| return "" |
| } |
| |
| func (x *ListBackupPoliciesRequest) GetFilter() string { |
| if x != nil { |
| return x.Filter |
| } |
| return "" |
| } |
| |
| func (x *ListBackupPoliciesRequest) GetOrderBy() string { |
| if x != nil { |
| return x.OrderBy |
| } |
| return "" |
| } |
| |
| // ListBackupPoliciesResponse contains all the backup policies requested. |
| type ListBackupPoliciesResponse struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // The list of backup policies. |
| BackupPolicies []*BackupPolicy `protobuf:"bytes,1,rep,name=backup_policies,json=backupPolicies,proto3" json:"backup_policies,omitempty"` |
| // A token identifying a page of results the server should return. |
| 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 *ListBackupPoliciesResponse) Reset() { |
| *x = ListBackupPoliciesResponse{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_google_cloud_netapp_v1_backup_policy_proto_msgTypes[4] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *ListBackupPoliciesResponse) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*ListBackupPoliciesResponse) ProtoMessage() {} |
| |
| func (x *ListBackupPoliciesResponse) ProtoReflect() protoreflect.Message { |
| mi := &file_google_cloud_netapp_v1_backup_policy_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 ListBackupPoliciesResponse.ProtoReflect.Descriptor instead. |
| func (*ListBackupPoliciesResponse) Descriptor() ([]byte, []int) { |
| return file_google_cloud_netapp_v1_backup_policy_proto_rawDescGZIP(), []int{4} |
| } |
| |
| func (x *ListBackupPoliciesResponse) GetBackupPolicies() []*BackupPolicy { |
| if x != nil { |
| return x.BackupPolicies |
| } |
| return nil |
| } |
| |
| func (x *ListBackupPoliciesResponse) GetNextPageToken() string { |
| if x != nil { |
| return x.NextPageToken |
| } |
| return "" |
| } |
| |
| func (x *ListBackupPoliciesResponse) GetUnreachable() []string { |
| if x != nil { |
| return x.Unreachable |
| } |
| return nil |
| } |
| |
| // UpdateBackupPolicyRequest for updating a backup policy. |
| type UpdateBackupPolicyRequest 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 Policy resource by the update. |
| // 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 policy being updated |
| BackupPolicy *BackupPolicy `protobuf:"bytes,2,opt,name=backup_policy,json=backupPolicy,proto3" json:"backup_policy,omitempty"` |
| } |
| |
| func (x *UpdateBackupPolicyRequest) Reset() { |
| *x = UpdateBackupPolicyRequest{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_google_cloud_netapp_v1_backup_policy_proto_msgTypes[5] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *UpdateBackupPolicyRequest) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*UpdateBackupPolicyRequest) ProtoMessage() {} |
| |
| func (x *UpdateBackupPolicyRequest) ProtoReflect() protoreflect.Message { |
| mi := &file_google_cloud_netapp_v1_backup_policy_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 UpdateBackupPolicyRequest.ProtoReflect.Descriptor instead. |
| func (*UpdateBackupPolicyRequest) Descriptor() ([]byte, []int) { |
| return file_google_cloud_netapp_v1_backup_policy_proto_rawDescGZIP(), []int{5} |
| } |
| |
| func (x *UpdateBackupPolicyRequest) GetUpdateMask() *fieldmaskpb.FieldMask { |
| if x != nil { |
| return x.UpdateMask |
| } |
| return nil |
| } |
| |
| func (x *UpdateBackupPolicyRequest) GetBackupPolicy() *BackupPolicy { |
| if x != nil { |
| return x.BackupPolicy |
| } |
| return nil |
| } |
| |
| // DeleteBackupPolicyRequest deletes a backup policy. |
| type DeleteBackupPolicyRequest struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // Required. The backup policy resource name, in the format |
| // `projects/{project_id}/locations/{location}/backupPolicies/{backup_policy_id}` |
| Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| } |
| |
| func (x *DeleteBackupPolicyRequest) Reset() { |
| *x = DeleteBackupPolicyRequest{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_google_cloud_netapp_v1_backup_policy_proto_msgTypes[6] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *DeleteBackupPolicyRequest) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*DeleteBackupPolicyRequest) ProtoMessage() {} |
| |
| func (x *DeleteBackupPolicyRequest) ProtoReflect() protoreflect.Message { |
| mi := &file_google_cloud_netapp_v1_backup_policy_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 DeleteBackupPolicyRequest.ProtoReflect.Descriptor instead. |
| func (*DeleteBackupPolicyRequest) Descriptor() ([]byte, []int) { |
| return file_google_cloud_netapp_v1_backup_policy_proto_rawDescGZIP(), []int{6} |
| } |
| |
| func (x *DeleteBackupPolicyRequest) GetName() string { |
| if x != nil { |
| return x.Name |
| } |
| return "" |
| } |
| |
| var File_google_cloud_netapp_v1_backup_policy_proto protoreflect.FileDescriptor |
| |
| var file_google_cloud_netapp_v1_backup_policy_proto_rawDesc = []byte{ |
| 0x0a, 0x2a, 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, 0x5f, |
| 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 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, 0xc7, 0x07, 0x0a, 0x0c, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x50, 0x6f, |
| 0x6c, 0x69, 0x63, 0x79, 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, 0x31, 0x0a, |
| 0x12, 0x64, 0x61, 0x69, 0x6c, 0x79, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x6c, 0x69, |
| 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x10, 0x64, 0x61, 0x69, |
| 0x6c, 0x79, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x88, 0x01, 0x01, |
| 0x12, 0x33, 0x0a, 0x13, 0x77, 0x65, 0x65, 0x6b, 0x6c, 0x79, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, |
| 0x70, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x48, 0x01, 0x52, |
| 0x11, 0x77, 0x65, 0x65, 0x6b, 0x6c, 0x79, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x4c, 0x69, 0x6d, |
| 0x69, 0x74, 0x88, 0x01, 0x01, 0x12, 0x35, 0x0a, 0x14, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x6c, 0x79, |
| 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, |
| 0x01, 0x28, 0x05, 0x48, 0x02, 0x52, 0x12, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x6c, 0x79, 0x42, 0x61, |
| 0x63, 0x6b, 0x75, 0x70, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x88, 0x01, 0x01, 0x12, 0x25, 0x0a, 0x0b, |
| 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, |
| 0x09, 0x48, 0x03, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, |
| 0x88, 0x01, 0x01, 0x12, 0x1d, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x06, |
| 0x20, 0x01, 0x28, 0x08, 0x48, 0x04, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x88, |
| 0x01, 0x01, 0x12, 0x3c, 0x0a, 0x15, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x76, |
| 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, |
| 0x05, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x48, 0x05, 0x52, 0x13, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, |
| 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6f, 0x75, 0x6e, 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, 0x48, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x09, 0x20, 0x03, |
| 0x28, 0x0b, 0x32, 0x30, 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, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, |
| 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x45, 0x0a, 0x05, |
| 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 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, 0x50, 0x6f, 0x6c, 0x69, 0x63, |
| 0x79, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x05, 0x73, 0x74, |
| 0x61, 0x74, 0x65, 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, 0x5e, |
| 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, 0x09, 0x0a, 0x05, |
| 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x45, 0x4c, 0x45, 0x54, |
| 0x49, 0x4e, 0x47, 0x10, 0x03, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x04, |
| 0x12, 0x0c, 0x0a, 0x08, 0x55, 0x50, 0x44, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x05, 0x3a, 0x8e, |
| 0x01, 0xea, 0x41, 0x8a, 0x01, 0x0a, 0x22, 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, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x46, 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, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, |
| 0x73, 0x2f, 0x7b, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, |
| 0x7d, 0x2a, 0x0e, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, |
| 0x73, 0x32, 0x0c, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x42, |
| 0x15, 0x0a, 0x13, 0x5f, 0x64, 0x61, 0x69, 0x6c, 0x79, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, |
| 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x42, 0x16, 0x0a, 0x14, 0x5f, 0x77, 0x65, 0x65, 0x6b, 0x6c, |
| 0x79, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x42, 0x17, |
| 0x0a, 0x15, 0x5f, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x6c, 0x79, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, |
| 0x70, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x64, 0x65, 0x73, 0x63, |
| 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x65, 0x6e, 0x61, 0x62, |
| 0x6c, 0x65, 0x64, 0x42, 0x18, 0x0a, 0x16, 0x5f, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, |
| 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xde, 0x01, |
| 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x50, 0x6f, |
| 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x42, 0x0a, 0x06, 0x70, |
| 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2a, 0xe0, 0x41, 0x02, |
| 0xfa, 0x41, 0x24, 0x12, 0x22, 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, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, |
| 0x4e, 0x0a, 0x0d, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, |
| 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 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, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x42, 0x03, 0xe0, 0x41, |
| 0x02, 0x52, 0x0c, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, |
| 0x2d, 0x0a, 0x10, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, |
| 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0e, |
| 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x22, 0x58, |
| 0x0a, 0x16, 0x47, 0x65, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x50, 0x6f, 0x6c, 0x69, 0x63, |
| 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3e, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, |
| 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2a, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x24, 0x0a, 0x22, |
| 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, 0x50, 0x6f, 0x6c, 0x69, |
| 0x63, 0x79, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xce, 0x01, 0x0a, 0x19, 0x4c, 0x69, 0x73, |
| 0x74, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, |
| 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x42, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, |
| 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2a, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x24, 0x12, 0x22, |
| 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, 0x50, 0x6f, 0x6c, 0x69, |
| 0x63, 0x79, 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, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, |
| 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x19, |
| 0x0a, 0x08, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x62, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, |
| 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x22, 0xb5, 0x01, 0x0a, 0x1a, 0x4c, 0x69, |
| 0x73, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, |
| 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x0f, 0x62, 0x61, 0x63, 0x6b, |
| 0x75, 0x70, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, |
| 0x0b, 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, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x0e, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x50, |
| 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 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, 0xad, 0x01, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x61, 0x63, 0x6b, |
| 0x75, 0x70, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 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, 0x4e, 0x0a, 0x0d, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x5f, 0x70, 0x6f, 0x6c, 0x69, |
| 0x63, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 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, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x42, 0x03, |
| 0xe0, 0x41, 0x02, 0x52, 0x0c, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x50, 0x6f, 0x6c, 0x69, 0x63, |
| 0x79, 0x22, 0x5b, 0x0a, 0x19, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, |
| 0x70, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3e, |
| 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2a, 0xe0, 0x41, |
| 0x02, 0xfa, 0x41, 0x24, 0x0a, 0x22, 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, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0xb3, |
| 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, 0x11, 0x42, |
| 0x61, 0x63, 0x6b, 0x75, 0x70, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 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_policy_proto_rawDescOnce sync.Once |
| file_google_cloud_netapp_v1_backup_policy_proto_rawDescData = file_google_cloud_netapp_v1_backup_policy_proto_rawDesc |
| ) |
| |
| func file_google_cloud_netapp_v1_backup_policy_proto_rawDescGZIP() []byte { |
| file_google_cloud_netapp_v1_backup_policy_proto_rawDescOnce.Do(func() { |
| file_google_cloud_netapp_v1_backup_policy_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_netapp_v1_backup_policy_proto_rawDescData) |
| }) |
| return file_google_cloud_netapp_v1_backup_policy_proto_rawDescData |
| } |
| |
| var file_google_cloud_netapp_v1_backup_policy_proto_enumTypes = make([]protoimpl.EnumInfo, 1) |
| var file_google_cloud_netapp_v1_backup_policy_proto_msgTypes = make([]protoimpl.MessageInfo, 8) |
| var file_google_cloud_netapp_v1_backup_policy_proto_goTypes = []interface{}{ |
| (BackupPolicy_State)(0), // 0: google.cloud.netapp.v1.BackupPolicy.State |
| (*BackupPolicy)(nil), // 1: google.cloud.netapp.v1.BackupPolicy |
| (*CreateBackupPolicyRequest)(nil), // 2: google.cloud.netapp.v1.CreateBackupPolicyRequest |
| (*GetBackupPolicyRequest)(nil), // 3: google.cloud.netapp.v1.GetBackupPolicyRequest |
| (*ListBackupPoliciesRequest)(nil), // 4: google.cloud.netapp.v1.ListBackupPoliciesRequest |
| (*ListBackupPoliciesResponse)(nil), // 5: google.cloud.netapp.v1.ListBackupPoliciesResponse |
| (*UpdateBackupPolicyRequest)(nil), // 6: google.cloud.netapp.v1.UpdateBackupPolicyRequest |
| (*DeleteBackupPolicyRequest)(nil), // 7: google.cloud.netapp.v1.DeleteBackupPolicyRequest |
| nil, // 8: google.cloud.netapp.v1.BackupPolicy.LabelsEntry |
| (*timestamppb.Timestamp)(nil), // 9: google.protobuf.Timestamp |
| (*fieldmaskpb.FieldMask)(nil), // 10: google.protobuf.FieldMask |
| } |
| var file_google_cloud_netapp_v1_backup_policy_proto_depIdxs = []int32{ |
| 9, // 0: google.cloud.netapp.v1.BackupPolicy.create_time:type_name -> google.protobuf.Timestamp |
| 8, // 1: google.cloud.netapp.v1.BackupPolicy.labels:type_name -> google.cloud.netapp.v1.BackupPolicy.LabelsEntry |
| 0, // 2: google.cloud.netapp.v1.BackupPolicy.state:type_name -> google.cloud.netapp.v1.BackupPolicy.State |
| 1, // 3: google.cloud.netapp.v1.CreateBackupPolicyRequest.backup_policy:type_name -> google.cloud.netapp.v1.BackupPolicy |
| 1, // 4: google.cloud.netapp.v1.ListBackupPoliciesResponse.backup_policies:type_name -> google.cloud.netapp.v1.BackupPolicy |
| 10, // 5: google.cloud.netapp.v1.UpdateBackupPolicyRequest.update_mask:type_name -> google.protobuf.FieldMask |
| 1, // 6: google.cloud.netapp.v1.UpdateBackupPolicyRequest.backup_policy:type_name -> google.cloud.netapp.v1.BackupPolicy |
| 7, // [7:7] is the sub-list for method output_type |
| 7, // [7:7] is the sub-list for method input_type |
| 7, // [7:7] is the sub-list for extension type_name |
| 7, // [7:7] is the sub-list for extension extendee |
| 0, // [0:7] is the sub-list for field type_name |
| } |
| |
| func init() { file_google_cloud_netapp_v1_backup_policy_proto_init() } |
| func file_google_cloud_netapp_v1_backup_policy_proto_init() { |
| if File_google_cloud_netapp_v1_backup_policy_proto != nil { |
| return |
| } |
| if !protoimpl.UnsafeEnabled { |
| file_google_cloud_netapp_v1_backup_policy_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*BackupPolicy); 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_policy_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*CreateBackupPolicyRequest); 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_policy_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*GetBackupPolicyRequest); 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_policy_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*ListBackupPoliciesRequest); 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_policy_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*ListBackupPoliciesResponse); 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_policy_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*UpdateBackupPolicyRequest); 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_policy_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*DeleteBackupPolicyRequest); 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_policy_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_policy_proto_rawDesc, |
| NumEnums: 1, |
| NumMessages: 8, |
| NumExtensions: 0, |
| NumServices: 0, |
| }, |
| GoTypes: file_google_cloud_netapp_v1_backup_policy_proto_goTypes, |
| DependencyIndexes: file_google_cloud_netapp_v1_backup_policy_proto_depIdxs, |
| EnumInfos: file_google_cloud_netapp_v1_backup_policy_proto_enumTypes, |
| MessageInfos: file_google_cloud_netapp_v1_backup_policy_proto_msgTypes, |
| }.Build() |
| File_google_cloud_netapp_v1_backup_policy_proto = out.File |
| file_google_cloud_netapp_v1_backup_policy_proto_rawDesc = nil |
| file_google_cloud_netapp_v1_backup_policy_proto_goTypes = nil |
| file_google_cloud_netapp_v1_backup_policy_proto_depIdxs = nil |
| } |