# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/capacityplanner/v1beta/allocation.proto

require 'google/protobuf'

require 'google/protobuf/timestamp_pb'


descriptor_data = "\n4google/cloud/capacityplanner/v1beta/allocation.proto\x12#google.cloud.capacityplanner.v1beta\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd4\r\n\nAllocation\x12\x64\n\x13specific_allocation\x18\x06 \x01(\x0b\x32\x45.google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocationH\x00\x12\n\n\x02id\x18\x01 \x01(\x03\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04zone\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x12\n\nallocation\x18\x05 \x01(\t\x12\x18\n\x10owner_project_id\x18\n \x01(\t\x12\x46\n\x06status\x18\x07 \x01(\x0e\x32\x36.google.cloud.capacityplanner.v1beta.Allocation.Status\x12U\n\x0eshare_settings\x18\x08 \x01(\x0b\x32=.google.cloud.capacityplanner.v1beta.Allocation.ShareSettings\x12\x34\n\x10\x61uto_delete_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a\x85\x07\n\x15SpecificSKUAllocation\x12~\n\x13instance_properties\x18\x01 \x01(\x0b\x32\x61.google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties\x12\r\n\x05\x63ount\x18\x02 \x01(\x03\x12\x12\n\nused_count\x18\x03 \x01(\x03\x12\x15\n\rassured_count\x18\x04 \x01(\x03\x1a\xb1\x05\n\x1b\x41llocatedInstanceProperties\x12\x14\n\x0cmachine_type\x18\x01 \x01(\t\x12\x8e\x01\n\x11guest_accelerator\x18\x02 \x03(\x0b\x32s.google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig\x12\x18\n\x10min_cpu_platform\x18\x03 \x01(\t\x12\x82\x01\n\tlocal_ssd\x18\x04 \x03(\x0b\x32o.google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk\x1a\x30\n\x11\x41\x63\x63\x65leratorConfig\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\r\n\x05\x63ount\x18\x02 \x01(\x05\x1a\x99\x02\n\rAllocatedDisk\x12\x14\n\x0c\x64isk_size_gb\x18\x01 \x01(\x03\x12\x95\x01\n\x0e\x64isk_interface\x18\x02 \x01(\x0e\x32}.google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk.DiskInterface\"Z\n\rDiskInterface\x12\x1e\n\x1a\x44ISK_INTERFACE_UNSPECIFIED\x10\x00\x12\x08\n\x04SCSI\x10\x01\x12\x08\n\x04NVME\x10\x02\x12\n\n\x06NVDIMM\x10\x03\x12\t\n\x05ISCSI\x10\x04\x1a\x88\x02\n\rShareSettings\x12[\n\nshare_type\x18\x01 \x01(\x0e\x32G.google.cloud.capacityplanner.v1beta.Allocation.ShareSettings.ShareType\x12\x10\n\x08projects\x18\x02 \x03(\t\"\x87\x01\n\tShareType\x12\x1a\n\x16SHARE_TYPE_UNSPECIFIED\x10\x00\x12\x10\n\x0cORGANIZATION\x10\x01\x12\x15\n\x11SPECIFIC_PROJECTS\x10\x02\x12\t\n\x05LOCAL\x10\x03\x12*\n&DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS\x10\x04\"b\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0b\n\x07INVALID\x10\x01\x12\x0c\n\x08\x43REATING\x10\x02\x12\t\n\x05READY\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\x0c\n\x08UPDATING\x10\x05\x42\x06\n\x04typeB\x84\x02\n\'com.google.cloud.capacityplanner.v1betaB\x0f\x41llocationProtoP\x01ZQcloud.google.com/go/capacityplanner/apiv1beta/capacityplannerpb;capacityplannerpb\xaa\x02#Google.Cloud.CapacityPlanner.V1Beta\xca\x02#Google\\Cloud\\CapacityPlanner\\V1beta\xea\x02&Google::Cloud::CapacityPlanner::V1betab\x06proto3"

pool = Google::Protobuf::DescriptorPool.generated_pool

begin
  pool.add_serialized_file(descriptor_data)
rescue TypeError
  # 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"],
  ]
  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 CapacityPlanner
      module V1beta
        Allocation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.capacityplanner.v1beta.Allocation").msgclass
        Allocation::SpecificSKUAllocation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation").msgclass
        Allocation::SpecificSKUAllocation::AllocatedInstanceProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties").msgclass
        Allocation::SpecificSKUAllocation::AllocatedInstanceProperties::AcceleratorConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig").msgclass
        Allocation::SpecificSKUAllocation::AllocatedInstanceProperties::AllocatedDisk = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk").msgclass
        Allocation::SpecificSKUAllocation::AllocatedInstanceProperties::AllocatedDisk::DiskInterface = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk.DiskInterface").enummodule
        Allocation::ShareSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.capacityplanner.v1beta.Allocation.ShareSettings").msgclass
        Allocation::ShareSettings::ShareType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.capacityplanner.v1beta.Allocation.ShareSettings.ShareType").enummodule
        Allocation::Status = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.capacityplanner.v1beta.Allocation.Status").enummodule
      end
    end
  end
end
