# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: spaceone/api/inventory/v1/savings.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'spaceone/api/inventory/v1/savings.proto\x12\x19spaceone.api.inventory.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1cgoogle/protobuf/struct.proto\"e\n\x11GetSavingsRequest\x12\r\n\x05start\x18\x01 \x01(\t\x12\x0b\n\x03\x65nd\x18\x02 \x01(\t\x12\x0b\n\x03\x63sp\x18\x03 \x01(\t\x12\'\n\x06\x66ilter\x18\x04 \x01(\x0b\x32\x17.google.protobuf.Struct\"\xe0\x01\n\x14SavingsSummaryResult\x12!\n\x19total_coverage_percentage\x18\x05 \x01(\t\x12$\n\x1ctotal_utilization_percentage\x18\x01 \x01(\t\x12\x17\n\x0fused_commitment\x18\x02 \x01(\t\x12\x18\n\x10total_commitment\x18\x03 \x01(\t\x12\x12\n\ntotal_cost\x18\x04 \x01(\t\x12!\n\x19on_demand_cost_equivalent\x18\x06 \x01(\t\x12\x15\n\rondemand_cost\x18\x07 \x01(\t\"\x88\x01\n\rSavingsResult\x12;\n\x0csavings_plan\x18\x01 \x01(\x0b\x32%.spaceone.api.inventory.v1.SavingInfo\x12:\n\x0breservation\x18\x02 \x01(\x0b\x32%.spaceone.api.inventory.v1.SavingInfo\"\xca\x01\n\nSavingInfo\x12\x1e\n\x16utilization_percentage\x18\x01 \x01(\t\x12\x17\n\x0fused_commitment\x18\x02 \x01(\t\x12\x18\n\x10total_commitment\x18\x03 \x01(\t\x12\x12\n\ntotal_cost\x18\x04 \x01(\t\x12\x1b\n\x13\x63overage_percentage\x18\x05 \x01(\t\x12!\n\x19on_demand_cost_equivalent\x18\x06 \x01(\t\x12\x15\n\rondemand_cost\x18\x07 \x01(\t\"^\n\x13GetInventoryRequest\x12\x0e\n\x06vendor\x18\x01 \x01(\t\x12\x11\n\tsale_type\x18\x02 \x01(\t\x12\x11\n\tsecret_id\x18\x03 \x01(\t\x12\x11\n\tdomain_id\x18\x04 \x01(\t\"=\n\x0fInventoryResult\x12*\n\tinventory\x18\x01 \x03(\x0b\x32\x17.google.protobuf.Struct2\xc7\x03\n\x07Savings\x12\x96\x01\n\x0eget_sp_summary\x12,.spaceone.api.inventory.v1.GetSavingsRequest\x1a/.spaceone.api.inventory.v1.SavingsSummaryResult\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/inventory/v1/savings/summary\x12\x8b\x01\n\x0bget_sp_info\x12,.spaceone.api.inventory.v1.GetSavingsRequest\x1a(.spaceone.api.inventory.v1.SavingsResult\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/inventory/v1/savings/detail\x12\x94\x01\n\rget_inventory\x12..spaceone.api.inventory.v1.GetInventoryRequest\x1a*.spaceone.api.inventory.v1.InventoryResult\"\'\x82\xd3\xe4\x93\x02!\x12\x1f/inventory/v1/savings/inventoryb\x06proto3')



_GETSAVINGSREQUEST = DESCRIPTOR.message_types_by_name['GetSavingsRequest']
_SAVINGSSUMMARYRESULT = DESCRIPTOR.message_types_by_name['SavingsSummaryResult']
_SAVINGSRESULT = DESCRIPTOR.message_types_by_name['SavingsResult']
_SAVINGINFO = DESCRIPTOR.message_types_by_name['SavingInfo']
_GETINVENTORYREQUEST = DESCRIPTOR.message_types_by_name['GetInventoryRequest']
_INVENTORYRESULT = DESCRIPTOR.message_types_by_name['InventoryResult']
GetSavingsRequest = _reflection.GeneratedProtocolMessageType('GetSavingsRequest', (_message.Message,), {
  'DESCRIPTOR' : _GETSAVINGSREQUEST,
  '__module__' : 'spaceone.api.inventory.v1.savings_pb2'
  # @@protoc_insertion_point(class_scope:spaceone.api.inventory.v1.GetSavingsRequest)
  })
_sym_db.RegisterMessage(GetSavingsRequest)

SavingsSummaryResult = _reflection.GeneratedProtocolMessageType('SavingsSummaryResult', (_message.Message,), {
  'DESCRIPTOR' : _SAVINGSSUMMARYRESULT,
  '__module__' : 'spaceone.api.inventory.v1.savings_pb2'
  # @@protoc_insertion_point(class_scope:spaceone.api.inventory.v1.SavingsSummaryResult)
  })
_sym_db.RegisterMessage(SavingsSummaryResult)

SavingsResult = _reflection.GeneratedProtocolMessageType('SavingsResult', (_message.Message,), {
  'DESCRIPTOR' : _SAVINGSRESULT,
  '__module__' : 'spaceone.api.inventory.v1.savings_pb2'
  # @@protoc_insertion_point(class_scope:spaceone.api.inventory.v1.SavingsResult)
  })
_sym_db.RegisterMessage(SavingsResult)

SavingInfo = _reflection.GeneratedProtocolMessageType('SavingInfo', (_message.Message,), {
  'DESCRIPTOR' : _SAVINGINFO,
  '__module__' : 'spaceone.api.inventory.v1.savings_pb2'
  # @@protoc_insertion_point(class_scope:spaceone.api.inventory.v1.SavingInfo)
  })
_sym_db.RegisterMessage(SavingInfo)

GetInventoryRequest = _reflection.GeneratedProtocolMessageType('GetInventoryRequest', (_message.Message,), {
  'DESCRIPTOR' : _GETINVENTORYREQUEST,
  '__module__' : 'spaceone.api.inventory.v1.savings_pb2'
  # @@protoc_insertion_point(class_scope:spaceone.api.inventory.v1.GetInventoryRequest)
  })
_sym_db.RegisterMessage(GetInventoryRequest)

InventoryResult = _reflection.GeneratedProtocolMessageType('InventoryResult', (_message.Message,), {
  'DESCRIPTOR' : _INVENTORYRESULT,
  '__module__' : 'spaceone.api.inventory.v1.savings_pb2'
  # @@protoc_insertion_point(class_scope:spaceone.api.inventory.v1.InventoryResult)
  })
_sym_db.RegisterMessage(InventoryResult)

_SAVINGS = DESCRIPTOR.services_by_name['Savings']
if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  _SAVINGS.methods_by_name['get_sp_summary']._options = None
  _SAVINGS.methods_by_name['get_sp_summary']._serialized_options = b'\202\323\344\223\002\037\022\035/inventory/v1/savings/summary'
  _SAVINGS.methods_by_name['get_sp_info']._options = None
  _SAVINGS.methods_by_name['get_sp_info']._serialized_options = b'\202\323\344\223\002\036\022\034/inventory/v1/savings/detail'
  _SAVINGS.methods_by_name['get_inventory']._options = None
  _SAVINGS.methods_by_name['get_inventory']._serialized_options = b'\202\323\344\223\002!\022\037/inventory/v1/savings/inventory'
  _GETSAVINGSREQUEST._serialized_start=130
  _GETSAVINGSREQUEST._serialized_end=231
  _SAVINGSSUMMARYRESULT._serialized_start=234
  _SAVINGSSUMMARYRESULT._serialized_end=458
  _SAVINGSRESULT._serialized_start=461
  _SAVINGSRESULT._serialized_end=597
  _SAVINGINFO._serialized_start=600
  _SAVINGINFO._serialized_end=802
  _GETINVENTORYREQUEST._serialized_start=804
  _GETINVENTORYREQUEST._serialized_end=898
  _INVENTORYRESULT._serialized_start=900
  _INVENTORYRESULT._serialized_end=961
  _SAVINGS._serialized_start=964
  _SAVINGS._serialized_end=1419
# @@protoc_insertion_point(module_scope)
