// Copyright IBM Corp. 2020, 2025 // SPDX-License-Identifier: MPL-2.0 // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.11 // protoc (unknown) // source: controller/api/services/v1/billing_service.proto package services import ( _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" billing "github.com/hashicorp/boundary/sdk/pbs/controller/api/resources/billing" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" unsafe "unsafe" ) const ( // Verify that this generated code is sufficiently up-to-date. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) // Verify that runtime/protoimpl is sufficiently up-to-date. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) type MonthlyActiveUsersRequest struct { state protoimpl.MessageState `protogen:"open.v1"` // An optional start time of the billing period to query, in the format of YYYY-MM. StartTime string `protobuf:"bytes,1,opt,name=start_time,proto3" json:"start_time,omitempty" class:"public"` // @gotags: class:"public" // An optional end time of the billing period to query, in the format of YYYY-MM. EndTime string `protobuf:"bytes,2,opt,name=end_time,proto3" json:"end_time,omitempty" class:"public"` // @gotags: class:"public" unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *MonthlyActiveUsersRequest) Reset() { *x = MonthlyActiveUsersRequest{} mi := &file_controller_api_services_v1_billing_service_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *MonthlyActiveUsersRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*MonthlyActiveUsersRequest) ProtoMessage() {} func (x *MonthlyActiveUsersRequest) ProtoReflect() protoreflect.Message { mi := &file_controller_api_services_v1_billing_service_proto_msgTypes[0] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use MonthlyActiveUsersRequest.ProtoReflect.Descriptor instead. func (*MonthlyActiveUsersRequest) Descriptor() ([]byte, []int) { return file_controller_api_services_v1_billing_service_proto_rawDescGZIP(), []int{0} } func (x *MonthlyActiveUsersRequest) GetStartTime() string { if x != nil { return x.StartTime } return "" } func (x *MonthlyActiveUsersRequest) GetEndTime() string { if x != nil { return x.EndTime } return "" } type MonthlyActiveUsersResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Items []*billing.ActiveUsers `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *MonthlyActiveUsersResponse) Reset() { *x = MonthlyActiveUsersResponse{} mi := &file_controller_api_services_v1_billing_service_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *MonthlyActiveUsersResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*MonthlyActiveUsersResponse) ProtoMessage() {} func (x *MonthlyActiveUsersResponse) ProtoReflect() protoreflect.Message { mi := &file_controller_api_services_v1_billing_service_proto_msgTypes[1] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use MonthlyActiveUsersResponse.ProtoReflect.Descriptor instead. func (*MonthlyActiveUsersResponse) Descriptor() ([]byte, []int) { return file_controller_api_services_v1_billing_service_proto_rawDescGZIP(), []int{1} } func (x *MonthlyActiveUsersResponse) GetItems() []*billing.ActiveUsers { if x != nil { return x.Items } return nil } var File_controller_api_services_v1_billing_service_proto protoreflect.FileDescriptor const file_controller_api_services_v1_billing_service_proto_rawDesc = "" + "\n" + "0controller/api/services/v1/billing_service.proto\x12\x1acontroller.api.services.v1\x1a1controller/api/resources/billing/v1/billing.proto\x1a\x1cgoogle/api/annotations.proto\x1a.protoc-gen-openapiv2/options/annotations.proto\"W\n" + "\x19MonthlyActiveUsersRequest\x12\x1e\n" + "\n" + "start_time\x18\x01 \x01(\tR\n" + "start_time\x12\x1a\n" + "\bend_time\x18\x02 \x01(\tR\bend_time\"d\n" + "\x1aMonthlyActiveUsersResponse\x12F\n" + "\x05items\x18\x01 \x03(\v20.controller.api.resources.billing.v1.ActiveUsersR\x05items2\xdb\x02\n" + "\x0eBillingService\x12\xcf\x01\n" + "\x12MonthlyActiveUsers\x125.controller.api.services.v1.MonthlyActiveUsersRequest\x1a6.controller.api.services.v1.MonthlyActiveUsersResponse\"J\x92A\x1f\x12\x1dReturns monthly active users.\x82\xd3\xe4\x93\x02\"\x12 /v1/billing:monthly-active-users\x1aw\x92At\n" + "\x0fBilling service\x12aThe billing service provides the usage data. It includes the active users in a given time period.BMZKgithub.com/hashicorp/boundary/internal/gen/controller/api/services;servicesb\x06proto3" var ( file_controller_api_services_v1_billing_service_proto_rawDescOnce sync.Once file_controller_api_services_v1_billing_service_proto_rawDescData []byte ) func file_controller_api_services_v1_billing_service_proto_rawDescGZIP() []byte { file_controller_api_services_v1_billing_service_proto_rawDescOnce.Do(func() { file_controller_api_services_v1_billing_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_controller_api_services_v1_billing_service_proto_rawDesc), len(file_controller_api_services_v1_billing_service_proto_rawDesc))) }) return file_controller_api_services_v1_billing_service_proto_rawDescData } var file_controller_api_services_v1_billing_service_proto_msgTypes = make([]protoimpl.MessageInfo, 2) var file_controller_api_services_v1_billing_service_proto_goTypes = []any{ (*MonthlyActiveUsersRequest)(nil), // 0: controller.api.services.v1.MonthlyActiveUsersRequest (*MonthlyActiveUsersResponse)(nil), // 1: controller.api.services.v1.MonthlyActiveUsersResponse (*billing.ActiveUsers)(nil), // 2: controller.api.resources.billing.v1.ActiveUsers } var file_controller_api_services_v1_billing_service_proto_depIdxs = []int32{ 2, // 0: controller.api.services.v1.MonthlyActiveUsersResponse.items:type_name -> controller.api.resources.billing.v1.ActiveUsers 0, // 1: controller.api.services.v1.BillingService.MonthlyActiveUsers:input_type -> controller.api.services.v1.MonthlyActiveUsersRequest 1, // 2: controller.api.services.v1.BillingService.MonthlyActiveUsers:output_type -> controller.api.services.v1.MonthlyActiveUsersResponse 2, // [2:3] is the sub-list for method output_type 1, // [1:2] is the sub-list for method input_type 1, // [1:1] is the sub-list for extension type_name 1, // [1:1] is the sub-list for extension extendee 0, // [0:1] is the sub-list for field type_name } func init() { file_controller_api_services_v1_billing_service_proto_init() } func file_controller_api_services_v1_billing_service_proto_init() { if File_controller_api_services_v1_billing_service_proto != nil { return } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_controller_api_services_v1_billing_service_proto_rawDesc), len(file_controller_api_services_v1_billing_service_proto_rawDesc)), NumEnums: 0, NumMessages: 2, NumExtensions: 0, NumServices: 1, }, GoTypes: file_controller_api_services_v1_billing_service_proto_goTypes, DependencyIndexes: file_controller_api_services_v1_billing_service_proto_depIdxs, MessageInfos: file_controller_api_services_v1_billing_service_proto_msgTypes, }.Build() File_controller_api_services_v1_billing_service_proto = out.File file_controller_api_services_v1_billing_service_proto_goTypes = nil file_controller_api_services_v1_billing_service_proto_depIdxs = nil }