# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/baremetalsolution/v2/volume.proto require 'google/protobuf' require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/cloud/baremetalsolution/v2/common_pb' require 'google/protobuf/field_mask_pb' require 'google/protobuf/timestamp_pb' descriptor_data = "\n.google/cloud/baremetalsolution/v2/volume.proto\x12!google.cloud.baremetalsolution.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a.google/cloud/baremetalsolution/v2/common.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xec\x0e\n\x06Volume\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\n\n\x02id\x18\x0b \x01(\t\x12K\n\x0cstorage_type\x18\x02 \x01(\x0e\x32\x35.google.cloud.baremetalsolution.v2.Volume.StorageType\x12>\n\x05state\x18\x03 \x01(\x0e\x32/.google.cloud.baremetalsolution.v2.Volume.State\x12\x1a\n\x12requested_size_gib\x18\x04 \x01(\x03\x12%\n\x1doriginally_requested_size_gib\x18\x10 \x01(\x03\x12\x18\n\x10\x63urrent_size_gib\x18\x05 \x01(\x03\x12\x1a\n\x12\x65mergency_size_gib\x18\x0e \x01(\x03\x12\x14\n\x0cmax_size_gib\x18\x11 \x01(\x03\x12\x1b\n\x13\x61uto_grown_size_gib\x18\x06 \x01(\x03\x12\x1b\n\x13remaining_space_gib\x18\x07 \x01(\x03\x12h\n\x1bsnapshot_reservation_detail\x18\x08 \x01(\x0b\x32\x43.google.cloud.baremetalsolution.v2.Volume.SnapshotReservationDetail\x12k\n\x1dsnapshot_auto_delete_behavior\x18\t \x01(\x0e\x32\x44.google.cloud.baremetalsolution.v2.Volume.SnapshotAutoDeleteBehavior\x12\x45\n\x06labels\x18\x0c \x03(\x0b\x32\x35.google.cloud.baremetalsolution.v2.Volume.LabelsEntry\x12\x18\n\x10snapshot_enabled\x18\r \x01(\x08\x12\x10\n\x03pod\x18\x0f \x01(\tB\x03\xe0\x41\x05\x12I\n\x08protocol\x18\x12 \x01(\x0e\x32\x32.google.cloud.baremetalsolution.v2.Volume.ProtocolB\x03\xe0\x41\x03\x12\x18\n\x0b\x62oot_volume\x18\x13 \x01(\x08\x42\x03\xe0\x41\x03\x12W\n\x10performance_tier\x18\x14 \x01(\x0e\x32\x38.google.cloud.baremetalsolution.v2.VolumePerformanceTierB\x03\xe0\x41\x05\x12\x12\n\x05notes\x18\x15 \x01(\tB\x03\xe0\x41\x04\x12S\n\x10workload_profile\x18\x16 \x01(\x0e\x32\x39.google.cloud.baremetalsolution.v2.Volume.WorkloadProfile\x12\x34\n\x0b\x65xpire_time\x18\x18 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x44\n\tinstances\x18\x19 \x03(\tB1\xe0\x41\x03\xfa\x41+\n)baremetalsolution.googleapis.com/Instance\x12\x15\n\x08\x61ttached\x18\x1a \x01(\x08\x42\x03\xe0\x41\x03\x1a\xa2\x01\n\x19SnapshotReservationDetail\x12\x1a\n\x12reserved_space_gib\x18\x01 \x01(\x03\x12#\n\x1breserved_space_used_percent\x18\x02 \x01(\x05\x12$\n\x1creserved_space_remaining_gib\x18\x03 \x01(\x03\x12\x1e\n\x16reserved_space_percent\x18\x04 \x01(\x05\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"=\n\x0bStorageType\x12\x1c\n\x18STORAGE_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03SSD\x10\x01\x12\x07\n\x03HDD\x10\x02\"a\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\x0c\n\x08UPDATING\x10\x04\x12\x0c\n\x08\x43OOL_OFF\x10\x05\"}\n\x1aSnapshotAutoDeleteBehavior\x12-\n)SNAPSHOT_AUTO_DELETE_BEHAVIOR_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x44ISABLED\x10\x01\x12\x10\n\x0cOLDEST_FIRST\x10\x02\x12\x10\n\x0cNEWEST_FIRST\x10\x03\"@\n\x08Protocol\x12\x18\n\x14PROTOCOL_UNSPECIFIED\x10\x00\x12\x11\n\rFIBRE_CHANNEL\x10\x01\x12\x07\n\x03NFS\x10\x02\"J\n\x0fWorkloadProfile\x12 \n\x1cWORKLOAD_PROFILE_UNSPECIFIED\x10\x00\x12\x0b\n\x07GENERIC\x10\x01\x12\x08\n\x04HANA\x10\x02:f\xea\x41\x63\n\'baremetalsolution.googleapis.com/Volume\x12\x38projects/{project}/locations/{location}/volumes/{volume}\"Q\n\x10GetVolumeRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'baremetalsolution.googleapis.com/Volume\"\x86\x01\n\x12ListVolumesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"\x7f\n\x13ListVolumesResponse\x12:\n\x07volumes\x18\x01 \x03(\x0b\x32).google.cloud.baremetalsolution.v2.Volume\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\x86\x01\n\x13UpdateVolumeRequest\x12>\n\x06volume\x18\x01 \x01(\x0b\x32).google.cloud.baremetalsolution.v2.VolumeB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"p\n\x13RenameVolumeRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'baremetalsolution.googleapis.com/Volume\x12\x1a\n\rnew_volume_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\"S\n\x12\x45victVolumeRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'baremetalsolution.googleapis.com/Volume\"h\n\x13ResizeVolumeRequest\x12?\n\x06volume\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'baremetalsolution.googleapis.com/Volume\x12\x10\n\x08size_gib\x18\x02 \x01(\x03\x42\xfa\x01\n%com.google.cloud.baremetalsolution.v2B\x0bVolumeProtoP\x01ZScloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb;baremetalsolutionpb\xaa\x02!Google.Cloud.BareMetalSolution.V2\xca\x02!Google\\Cloud\\BareMetalSolution\\V2\xea\x02$Google::Cloud::BareMetalSolution::V2b\x06proto3" pool = Google::Protobuf::DescriptorPool.generated_pool begin pool.add_serialized_file(descriptor_data) rescue TypeError => e # Compatibility code: will be removed in the next major version. require 'google/protobuf/descriptor_pb' parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) parsed.clear_dependency serialized = parsed.class.encode(parsed) file = pool.add_serialized_file(serialized) warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" imports = [ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"], ] imports.each do |type_name, expected_filename| import_file = pool.lookup(type_name).file_descriptor if import_file.name != expected_filename warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" end end warn "Each proto file must use a consistent fully-qualified name." warn "This will become an error in the next major version." end module Google module Cloud module BareMetalSolution module V2 Volume = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.baremetalsolution.v2.Volume").msgclass Volume::SnapshotReservationDetail = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.baremetalsolution.v2.Volume.SnapshotReservationDetail").msgclass Volume::StorageType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.baremetalsolution.v2.Volume.StorageType").enummodule Volume::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.baremetalsolution.v2.Volume.State").enummodule Volume::SnapshotAutoDeleteBehavior = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.baremetalsolution.v2.Volume.SnapshotAutoDeleteBehavior").enummodule Volume::Protocol = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.baremetalsolution.v2.Volume.Protocol").enummodule Volume::WorkloadProfile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.baremetalsolution.v2.Volume.WorkloadProfile").enummodule GetVolumeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.baremetalsolution.v2.GetVolumeRequest").msgclass ListVolumesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.baremetalsolution.v2.ListVolumesRequest").msgclass ListVolumesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.baremetalsolution.v2.ListVolumesResponse").msgclass UpdateVolumeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.baremetalsolution.v2.UpdateVolumeRequest").msgclass RenameVolumeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.baremetalsolution.v2.RenameVolumeRequest").msgclass EvictVolumeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.baremetalsolution.v2.EvictVolumeRequest").msgclass ResizeVolumeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.baremetalsolution.v2.ResizeVolumeRequest").msgclass end end end end