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

require 'google/protobuf'

require 'google/api/annotations_pb'
require 'google/api/client_pb'
require 'google/api/field_behavior_pb'
require 'google/api/resource_pb'
require 'google/cloud/capacityplanner/v1beta/allocation_pb'
require 'google/cloud/capacityplanner/v1beta/future_reservation_pb'
require 'google/longrunning/operations_pb'
require 'google/protobuf/timestamp_pb'
require 'google/type/date_pb'


descriptor_data = "\n7google/cloud/capacityplanner/v1beta/usage_service.proto\x12#google.cloud.capacityplanner.v1beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x34google/cloud/capacityplanner/v1beta/allocation.proto\x1a<google/cloud/capacityplanner/v1beta/future_reservation.proto\x1a#google/longrunning/operations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x16google/type/date.proto\"\xf4\x04\n\x1aQueryUsageHistoriesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12Y\n\x0elocation_level\x18\x0b \x01(\x0e\x32<.google.cloud.capacityplanner.v1beta.TimeSeries.LocationTypeB\x03\xe0\x41\x01\x12\x14\n\x07is_spot\x18\x0e \x01(\x08\x42\x03\xe0\x41\x01\x12\x16\n\x0emachine_family\x18\x02 \x01(\t\x12M\n\rmachine_shape\x18\r \x01(\x0b\x32\x31.google.cloud.capacityplanner.v1beta.MachineShapeB\x03\xe0\x41\x01\x12\x16\n\tdisk_type\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12\x1e\n\x11\x63onfidential_mode\x18\x0f \x01(\x08\x42\x03\xe0\x41\x01\x12\x15\n\x08gpu_type\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08tpu_type\x18\x0c \x01(\tB\x03\xe0\x41\x01\x12 \n\x13\x63loud_resource_type\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x65\n\x18usage_aggregation_method\x18\x04 \x01(\x0e\x32\x43.google.cloud.capacityplanner.v1beta.UsageHistory.AggregationMethod\x12*\n\nstart_date\x18\t \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x01\x12(\n\x08\x65nd_date\x18\n \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x01\"i\n\x1bQueryUsageHistoriesResponse\x12J\n\x0fusage_histories\x18\x01 \x03(\x0b\x32\x31.google.cloud.capacityplanner.v1beta.UsageHistory\"\xd4\x04\n\x15QueryForecastsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x16\n\x0emachine_family\x18\x02 \x01(\t\x12M\n\rmachine_shape\x18\x0c \x01(\x0b\x32\x31.google.cloud.capacityplanner.v1beta.MachineShapeB\x03\xe0\x41\x01\x12\x16\n\tdisk_type\x18\t \x01(\tB\x03\xe0\x41\x01\x12\x1e\n\x11\x63onfidential_mode\x18\r \x01(\x08\x42\x03\xe0\x41\x01\x12\x15\n\x08gpu_type\x18\n \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08tpu_type\x18\x0b \x01(\tB\x03\xe0\x41\x01\x12 \n\x13\x63loud_resource_type\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12Q\n\rforecast_type\x18\x04 \x01(\x0e\x32:.google.cloud.capacityplanner.v1beta.Forecast.ForecastType\x12]\n\x13prediction_interval\x18\x05 \x01(\x0e\x32@.google.cloud.capacityplanner.v1beta.Forecast.PredictionInterval\x12_\n\x12\x61ggregation_method\x18\x08 \x01(\x0e\x32\x43.google.cloud.capacityplanner.v1beta.UsageHistory.AggregationMethod\"Z\n\x16QueryForecastsResponse\x12@\n\tforecasts\x18\x01 \x03(\x0b\x32-.google.cloud.capacityplanner.v1beta.Forecast\"\xf1\x0b\n\x18QueryReservationsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12Y\n\x0elocation_level\x18\x10 \x01(\x0e\x32<.google.cloud.capacityplanner.v1beta.TimeSeries.LocationTypeB\x03\xe0\x41\x01\x12\x1b\n\x0emachine_family\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12M\n\rmachine_shape\x18\x0b \x01(\x0b\x32\x31.google.cloud.capacityplanner.v1beta.MachineShapeB\x03\xe0\x41\x01\x12\x15\n\x08gpu_type\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12 \n\x13\x63loud_resource_type\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12l\n\x10reservation_type\x18\x05 \x01(\x0e\x32M.google.cloud.capacityplanner.v1beta.QueryReservationsRequest.ReservationTypeB\x03\xe0\x41\x02\x12`\n\nshare_type\x18\x06 \x01(\x0e\x32G.google.cloud.capacityplanner.v1beta.QueryReservationsRequest.ShareTypeB\x03\xe0\x41\x01\x12h\n\x0eownership_type\x18\x07 \x01(\x0e\x32K.google.cloud.capacityplanner.v1beta.QueryReservationsRequest.OwnershipTypeB\x03\xe0\x41\x01\x12w\n\x16reservation_data_level\x18\x08 \x01(\x0e\x32R.google.cloud.capacityplanner.v1beta.QueryReservationsRequest.ReservationDataLevelB\x03\xe0\x41\x02\x12,\n\x1finclude_unapproved_reservations\x18\x0c \x01(\x08\x42\x03\xe0\x41\x01\x12\x64\n\x12\x61ggregation_method\x18\r \x01(\x0e\x32\x43.google.cloud.capacityplanner.v1beta.UsageHistory.AggregationMethodB\x03\xe0\x41\x01\x12*\n\nstart_date\x18\x0e \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x01\x12(\n\x08\x65nd_date\x18\x0f \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x01\"\x97\x01\n\x0fReservationType\x12 \n\x1cRESERVATION_TYPE_UNSPECIFIED\x10\x00\x12\x1f\n\x1bRESERVATION_TYPE_ALLOCATION\x10\x01\x12\'\n#RESERVATION_TYPE_FUTURE_RESERVATION\x10\x02\x12\x18\n\x14RESERVATION_TYPE_ALL\x10\x03\"_\n\tShareType\x12\x1a\n\x16SHARE_TYPE_UNSPECIFIED\x10\x00\x12\x14\n\x10SHARE_TYPE_LOCAL\x10\x01\x12 \n\x1cSHARE_TYPE_SPECIFIC_PROJECTS\x10\x02\"n\n\rOwnershipType\x12\x1e\n\x1aOWNERSHIP_TYPE_UNSPECIFIED\x10\x00\x12\x18\n\x14OWNERSHIP_TYPE_OWNED\x10\x01\x12#\n\x1fOWNERSHIP_TYPE_SHARED_BY_OTHERS\x10\x02\"\x91\x01\n\x14ReservationDataLevel\x12&\n\"RESERVATION_DATA_LEVEL_UNSPECIFIED\x10\x00\x12%\n!RESERVATION_DATA_LEVEL_AGGREGATED\x10\x01\x12*\n&RESERVATION_DATA_LEVEL_PER_RESERVATION\x10\x02\"g\n\x19QueryReservationsResponse\x12J\n\x0creservations\x18\x01 \x03(\x0b\x32\x34.google.cloud.capacityplanner.v1beta.ReservationData\"F\n\x05Point\x12.\n\nevent_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\r\n\x05value\x18\x02 \x01(\x01\"\xf4\x07\n\x08\x46orecast\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x44\n\x0btime_series\x18\x02 \x01(\x0b\x32/.google.cloud.capacityplanner.v1beta.TimeSeries\x12Q\n\rforecast_type\x18\x03 \x01(\x0e\x32:.google.cloud.capacityplanner.v1beta.Forecast.ForecastType\x12\x44\n\x06\x62ounds\x18\x04 \x01(\x0e\x32\x34.google.cloud.capacityplanner.v1beta.Forecast.Bounds\x12]\n\x13prediction_interval\x18\x05 \x01(\x0e\x32@.google.cloud.capacityplanner.v1beta.Forecast.PredictionInterval\x12_\n\x12\x61ggregation_method\x18\x06 \x01(\x0e\x32\x43.google.cloud.capacityplanner.v1beta.UsageHistory.AggregationMethod\"q\n\x0c\x46orecastType\x12\x1d\n\x19\x46ORECAST_TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bSTATISTICAL\x10\x01\x12\x19\n\x15STATISTICAL_WITH_BFCM\x10\x02\x12\x16\n\x12YEARLY_SEASONALITY\x10\x03\"N\n\x06\x42ounds\x12\x16\n\x12\x42OUNDS_UNSPECIFIED\x10\x00\x12\x0f\n\x0bLOWER_BOUND\x10\x01\x12\n\n\x06MEDIAN\x10\x02\x12\x0f\n\x0bUPPER_BOUND\x10\x03\"q\n\x12PredictionInterval\x12#\n\x1fPREDICTION_INTERVAL_UNSPECIFIED\x10\x00\x12\x1a\n\x16PREDICTION_INTERVAL_90\x10\x01\x12\x1a\n\x16PREDICTION_INTERVAL_50\x10\x02:\x84\x02\xea\x41\x80\x02\n\'capacityplanner.googleapis.com/Forecast\x12<projects/{project}/locations/{location}/forecasts/{forecast}\x12\x46organizations/{organization}/locations/{location}/forecasts/{forecast}\x12:folders/{folder}/locations/{location}/forecasts/{forecast}*\tforecasts2\x08\x66orecast\"\x9f\x02\n\x0cUsageHistory\x12\x44\n\x0btime_series\x18\x01 \x01(\x0b\x32/.google.cloud.capacityplanner.v1beta.TimeSeries\x12_\n\x12\x61ggregation_method\x18\x02 \x01(\x0e\x32\x43.google.cloud.capacityplanner.v1beta.UsageHistory.AggregationMethod\"h\n\x11\x41ggregationMethod\x12\"\n\x1e\x41GGREGATION_METHOD_UNSPECIFIED\x10\x00\x12\n\n\x06MEDIAN\x10\x01\x12\x08\n\x04PEAK\x10\x02\x12\x07\n\x03P50\x10\x03\x12\x07\n\x03P75\x10\x04\x12\x07\n\x03P99\x10\x05\"\xfb\x03\n\nTimeSeries\x12X\n\rlocation_type\x18\x01 \x01(\x0e\x32<.google.cloud.capacityplanner.v1beta.TimeSeries.LocationTypeB\x03\xe0\x41\x02\x12\x15\n\x08location\x18\t \x01(\tB\x03\xe0\x41\x01\x12\x14\n\x07is_spot\x18\x0b \x01(\x08\x42\x03\xe0\x41\x01\x12\x16\n\x0emachine_family\x18\x02 \x01(\t\x12\x11\n\tdisk_type\x18\x06 \x01(\t\x12\x1e\n\x11\x63onfidential_mode\x18\x0c \x01(\x08\x42\x03\xe0\x41\x01\x12\x10\n\x08gpu_type\x18\x07 \x01(\t\x12\x10\n\x08tpu_type\x18\n \x01(\t\x12H\n\rmachine_shape\x18\x08 \x01(\x0b\x32\x31.google.cloud.capacityplanner.v1beta.MachineShape\x12\x1b\n\x13\x63loud_resource_type\x18\x03 \x01(\t\x12:\n\x06points\x18\x04 \x03(\x0b\x32*.google.cloud.capacityplanner.v1beta.Point\x12\x0c\n\x04unit\x18\x05 \x01(\t\"F\n\x0cLocationType\x12\x1d\n\x19LOCATION_TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08REGIONAL\x10\x01\x12\t\n\x05ZONAL\x10\x02\"\xf9\x04\n\x0fReservationData\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x44\n\x0btime_series\x18\x02 \x01(\x0b\x32/.google.cloud.capacityplanner.v1beta.TimeSeries\x12P\n\x17used_reservation_values\x18\x05 \x01(\x0b\x32/.google.cloud.capacityplanner.v1beta.TimeSeries\x12S\n\x13\x66uture_reservations\x18\x03 \x03(\x0b\x32\x36.google.cloud.capacityplanner.v1beta.FutureReservation\x12\x44\n\x0b\x61llocations\x18\x04 \x03(\x0b\x32/.google.cloud.capacityplanner.v1beta.Allocation:\x9f\x02\xea\x41\x9b\x02\n*capacityplanner.googleapis.com/Reservation\x12\x42projects/{project}/locations/{location}/reservations/{reservation}\x12Lorganizations/{organization}/locations/{location}/reservations/{reservation}\x12@folders/{folder}/locations/{location}/reservations/{reservation}*\x0creservations2\x0breservation\"\xdf\x02\n\x0cMachineShape\x12\x1b\n\x0emachine_family\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0cmachine_type\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rmachine_shape\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tcpu_cores\x18\x04 \x01(\x01\x42\x03\xe0\x41\x01\x12\x15\n\x08gpu_type\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x1d\n\x10gpu_compute_type\x18\n \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tgpu_cores\x18\x06 \x01(\x03\x42\x03\xe0\x41\x01\x12!\n\x14local_ssd_partitions\x18\x07 \x01(\x03\x42\x03\xe0\x41\x01\x12\x19\n\x0clocal_ssd_gb\x18\x08 \x01(\x01\x42\x03\xe0\x41\x01\x12\x16\n\tmemory_gb\x18\t \x01(\x01\x42\x03\xe0\x41\x01\x12 \n\x13local_ssd_interface\x18\x0b \x01(\tB\x03\xe0\x41\x01\x12\x1d\n\x10min_cpu_platform\x18\x0c \x01(\tB\x03\xe0\x41\x01\"\xcd\x04\n\x1b\x45xportUsageHistoriesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x14\n\x07is_spot\x18\x0b \x01(\x08\x42\x03\xe0\x41\x01\x12\x1b\n\x0emachine_family\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12M\n\rmachine_shape\x18\r \x01(\x0b\x32\x31.google.cloud.capacityplanner.v1beta.MachineShapeB\x03\xe0\x41\x01\x12\x16\n\tdisk_type\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08gpu_type\x18\t \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08tpu_type\x18\n \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rresource_type\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12j\n\x18usage_aggregation_method\x18\x05 \x01(\x0e\x32\x43.google.cloud.capacityplanner.v1beta.UsageHistory.AggregationMethodB\x03\xe0\x41\x01\x12*\n\nstart_date\x18\x06 \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x01\x12(\n\x08\x65nd_date\x18\x07 \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x01\x12M\n\routput_config\x18\x08 \x01(\x0b\x32\x31.google.cloud.capacityplanner.v1beta.OutputConfigB\x03\xe0\x41\x02\"\x90\x05\n\x16\x45xportForecastsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x1b\n\x0emachine_family\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12M\n\rmachine_shape\x18\x0c \x01(\x0b\x32\x31.google.cloud.capacityplanner.v1beta.MachineShapeB\x03\xe0\x41\x01\x12\x16\n\tdisk_type\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08gpu_type\x18\n \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08tpu_type\x18\x0b \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rresource_type\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x62\n\x13prediction_interval\x18\x05 \x01(\x0e\x32@.google.cloud.capacityplanner.v1beta.Forecast.PredictionIntervalB\x03\xe0\x41\x01\x12\x64\n\x12\x61ggregation_method\x18\x06 \x01(\x0e\x32\x43.google.cloud.capacityplanner.v1beta.UsageHistory.AggregationMethodB\x03\xe0\x41\x01\x12*\n\nstart_date\x18\x07 \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x01\x12(\n\x08\x65nd_date\x18\x08 \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x01\x12M\n\routput_config\x18\t \x01(\x0b\x32\x31.google.cloud.capacityplanner.v1beta.OutputConfigB\x03\xe0\x41\x02\"\xc7\x06\n\x1e\x45xportReservationsUsageRequest\x12\x1d\n\x0emachine_family\x18\x02 \x01(\tB\x03\xe0\x41\x01H\x00\x12O\n\rmachine_shape\x18\x03 \x01(\x0b\x32\x31.google.cloud.capacityplanner.v1beta.MachineShapeB\x03\xe0\x41\x01H\x00\x12\x17\n\x08gpu_type\x18\x04 \x01(\tB\x03\xe0\x41\x01H\x00\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12Y\n\x0elocation_level\x18\x0b \x01(\x0e\x32<.google.cloud.capacityplanner.v1beta.TimeSeries.LocationTypeB\x03\xe0\x41\x01\x12 \n\x13\x63loud_resource_type\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12j\n\x18usage_aggregation_method\x18\x06 \x01(\x0e\x32\x43.google.cloud.capacityplanner.v1beta.UsageHistory.AggregationMethodB\x03\xe0\x41\x02\x12\x66\n\nshare_type\x18\x07 \x01(\x0e\x32M.google.cloud.capacityplanner.v1beta.ExportReservationsUsageRequest.ShareTypeB\x03\xe0\x41\x01\x12*\n\nstart_date\x18\x08 \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x01\x12(\n\x08\x65nd_date\x18\t \x01(\x0b\x32\x11.google.type.DateB\x03\xe0\x41\x01\x12M\n\routput_config\x18\n \x01(\x0b\x32\x31.google.cloud.capacityplanner.v1beta.OutputConfigB\x03\xe0\x41\x02\"_\n\tShareType\x12\x1a\n\x16SHARE_TYPE_UNSPECIFIED\x10\x00\x12\x14\n\x10SHARE_TYPE_LOCAL\x10\x01\x12 \n\x1cSHARE_TYPE_SPECIFIC_PROJECTS\x10\x02\x42\n\n\x08resource\"\xc7\x01\n\x0cOutputConfig\x12N\n\x0fgcs_destination\x18\x01 \x01(\x0b\x32\x33.google.cloud.capacityplanner.v1beta.GcsDestinationH\x00\x12X\n\x14\x62igquery_destination\x18\x02 \x01(\x0b\x32\x38.google.cloud.capacityplanner.v1beta.BigQueryDestinationH\x00\x42\r\n\x0b\x64\x65stination\"`\n\x0eGcsDestination\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x62ucket\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06object\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\x05\x66orce\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"\xa5\x05\n\x13\x42igQueryDestination\x12\x14\n\x07\x64\x61taset\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\x05table\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x61\n\rpartition_key\x18\x03 \x01(\x0e\x32\x45.google.cloud.capacityplanner.v1beta.BigQueryDestination.PartitionKeyB\x03\xe0\x41\x01\x12i\n\x11write_disposition\x18\x04 \x01(\x0e\x32I.google.cloud.capacityplanner.v1beta.BigQueryDestination.WriteDispositionB\x03\xe0\x41\x01\x12k\n\x12\x63reate_disposition\x18\x05 \x01(\x0e\x32J.google.cloud.capacityplanner.v1beta.BigQueryDestination.CreateDispositionB\x03\xe0\x41\x01\x12\x19\n\x0cgcs_location\x18\x06 \x01(\tB\x03\xe0\x41\x01\"?\n\x0cPartitionKey\x12\x1d\n\x19PARTITION_KEY_UNSPECIFIED\x10\x00\x12\x10\n\x0cREQUEST_TIME\x10\x01\"l\n\x10WriteDisposition\x12!\n\x1dWRITE_DISPOSITION_UNSPECIFIED\x10\x00\x12\x10\n\x0cWRITE_APPEND\x10\x01\x12\x12\n\x0eWRITE_TRUNCATE\x10\x02\x12\x0f\n\x0bWRITE_EMPTY\x10\x03\"_\n\x11\x43reateDisposition\x12\"\n\x1e\x43REATE_DISPOSITION_UNSPECIFIED\x10\x00\x12\x14\n\x10\x43REATE_IF_NEEDED\x10\x01\x12\x10\n\x0c\x43REATE_NEVER\x10\x02\"|\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"0\n\x1c\x45xportUsageHistoriesResponse\x12\x10\n\x08response\x18\x01 \x01(\t\"+\n\x17\x45xportForecastsResponse\x12\x10\n\x08response\x18\x01 \x01(\t\"3\n\x1f\x45xportReservationsUsageResponse\x12\x10\n\x08response\x18\x01 \x01(\t2\xc7\x12\n\x0cUsageService\x12\xed\x02\n\x13QueryUsageHistories\x12?.google.cloud.capacityplanner.v1beta.QueryUsageHistoriesRequest\x1a@.google.cloud.capacityplanner.v1beta.QueryUsageHistoriesResponse\"\xd2\x01\x82\xd3\xe4\x93\x02\xcb\x01\"</v1beta/{parent=projects/*/locations/*}/usageHistories:query:\x01*ZF\"A/v1beta/{parent=organizations/*/locations/*}/usageHistories:query:\x01*Z@\";/v1beta/{parent=folders/*/locations/*}/usageHistories:query:\x01*\x12\xcf\x02\n\x0eQueryForecasts\x12:.google.cloud.capacityplanner.v1beta.QueryForecastsRequest\x1a;.google.cloud.capacityplanner.v1beta.QueryForecastsResponse\"\xc3\x01\x82\xd3\xe4\x93\x02\xbc\x01\"7/v1beta/{parent=projects/*/locations/*}/forecasts:query:\x01*ZA\"</v1beta/{parent=organizations/*/locations/*}/forecasts:query:\x01*Z;\"6/v1beta/{parent=folders/*/locations/*}/forecasts:query:\x01*\x12\xe1\x02\n\x11QueryReservations\x12=.google.cloud.capacityplanner.v1beta.QueryReservationsRequest\x1a>.google.cloud.capacityplanner.v1beta.QueryReservationsResponse\"\xcc\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\xbc\x01\x12:/v1beta/{parent=projects/*/locations/*}/reservations:queryZA\x12?/v1beta/{parent=organizations/*/locations/*}/reservations:queryZ;\x12\x39/v1beta/{parent=folders/*/locations/*}/reservations:query\x12\x83\x03\n\x14\x45xportUsageHistories\x12@.google.cloud.capacityplanner.v1beta.ExportUsageHistoriesRequest\x1a\x1d.google.longrunning.Operation\"\x89\x02\xca\x41\x31\n\x1c\x45xportUsageHistoriesResponse\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02\xce\x01\"=/v1beta/{parent=projects/*/locations/*}/usageHistories:export:\x01*ZG\"B/v1beta/{parent=organizations/*/locations/*}/usageHistories:export:\x01*ZA\"</v1beta/{parent=folders/*/locations/*}/usageHistories:export:\x01*\x12\xe5\x02\n\x0f\x45xportForecasts\x12;.google.cloud.capacityplanner.v1beta.ExportForecastsRequest\x1a\x1d.google.longrunning.Operation\"\xf5\x01\xca\x41,\n\x17\x45xportForecastsResponse\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02\xbf\x01\"8/v1beta/{parent=projects/*/locations/*}/forecasts:export:\x01*ZB\"=/v1beta/{parent=organizations/*/locations/*}/forecasts:export:\x01*Z<\"7/v1beta/{parent=folders/*/locations/*}/forecasts:export:\x01*\x12\x95\x03\n\x17\x45xportReservationsUsage\x12\x43.google.cloud.capacityplanner.v1beta.ExportReservationsUsageRequest\x1a\x1d.google.longrunning.Operation\"\x95\x02\xca\x41\x34\n\x1f\x45xportReservationsUsageResponse\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02\xd7\x01\"@/v1beta/{parent=projects/*/locations/*}/reservationsUsage:export:\x01*ZJ\"E/v1beta/{parent=organizations/*/locations/*}/reservationsUsage:export:\x01*ZD\"?/v1beta/{parent=folders/*/locations/*}/reservationsUsage:export:\x01*\x1a\x8a\x01\xca\x41\x1e\x63\x61pacityplanner.googleapis.com\xd2\x41\x66https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/devstorage.full_controlB\x86\x02\n\'com.google.cloud.capacityplanner.v1betaB\x11UsageServiceProtoP\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.type.Date", "google/type/date.proto"],
    ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
    ["google.cloud.capacityplanner.v1beta.FutureReservation", "google/cloud/capacityplanner/v1beta/future_reservation.proto"],
    ["google.cloud.capacityplanner.v1beta.Allocation", "google/cloud/capacityplanner/v1beta/allocation.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
        QueryUsageHistoriesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.capacityplanner.v1beta.QueryUsageHistoriesRequest").msgclass
        QueryUsageHistoriesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.capacityplanner.v1beta.QueryUsageHistoriesResponse").msgclass
        QueryForecastsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.capacityplanner.v1beta.QueryForecastsRequest").msgclass
        QueryForecastsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.capacityplanner.v1beta.QueryForecastsResponse").msgclass
        QueryReservationsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.capacityplanner.v1beta.QueryReservationsRequest").msgclass
        QueryReservationsRequest::ReservationType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.capacityplanner.v1beta.QueryReservationsRequest.ReservationType").enummodule
        QueryReservationsRequest::ShareType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.capacityplanner.v1beta.QueryReservationsRequest.ShareType").enummodule
        QueryReservationsRequest::OwnershipType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.capacityplanner.v1beta.QueryReservationsRequest.OwnershipType").enummodule
        QueryReservationsRequest::ReservationDataLevel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.capacityplanner.v1beta.QueryReservationsRequest.ReservationDataLevel").enummodule
        QueryReservationsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.capacityplanner.v1beta.QueryReservationsResponse").msgclass
        Point = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.capacityplanner.v1beta.Point").msgclass
        Forecast = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.capacityplanner.v1beta.Forecast").msgclass
        Forecast::ForecastType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.capacityplanner.v1beta.Forecast.ForecastType").enummodule
        Forecast::Bounds = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.capacityplanner.v1beta.Forecast.Bounds").enummodule
        Forecast::PredictionInterval = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.capacityplanner.v1beta.Forecast.PredictionInterval").enummodule
        UsageHistory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.capacityplanner.v1beta.UsageHistory").msgclass
        UsageHistory::AggregationMethod = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.capacityplanner.v1beta.UsageHistory.AggregationMethod").enummodule
        TimeSeries = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.capacityplanner.v1beta.TimeSeries").msgclass
        TimeSeries::LocationType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.capacityplanner.v1beta.TimeSeries.LocationType").enummodule
        ReservationData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.capacityplanner.v1beta.ReservationData").msgclass
        MachineShape = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.capacityplanner.v1beta.MachineShape").msgclass
        ExportUsageHistoriesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.capacityplanner.v1beta.ExportUsageHistoriesRequest").msgclass
        ExportForecastsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.capacityplanner.v1beta.ExportForecastsRequest").msgclass
        ExportReservationsUsageRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.capacityplanner.v1beta.ExportReservationsUsageRequest").msgclass
        ExportReservationsUsageRequest::ShareType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.capacityplanner.v1beta.ExportReservationsUsageRequest.ShareType").enummodule
        OutputConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.capacityplanner.v1beta.OutputConfig").msgclass
        GcsDestination = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.capacityplanner.v1beta.GcsDestination").msgclass
        BigQueryDestination = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.capacityplanner.v1beta.BigQueryDestination").msgclass
        BigQueryDestination::PartitionKey = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.capacityplanner.v1beta.BigQueryDestination.PartitionKey").enummodule
        BigQueryDestination::WriteDisposition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.capacityplanner.v1beta.BigQueryDestination.WriteDisposition").enummodule
        BigQueryDestination::CreateDisposition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.capacityplanner.v1beta.BigQueryDestination.CreateDisposition").enummodule
        OperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.capacityplanner.v1beta.OperationMetadata").msgclass
        ExportUsageHistoriesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.capacityplanner.v1beta.ExportUsageHistoriesResponse").msgclass
        ExportForecastsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.capacityplanner.v1beta.ExportForecastsResponse").msgclass
        ExportReservationsUsageResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.capacityplanner.v1beta.ExportReservationsUsageResponse").msgclass
      end
    end
  end
end
