messages.pb.go 40 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.32.0
  4. // protoc v4.25.3
  5. // source: protos/customcost/messages.proto
  6. package pb
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. timestamppb "google.golang.org/protobuf/types/known/timestamppb"
  11. reflect "reflect"
  12. sync "sync"
  13. )
  14. const (
  15. // Verify that this generated code is sufficiently up-to-date.
  16. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  17. // Verify that runtime/protoimpl is sufficiently up-to-date.
  18. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  19. )
  20. type CustomCostResponse struct {
  21. state protoimpl.MessageState
  22. sizeCache protoimpl.SizeCache
  23. unknownFields protoimpl.UnknownFields
  24. // provides metadata on the Custom CostResponse
  25. // deliberately left unstructured
  26. Metadata map[string]string `protobuf:"bytes,1,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  27. // declared by plugin
  28. // eg snowflake == "data management",
  29. // datadog == "observability" etc
  30. // intended for top level agg
  31. CostSource string `protobuf:"bytes,2,opt,name=cost_source,json=costSource,proto3" json:"cost_source,omitempty"`
  32. // the name of the custom cost source
  33. // e.g., "datadog"
  34. Domain string `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty"`
  35. // the version of the Custom Cost response
  36. // is set by the plugin, will vary between
  37. // different plugins
  38. Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
  39. // FOCUS billing currency
  40. Currency string `protobuf:"bytes,5,opt,name=currency,proto3" json:"currency,omitempty"`
  41. // the window of the returned objects
  42. Start *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=start,proto3" json:"start,omitempty"`
  43. End *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=end,proto3" json:"end,omitempty"`
  44. // array of CustomCosts
  45. Costs []*CustomCost `protobuf:"bytes,8,rep,name=costs,proto3" json:"costs,omitempty"`
  46. // any errors in processing
  47. Errors []string `protobuf:"bytes,9,rep,name=errors,proto3" json:"errors,omitempty"`
  48. }
  49. func (x *CustomCostResponse) Reset() {
  50. *x = CustomCostResponse{}
  51. if protoimpl.UnsafeEnabled {
  52. mi := &file_protos_customcost_messages_proto_msgTypes[0]
  53. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  54. ms.StoreMessageInfo(mi)
  55. }
  56. }
  57. func (x *CustomCostResponse) String() string {
  58. return protoimpl.X.MessageStringOf(x)
  59. }
  60. func (*CustomCostResponse) ProtoMessage() {}
  61. func (x *CustomCostResponse) ProtoReflect() protoreflect.Message {
  62. mi := &file_protos_customcost_messages_proto_msgTypes[0]
  63. if protoimpl.UnsafeEnabled && x != nil {
  64. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  65. if ms.LoadMessageInfo() == nil {
  66. ms.StoreMessageInfo(mi)
  67. }
  68. return ms
  69. }
  70. return mi.MessageOf(x)
  71. }
  72. // Deprecated: Use CustomCostResponse.ProtoReflect.Descriptor instead.
  73. func (*CustomCostResponse) Descriptor() ([]byte, []int) {
  74. return file_protos_customcost_messages_proto_rawDescGZIP(), []int{0}
  75. }
  76. func (x *CustomCostResponse) GetMetadata() map[string]string {
  77. if x != nil {
  78. return x.Metadata
  79. }
  80. return nil
  81. }
  82. func (x *CustomCostResponse) GetCostSource() string {
  83. if x != nil {
  84. return x.CostSource
  85. }
  86. return ""
  87. }
  88. func (x *CustomCostResponse) GetDomain() string {
  89. if x != nil {
  90. return x.Domain
  91. }
  92. return ""
  93. }
  94. func (x *CustomCostResponse) GetVersion() string {
  95. if x != nil {
  96. return x.Version
  97. }
  98. return ""
  99. }
  100. func (x *CustomCostResponse) GetCurrency() string {
  101. if x != nil {
  102. return x.Currency
  103. }
  104. return ""
  105. }
  106. func (x *CustomCostResponse) GetStart() *timestamppb.Timestamp {
  107. if x != nil {
  108. return x.Start
  109. }
  110. return nil
  111. }
  112. func (x *CustomCostResponse) GetEnd() *timestamppb.Timestamp {
  113. if x != nil {
  114. return x.End
  115. }
  116. return nil
  117. }
  118. func (x *CustomCostResponse) GetCosts() []*CustomCost {
  119. if x != nil {
  120. return x.Costs
  121. }
  122. return nil
  123. }
  124. func (x *CustomCostResponse) GetErrors() []string {
  125. if x != nil {
  126. return x.Errors
  127. }
  128. return nil
  129. }
  130. type CustomCost struct {
  131. state protoimpl.MessageState
  132. sizeCache protoimpl.SizeCache
  133. unknownFields protoimpl.UnknownFields
  134. // provides metadata on the Custom CostResponse
  135. // deliberately left unstructured
  136. Metadata map[string]string `protobuf:"bytes,1,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  137. // the region that the resource was incurred
  138. // corresponds to 'availability zone' of FOCUS
  139. Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
  140. // FOCUS billing account name
  141. AccountName string `protobuf:"bytes,3,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"`
  142. // FOCUS charge category
  143. ChargeCategory string `protobuf:"bytes,4,opt,name=charge_category,json=chargeCategory,proto3" json:"charge_category,omitempty"`
  144. // FOCUS charge description
  145. Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
  146. // FOCUS Resource Name
  147. ResourceName string `protobuf:"bytes,6,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
  148. // FOCUS Resource type
  149. // if not set, assumed to be domain
  150. ResourceType string `protobuf:"bytes,7,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
  151. // ID of the individual cost. should be globally
  152. // unique. Assigned by plugin on read
  153. Id string `protobuf:"bytes,8,opt,name=id,proto3" json:"id,omitempty"`
  154. // the provider's ID for the cost, if
  155. // available
  156. // FOCUS resource ID
  157. ProviderId string `protobuf:"bytes,9,opt,name=provider_id,json=providerId,proto3" json:"provider_id,omitempty"`
  158. // FOCUS billed Cost
  159. BilledCost float32 `protobuf:"fixed32,10,opt,name=billed_cost,json=billedCost,proto3" json:"billed_cost,omitempty"`
  160. // FOCUS List Cost
  161. ListCost float32 `protobuf:"fixed32,11,opt,name=list_cost,json=listCost,proto3" json:"list_cost,omitempty"`
  162. // FOCUS List Unit Price
  163. ListUnitPrice float32 `protobuf:"fixed32,12,opt,name=list_unit_price,json=listUnitPrice,proto3" json:"list_unit_price,omitempty"`
  164. // FOCUS usage quantity
  165. UsageQuantity float32 `protobuf:"fixed32,13,opt,name=usage_quantity,json=usageQuantity,proto3" json:"usage_quantity,omitempty"`
  166. // FOCUS usage Unit
  167. UsageUnit string `protobuf:"bytes,14,opt,name=usage_unit,json=usageUnit,proto3" json:"usage_unit,omitempty"`
  168. // Returns key/value sets of labels
  169. // equivalent to Tags in focus spec
  170. Labels map[string]string `protobuf:"bytes,15,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  171. // Optional struct to implement other focus
  172. // spec attributes
  173. ExtendedAttributes *CustomCostExtendedAttributes `protobuf:"bytes,16,opt,name=extended_attributes,json=extendedAttributes,proto3,oneof" json:"extended_attributes,omitempty"`
  174. }
  175. func (x *CustomCost) Reset() {
  176. *x = CustomCost{}
  177. if protoimpl.UnsafeEnabled {
  178. mi := &file_protos_customcost_messages_proto_msgTypes[1]
  179. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  180. ms.StoreMessageInfo(mi)
  181. }
  182. }
  183. func (x *CustomCost) String() string {
  184. return protoimpl.X.MessageStringOf(x)
  185. }
  186. func (*CustomCost) ProtoMessage() {}
  187. func (x *CustomCost) ProtoReflect() protoreflect.Message {
  188. mi := &file_protos_customcost_messages_proto_msgTypes[1]
  189. if protoimpl.UnsafeEnabled && x != nil {
  190. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  191. if ms.LoadMessageInfo() == nil {
  192. ms.StoreMessageInfo(mi)
  193. }
  194. return ms
  195. }
  196. return mi.MessageOf(x)
  197. }
  198. // Deprecated: Use CustomCost.ProtoReflect.Descriptor instead.
  199. func (*CustomCost) Descriptor() ([]byte, []int) {
  200. return file_protos_customcost_messages_proto_rawDescGZIP(), []int{1}
  201. }
  202. func (x *CustomCost) GetMetadata() map[string]string {
  203. if x != nil {
  204. return x.Metadata
  205. }
  206. return nil
  207. }
  208. func (x *CustomCost) GetZone() string {
  209. if x != nil {
  210. return x.Zone
  211. }
  212. return ""
  213. }
  214. func (x *CustomCost) GetAccountName() string {
  215. if x != nil {
  216. return x.AccountName
  217. }
  218. return ""
  219. }
  220. func (x *CustomCost) GetChargeCategory() string {
  221. if x != nil {
  222. return x.ChargeCategory
  223. }
  224. return ""
  225. }
  226. func (x *CustomCost) GetDescription() string {
  227. if x != nil {
  228. return x.Description
  229. }
  230. return ""
  231. }
  232. func (x *CustomCost) GetResourceName() string {
  233. if x != nil {
  234. return x.ResourceName
  235. }
  236. return ""
  237. }
  238. func (x *CustomCost) GetResourceType() string {
  239. if x != nil {
  240. return x.ResourceType
  241. }
  242. return ""
  243. }
  244. func (x *CustomCost) GetId() string {
  245. if x != nil {
  246. return x.Id
  247. }
  248. return ""
  249. }
  250. func (x *CustomCost) GetProviderId() string {
  251. if x != nil {
  252. return x.ProviderId
  253. }
  254. return ""
  255. }
  256. func (x *CustomCost) GetBilledCost() float32 {
  257. if x != nil {
  258. return x.BilledCost
  259. }
  260. return 0
  261. }
  262. func (x *CustomCost) GetListCost() float32 {
  263. if x != nil {
  264. return x.ListCost
  265. }
  266. return 0
  267. }
  268. func (x *CustomCost) GetListUnitPrice() float32 {
  269. if x != nil {
  270. return x.ListUnitPrice
  271. }
  272. return 0
  273. }
  274. func (x *CustomCost) GetUsageQuantity() float32 {
  275. if x != nil {
  276. return x.UsageQuantity
  277. }
  278. return 0
  279. }
  280. func (x *CustomCost) GetUsageUnit() string {
  281. if x != nil {
  282. return x.UsageUnit
  283. }
  284. return ""
  285. }
  286. func (x *CustomCost) GetLabels() map[string]string {
  287. if x != nil {
  288. return x.Labels
  289. }
  290. return nil
  291. }
  292. func (x *CustomCost) GetExtendedAttributes() *CustomCostExtendedAttributes {
  293. if x != nil {
  294. return x.ExtendedAttributes
  295. }
  296. return nil
  297. }
  298. type CustomCostExtendedAttributes struct {
  299. state protoimpl.MessageState
  300. sizeCache protoimpl.SizeCache
  301. unknownFields protoimpl.UnknownFields
  302. // FOCUS billing period start
  303. BillingPeriodStart *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=billing_period_start,json=billingPeriodStart,proto3,oneof" json:"billing_period_start,omitempty"`
  304. // FOCUS billing period end
  305. BillingPeriodEnd *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=billing_period_end,json=billingPeriodEnd,proto3,oneof" json:"billing_period_end,omitempty"`
  306. // FOCUS Billing Account ID
  307. AccountId *string `protobuf:"bytes,3,opt,name=account_id,json=accountId,proto3,oneof" json:"account_id,omitempty"`
  308. // FOCUS Charge Frequency
  309. ChargeFrequency *string `protobuf:"bytes,4,opt,name=charge_frequency,json=chargeFrequency,proto3,oneof" json:"charge_frequency,omitempty"`
  310. // FOCUS Charge Subcategory
  311. Subcategory *string `protobuf:"bytes,5,opt,name=subcategory,proto3,oneof" json:"subcategory,omitempty"`
  312. // FOCUS Commitment Discount Category
  313. CommitmentDiscountCategory *string `protobuf:"bytes,6,opt,name=commitment_discount_category,json=commitmentDiscountCategory,proto3,oneof" json:"commitment_discount_category,omitempty"`
  314. // FOCUS Commitment Discount ID
  315. CommitmentDiscountId *string `protobuf:"bytes,7,opt,name=commitment_discount_id,json=commitmentDiscountId,proto3,oneof" json:"commitment_discount_id,omitempty"`
  316. // FOCUS Commitment Discount Name
  317. CommitmentDiscountName *string `protobuf:"bytes,8,opt,name=commitment_discount_name,json=commitmentDiscountName,proto3,oneof" json:"commitment_discount_name,omitempty"`
  318. // FOCUS Commitment Discount Type
  319. CommitmentDiscountType *string `protobuf:"bytes,9,opt,name=commitment_discount_type,json=commitmentDiscountType,proto3,oneof" json:"commitment_discount_type,omitempty"`
  320. // FOCUS Effective Cost
  321. EffectiveCost *float32 `protobuf:"fixed32,10,opt,name=effective_cost,json=effectiveCost,proto3,oneof" json:"effective_cost,omitempty"`
  322. // FOCUS Invoice Issuer
  323. InvoiceIssuer *string `protobuf:"bytes,11,opt,name=invoice_issuer,json=invoiceIssuer,proto3,oneof" json:"invoice_issuer,omitempty"`
  324. // FOCUS Provider
  325. // if unset, assumed to be domain
  326. Provider *string `protobuf:"bytes,12,opt,name=provider,proto3,oneof" json:"provider,omitempty"`
  327. // FOCUS Publisher
  328. // if unset, assumed to be domain
  329. Publisher *string `protobuf:"bytes,13,opt,name=publisher,proto3,oneof" json:"publisher,omitempty"`
  330. // FOCUS Service Category
  331. // if unset, assumed to be cost source
  332. ServiceCategory *string `protobuf:"bytes,14,opt,name=service_category,json=serviceCategory,proto3,oneof" json:"service_category,omitempty"`
  333. // FOCUS Service Name
  334. // if unset, assumed to be cost source
  335. ServiceName *string `protobuf:"bytes,15,opt,name=service_name,json=serviceName,proto3,oneof" json:"service_name,omitempty"`
  336. // FOCUS SKU ID
  337. SkuId *string `protobuf:"bytes,16,opt,name=sku_id,json=skuId,proto3,oneof" json:"sku_id,omitempty"`
  338. // FOCUS SKU Price ID
  339. SkuPriceId *string `protobuf:"bytes,17,opt,name=sku_price_id,json=skuPriceId,proto3,oneof" json:"sku_price_id,omitempty"`
  340. // FOCUS Sub Account ID
  341. SubAccountId *string `protobuf:"bytes,18,opt,name=sub_account_id,json=subAccountId,proto3,oneof" json:"sub_account_id,omitempty"`
  342. // FOCUS Sub Account Name
  343. SubAccountName *string `protobuf:"bytes,19,opt,name=sub_account_name,json=subAccountName,proto3,oneof" json:"sub_account_name,omitempty"`
  344. // FOCUS Pricing Quantity
  345. PricingQuantity *float32 `protobuf:"fixed32,20,opt,name=pricing_quantity,json=pricingQuantity,proto3,oneof" json:"pricing_quantity,omitempty"`
  346. // FOCUS Pricing Unit
  347. PricingUnit *string `protobuf:"bytes,21,opt,name=pricing_unit,json=pricingUnit,proto3,oneof" json:"pricing_unit,omitempty"`
  348. // FOCUS Pricing Category
  349. PricingCategory *string `protobuf:"bytes,22,opt,name=pricing_category,json=pricingCategory,proto3,oneof" json:"pricing_category,omitempty"`
  350. }
  351. func (x *CustomCostExtendedAttributes) Reset() {
  352. *x = CustomCostExtendedAttributes{}
  353. if protoimpl.UnsafeEnabled {
  354. mi := &file_protos_customcost_messages_proto_msgTypes[2]
  355. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  356. ms.StoreMessageInfo(mi)
  357. }
  358. }
  359. func (x *CustomCostExtendedAttributes) String() string {
  360. return protoimpl.X.MessageStringOf(x)
  361. }
  362. func (*CustomCostExtendedAttributes) ProtoMessage() {}
  363. func (x *CustomCostExtendedAttributes) ProtoReflect() protoreflect.Message {
  364. mi := &file_protos_customcost_messages_proto_msgTypes[2]
  365. if protoimpl.UnsafeEnabled && x != nil {
  366. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  367. if ms.LoadMessageInfo() == nil {
  368. ms.StoreMessageInfo(mi)
  369. }
  370. return ms
  371. }
  372. return mi.MessageOf(x)
  373. }
  374. // Deprecated: Use CustomCostExtendedAttributes.ProtoReflect.Descriptor instead.
  375. func (*CustomCostExtendedAttributes) Descriptor() ([]byte, []int) {
  376. return file_protos_customcost_messages_proto_rawDescGZIP(), []int{2}
  377. }
  378. func (x *CustomCostExtendedAttributes) GetBillingPeriodStart() *timestamppb.Timestamp {
  379. if x != nil {
  380. return x.BillingPeriodStart
  381. }
  382. return nil
  383. }
  384. func (x *CustomCostExtendedAttributes) GetBillingPeriodEnd() *timestamppb.Timestamp {
  385. if x != nil {
  386. return x.BillingPeriodEnd
  387. }
  388. return nil
  389. }
  390. func (x *CustomCostExtendedAttributes) GetAccountId() string {
  391. if x != nil && x.AccountId != nil {
  392. return *x.AccountId
  393. }
  394. return ""
  395. }
  396. func (x *CustomCostExtendedAttributes) GetChargeFrequency() string {
  397. if x != nil && x.ChargeFrequency != nil {
  398. return *x.ChargeFrequency
  399. }
  400. return ""
  401. }
  402. func (x *CustomCostExtendedAttributes) GetSubcategory() string {
  403. if x != nil && x.Subcategory != nil {
  404. return *x.Subcategory
  405. }
  406. return ""
  407. }
  408. func (x *CustomCostExtendedAttributes) GetCommitmentDiscountCategory() string {
  409. if x != nil && x.CommitmentDiscountCategory != nil {
  410. return *x.CommitmentDiscountCategory
  411. }
  412. return ""
  413. }
  414. func (x *CustomCostExtendedAttributes) GetCommitmentDiscountId() string {
  415. if x != nil && x.CommitmentDiscountId != nil {
  416. return *x.CommitmentDiscountId
  417. }
  418. return ""
  419. }
  420. func (x *CustomCostExtendedAttributes) GetCommitmentDiscountName() string {
  421. if x != nil && x.CommitmentDiscountName != nil {
  422. return *x.CommitmentDiscountName
  423. }
  424. return ""
  425. }
  426. func (x *CustomCostExtendedAttributes) GetCommitmentDiscountType() string {
  427. if x != nil && x.CommitmentDiscountType != nil {
  428. return *x.CommitmentDiscountType
  429. }
  430. return ""
  431. }
  432. func (x *CustomCostExtendedAttributes) GetEffectiveCost() float32 {
  433. if x != nil && x.EffectiveCost != nil {
  434. return *x.EffectiveCost
  435. }
  436. return 0
  437. }
  438. func (x *CustomCostExtendedAttributes) GetInvoiceIssuer() string {
  439. if x != nil && x.InvoiceIssuer != nil {
  440. return *x.InvoiceIssuer
  441. }
  442. return ""
  443. }
  444. func (x *CustomCostExtendedAttributes) GetProvider() string {
  445. if x != nil && x.Provider != nil {
  446. return *x.Provider
  447. }
  448. return ""
  449. }
  450. func (x *CustomCostExtendedAttributes) GetPublisher() string {
  451. if x != nil && x.Publisher != nil {
  452. return *x.Publisher
  453. }
  454. return ""
  455. }
  456. func (x *CustomCostExtendedAttributes) GetServiceCategory() string {
  457. if x != nil && x.ServiceCategory != nil {
  458. return *x.ServiceCategory
  459. }
  460. return ""
  461. }
  462. func (x *CustomCostExtendedAttributes) GetServiceName() string {
  463. if x != nil && x.ServiceName != nil {
  464. return *x.ServiceName
  465. }
  466. return ""
  467. }
  468. func (x *CustomCostExtendedAttributes) GetSkuId() string {
  469. if x != nil && x.SkuId != nil {
  470. return *x.SkuId
  471. }
  472. return ""
  473. }
  474. func (x *CustomCostExtendedAttributes) GetSkuPriceId() string {
  475. if x != nil && x.SkuPriceId != nil {
  476. return *x.SkuPriceId
  477. }
  478. return ""
  479. }
  480. func (x *CustomCostExtendedAttributes) GetSubAccountId() string {
  481. if x != nil && x.SubAccountId != nil {
  482. return *x.SubAccountId
  483. }
  484. return ""
  485. }
  486. func (x *CustomCostExtendedAttributes) GetSubAccountName() string {
  487. if x != nil && x.SubAccountName != nil {
  488. return *x.SubAccountName
  489. }
  490. return ""
  491. }
  492. func (x *CustomCostExtendedAttributes) GetPricingQuantity() float32 {
  493. if x != nil && x.PricingQuantity != nil {
  494. return *x.PricingQuantity
  495. }
  496. return 0
  497. }
  498. func (x *CustomCostExtendedAttributes) GetPricingUnit() string {
  499. if x != nil && x.PricingUnit != nil {
  500. return *x.PricingUnit
  501. }
  502. return ""
  503. }
  504. func (x *CustomCostExtendedAttributes) GetPricingCategory() string {
  505. if x != nil && x.PricingCategory != nil {
  506. return *x.PricingCategory
  507. }
  508. return ""
  509. }
  510. var File_protos_customcost_messages_proto protoreflect.FileDescriptor
  511. var file_protos_customcost_messages_proto_rawDesc = []byte{
  512. 0x0a, 0x20, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x63,
  513. 0x6f, 0x73, 0x74, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f,
  514. 0x74, 0x6f, 0x12, 0x13, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x63, 0x6f, 0x73, 0x74, 0x2e, 0x6d,
  515. 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
  516. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
  517. 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc2, 0x03, 0x0a, 0x12, 0x43, 0x75, 0x73,
  518. 0x74, 0x6f, 0x6d, 0x43, 0x6f, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
  519. 0x51, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28,
  520. 0x0b, 0x32, 0x35, 0x2e, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x63, 0x6f, 0x73, 0x74, 0x2e, 0x6d,
  521. 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6f,
  522. 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64,
  523. 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61,
  524. 0x74, 0x61, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x73, 0x74, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63,
  525. 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x73, 0x74, 0x53, 0x6f, 0x75,
  526. 0x72, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x03, 0x20,
  527. 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x76,
  528. 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65,
  529. 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63,
  530. 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63,
  531. 0x79, 0x12, 0x30, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b,
  532. 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
  533. 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x05, 0x73, 0x74,
  534. 0x61, 0x72, 0x74, 0x12, 0x2c, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b,
  535. 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
  536. 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x03, 0x65, 0x6e,
  537. 0x64, 0x12, 0x35, 0x0a, 0x05, 0x63, 0x6f, 0x73, 0x74, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b,
  538. 0x32, 0x1f, 0x2e, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x63, 0x6f, 0x73, 0x74, 0x2e, 0x6d, 0x65,
  539. 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6f, 0x73,
  540. 0x74, 0x52, 0x05, 0x63, 0x6f, 0x73, 0x74, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x6f,
  541. 0x72, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73,
  542. 0x1a, 0x3b, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72,
  543. 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
  544. 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01,
  545. 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xbe, 0x06,
  546. 0x0a, 0x0a, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6f, 0x73, 0x74, 0x12, 0x49, 0x0a, 0x08,
  547. 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d,
  548. 0x2e, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x63, 0x6f, 0x73, 0x74, 0x2e, 0x6d, 0x65, 0x73, 0x73,
  549. 0x61, 0x67, 0x65, 0x73, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6f, 0x73, 0x74, 0x2e,
  550. 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d,
  551. 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x7a, 0x6f, 0x6e, 0x65, 0x18,
  552. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x7a, 0x6f, 0x6e, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x61,
  553. 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
  554. 0x09, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x27,
  555. 0x0a, 0x0f, 0x63, 0x68, 0x61, 0x72, 0x67, 0x65, 0x5f, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72,
  556. 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x68, 0x61, 0x72, 0x67, 0x65, 0x43,
  557. 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72,
  558. 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65,
  559. 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73,
  560. 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09,
  561. 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23,
  562. 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18,
  563. 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54,
  564. 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52,
  565. 0x02, 0x69, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f,
  566. 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64,
  567. 0x65, 0x72, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x5f, 0x63,
  568. 0x6f, 0x73, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0a, 0x62, 0x69, 0x6c, 0x6c, 0x65,
  569. 0x64, 0x43, 0x6f, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x63, 0x6f,
  570. 0x73, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x02, 0x52, 0x08, 0x6c, 0x69, 0x73, 0x74, 0x43, 0x6f,
  571. 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x75, 0x6e, 0x69, 0x74, 0x5f,
  572. 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0d, 0x6c, 0x69, 0x73,
  573. 0x74, 0x55, 0x6e, 0x69, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x75, 0x73,
  574. 0x61, 0x67, 0x65, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x0d, 0x20, 0x01,
  575. 0x28, 0x02, 0x52, 0x0d, 0x75, 0x73, 0x61, 0x67, 0x65, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74,
  576. 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x75, 0x6e, 0x69, 0x74, 0x18,
  577. 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x73, 0x61, 0x67, 0x65, 0x55, 0x6e, 0x69, 0x74,
  578. 0x12, 0x43, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b,
  579. 0x32, 0x2b, 0x2e, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x63, 0x6f, 0x73, 0x74, 0x2e, 0x6d, 0x65,
  580. 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6f, 0x73,
  581. 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c,
  582. 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x67, 0x0a, 0x13, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65,
  583. 0x64, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x10, 0x20, 0x01,
  584. 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x63, 0x6f, 0x73, 0x74, 0x2e,
  585. 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43,
  586. 0x6f, 0x73, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x41, 0x74, 0x74, 0x72, 0x69,
  587. 0x62, 0x75, 0x74, 0x65, 0x73, 0x48, 0x00, 0x52, 0x12, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65,
  588. 0x64, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x88, 0x01, 0x01, 0x1a, 0x3b,
  589. 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12,
  590. 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65,
  591. 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
  592. 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x39, 0x0a, 0x0b, 0x4c,
  593. 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
  594. 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05,
  595. 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c,
  596. 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x16, 0x0a, 0x14, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e,
  597. 0x64, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x22, 0x94,
  598. 0x0c, 0x0a, 0x1c, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6f, 0x73, 0x74, 0x45, 0x78, 0x74,
  599. 0x65, 0x6e, 0x64, 0x65, 0x64, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12,
  600. 0x51, 0x0a, 0x14, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x65, 0x72, 0x69, 0x6f,
  601. 0x64, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
  602. 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
  603. 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x48, 0x00, 0x52, 0x12, 0x62, 0x69, 0x6c,
  604. 0x6c, 0x69, 0x6e, 0x67, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x53, 0x74, 0x61, 0x72, 0x74, 0x88,
  605. 0x01, 0x01, 0x12, 0x4d, 0x0a, 0x12, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x65,
  606. 0x72, 0x69, 0x6f, 0x64, 0x5f, 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
  607. 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
  608. 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x48, 0x01, 0x52, 0x10, 0x62, 0x69,
  609. 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x45, 0x6e, 0x64, 0x88, 0x01,
  610. 0x01, 0x12, 0x22, 0x0a, 0x0a, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18,
  611. 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
  612. 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x2e, 0x0a, 0x10, 0x63, 0x68, 0x61, 0x72, 0x67, 0x65, 0x5f,
  613. 0x66, 0x72, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48,
  614. 0x03, 0x52, 0x0f, 0x63, 0x68, 0x61, 0x72, 0x67, 0x65, 0x46, 0x72, 0x65, 0x71, 0x75, 0x65, 0x6e,
  615. 0x63, 0x79, 0x88, 0x01, 0x01, 0x12, 0x25, 0x0a, 0x0b, 0x73, 0x75, 0x62, 0x63, 0x61, 0x74, 0x65,
  616. 0x67, 0x6f, 0x72, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x04, 0x52, 0x0b, 0x73, 0x75,
  617. 0x62, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x88, 0x01, 0x01, 0x12, 0x45, 0x0a, 0x1c,
  618. 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x69, 0x73, 0x63, 0x6f,
  619. 0x75, 0x6e, 0x74, 0x5f, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x06, 0x20, 0x01,
  620. 0x28, 0x09, 0x48, 0x05, 0x52, 0x1a, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74,
  621. 0x44, 0x69, 0x73, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79,
  622. 0x88, 0x01, 0x01, 0x12, 0x39, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e,
  623. 0x74, 0x5f, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20,
  624. 0x01, 0x28, 0x09, 0x48, 0x06, 0x52, 0x14, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e,
  625. 0x74, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x3d,
  626. 0x0a, 0x18, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x69, 0x73,
  627. 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09,
  628. 0x48, 0x07, 0x52, 0x16, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x44, 0x69,
  629. 0x73, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, 0x3d, 0x0a,
  630. 0x18, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x69, 0x73, 0x63,
  631. 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x48,
  632. 0x08, 0x52, 0x16, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x44, 0x69, 0x73,
  633. 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x88, 0x01, 0x01, 0x12, 0x2a, 0x0a, 0x0e,
  634. 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x6f, 0x73, 0x74, 0x18, 0x0a,
  635. 0x20, 0x01, 0x28, 0x02, 0x48, 0x09, 0x52, 0x0d, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76,
  636. 0x65, 0x43, 0x6f, 0x73, 0x74, 0x88, 0x01, 0x01, 0x12, 0x2a, 0x0a, 0x0e, 0x69, 0x6e, 0x76, 0x6f,
  637. 0x69, 0x63, 0x65, 0x5f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09,
  638. 0x48, 0x0a, 0x52, 0x0d, 0x69, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x49, 0x73, 0x73, 0x75, 0x65,
  639. 0x72, 0x88, 0x01, 0x01, 0x12, 0x1f, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72,
  640. 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x48, 0x0b, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64,
  641. 0x65, 0x72, 0x88, 0x01, 0x01, 0x12, 0x21, 0x0a, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68,
  642. 0x65, 0x72, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x48, 0x0c, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c,
  643. 0x69, 0x73, 0x68, 0x65, 0x72, 0x88, 0x01, 0x01, 0x12, 0x2e, 0x0a, 0x10, 0x73, 0x65, 0x72, 0x76,
  644. 0x69, 0x63, 0x65, 0x5f, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x0e, 0x20, 0x01,
  645. 0x28, 0x09, 0x48, 0x0d, 0x52, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x61, 0x74,
  646. 0x65, 0x67, 0x6f, 0x72, 0x79, 0x88, 0x01, 0x01, 0x12, 0x26, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76,
  647. 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x48, 0x0e,
  648. 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01,
  649. 0x12, 0x1a, 0x0a, 0x06, 0x73, 0x6b, 0x75, 0x5f, 0x69, 0x64, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09,
  650. 0x48, 0x0f, 0x52, 0x05, 0x73, 0x6b, 0x75, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x25, 0x0a, 0x0c,
  651. 0x73, 0x6b, 0x75, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x11, 0x20, 0x01,
  652. 0x28, 0x09, 0x48, 0x10, 0x52, 0x0a, 0x73, 0x6b, 0x75, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x64,
  653. 0x88, 0x01, 0x01, 0x12, 0x29, 0x0a, 0x0e, 0x73, 0x75, 0x62, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75,
  654. 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x48, 0x11, 0x52, 0x0c, 0x73,
  655. 0x75, 0x62, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x2d,
  656. 0x0a, 0x10, 0x73, 0x75, 0x62, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6e, 0x61,
  657. 0x6d, 0x65, 0x18, 0x13, 0x20, 0x01, 0x28, 0x09, 0x48, 0x12, 0x52, 0x0e, 0x73, 0x75, 0x62, 0x41,
  658. 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, 0x2e, 0x0a,
  659. 0x10, 0x70, 0x72, 0x69, 0x63, 0x69, 0x6e, 0x67, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74,
  660. 0x79, 0x18, 0x14, 0x20, 0x01, 0x28, 0x02, 0x48, 0x13, 0x52, 0x0f, 0x70, 0x72, 0x69, 0x63, 0x69,
  661. 0x6e, 0x67, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x88, 0x01, 0x01, 0x12, 0x26, 0x0a,
  662. 0x0c, 0x70, 0x72, 0x69, 0x63, 0x69, 0x6e, 0x67, 0x5f, 0x75, 0x6e, 0x69, 0x74, 0x18, 0x15, 0x20,
  663. 0x01, 0x28, 0x09, 0x48, 0x14, 0x52, 0x0b, 0x70, 0x72, 0x69, 0x63, 0x69, 0x6e, 0x67, 0x55, 0x6e,
  664. 0x69, 0x74, 0x88, 0x01, 0x01, 0x12, 0x2e, 0x0a, 0x10, 0x70, 0x72, 0x69, 0x63, 0x69, 0x6e, 0x67,
  665. 0x5f, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x16, 0x20, 0x01, 0x28, 0x09, 0x48,
  666. 0x15, 0x52, 0x0f, 0x70, 0x72, 0x69, 0x63, 0x69, 0x6e, 0x67, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f,
  667. 0x72, 0x79, 0x88, 0x01, 0x01, 0x42, 0x17, 0x0a, 0x15, 0x5f, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e,
  668. 0x67, 0x5f, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x15,
  669. 0x0a, 0x13, 0x5f, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x65, 0x72, 0x69, 0x6f,
  670. 0x64, 0x5f, 0x65, 0x6e, 0x64, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
  671. 0x74, 0x5f, 0x69, 0x64, 0x42, 0x13, 0x0a, 0x11, 0x5f, 0x63, 0x68, 0x61, 0x72, 0x67, 0x65, 0x5f,
  672. 0x66, 0x72, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x79, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x73, 0x75,
  673. 0x62, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x42, 0x1f, 0x0a, 0x1d, 0x5f, 0x63, 0x6f,
  674. 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x75, 0x6e,
  675. 0x74, 0x5f, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x42, 0x19, 0x0a, 0x17, 0x5f, 0x63,
  676. 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x75,
  677. 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x42, 0x1b, 0x0a, 0x19, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74,
  678. 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6e, 0x61,
  679. 0x6d, 0x65, 0x42, 0x1b, 0x0a, 0x19, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e,
  680. 0x74, 0x5f, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x42,
  681. 0x11, 0x0a, 0x0f, 0x5f, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x6f,
  682. 0x73, 0x74, 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x69, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x5f, 0x69,
  683. 0x73, 0x73, 0x75, 0x65, 0x72, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64,
  684. 0x65, 0x72, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x72,
  685. 0x42, 0x13, 0x0a, 0x11, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x63, 0x61, 0x74,
  686. 0x65, 0x67, 0x6f, 0x72, 0x79, 0x42, 0x0f, 0x0a, 0x0d, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
  687. 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x73, 0x6b, 0x75, 0x5f, 0x69,
  688. 0x64, 0x42, 0x0f, 0x0a, 0x0d, 0x5f, 0x73, 0x6b, 0x75, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x5f,
  689. 0x69, 0x64, 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x73, 0x75, 0x62, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75,
  690. 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x42, 0x13, 0x0a, 0x11, 0x5f, 0x73, 0x75, 0x62, 0x5f, 0x61, 0x63,
  691. 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x13, 0x0a, 0x11, 0x5f, 0x70,
  692. 0x72, 0x69, 0x63, 0x69, 0x6e, 0x67, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x42,
  693. 0x0f, 0x0a, 0x0d, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x69, 0x6e, 0x67, 0x5f, 0x75, 0x6e, 0x69, 0x74,
  694. 0x42, 0x13, 0x0a, 0x11, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x61, 0x74,
  695. 0x65, 0x67, 0x6f, 0x72, 0x79, 0x42, 0x30, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,
  696. 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x6f, 0x73, 0x74, 0x2f, 0x6f, 0x70, 0x65,
  697. 0x6e, 0x63, 0x6f, 0x73, 0x74, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x6d,
  698. 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  699. }
  700. var (
  701. file_protos_customcost_messages_proto_rawDescOnce sync.Once
  702. file_protos_customcost_messages_proto_rawDescData = file_protos_customcost_messages_proto_rawDesc
  703. )
  704. func file_protos_customcost_messages_proto_rawDescGZIP() []byte {
  705. file_protos_customcost_messages_proto_rawDescOnce.Do(func() {
  706. file_protos_customcost_messages_proto_rawDescData = protoimpl.X.CompressGZIP(file_protos_customcost_messages_proto_rawDescData)
  707. })
  708. return file_protos_customcost_messages_proto_rawDescData
  709. }
  710. var file_protos_customcost_messages_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
  711. var file_protos_customcost_messages_proto_goTypes = []interface{}{
  712. (*CustomCostResponse)(nil), // 0: customcost.messages.CustomCostResponse
  713. (*CustomCost)(nil), // 1: customcost.messages.CustomCost
  714. (*CustomCostExtendedAttributes)(nil), // 2: customcost.messages.CustomCostExtendedAttributes
  715. nil, // 3: customcost.messages.CustomCostResponse.MetadataEntry
  716. nil, // 4: customcost.messages.CustomCost.MetadataEntry
  717. nil, // 5: customcost.messages.CustomCost.LabelsEntry
  718. (*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp
  719. }
  720. var file_protos_customcost_messages_proto_depIdxs = []int32{
  721. 3, // 0: customcost.messages.CustomCostResponse.metadata:type_name -> customcost.messages.CustomCostResponse.MetadataEntry
  722. 6, // 1: customcost.messages.CustomCostResponse.start:type_name -> google.protobuf.Timestamp
  723. 6, // 2: customcost.messages.CustomCostResponse.end:type_name -> google.protobuf.Timestamp
  724. 1, // 3: customcost.messages.CustomCostResponse.costs:type_name -> customcost.messages.CustomCost
  725. 4, // 4: customcost.messages.CustomCost.metadata:type_name -> customcost.messages.CustomCost.MetadataEntry
  726. 5, // 5: customcost.messages.CustomCost.labels:type_name -> customcost.messages.CustomCost.LabelsEntry
  727. 2, // 6: customcost.messages.CustomCost.extended_attributes:type_name -> customcost.messages.CustomCostExtendedAttributes
  728. 6, // 7: customcost.messages.CustomCostExtendedAttributes.billing_period_start:type_name -> google.protobuf.Timestamp
  729. 6, // 8: customcost.messages.CustomCostExtendedAttributes.billing_period_end:type_name -> google.protobuf.Timestamp
  730. 9, // [9:9] is the sub-list for method output_type
  731. 9, // [9:9] is the sub-list for method input_type
  732. 9, // [9:9] is the sub-list for extension type_name
  733. 9, // [9:9] is the sub-list for extension extendee
  734. 0, // [0:9] is the sub-list for field type_name
  735. }
  736. func init() { file_protos_customcost_messages_proto_init() }
  737. func file_protos_customcost_messages_proto_init() {
  738. if File_protos_customcost_messages_proto != nil {
  739. return
  740. }
  741. if !protoimpl.UnsafeEnabled {
  742. file_protos_customcost_messages_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  743. switch v := v.(*CustomCostResponse); i {
  744. case 0:
  745. return &v.state
  746. case 1:
  747. return &v.sizeCache
  748. case 2:
  749. return &v.unknownFields
  750. default:
  751. return nil
  752. }
  753. }
  754. file_protos_customcost_messages_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  755. switch v := v.(*CustomCost); i {
  756. case 0:
  757. return &v.state
  758. case 1:
  759. return &v.sizeCache
  760. case 2:
  761. return &v.unknownFields
  762. default:
  763. return nil
  764. }
  765. }
  766. file_protos_customcost_messages_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  767. switch v := v.(*CustomCostExtendedAttributes); i {
  768. case 0:
  769. return &v.state
  770. case 1:
  771. return &v.sizeCache
  772. case 2:
  773. return &v.unknownFields
  774. default:
  775. return nil
  776. }
  777. }
  778. }
  779. file_protos_customcost_messages_proto_msgTypes[1].OneofWrappers = []interface{}{}
  780. file_protos_customcost_messages_proto_msgTypes[2].OneofWrappers = []interface{}{}
  781. type x struct{}
  782. out := protoimpl.TypeBuilder{
  783. File: protoimpl.DescBuilder{
  784. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  785. RawDescriptor: file_protos_customcost_messages_proto_rawDesc,
  786. NumEnums: 0,
  787. NumMessages: 6,
  788. NumExtensions: 0,
  789. NumServices: 0,
  790. },
  791. GoTypes: file_protos_customcost_messages_proto_goTypes,
  792. DependencyIndexes: file_protos_customcost_messages_proto_depIdxs,
  793. MessageInfos: file_protos_customcost_messages_proto_msgTypes,
  794. }.Build()
  795. File_protos_customcost_messages_proto = out.File
  796. file_protos_customcost_messages_proto_rawDesc = nil
  797. file_protos_customcost_messages_proto_goTypes = nil
  798. file_protos_customcost_messages_proto_depIdxs = nil
  799. }