Path: blob/main/components/usage-api/go/v1/usage.pb.go
2499 views
// Copyright (c) 2024 Gitpod GmbH. All rights reserved.1// Licensed under the GNU Affero General Public License (AGPL).2// See License.AGPL.txt in the project root for license information.34// Code generated by protoc-gen-go. DO NOT EDIT.5// versions:6// protoc-gen-go v1.28.17// protoc (unknown)8// source: usage/v1/usage.proto910package v11112import (13protoreflect "google.golang.org/protobuf/reflect/protoreflect"14protoimpl "google.golang.org/protobuf/runtime/protoimpl"15durationpb "google.golang.org/protobuf/types/known/durationpb"16timestamppb "google.golang.org/protobuf/types/known/timestamppb"17reflect "reflect"18sync "sync"19)2021const (22// Verify that this generated code is sufficiently up-to-date.23_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)24// Verify that runtime/protoimpl is sufficiently up-to-date.25_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)26)2728type ListUsageRequest_Ordering int322930const (31ListUsageRequest_ORDERING_DESCENDING ListUsageRequest_Ordering = 032ListUsageRequest_ORDERING_ASCENDING ListUsageRequest_Ordering = 133)3435// Enum value maps for ListUsageRequest_Ordering.36var (37ListUsageRequest_Ordering_name = map[int32]string{380: "ORDERING_DESCENDING",391: "ORDERING_ASCENDING",40}41ListUsageRequest_Ordering_value = map[string]int32{42"ORDERING_DESCENDING": 0,43"ORDERING_ASCENDING": 1,44}45)4647func (x ListUsageRequest_Ordering) Enum() *ListUsageRequest_Ordering {48p := new(ListUsageRequest_Ordering)49*p = x50return p51}5253func (x ListUsageRequest_Ordering) String() string {54return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))55}5657func (ListUsageRequest_Ordering) Descriptor() protoreflect.EnumDescriptor {58return file_usage_v1_usage_proto_enumTypes[0].Descriptor()59}6061func (ListUsageRequest_Ordering) Type() protoreflect.EnumType {62return &file_usage_v1_usage_proto_enumTypes[0]63}6465func (x ListUsageRequest_Ordering) Number() protoreflect.EnumNumber {66return protoreflect.EnumNumber(x)67}6869// Deprecated: Use ListUsageRequest_Ordering.Descriptor instead.70func (ListUsageRequest_Ordering) EnumDescriptor() ([]byte, []int) {71return file_usage_v1_usage_proto_rawDescGZIP(), []int{4, 0}72}7374type Usage_Kind int327576const (77Usage_KIND_WORKSPACE_INSTANCE Usage_Kind = 078Usage_KIND_INVOICE Usage_Kind = 179)8081// Enum value maps for Usage_Kind.82var (83Usage_Kind_name = map[int32]string{840: "KIND_WORKSPACE_INSTANCE",851: "KIND_INVOICE",86}87Usage_Kind_value = map[string]int32{88"KIND_WORKSPACE_INSTANCE": 0,89"KIND_INVOICE": 1,90}91)9293func (x Usage_Kind) Enum() *Usage_Kind {94p := new(Usage_Kind)95*p = x96return p97}9899func (x Usage_Kind) String() string {100return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))101}102103func (Usage_Kind) Descriptor() protoreflect.EnumDescriptor {104return file_usage_v1_usage_proto_enumTypes[1].Descriptor()105}106107func (Usage_Kind) Type() protoreflect.EnumType {108return &file_usage_v1_usage_proto_enumTypes[1]109}110111func (x Usage_Kind) Number() protoreflect.EnumNumber {112return protoreflect.EnumNumber(x)113}114115// Deprecated: Use Usage_Kind.Descriptor instead.116func (Usage_Kind) EnumDescriptor() ([]byte, []int) {117return file_usage_v1_usage_proto_rawDescGZIP(), []int{6, 0}118}119120type CostCenter_BillingStrategy int32121122const (123CostCenter_BILLING_STRATEGY_STRIPE CostCenter_BillingStrategy = 0124CostCenter_BILLING_STRATEGY_OTHER CostCenter_BillingStrategy = 1125)126127// Enum value maps for CostCenter_BillingStrategy.128var (129CostCenter_BillingStrategy_name = map[int32]string{1300: "BILLING_STRATEGY_STRIPE",1311: "BILLING_STRATEGY_OTHER",132}133CostCenter_BillingStrategy_value = map[string]int32{134"BILLING_STRATEGY_STRIPE": 0,135"BILLING_STRATEGY_OTHER": 1,136}137)138139func (x CostCenter_BillingStrategy) Enum() *CostCenter_BillingStrategy {140p := new(CostCenter_BillingStrategy)141*p = x142return p143}144145func (x CostCenter_BillingStrategy) String() string {146return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))147}148149func (CostCenter_BillingStrategy) Descriptor() protoreflect.EnumDescriptor {150return file_usage_v1_usage_proto_enumTypes[2].Descriptor()151}152153func (CostCenter_BillingStrategy) Type() protoreflect.EnumType {154return &file_usage_v1_usage_proto_enumTypes[2]155}156157func (x CostCenter_BillingStrategy) Number() protoreflect.EnumNumber {158return protoreflect.EnumNumber(x)159}160161// Deprecated: Use CostCenter_BillingStrategy.Descriptor instead.162func (CostCenter_BillingStrategy) EnumDescriptor() ([]byte, []int) {163return file_usage_v1_usage_proto_rawDescGZIP(), []int{13, 0}164}165166type ReconcileUsageRequest struct {167state protoimpl.MessageState168sizeCache protoimpl.SizeCache169unknownFields protoimpl.UnknownFields170171// from specifies the starting time range for this request.172From *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`173// to specifies the end time range for this request.174To *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`175}176177func (x *ReconcileUsageRequest) Reset() {178*x = ReconcileUsageRequest{}179if protoimpl.UnsafeEnabled {180mi := &file_usage_v1_usage_proto_msgTypes[0]181ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))182ms.StoreMessageInfo(mi)183}184}185186func (x *ReconcileUsageRequest) String() string {187return protoimpl.X.MessageStringOf(x)188}189190func (*ReconcileUsageRequest) ProtoMessage() {}191192func (x *ReconcileUsageRequest) ProtoReflect() protoreflect.Message {193mi := &file_usage_v1_usage_proto_msgTypes[0]194if protoimpl.UnsafeEnabled && x != nil {195ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))196if ms.LoadMessageInfo() == nil {197ms.StoreMessageInfo(mi)198}199return ms200}201return mi.MessageOf(x)202}203204// Deprecated: Use ReconcileUsageRequest.ProtoReflect.Descriptor instead.205func (*ReconcileUsageRequest) Descriptor() ([]byte, []int) {206return file_usage_v1_usage_proto_rawDescGZIP(), []int{0}207}208209func (x *ReconcileUsageRequest) GetFrom() *timestamppb.Timestamp {210if x != nil {211return x.From212}213return nil214}215216func (x *ReconcileUsageRequest) GetTo() *timestamppb.Timestamp {217if x != nil {218return x.To219}220return nil221}222223type ReconcileUsageResponse struct {224state protoimpl.MessageState225sizeCache protoimpl.SizeCache226unknownFields protoimpl.UnknownFields227}228229func (x *ReconcileUsageResponse) Reset() {230*x = ReconcileUsageResponse{}231if protoimpl.UnsafeEnabled {232mi := &file_usage_v1_usage_proto_msgTypes[1]233ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))234ms.StoreMessageInfo(mi)235}236}237238func (x *ReconcileUsageResponse) String() string {239return protoimpl.X.MessageStringOf(x)240}241242func (*ReconcileUsageResponse) ProtoMessage() {}243244func (x *ReconcileUsageResponse) ProtoReflect() protoreflect.Message {245mi := &file_usage_v1_usage_proto_msgTypes[1]246if protoimpl.UnsafeEnabled && x != nil {247ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))248if ms.LoadMessageInfo() == nil {249ms.StoreMessageInfo(mi)250}251return ms252}253return mi.MessageOf(x)254}255256// Deprecated: Use ReconcileUsageResponse.ProtoReflect.Descriptor instead.257func (*ReconcileUsageResponse) Descriptor() ([]byte, []int) {258return file_usage_v1_usage_proto_rawDescGZIP(), []int{1}259}260261type PaginatedRequest struct {262state protoimpl.MessageState263sizeCache protoimpl.SizeCache264unknownFields protoimpl.UnknownFields265266PerPage int64 `protobuf:"varint,1,opt,name=per_page,json=perPage,proto3" json:"per_page,omitempty"`267Page int64 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`268}269270func (x *PaginatedRequest) Reset() {271*x = PaginatedRequest{}272if protoimpl.UnsafeEnabled {273mi := &file_usage_v1_usage_proto_msgTypes[2]274ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))275ms.StoreMessageInfo(mi)276}277}278279func (x *PaginatedRequest) String() string {280return protoimpl.X.MessageStringOf(x)281}282283func (*PaginatedRequest) ProtoMessage() {}284285func (x *PaginatedRequest) ProtoReflect() protoreflect.Message {286mi := &file_usage_v1_usage_proto_msgTypes[2]287if protoimpl.UnsafeEnabled && x != nil {288ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))289if ms.LoadMessageInfo() == nil {290ms.StoreMessageInfo(mi)291}292return ms293}294return mi.MessageOf(x)295}296297// Deprecated: Use PaginatedRequest.ProtoReflect.Descriptor instead.298func (*PaginatedRequest) Descriptor() ([]byte, []int) {299return file_usage_v1_usage_proto_rawDescGZIP(), []int{2}300}301302func (x *PaginatedRequest) GetPerPage() int64 {303if x != nil {304return x.PerPage305}306return 0307}308309func (x *PaginatedRequest) GetPage() int64 {310if x != nil {311return x.Page312}313return 0314}315316type PaginatedResponse struct {317state protoimpl.MessageState318sizeCache protoimpl.SizeCache319unknownFields protoimpl.UnknownFields320321PerPage int64 `protobuf:"varint,2,opt,name=per_page,json=perPage,proto3" json:"per_page,omitempty"`322TotalPages int64 `protobuf:"varint,3,opt,name=total_pages,json=totalPages,proto3" json:"total_pages,omitempty"`323Total int64 `protobuf:"varint,4,opt,name=total,proto3" json:"total,omitempty"`324Page int64 `protobuf:"varint,5,opt,name=page,proto3" json:"page,omitempty"`325}326327func (x *PaginatedResponse) Reset() {328*x = PaginatedResponse{}329if protoimpl.UnsafeEnabled {330mi := &file_usage_v1_usage_proto_msgTypes[3]331ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))332ms.StoreMessageInfo(mi)333}334}335336func (x *PaginatedResponse) String() string {337return protoimpl.X.MessageStringOf(x)338}339340func (*PaginatedResponse) ProtoMessage() {}341342func (x *PaginatedResponse) ProtoReflect() protoreflect.Message {343mi := &file_usage_v1_usage_proto_msgTypes[3]344if protoimpl.UnsafeEnabled && x != nil {345ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))346if ms.LoadMessageInfo() == nil {347ms.StoreMessageInfo(mi)348}349return ms350}351return mi.MessageOf(x)352}353354// Deprecated: Use PaginatedResponse.ProtoReflect.Descriptor instead.355func (*PaginatedResponse) Descriptor() ([]byte, []int) {356return file_usage_v1_usage_proto_rawDescGZIP(), []int{3}357}358359func (x *PaginatedResponse) GetPerPage() int64 {360if x != nil {361return x.PerPage362}363return 0364}365366func (x *PaginatedResponse) GetTotalPages() int64 {367if x != nil {368return x.TotalPages369}370return 0371}372373func (x *PaginatedResponse) GetTotal() int64 {374if x != nil {375return x.Total376}377return 0378}379380func (x *PaginatedResponse) GetPage() int64 {381if x != nil {382return x.Page383}384return 0385}386387type ListUsageRequest struct {388state protoimpl.MessageState389sizeCache protoimpl.SizeCache390unknownFields protoimpl.UnknownFields391392AttributionId string `protobuf:"bytes,1,opt,name=attribution_id,json=attributionId,proto3" json:"attribution_id,omitempty"`393// optional user_id can be used to filter the results to only include instances created by the given user394UserId string `protobuf:"bytes,6,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`395// from specifies the starting time range for this request.396// All instances which existed starting at from will be returned.397From *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`398// to specifies the end time range for this request.399// All instances which existed ending at to will be returned.400To *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`401Order ListUsageRequest_Ordering `protobuf:"varint,4,opt,name=order,proto3,enum=usage.v1.ListUsageRequest_Ordering" json:"order,omitempty"`402Pagination *PaginatedRequest `protobuf:"bytes,5,opt,name=pagination,proto3" json:"pagination,omitempty"`403}404405func (x *ListUsageRequest) Reset() {406*x = ListUsageRequest{}407if protoimpl.UnsafeEnabled {408mi := &file_usage_v1_usage_proto_msgTypes[4]409ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))410ms.StoreMessageInfo(mi)411}412}413414func (x *ListUsageRequest) String() string {415return protoimpl.X.MessageStringOf(x)416}417418func (*ListUsageRequest) ProtoMessage() {}419420func (x *ListUsageRequest) ProtoReflect() protoreflect.Message {421mi := &file_usage_v1_usage_proto_msgTypes[4]422if protoimpl.UnsafeEnabled && x != nil {423ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))424if ms.LoadMessageInfo() == nil {425ms.StoreMessageInfo(mi)426}427return ms428}429return mi.MessageOf(x)430}431432// Deprecated: Use ListUsageRequest.ProtoReflect.Descriptor instead.433func (*ListUsageRequest) Descriptor() ([]byte, []int) {434return file_usage_v1_usage_proto_rawDescGZIP(), []int{4}435}436437func (x *ListUsageRequest) GetAttributionId() string {438if x != nil {439return x.AttributionId440}441return ""442}443444func (x *ListUsageRequest) GetUserId() string {445if x != nil {446return x.UserId447}448return ""449}450451func (x *ListUsageRequest) GetFrom() *timestamppb.Timestamp {452if x != nil {453return x.From454}455return nil456}457458func (x *ListUsageRequest) GetTo() *timestamppb.Timestamp {459if x != nil {460return x.To461}462return nil463}464465func (x *ListUsageRequest) GetOrder() ListUsageRequest_Ordering {466if x != nil {467return x.Order468}469return ListUsageRequest_ORDERING_DESCENDING470}471472func (x *ListUsageRequest) GetPagination() *PaginatedRequest {473if x != nil {474return x.Pagination475}476return nil477}478479type ListUsageResponse struct {480state protoimpl.MessageState481sizeCache protoimpl.SizeCache482unknownFields protoimpl.UnknownFields483484UsageEntries []*Usage `protobuf:"bytes,1,rep,name=usage_entries,json=usageEntries,proto3" json:"usage_entries,omitempty"`485Pagination *PaginatedResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`486// the amount of credits the given account (attributionId) has used during the requested period487CreditsUsed float64 `protobuf:"fixed64,3,opt,name=credits_used,json=creditsUsed,proto3" json:"credits_used,omitempty"`488// ledger interval489LedgerInterval *durationpb.Duration `protobuf:"bytes,4,opt,name=ledger_interval,json=ledgerInterval,proto3" json:"ledger_interval,omitempty"`490}491492func (x *ListUsageResponse) Reset() {493*x = ListUsageResponse{}494if protoimpl.UnsafeEnabled {495mi := &file_usage_v1_usage_proto_msgTypes[5]496ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))497ms.StoreMessageInfo(mi)498}499}500501func (x *ListUsageResponse) String() string {502return protoimpl.X.MessageStringOf(x)503}504505func (*ListUsageResponse) ProtoMessage() {}506507func (x *ListUsageResponse) ProtoReflect() protoreflect.Message {508mi := &file_usage_v1_usage_proto_msgTypes[5]509if protoimpl.UnsafeEnabled && x != nil {510ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))511if ms.LoadMessageInfo() == nil {512ms.StoreMessageInfo(mi)513}514return ms515}516return mi.MessageOf(x)517}518519// Deprecated: Use ListUsageResponse.ProtoReflect.Descriptor instead.520func (*ListUsageResponse) Descriptor() ([]byte, []int) {521return file_usage_v1_usage_proto_rawDescGZIP(), []int{5}522}523524func (x *ListUsageResponse) GetUsageEntries() []*Usage {525if x != nil {526return x.UsageEntries527}528return nil529}530531func (x *ListUsageResponse) GetPagination() *PaginatedResponse {532if x != nil {533return x.Pagination534}535return nil536}537538func (x *ListUsageResponse) GetCreditsUsed() float64 {539if x != nil {540return x.CreditsUsed541}542return 0543}544545func (x *ListUsageResponse) GetLedgerInterval() *durationpb.Duration {546if x != nil {547return x.LedgerInterval548}549return nil550}551552type Usage struct {553state protoimpl.MessageState554sizeCache protoimpl.SizeCache555unknownFields protoimpl.UnknownFields556557Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`558AttributionId string `protobuf:"bytes,2,opt,name=attribution_id,json=attributionId,proto3" json:"attribution_id,omitempty"`559Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`560Credits float64 `protobuf:"fixed64,4,opt,name=credits,proto3" json:"credits,omitempty"`561EffectiveTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=effective_time,json=effectiveTime,proto3" json:"effective_time,omitempty"`562Kind Usage_Kind `protobuf:"varint,6,opt,name=kind,proto3,enum=usage.v1.Usage_Kind" json:"kind,omitempty"`563WorkspaceInstanceId string `protobuf:"bytes,7,opt,name=workspace_instance_id,json=workspaceInstanceId,proto3" json:"workspace_instance_id,omitempty"`564Draft bool `protobuf:"varint,8,opt,name=draft,proto3" json:"draft,omitempty"`565Metadata string `protobuf:"bytes,9,opt,name=metadata,proto3" json:"metadata,omitempty"`566}567568func (x *Usage) Reset() {569*x = Usage{}570if protoimpl.UnsafeEnabled {571mi := &file_usage_v1_usage_proto_msgTypes[6]572ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))573ms.StoreMessageInfo(mi)574}575}576577func (x *Usage) String() string {578return protoimpl.X.MessageStringOf(x)579}580581func (*Usage) ProtoMessage() {}582583func (x *Usage) ProtoReflect() protoreflect.Message {584mi := &file_usage_v1_usage_proto_msgTypes[6]585if protoimpl.UnsafeEnabled && x != nil {586ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))587if ms.LoadMessageInfo() == nil {588ms.StoreMessageInfo(mi)589}590return ms591}592return mi.MessageOf(x)593}594595// Deprecated: Use Usage.ProtoReflect.Descriptor instead.596func (*Usage) Descriptor() ([]byte, []int) {597return file_usage_v1_usage_proto_rawDescGZIP(), []int{6}598}599600func (x *Usage) GetId() string {601if x != nil {602return x.Id603}604return ""605}606607func (x *Usage) GetAttributionId() string {608if x != nil {609return x.AttributionId610}611return ""612}613614func (x *Usage) GetDescription() string {615if x != nil {616return x.Description617}618return ""619}620621func (x *Usage) GetCredits() float64 {622if x != nil {623return x.Credits624}625return 0626}627628func (x *Usage) GetEffectiveTime() *timestamppb.Timestamp {629if x != nil {630return x.EffectiveTime631}632return nil633}634635func (x *Usage) GetKind() Usage_Kind {636if x != nil {637return x.Kind638}639return Usage_KIND_WORKSPACE_INSTANCE640}641642func (x *Usage) GetWorkspaceInstanceId() string {643if x != nil {644return x.WorkspaceInstanceId645}646return ""647}648649func (x *Usage) GetDraft() bool {650if x != nil {651return x.Draft652}653return false654}655656func (x *Usage) GetMetadata() string {657if x != nil {658return x.Metadata659}660return ""661}662663type SetCostCenterRequest struct {664state protoimpl.MessageState665sizeCache protoimpl.SizeCache666unknownFields protoimpl.UnknownFields667668CostCenter *CostCenter `protobuf:"bytes,1,opt,name=cost_center,json=costCenter,proto3" json:"cost_center,omitempty"`669}670671func (x *SetCostCenterRequest) Reset() {672*x = SetCostCenterRequest{}673if protoimpl.UnsafeEnabled {674mi := &file_usage_v1_usage_proto_msgTypes[7]675ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))676ms.StoreMessageInfo(mi)677}678}679680func (x *SetCostCenterRequest) String() string {681return protoimpl.X.MessageStringOf(x)682}683684func (*SetCostCenterRequest) ProtoMessage() {}685686func (x *SetCostCenterRequest) ProtoReflect() protoreflect.Message {687mi := &file_usage_v1_usage_proto_msgTypes[7]688if protoimpl.UnsafeEnabled && x != nil {689ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))690if ms.LoadMessageInfo() == nil {691ms.StoreMessageInfo(mi)692}693return ms694}695return mi.MessageOf(x)696}697698// Deprecated: Use SetCostCenterRequest.ProtoReflect.Descriptor instead.699func (*SetCostCenterRequest) Descriptor() ([]byte, []int) {700return file_usage_v1_usage_proto_rawDescGZIP(), []int{7}701}702703func (x *SetCostCenterRequest) GetCostCenter() *CostCenter {704if x != nil {705return x.CostCenter706}707return nil708}709710type SetCostCenterResponse struct {711state protoimpl.MessageState712sizeCache protoimpl.SizeCache713unknownFields protoimpl.UnknownFields714715CostCenter *CostCenter `protobuf:"bytes,1,opt,name=cost_center,json=costCenter,proto3" json:"cost_center,omitempty"`716}717718func (x *SetCostCenterResponse) Reset() {719*x = SetCostCenterResponse{}720if protoimpl.UnsafeEnabled {721mi := &file_usage_v1_usage_proto_msgTypes[8]722ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))723ms.StoreMessageInfo(mi)724}725}726727func (x *SetCostCenterResponse) String() string {728return protoimpl.X.MessageStringOf(x)729}730731func (*SetCostCenterResponse) ProtoMessage() {}732733func (x *SetCostCenterResponse) ProtoReflect() protoreflect.Message {734mi := &file_usage_v1_usage_proto_msgTypes[8]735if protoimpl.UnsafeEnabled && x != nil {736ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))737if ms.LoadMessageInfo() == nil {738ms.StoreMessageInfo(mi)739}740return ms741}742return mi.MessageOf(x)743}744745// Deprecated: Use SetCostCenterResponse.ProtoReflect.Descriptor instead.746func (*SetCostCenterResponse) Descriptor() ([]byte, []int) {747return file_usage_v1_usage_proto_rawDescGZIP(), []int{8}748}749750func (x *SetCostCenterResponse) GetCostCenter() *CostCenter {751if x != nil {752return x.CostCenter753}754return nil755}756757type GetBalanceRequest struct {758state protoimpl.MessageState759sizeCache protoimpl.SizeCache760unknownFields protoimpl.UnknownFields761762AttributionId string `protobuf:"bytes,1,opt,name=attribution_id,json=attributionId,proto3" json:"attribution_id,omitempty"`763}764765func (x *GetBalanceRequest) Reset() {766*x = GetBalanceRequest{}767if protoimpl.UnsafeEnabled {768mi := &file_usage_v1_usage_proto_msgTypes[9]769ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))770ms.StoreMessageInfo(mi)771}772}773774func (x *GetBalanceRequest) String() string {775return protoimpl.X.MessageStringOf(x)776}777778func (*GetBalanceRequest) ProtoMessage() {}779780func (x *GetBalanceRequest) ProtoReflect() protoreflect.Message {781mi := &file_usage_v1_usage_proto_msgTypes[9]782if protoimpl.UnsafeEnabled && x != nil {783ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))784if ms.LoadMessageInfo() == nil {785ms.StoreMessageInfo(mi)786}787return ms788}789return mi.MessageOf(x)790}791792// Deprecated: Use GetBalanceRequest.ProtoReflect.Descriptor instead.793func (*GetBalanceRequest) Descriptor() ([]byte, []int) {794return file_usage_v1_usage_proto_rawDescGZIP(), []int{9}795}796797func (x *GetBalanceRequest) GetAttributionId() string {798if x != nil {799return x.AttributionId800}801return ""802}803804type GetBalanceResponse struct {805state protoimpl.MessageState806sizeCache protoimpl.SizeCache807unknownFields protoimpl.UnknownFields808809Credits float64 `protobuf:"fixed64,4,opt,name=credits,proto3" json:"credits,omitempty"`810}811812func (x *GetBalanceResponse) Reset() {813*x = GetBalanceResponse{}814if protoimpl.UnsafeEnabled {815mi := &file_usage_v1_usage_proto_msgTypes[10]816ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))817ms.StoreMessageInfo(mi)818}819}820821func (x *GetBalanceResponse) String() string {822return protoimpl.X.MessageStringOf(x)823}824825func (*GetBalanceResponse) ProtoMessage() {}826827func (x *GetBalanceResponse) ProtoReflect() protoreflect.Message {828mi := &file_usage_v1_usage_proto_msgTypes[10]829if protoimpl.UnsafeEnabled && x != nil {830ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))831if ms.LoadMessageInfo() == nil {832ms.StoreMessageInfo(mi)833}834return ms835}836return mi.MessageOf(x)837}838839// Deprecated: Use GetBalanceResponse.ProtoReflect.Descriptor instead.840func (*GetBalanceResponse) Descriptor() ([]byte, []int) {841return file_usage_v1_usage_proto_rawDescGZIP(), []int{10}842}843844func (x *GetBalanceResponse) GetCredits() float64 {845if x != nil {846return x.Credits847}848return 0849}850851type GetCostCenterRequest struct {852state protoimpl.MessageState853sizeCache protoimpl.SizeCache854unknownFields protoimpl.UnknownFields855856AttributionId string `protobuf:"bytes,1,opt,name=attribution_id,json=attributionId,proto3" json:"attribution_id,omitempty"`857}858859func (x *GetCostCenterRequest) Reset() {860*x = GetCostCenterRequest{}861if protoimpl.UnsafeEnabled {862mi := &file_usage_v1_usage_proto_msgTypes[11]863ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))864ms.StoreMessageInfo(mi)865}866}867868func (x *GetCostCenterRequest) String() string {869return protoimpl.X.MessageStringOf(x)870}871872func (*GetCostCenterRequest) ProtoMessage() {}873874func (x *GetCostCenterRequest) ProtoReflect() protoreflect.Message {875mi := &file_usage_v1_usage_proto_msgTypes[11]876if protoimpl.UnsafeEnabled && x != nil {877ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))878if ms.LoadMessageInfo() == nil {879ms.StoreMessageInfo(mi)880}881return ms882}883return mi.MessageOf(x)884}885886// Deprecated: Use GetCostCenterRequest.ProtoReflect.Descriptor instead.887func (*GetCostCenterRequest) Descriptor() ([]byte, []int) {888return file_usage_v1_usage_proto_rawDescGZIP(), []int{11}889}890891func (x *GetCostCenterRequest) GetAttributionId() string {892if x != nil {893return x.AttributionId894}895return ""896}897898type GetCostCenterResponse struct {899state protoimpl.MessageState900sizeCache protoimpl.SizeCache901unknownFields protoimpl.UnknownFields902903CostCenter *CostCenter `protobuf:"bytes,1,opt,name=cost_center,json=costCenter,proto3" json:"cost_center,omitempty"`904}905906func (x *GetCostCenterResponse) Reset() {907*x = GetCostCenterResponse{}908if protoimpl.UnsafeEnabled {909mi := &file_usage_v1_usage_proto_msgTypes[12]910ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))911ms.StoreMessageInfo(mi)912}913}914915func (x *GetCostCenterResponse) String() string {916return protoimpl.X.MessageStringOf(x)917}918919func (*GetCostCenterResponse) ProtoMessage() {}920921func (x *GetCostCenterResponse) ProtoReflect() protoreflect.Message {922mi := &file_usage_v1_usage_proto_msgTypes[12]923if protoimpl.UnsafeEnabled && x != nil {924ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))925if ms.LoadMessageInfo() == nil {926ms.StoreMessageInfo(mi)927}928return ms929}930return mi.MessageOf(x)931}932933// Deprecated: Use GetCostCenterResponse.ProtoReflect.Descriptor instead.934func (*GetCostCenterResponse) Descriptor() ([]byte, []int) {935return file_usage_v1_usage_proto_rawDescGZIP(), []int{12}936}937938func (x *GetCostCenterResponse) GetCostCenter() *CostCenter {939if x != nil {940return x.CostCenter941}942return nil943}944945type CostCenter struct {946state protoimpl.MessageState947sizeCache protoimpl.SizeCache948unknownFields protoimpl.UnknownFields949950AttributionId string `protobuf:"bytes,1,opt,name=attribution_id,json=attributionId,proto3" json:"attribution_id,omitempty"`951SpendingLimit int32 `protobuf:"varint,2,opt,name=spending_limit,json=spendingLimit,proto3" json:"spending_limit,omitempty"`952BillingStrategy CostCenter_BillingStrategy `protobuf:"varint,3,opt,name=billing_strategy,json=billingStrategy,proto3,enum=usage.v1.CostCenter_BillingStrategy" json:"billing_strategy,omitempty"`953// next_billing_time specifies when the next billing cycle happens. Only set when billing strategy is 'other'. This property is readonly.954NextBillingTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=next_billing_time,json=nextBillingTime,proto3" json:"next_billing_time,omitempty"`955BillingCycleStart *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=billing_cycle_start,json=billingCycleStart,proto3" json:"billing_cycle_start,omitempty"`956}957958func (x *CostCenter) Reset() {959*x = CostCenter{}960if protoimpl.UnsafeEnabled {961mi := &file_usage_v1_usage_proto_msgTypes[13]962ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))963ms.StoreMessageInfo(mi)964}965}966967func (x *CostCenter) String() string {968return protoimpl.X.MessageStringOf(x)969}970971func (*CostCenter) ProtoMessage() {}972973func (x *CostCenter) ProtoReflect() protoreflect.Message {974mi := &file_usage_v1_usage_proto_msgTypes[13]975if protoimpl.UnsafeEnabled && x != nil {976ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))977if ms.LoadMessageInfo() == nil {978ms.StoreMessageInfo(mi)979}980return ms981}982return mi.MessageOf(x)983}984985// Deprecated: Use CostCenter.ProtoReflect.Descriptor instead.986func (*CostCenter) Descriptor() ([]byte, []int) {987return file_usage_v1_usage_proto_rawDescGZIP(), []int{13}988}989990func (x *CostCenter) GetAttributionId() string {991if x != nil {992return x.AttributionId993}994return ""995}996997func (x *CostCenter) GetSpendingLimit() int32 {998if x != nil {999return x.SpendingLimit1000}1001return 01002}10031004func (x *CostCenter) GetBillingStrategy() CostCenter_BillingStrategy {1005if x != nil {1006return x.BillingStrategy1007}1008return CostCenter_BILLING_STRATEGY_STRIPE1009}10101011func (x *CostCenter) GetNextBillingTime() *timestamppb.Timestamp {1012if x != nil {1013return x.NextBillingTime1014}1015return nil1016}10171018func (x *CostCenter) GetBillingCycleStart() *timestamppb.Timestamp {1019if x != nil {1020return x.BillingCycleStart1021}1022return nil1023}10241025type ResetUsageRequest struct {1026state protoimpl.MessageState1027sizeCache protoimpl.SizeCache1028unknownFields protoimpl.UnknownFields1029}10301031func (x *ResetUsageRequest) Reset() {1032*x = ResetUsageRequest{}1033if protoimpl.UnsafeEnabled {1034mi := &file_usage_v1_usage_proto_msgTypes[14]1035ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))1036ms.StoreMessageInfo(mi)1037}1038}10391040func (x *ResetUsageRequest) String() string {1041return protoimpl.X.MessageStringOf(x)1042}10431044func (*ResetUsageRequest) ProtoMessage() {}10451046func (x *ResetUsageRequest) ProtoReflect() protoreflect.Message {1047mi := &file_usage_v1_usage_proto_msgTypes[14]1048if protoimpl.UnsafeEnabled && x != nil {1049ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))1050if ms.LoadMessageInfo() == nil {1051ms.StoreMessageInfo(mi)1052}1053return ms1054}1055return mi.MessageOf(x)1056}10571058// Deprecated: Use ResetUsageRequest.ProtoReflect.Descriptor instead.1059func (*ResetUsageRequest) Descriptor() ([]byte, []int) {1060return file_usage_v1_usage_proto_rawDescGZIP(), []int{14}1061}10621063type ResetUsageResponse struct {1064state protoimpl.MessageState1065sizeCache protoimpl.SizeCache1066unknownFields protoimpl.UnknownFields1067}10681069func (x *ResetUsageResponse) Reset() {1070*x = ResetUsageResponse{}1071if protoimpl.UnsafeEnabled {1072mi := &file_usage_v1_usage_proto_msgTypes[15]1073ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))1074ms.StoreMessageInfo(mi)1075}1076}10771078func (x *ResetUsageResponse) String() string {1079return protoimpl.X.MessageStringOf(x)1080}10811082func (*ResetUsageResponse) ProtoMessage() {}10831084func (x *ResetUsageResponse) ProtoReflect() protoreflect.Message {1085mi := &file_usage_v1_usage_proto_msgTypes[15]1086if protoimpl.UnsafeEnabled && x != nil {1087ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))1088if ms.LoadMessageInfo() == nil {1089ms.StoreMessageInfo(mi)1090}1091return ms1092}1093return mi.MessageOf(x)1094}10951096// Deprecated: Use ResetUsageResponse.ProtoReflect.Descriptor instead.1097func (*ResetUsageResponse) Descriptor() ([]byte, []int) {1098return file_usage_v1_usage_proto_rawDescGZIP(), []int{15}1099}11001101type AddUsageCreditNoteRequest struct {1102state protoimpl.MessageState1103sizeCache protoimpl.SizeCache1104unknownFields protoimpl.UnknownFields11051106AttributionId string `protobuf:"bytes,1,opt,name=attribution_id,json=attributionId,proto3" json:"attribution_id,omitempty"`1107// the amount of credits to add to the given account1108Credits int32 `protobuf:"varint,2,opt,name=credits,proto3" json:"credits,omitempty"`1109// a human readable description for the reason this credit note exists1110Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`1111// the id of the user (admin) who created the note1112UserId string `protobuf:"bytes,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`1113}11141115func (x *AddUsageCreditNoteRequest) Reset() {1116*x = AddUsageCreditNoteRequest{}1117if protoimpl.UnsafeEnabled {1118mi := &file_usage_v1_usage_proto_msgTypes[16]1119ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))1120ms.StoreMessageInfo(mi)1121}1122}11231124func (x *AddUsageCreditNoteRequest) String() string {1125return protoimpl.X.MessageStringOf(x)1126}11271128func (*AddUsageCreditNoteRequest) ProtoMessage() {}11291130func (x *AddUsageCreditNoteRequest) ProtoReflect() protoreflect.Message {1131mi := &file_usage_v1_usage_proto_msgTypes[16]1132if protoimpl.UnsafeEnabled && x != nil {1133ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))1134if ms.LoadMessageInfo() == nil {1135ms.StoreMessageInfo(mi)1136}1137return ms1138}1139return mi.MessageOf(x)1140}11411142// Deprecated: Use AddUsageCreditNoteRequest.ProtoReflect.Descriptor instead.1143func (*AddUsageCreditNoteRequest) Descriptor() ([]byte, []int) {1144return file_usage_v1_usage_proto_rawDescGZIP(), []int{16}1145}11461147func (x *AddUsageCreditNoteRequest) GetAttributionId() string {1148if x != nil {1149return x.AttributionId1150}1151return ""1152}11531154func (x *AddUsageCreditNoteRequest) GetCredits() int32 {1155if x != nil {1156return x.Credits1157}1158return 01159}11601161func (x *AddUsageCreditNoteRequest) GetDescription() string {1162if x != nil {1163return x.Description1164}1165return ""1166}11671168func (x *AddUsageCreditNoteRequest) GetUserId() string {1169if x != nil {1170return x.UserId1171}1172return ""1173}11741175type AddUsageCreditNoteResponse struct {1176state protoimpl.MessageState1177sizeCache protoimpl.SizeCache1178unknownFields protoimpl.UnknownFields1179}11801181func (x *AddUsageCreditNoteResponse) Reset() {1182*x = AddUsageCreditNoteResponse{}1183if protoimpl.UnsafeEnabled {1184mi := &file_usage_v1_usage_proto_msgTypes[17]1185ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))1186ms.StoreMessageInfo(mi)1187}1188}11891190func (x *AddUsageCreditNoteResponse) String() string {1191return protoimpl.X.MessageStringOf(x)1192}11931194func (*AddUsageCreditNoteResponse) ProtoMessage() {}11951196func (x *AddUsageCreditNoteResponse) ProtoReflect() protoreflect.Message {1197mi := &file_usage_v1_usage_proto_msgTypes[17]1198if protoimpl.UnsafeEnabled && x != nil {1199ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))1200if ms.LoadMessageInfo() == nil {1201ms.StoreMessageInfo(mi)1202}1203return ms1204}1205return mi.MessageOf(x)1206}12071208// Deprecated: Use AddUsageCreditNoteResponse.ProtoReflect.Descriptor instead.1209func (*AddUsageCreditNoteResponse) Descriptor() ([]byte, []int) {1210return file_usage_v1_usage_proto_rawDescGZIP(), []int{17}1211}12121213var File_usage_v1_usage_proto protoreflect.FileDescriptor12141215var file_usage_v1_usage_proto_rawDesc = []byte{12160x0a, 0x14, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x75, 0x73, 0x61, 0x67, 0x65,12170x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31,12180x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,12190x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74,12200x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,12210x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74,12220x6f, 0x22, 0x73, 0x0a, 0x15, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x63, 0x69, 0x6c, 0x65, 0x55, 0x73,12230x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2e, 0x0a, 0x04, 0x66, 0x72,12240x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,12250x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73,12260x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x2a, 0x0a, 0x02, 0x74, 0x6f,12270x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,12280x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,12290x6d, 0x70, 0x52, 0x02, 0x74, 0x6f, 0x22, 0x18, 0x0a, 0x16, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x63,12300x69, 0x6c, 0x65, 0x55, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,12310x22, 0x41, 0x0a, 0x10, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71,12320x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x65, 0x72, 0x5f, 0x70, 0x61, 0x67, 0x65,12330x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x70, 0x65, 0x72, 0x50, 0x61, 0x67, 0x65, 0x12,12340x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x70,12350x61, 0x67, 0x65, 0x22, 0x79, 0x0a, 0x11, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64,12360x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x65, 0x72, 0x5f,12370x70, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x70, 0x65, 0x72, 0x50,12380x61, 0x67, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x70, 0x61, 0x67,12390x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x50,12400x61, 0x67, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x04, 0x20,12410x01, 0x28, 0x03, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61,12420x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x22, 0xe2,12430x02, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75,12440x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69,12450x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x61, 0x74, 0x74,12460x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73,12470x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65,12480x72, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28,12490x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,12500x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x66,12510x72, 0x6f, 0x6d, 0x12, 0x2a, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,12520x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,12530x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x02, 0x74, 0x6f, 0x12,12540x39, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23,12550x2e, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73,12560x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72,12570x69, 0x6e, 0x67, 0x52, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x3a, 0x0a, 0x0a, 0x70, 0x61,12580x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,12590x2e, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61,12600x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69,12610x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3b, 0x0a, 0x08, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x69,12620x6e, 0x67, 0x12, 0x17, 0x0a, 0x13, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x49, 0x4e, 0x47, 0x5f, 0x44,12630x45, 0x53, 0x43, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x4f,12640x52, 0x44, 0x45, 0x52, 0x49, 0x4e, 0x47, 0x5f, 0x41, 0x53, 0x43, 0x45, 0x4e, 0x44, 0x49, 0x4e,12650x47, 0x10, 0x01, 0x22, 0xed, 0x01, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x61, 0x67,12660x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x0d, 0x75, 0x73, 0x61,12670x67, 0x65, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,12680x32, 0x0f, 0x2e, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x61, 0x67,12690x65, 0x52, 0x0c, 0x75, 0x73, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x12,12700x3b, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20,12710x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50,12720x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,12730x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c,12740x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x73, 0x5f, 0x75, 0x73, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01,12750x28, 0x01, 0x52, 0x0b, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x73, 0x55, 0x73, 0x65, 0x64, 0x12,12760x42, 0x0a, 0x0f, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76,12770x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,12780x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74,12790x69, 0x6f, 0x6e, 0x52, 0x0e, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x72, 0x49, 0x6e, 0x74, 0x65, 0x72,12800x76, 0x61, 0x6c, 0x22, 0x84, 0x03, 0x0a, 0x05, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x0e, 0x0a,12810x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x25, 0x0a,12820x0e, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18,12830x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69,12840x6f, 0x6e, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,12850x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72,12860x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74,12870x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x07, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x73,12880x12, 0x41, 0x0a, 0x0e, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x74, 0x69,12890x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,12900x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73,12910x74, 0x61, 0x6d, 0x70, 0x52, 0x0d, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x54,12920x69, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28,12930x0e, 0x32, 0x14, 0x2e, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x61,12940x67, 0x65, 0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x32, 0x0a,12950x15, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x73, 0x74, 0x61,12960x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x77, 0x6f,12970x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49,12980x64, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x72, 0x61, 0x66, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08,12990x52, 0x05, 0x64, 0x72, 0x61, 0x66, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64,13000x61, 0x74, 0x61, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64,13010x61, 0x74, 0x61, 0x22, 0x35, 0x0a, 0x04, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x1b, 0x0a, 0x17, 0x4b,13020x49, 0x4e, 0x44, 0x5f, 0x57, 0x4f, 0x52, 0x4b, 0x53, 0x50, 0x41, 0x43, 0x45, 0x5f, 0x49, 0x4e,13030x53, 0x54, 0x41, 0x4e, 0x43, 0x45, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x4b, 0x49, 0x4e, 0x44,13040x5f, 0x49, 0x4e, 0x56, 0x4f, 0x49, 0x43, 0x45, 0x10, 0x01, 0x22, 0x4d, 0x0a, 0x14, 0x53, 0x65,13050x74, 0x43, 0x6f, 0x73, 0x74, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65,13060x73, 0x74, 0x12, 0x35, 0x0a, 0x0b, 0x63, 0x6f, 0x73, 0x74, 0x5f, 0x63, 0x65, 0x6e, 0x74, 0x65,13070x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e,13080x76, 0x31, 0x2e, 0x43, 0x6f, 0x73, 0x74, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x0a, 0x63,13090x6f, 0x73, 0x74, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x22, 0x4e, 0x0a, 0x15, 0x53, 0x65, 0x74,13100x43, 0x6f, 0x73, 0x74, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,13110x73, 0x65, 0x12, 0x35, 0x0a, 0x0b, 0x63, 0x6f, 0x73, 0x74, 0x5f, 0x63, 0x65, 0x6e, 0x74, 0x65,13120x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e,13130x76, 0x31, 0x2e, 0x43, 0x6f, 0x73, 0x74, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x0a, 0x63,13140x6f, 0x73, 0x74, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x22, 0x3a, 0x0a, 0x11, 0x47, 0x65, 0x74,13150x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25,13160x0a, 0x0e, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64,13170x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74,13180x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x2e, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x42, 0x61, 0x6c, 0x61,13190x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63,13200x72, 0x65, 0x64, 0x69, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x07, 0x63, 0x72,13210x65, 0x64, 0x69, 0x74, 0x73, 0x22, 0x3d, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x73, 0x74,13220x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a,13230x0e, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18,13240x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69,13250x6f, 0x6e, 0x49, 0x64, 0x22, 0x4e, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x73, 0x74, 0x43,13260x65, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a,13270x0b, 0x63, 0x6f, 0x73, 0x74, 0x5f, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01,13280x28, 0x0b, 0x32, 0x14, 0x2e, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f,13290x73, 0x74, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x0a, 0x63, 0x6f, 0x73, 0x74, 0x43, 0x65,13300x6e, 0x74, 0x65, 0x72, 0x22, 0x8b, 0x03, 0x0a, 0x0a, 0x43, 0x6f, 0x73, 0x74, 0x43, 0x65, 0x6e,13310x74, 0x65, 0x72, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69,13320x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x61, 0x74, 0x74,13330x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x70,13340x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01,13350x28, 0x05, 0x52, 0x0d, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4c, 0x69, 0x6d, 0x69,13360x74, 0x12, 0x4f, 0x0a, 0x10, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x74, 0x72,13370x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x75, 0x73,13380x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x73, 0x74, 0x43, 0x65, 0x6e, 0x74, 0x65,13390x72, 0x2e, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67,13400x79, 0x52, 0x0f, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65,13410x67, 0x79, 0x12, 0x46, 0x0a, 0x11, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x62, 0x69, 0x6c, 0x6c, 0x69,13420x6e, 0x67, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,13430x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,13440x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x42,13450x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x4a, 0x0a, 0x13, 0x62, 0x69,13460x6c, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x72,13470x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,13480x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74,13490x61, 0x6d, 0x70, 0x52, 0x11, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x43, 0x79, 0x63, 0x6c,13500x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x22, 0x4a, 0x0a, 0x0f, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e,13510x67, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x1b, 0x0a, 0x17, 0x42, 0x49, 0x4c,13520x4c, 0x49, 0x4e, 0x47, 0x5f, 0x53, 0x54, 0x52, 0x41, 0x54, 0x45, 0x47, 0x59, 0x5f, 0x53, 0x54,13530x52, 0x49, 0x50, 0x45, 0x10, 0x00, 0x12, 0x1a, 0x0a, 0x16, 0x42, 0x49, 0x4c, 0x4c, 0x49, 0x4e,13540x47, 0x5f, 0x53, 0x54, 0x52, 0x41, 0x54, 0x45, 0x47, 0x59, 0x5f, 0x4f, 0x54, 0x48, 0x45, 0x52,13550x10, 0x01, 0x22, 0x13, 0x0a, 0x11, 0x52, 0x65, 0x73, 0x65, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65,13560x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x14, 0x0a, 0x12, 0x52, 0x65, 0x73, 0x65, 0x74,13570x55, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x97, 0x01,13580x0a, 0x19, 0x41, 0x64, 0x64, 0x55, 0x73, 0x61, 0x67, 0x65, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74,13590x4e, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x61,13600x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,13610x01, 0x28, 0x09, 0x52, 0x0d, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e,13620x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x73, 0x18, 0x02, 0x20,13630x01, 0x28, 0x05, 0x52, 0x07, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x73, 0x12, 0x20, 0x0a, 0x0b,13640x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28,13650x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x17,13660x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,13670x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x1c, 0x0a, 0x1a, 0x41, 0x64, 0x64, 0x55, 0x73,13680x61, 0x67, 0x65, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x73,13690x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xce, 0x04, 0x0a, 0x0c, 0x55, 0x73, 0x61, 0x67, 0x65, 0x53,13700x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x52, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x73,13710x74, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x12, 0x1e, 0x2e, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e,13720x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x73, 0x74, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72,13730x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e,13740x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x73, 0x74, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72,13750x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x52, 0x0a, 0x0d, 0x53, 0x65,13760x74, 0x43, 0x6f, 0x73, 0x74, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x12, 0x1e, 0x2e, 0x75, 0x73,13770x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x73, 0x74, 0x43, 0x65,13780x6e, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x75, 0x73,13790x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x73, 0x74, 0x43, 0x65,13800x6e, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x55,13810x0a, 0x0e, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x63, 0x69, 0x6c, 0x65, 0x55, 0x73, 0x61, 0x67, 0x65,13820x12, 0x1f, 0x2e, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x63, 0x6f,13830x6e, 0x63, 0x69, 0x6c, 0x65, 0x55, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,13840x74, 0x1a, 0x20, 0x2e, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x63,13850x6f, 0x6e, 0x63, 0x69, 0x6c, 0x65, 0x55, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,13860x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x49, 0x0a, 0x0a, 0x52, 0x65, 0x73, 0x65, 0x74, 0x55, 0x73,13870x61, 0x67, 0x65, 0x12, 0x1b, 0x2e, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52,13880x65, 0x73, 0x65, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,13890x1a, 0x1c, 0x2e, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x65,13900x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,13910x12, 0x46, 0x0a, 0x09, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1a, 0x2e,13920x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x61,13930x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x75, 0x73, 0x61, 0x67,13940x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65,13950x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x49, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x42,13960x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x1b, 0x2e, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76,13970x31, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75,13980x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47,13990x65, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,14000x65, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x12, 0x41, 0x64, 0x64, 0x55, 0x73, 0x61, 0x67, 0x65, 0x43,14010x72, 0x65, 0x64, 0x69, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x12, 0x23, 0x2e, 0x75, 0x73, 0x61, 0x67,14020x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x55, 0x73, 0x61, 0x67, 0x65, 0x43, 0x72, 0x65,14030x64, 0x69, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24,14040x2e, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x55, 0x73, 0x61,14050x67, 0x65, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70,14060x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x2a, 0x5a, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62,14070x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2d, 0x69, 0x6f, 0x2f, 0x67,14080x69, 0x74, 0x70, 0x6f, 0x64, 0x2f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2d, 0x61, 0x70, 0x69, 0x2f,14090x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,1410}14111412var (1413file_usage_v1_usage_proto_rawDescOnce sync.Once1414file_usage_v1_usage_proto_rawDescData = file_usage_v1_usage_proto_rawDesc1415)14161417func file_usage_v1_usage_proto_rawDescGZIP() []byte {1418file_usage_v1_usage_proto_rawDescOnce.Do(func() {1419file_usage_v1_usage_proto_rawDescData = protoimpl.X.CompressGZIP(file_usage_v1_usage_proto_rawDescData)1420})1421return file_usage_v1_usage_proto_rawDescData1422}14231424var file_usage_v1_usage_proto_enumTypes = make([]protoimpl.EnumInfo, 3)1425var file_usage_v1_usage_proto_msgTypes = make([]protoimpl.MessageInfo, 18)1426var file_usage_v1_usage_proto_goTypes = []interface{}{1427(ListUsageRequest_Ordering)(0), // 0: usage.v1.ListUsageRequest.Ordering1428(Usage_Kind)(0), // 1: usage.v1.Usage.Kind1429(CostCenter_BillingStrategy)(0), // 2: usage.v1.CostCenter.BillingStrategy1430(*ReconcileUsageRequest)(nil), // 3: usage.v1.ReconcileUsageRequest1431(*ReconcileUsageResponse)(nil), // 4: usage.v1.ReconcileUsageResponse1432(*PaginatedRequest)(nil), // 5: usage.v1.PaginatedRequest1433(*PaginatedResponse)(nil), // 6: usage.v1.PaginatedResponse1434(*ListUsageRequest)(nil), // 7: usage.v1.ListUsageRequest1435(*ListUsageResponse)(nil), // 8: usage.v1.ListUsageResponse1436(*Usage)(nil), // 9: usage.v1.Usage1437(*SetCostCenterRequest)(nil), // 10: usage.v1.SetCostCenterRequest1438(*SetCostCenterResponse)(nil), // 11: usage.v1.SetCostCenterResponse1439(*GetBalanceRequest)(nil), // 12: usage.v1.GetBalanceRequest1440(*GetBalanceResponse)(nil), // 13: usage.v1.GetBalanceResponse1441(*GetCostCenterRequest)(nil), // 14: usage.v1.GetCostCenterRequest1442(*GetCostCenterResponse)(nil), // 15: usage.v1.GetCostCenterResponse1443(*CostCenter)(nil), // 16: usage.v1.CostCenter1444(*ResetUsageRequest)(nil), // 17: usage.v1.ResetUsageRequest1445(*ResetUsageResponse)(nil), // 18: usage.v1.ResetUsageResponse1446(*AddUsageCreditNoteRequest)(nil), // 19: usage.v1.AddUsageCreditNoteRequest1447(*AddUsageCreditNoteResponse)(nil), // 20: usage.v1.AddUsageCreditNoteResponse1448(*timestamppb.Timestamp)(nil), // 21: google.protobuf.Timestamp1449(*durationpb.Duration)(nil), // 22: google.protobuf.Duration1450}1451var file_usage_v1_usage_proto_depIdxs = []int32{145221, // 0: usage.v1.ReconcileUsageRequest.from:type_name -> google.protobuf.Timestamp145321, // 1: usage.v1.ReconcileUsageRequest.to:type_name -> google.protobuf.Timestamp145421, // 2: usage.v1.ListUsageRequest.from:type_name -> google.protobuf.Timestamp145521, // 3: usage.v1.ListUsageRequest.to:type_name -> google.protobuf.Timestamp14560, // 4: usage.v1.ListUsageRequest.order:type_name -> usage.v1.ListUsageRequest.Ordering14575, // 5: usage.v1.ListUsageRequest.pagination:type_name -> usage.v1.PaginatedRequest14589, // 6: usage.v1.ListUsageResponse.usage_entries:type_name -> usage.v1.Usage14596, // 7: usage.v1.ListUsageResponse.pagination:type_name -> usage.v1.PaginatedResponse146022, // 8: usage.v1.ListUsageResponse.ledger_interval:type_name -> google.protobuf.Duration146121, // 9: usage.v1.Usage.effective_time:type_name -> google.protobuf.Timestamp14621, // 10: usage.v1.Usage.kind:type_name -> usage.v1.Usage.Kind146316, // 11: usage.v1.SetCostCenterRequest.cost_center:type_name -> usage.v1.CostCenter146416, // 12: usage.v1.SetCostCenterResponse.cost_center:type_name -> usage.v1.CostCenter146516, // 13: usage.v1.GetCostCenterResponse.cost_center:type_name -> usage.v1.CostCenter14662, // 14: usage.v1.CostCenter.billing_strategy:type_name -> usage.v1.CostCenter.BillingStrategy146721, // 15: usage.v1.CostCenter.next_billing_time:type_name -> google.protobuf.Timestamp146821, // 16: usage.v1.CostCenter.billing_cycle_start:type_name -> google.protobuf.Timestamp146914, // 17: usage.v1.UsageService.GetCostCenter:input_type -> usage.v1.GetCostCenterRequest147010, // 18: usage.v1.UsageService.SetCostCenter:input_type -> usage.v1.SetCostCenterRequest14713, // 19: usage.v1.UsageService.ReconcileUsage:input_type -> usage.v1.ReconcileUsageRequest147217, // 20: usage.v1.UsageService.ResetUsage:input_type -> usage.v1.ResetUsageRequest14737, // 21: usage.v1.UsageService.ListUsage:input_type -> usage.v1.ListUsageRequest147412, // 22: usage.v1.UsageService.GetBalance:input_type -> usage.v1.GetBalanceRequest147519, // 23: usage.v1.UsageService.AddUsageCreditNote:input_type -> usage.v1.AddUsageCreditNoteRequest147615, // 24: usage.v1.UsageService.GetCostCenter:output_type -> usage.v1.GetCostCenterResponse147711, // 25: usage.v1.UsageService.SetCostCenter:output_type -> usage.v1.SetCostCenterResponse14784, // 26: usage.v1.UsageService.ReconcileUsage:output_type -> usage.v1.ReconcileUsageResponse147918, // 27: usage.v1.UsageService.ResetUsage:output_type -> usage.v1.ResetUsageResponse14808, // 28: usage.v1.UsageService.ListUsage:output_type -> usage.v1.ListUsageResponse148113, // 29: usage.v1.UsageService.GetBalance:output_type -> usage.v1.GetBalanceResponse148220, // 30: usage.v1.UsageService.AddUsageCreditNote:output_type -> usage.v1.AddUsageCreditNoteResponse148324, // [24:31] is the sub-list for method output_type148417, // [17:24] is the sub-list for method input_type148517, // [17:17] is the sub-list for extension type_name148617, // [17:17] is the sub-list for extension extendee14870, // [0:17] is the sub-list for field type_name1488}14891490func init() { file_usage_v1_usage_proto_init() }1491func file_usage_v1_usage_proto_init() {1492if File_usage_v1_usage_proto != nil {1493return1494}1495if !protoimpl.UnsafeEnabled {1496file_usage_v1_usage_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {1497switch v := v.(*ReconcileUsageRequest); i {1498case 0:1499return &v.state1500case 1:1501return &v.sizeCache1502case 2:1503return &v.unknownFields1504default:1505return nil1506}1507}1508file_usage_v1_usage_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {1509switch v := v.(*ReconcileUsageResponse); i {1510case 0:1511return &v.state1512case 1:1513return &v.sizeCache1514case 2:1515return &v.unknownFields1516default:1517return nil1518}1519}1520file_usage_v1_usage_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {1521switch v := v.(*PaginatedRequest); i {1522case 0:1523return &v.state1524case 1:1525return &v.sizeCache1526case 2:1527return &v.unknownFields1528default:1529return nil1530}1531}1532file_usage_v1_usage_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {1533switch v := v.(*PaginatedResponse); i {1534case 0:1535return &v.state1536case 1:1537return &v.sizeCache1538case 2:1539return &v.unknownFields1540default:1541return nil1542}1543}1544file_usage_v1_usage_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {1545switch v := v.(*ListUsageRequest); i {1546case 0:1547return &v.state1548case 1:1549return &v.sizeCache1550case 2:1551return &v.unknownFields1552default:1553return nil1554}1555}1556file_usage_v1_usage_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {1557switch v := v.(*ListUsageResponse); i {1558case 0:1559return &v.state1560case 1:1561return &v.sizeCache1562case 2:1563return &v.unknownFields1564default:1565return nil1566}1567}1568file_usage_v1_usage_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {1569switch v := v.(*Usage); i {1570case 0:1571return &v.state1572case 1:1573return &v.sizeCache1574case 2:1575return &v.unknownFields1576default:1577return nil1578}1579}1580file_usage_v1_usage_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {1581switch v := v.(*SetCostCenterRequest); i {1582case 0:1583return &v.state1584case 1:1585return &v.sizeCache1586case 2:1587return &v.unknownFields1588default:1589return nil1590}1591}1592file_usage_v1_usage_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {1593switch v := v.(*SetCostCenterResponse); i {1594case 0:1595return &v.state1596case 1:1597return &v.sizeCache1598case 2:1599return &v.unknownFields1600default:1601return nil1602}1603}1604file_usage_v1_usage_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {1605switch v := v.(*GetBalanceRequest); i {1606case 0:1607return &v.state1608case 1:1609return &v.sizeCache1610case 2:1611return &v.unknownFields1612default:1613return nil1614}1615}1616file_usage_v1_usage_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {1617switch v := v.(*GetBalanceResponse); i {1618case 0:1619return &v.state1620case 1:1621return &v.sizeCache1622case 2:1623return &v.unknownFields1624default:1625return nil1626}1627}1628file_usage_v1_usage_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {1629switch v := v.(*GetCostCenterRequest); i {1630case 0:1631return &v.state1632case 1:1633return &v.sizeCache1634case 2:1635return &v.unknownFields1636default:1637return nil1638}1639}1640file_usage_v1_usage_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {1641switch v := v.(*GetCostCenterResponse); i {1642case 0:1643return &v.state1644case 1:1645return &v.sizeCache1646case 2:1647return &v.unknownFields1648default:1649return nil1650}1651}1652file_usage_v1_usage_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {1653switch v := v.(*CostCenter); i {1654case 0:1655return &v.state1656case 1:1657return &v.sizeCache1658case 2:1659return &v.unknownFields1660default:1661return nil1662}1663}1664file_usage_v1_usage_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {1665switch v := v.(*ResetUsageRequest); i {1666case 0:1667return &v.state1668case 1:1669return &v.sizeCache1670case 2:1671return &v.unknownFields1672default:1673return nil1674}1675}1676file_usage_v1_usage_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {1677switch v := v.(*ResetUsageResponse); i {1678case 0:1679return &v.state1680case 1:1681return &v.sizeCache1682case 2:1683return &v.unknownFields1684default:1685return nil1686}1687}1688file_usage_v1_usage_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {1689switch v := v.(*AddUsageCreditNoteRequest); i {1690case 0:1691return &v.state1692case 1:1693return &v.sizeCache1694case 2:1695return &v.unknownFields1696default:1697return nil1698}1699}1700file_usage_v1_usage_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {1701switch v := v.(*AddUsageCreditNoteResponse); i {1702case 0:1703return &v.state1704case 1:1705return &v.sizeCache1706case 2:1707return &v.unknownFields1708default:1709return nil1710}1711}1712}1713type x struct{}1714out := protoimpl.TypeBuilder{1715File: protoimpl.DescBuilder{1716GoPackagePath: reflect.TypeOf(x{}).PkgPath(),1717RawDescriptor: file_usage_v1_usage_proto_rawDesc,1718NumEnums: 3,1719NumMessages: 18,1720NumExtensions: 0,1721NumServices: 1,1722},1723GoTypes: file_usage_v1_usage_proto_goTypes,1724DependencyIndexes: file_usage_v1_usage_proto_depIdxs,1725EnumInfos: file_usage_v1_usage_proto_enumTypes,1726MessageInfos: file_usage_v1_usage_proto_msgTypes,1727}.Build()1728File_usage_v1_usage_proto = out.File1729file_usage_v1_usage_proto_rawDesc = nil1730file_usage_v1_usage_proto_goTypes = nil1731file_usage_v1_usage_proto_depIdxs = nil1732}173317341735