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

require 'google/protobuf'

require 'google/api/field_behavior_pb'


descriptor_data = "\n2google/cloud/capacityplanner/v1beta/resource.proto\x12#google.cloud.capacityplanner.v1beta\x1a\x1fgoogle/api/field_behavior.proto\"\xaf\x01\n\x11ResourceContainer\x12I\n\x04type\x18\x01 \x01(\x0e\x32;.google.cloud.capacityplanner.v1beta.ResourceContainer.Type\x12\x0f\n\x02id\x18\x02 \x01(\tB\x03\xe0\x41\x02\">\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PROJECT\x10\x01\x12\n\n\x06\x46OLDER\x10\x02\x12\x07\n\x03ORG\x10\x03\"\x91\x01\n\rResourceIdKey\x12\x1c\n\rresource_code\x18\x02 \x01(\tB\x03\xe0\x41\x02H\x00\x12Q\n\x0bresource_id\x18\x01 \x01(\x0b\x32\x37.google.cloud.capacityplanner.v1beta.ResourceIdentifierB\x03\xe0\x41\x02\x42\x0f\n\rdemand_fields\"\x96\x01\n\x12ResourceIdentifier\x12\x14\n\x0cservice_name\x18\x01 \x01(\t\x12\x15\n\rresource_name\x18\x02 \x01(\t\x12S\n\x13resource_attributes\x18\x03 \x03(\x0b\x32\x36.google.cloud.capacityplanner.v1beta.ResourceAttribute\"c\n\x11ResourceAttribute\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x41\n\x05value\x18\x02 \x01(\x0b\x32\x32.google.cloud.capacityplanner.v1beta.ResourceValue\"\x83\x01\n\rResourceValue\x12\x37\n\x04unit\x18\x01 \x01(\x0e\x32).google.cloud.capacityplanner.v1beta.Unit\x12\x39\n\x05value\x18\x02 \x01(\x0b\x32*.google.cloud.capacityplanner.v1beta.Value\"m\n\x05Value\x12\x15\n\x0bint64_value\x18\x01 \x01(\x03H\x00\x12\x16\n\x0cstring_value\x18\x02 \x01(\tH\x00\x12\x16\n\x0c\x64ouble_value\x18\x03 \x01(\x01H\x00\x12\x14\n\nbool_value\x18\x04 \x01(\x08H\x00\x42\x07\n\x05value*\xec\x01\n\x04Unit\x12\x14\n\x10UNIT_UNSPECIFIED\x10\x00\x12\x0e\n\nUNIT_COUNT\x10\x01\x12\x06\n\x02KB\x10\x02\x12\x06\n\x02GB\x10\x03\x12\x06\n\x02TB\x10\x04\x12\x07\n\x03MIB\x10\x11\x12\x07\n\x03GIB\x10\x05\x12\x07\n\x03TIB\x10\x06\x12\x07\n\x03QPS\x10\x07\x12\x06\n\x02MB\x10\x08\x12\x07\n\x03PIB\x10\t\x12\x0c\n\x04TBPS\x10\n\x1a\x02\x08\x01\x12\r\n\tGBPS_BITS\x10\x0b\x12\x0c\n\x08GIB_BITS\x10\x0c\x12\r\n\tMBPS_BITS\x10\r\x12\x0e\n\nMBPS_BYTES\x10\x0e\x12\r\n\tTBPS_BITS\x10\x0f\x12\x0e\n\nTBPS_BYTES\x10\x10\x12\x08\n\x04KOPS\x10\x12\x42\x82\x02\n\'com.google.cloud.capacityplanner.v1betaB\rResourceProtoP\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 = [
  ]
  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
        ResourceContainer = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.capacityplanner.v1beta.ResourceContainer").msgclass
        ResourceContainer::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.capacityplanner.v1beta.ResourceContainer.Type").enummodule
        ResourceIdKey = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.capacityplanner.v1beta.ResourceIdKey").msgclass
        ResourceIdentifier = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.capacityplanner.v1beta.ResourceIdentifier").msgclass
        ResourceAttribute = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.capacityplanner.v1beta.ResourceAttribute").msgclass
        ResourceValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.capacityplanner.v1beta.ResourceValue").msgclass
        Value = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.capacityplanner.v1beta.Value").msgclass
        Unit = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.capacityplanner.v1beta.Unit").enummodule
      end
    end
  end
end
