Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterBillingServiceServer(s grpc.ServiceRegistrar, srv BillingServiceServer)
- type BillingServiceClient
- type BillingServiceServer
- type CreateDefaultRateDefinitionRequest
- func (*CreateDefaultRateDefinitionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDefaultRateDefinitionRequest) GetRateDefinition() *v1alpha2.RateDefinition
- func (x *CreateDefaultRateDefinitionRequest) GetRateDefinitionId() string
- func (*CreateDefaultRateDefinitionRequest) ProtoMessage()
- func (x *CreateDefaultRateDefinitionRequest) ProtoReflect() protoreflect.Message
- func (x *CreateDefaultRateDefinitionRequest) Reset()
- func (x *CreateDefaultRateDefinitionRequest) String() string
- type CreateDefaultRateDefinitionResponse
- func (*CreateDefaultRateDefinitionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDefaultRateDefinitionResponse) GetRateDefinitionId() string
- func (*CreateDefaultRateDefinitionResponse) ProtoMessage()
- func (x *CreateDefaultRateDefinitionResponse) ProtoReflect() protoreflect.Message
- func (x *CreateDefaultRateDefinitionResponse) Reset()
- func (x *CreateDefaultRateDefinitionResponse) String() string
- type CreateDefaultRateDefinitionsRequest
- func (*CreateDefaultRateDefinitionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDefaultRateDefinitionsRequest) GetRates() []*CreateDefaultRateDefinitionRequest
- func (*CreateDefaultRateDefinitionsRequest) ProtoMessage()
- func (x *CreateDefaultRateDefinitionsRequest) ProtoReflect() protoreflect.Message
- func (x *CreateDefaultRateDefinitionsRequest) Reset()
- func (x *CreateDefaultRateDefinitionsRequest) String() string
- type CreateDefaultRateDefinitionsResponse
- func (*CreateDefaultRateDefinitionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDefaultRateDefinitionsResponse) GetRates() []*CreateDefaultRateDefinitionResponse
- func (*CreateDefaultRateDefinitionsResponse) ProtoMessage()
- func (x *CreateDefaultRateDefinitionsResponse) ProtoReflect() protoreflect.Message
- func (x *CreateDefaultRateDefinitionsResponse) Reset()
- func (x *CreateDefaultRateDefinitionsResponse) String() string
- type CreateRateDefinitionRequest
- func (*CreateRateDefinitionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRateDefinitionRequest) GetDefaultRateDefinitionId() string
- func (x *CreateRateDefinitionRequest) GetRateDefinition() *v1alpha2.RateDefinition
- func (x *CreateRateDefinitionRequest) GetRateDefinitionId() string
- func (*CreateRateDefinitionRequest) ProtoMessage()
- func (x *CreateRateDefinitionRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRateDefinitionRequest) Reset()
- func (x *CreateRateDefinitionRequest) String() string
- type CreateRateDefinitionResponse
- func (*CreateRateDefinitionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRateDefinitionResponse) GetRateDefinitionId() string
- func (*CreateRateDefinitionResponse) ProtoMessage()
- func (x *CreateRateDefinitionResponse) ProtoReflect() protoreflect.Message
- func (x *CreateRateDefinitionResponse) Reset()
- func (x *CreateRateDefinitionResponse) String() string
- type CreateRateDefinitionsRequest
- func (*CreateRateDefinitionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRateDefinitionsRequest) GetRates() []*CreateRateDefinitionRequest
- func (*CreateRateDefinitionsRequest) ProtoMessage()
- func (x *CreateRateDefinitionsRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRateDefinitionsRequest) Reset()
- func (x *CreateRateDefinitionsRequest) String() string
- type CreateRateDefinitionsResponse
- func (*CreateRateDefinitionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRateDefinitionsResponse) GetRates() []*CreateRateDefinitionResponse
- func (*CreateRateDefinitionsResponse) ProtoMessage()
- func (x *CreateRateDefinitionsResponse) ProtoReflect() protoreflect.Message
- func (x *CreateRateDefinitionsResponse) Reset()
- func (x *CreateRateDefinitionsResponse) String() string
- type DeleteDefaultRateDefinitionRequest
- func (*DeleteDefaultRateDefinitionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDefaultRateDefinitionRequest) GetRateDefinitionId() string
- func (*DeleteDefaultRateDefinitionRequest) ProtoMessage()
- func (x *DeleteDefaultRateDefinitionRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteDefaultRateDefinitionRequest) Reset()
- func (x *DeleteDefaultRateDefinitionRequest) String() string
- type DeleteDefaultRateDefinitionResponse
- func (*DeleteDefaultRateDefinitionResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteDefaultRateDefinitionResponse) ProtoMessage()
- func (x *DeleteDefaultRateDefinitionResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteDefaultRateDefinitionResponse) Reset()
- func (x *DeleteDefaultRateDefinitionResponse) String() string
- type DeleteDefaultRateDefinitionsRequest
- func (*DeleteDefaultRateDefinitionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDefaultRateDefinitionsRequest) GetRateDefinitionIds() []string
- func (*DeleteDefaultRateDefinitionsRequest) ProtoMessage()
- func (x *DeleteDefaultRateDefinitionsRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteDefaultRateDefinitionsRequest) Reset()
- func (x *DeleteDefaultRateDefinitionsRequest) String() string
- type DeleteDefaultRateDefinitionsResponse
- func (*DeleteDefaultRateDefinitionsResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteDefaultRateDefinitionsResponse) ProtoMessage()
- func (x *DeleteDefaultRateDefinitionsResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteDefaultRateDefinitionsResponse) Reset()
- func (x *DeleteDefaultRateDefinitionsResponse) String() string
- type DeleteRateDefinitionRequest
- func (*DeleteRateDefinitionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRateDefinitionRequest) GetRateDefinitionId() string
- func (*DeleteRateDefinitionRequest) ProtoMessage()
- func (x *DeleteRateDefinitionRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRateDefinitionRequest) Reset()
- func (x *DeleteRateDefinitionRequest) String() string
- type DeleteRateDefinitionResponse
- func (*DeleteRateDefinitionResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteRateDefinitionResponse) ProtoMessage()
- func (x *DeleteRateDefinitionResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteRateDefinitionResponse) Reset()
- func (x *DeleteRateDefinitionResponse) String() string
- type DeleteRateDefinitionsRequest
- func (*DeleteRateDefinitionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRateDefinitionsRequest) GetRateDefinitionIds() []string
- func (*DeleteRateDefinitionsRequest) ProtoMessage()
- func (x *DeleteRateDefinitionsRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRateDefinitionsRequest) Reset()
- func (x *DeleteRateDefinitionsRequest) String() string
- type DeleteRateDefinitionsResponse
- func (*DeleteRateDefinitionsResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteRateDefinitionsResponse) ProtoMessage()
- func (x *DeleteRateDefinitionsResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteRateDefinitionsResponse) Reset()
- func (x *DeleteRateDefinitionsResponse) String() string
- type ExportInvoiceRequest
- func (*ExportInvoiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExportInvoiceRequest) GetFormat() InvoiceFormat
- func (x *ExportInvoiceRequest) GetInvoiceDate() *timestamppb.Timestamp
- func (*ExportInvoiceRequest) ProtoMessage()
- func (x *ExportInvoiceRequest) ProtoReflect() protoreflect.Message
- func (x *ExportInvoiceRequest) Reset()
- func (x *ExportInvoiceRequest) String() string
- type ExportInvoiceResponse
- func (*ExportInvoiceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ExportInvoiceResponse) GetInvoice() *v1alpha2.Invoice
- func (*ExportInvoiceResponse) ProtoMessage()
- func (x *ExportInvoiceResponse) ProtoReflect() protoreflect.Message
- func (x *ExportInvoiceResponse) Reset()
- func (x *ExportInvoiceResponse) String() string
- type GetRateDefinitionRequest
- func (*GetRateDefinitionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRateDefinitionRequest) GetRateDefinitionId() string
- func (*GetRateDefinitionRequest) ProtoMessage()
- func (x *GetRateDefinitionRequest) ProtoReflect() protoreflect.Message
- func (x *GetRateDefinitionRequest) Reset()
- func (x *GetRateDefinitionRequest) String() string
- type GetRateDefinitionResponse
- func (*GetRateDefinitionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRateDefinitionResponse) GetRateDefinition() *v1alpha2.RateDefinition
- func (*GetRateDefinitionResponse) ProtoMessage()
- func (x *GetRateDefinitionResponse) ProtoReflect() protoreflect.Message
- func (x *GetRateDefinitionResponse) Reset()
- func (x *GetRateDefinitionResponse) String() string
- type GetRateHistoryRequest
- func (*GetRateHistoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRateHistoryRequest) GetEndTime() *timestamppb.Timestamp
- func (x *GetRateHistoryRequest) GetGroupIds() []string
- func (x *GetRateHistoryRequest) GetOrgId() string
- func (x *GetRateHistoryRequest) GetStartTime() *timestamppb.Timestamp
- func (*GetRateHistoryRequest) ProtoMessage()
- func (x *GetRateHistoryRequest) ProtoReflect() protoreflect.Message
- func (x *GetRateHistoryRequest) Reset()
- func (x *GetRateHistoryRequest) String() string
- type GetRateHistoryResponse
- func (*GetRateHistoryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRateHistoryResponse) GetSnapshots() []*v1alpha2.RateSnapshot
- func (*GetRateHistoryResponse) ProtoMessage()
- func (x *GetRateHistoryResponse) ProtoReflect() protoreflect.Message
- func (x *GetRateHistoryResponse) Reset()
- func (x *GetRateHistoryResponse) String() string
- type InvoiceFormat
- func (InvoiceFormat) Descriptor() protoreflect.EnumDescriptor
- func (x InvoiceFormat) Enum() *InvoiceFormat
- func (InvoiceFormat) EnumDescriptor() ([]byte, []int)deprecated
- func (x InvoiceFormat) Number() protoreflect.EnumNumber
- func (x InvoiceFormat) String() string
- func (InvoiceFormat) Type() protoreflect.EnumType
- type ListActiveRateDefinitionsRequest
- func (*ListActiveRateDefinitionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListActiveRateDefinitionsRequest) GetFields() *fieldmaskpb.FieldMask
- func (x *ListActiveRateDefinitionsRequest) GetFilter() string
- func (x *ListActiveRateDefinitionsRequest) GetPage() *Page
- func (x *ListActiveRateDefinitionsRequest) GetRateDefinitionId() string
- func (x *ListActiveRateDefinitionsRequest) GetSort() []*Sort
- func (*ListActiveRateDefinitionsRequest) ProtoMessage()
- func (x *ListActiveRateDefinitionsRequest) ProtoReflect() protoreflect.Message
- func (x *ListActiveRateDefinitionsRequest) Reset()
- func (x *ListActiveRateDefinitionsRequest) String() string
- type ListActiveRateDefinitionsResponse
- func (*ListActiveRateDefinitionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListActiveRateDefinitionsResponse) GetRateDefinitions() []*v1alpha2.RateDefinition
- func (x *ListActiveRateDefinitionsResponse) GetToken() string
- func (*ListActiveRateDefinitionsResponse) ProtoMessage()
- func (x *ListActiveRateDefinitionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListActiveRateDefinitionsResponse) Reset()
- func (x *ListActiveRateDefinitionsResponse) String() string
- type ListRateDefinitionsRequest
- func (*ListRateDefinitionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRateDefinitionsRequest) GetFields() *fieldmaskpb.FieldMask
- func (x *ListRateDefinitionsRequest) GetFilter() string
- func (x *ListRateDefinitionsRequest) GetPage() *Page
- func (x *ListRateDefinitionsRequest) GetRateDefinitionId() string
- func (x *ListRateDefinitionsRequest) GetSort() []*Sort
- func (*ListRateDefinitionsRequest) ProtoMessage()
- func (x *ListRateDefinitionsRequest) ProtoReflect() protoreflect.Message
- func (x *ListRateDefinitionsRequest) Reset()
- func (x *ListRateDefinitionsRequest) String() string
- type ListRateDefinitionsResponse
- func (*ListRateDefinitionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRateDefinitionsResponse) GetRateDefinitions() []*v1alpha2.RateDefinition
- func (x *ListRateDefinitionsResponse) GetToken() string
- func (*ListRateDefinitionsResponse) ProtoMessage()
- func (x *ListRateDefinitionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListRateDefinitionsResponse) Reset()
- func (x *ListRateDefinitionsResponse) String() string
- type Order
- type Page
- type Sort
- type UnimplementedBillingServiceServer
- func (UnimplementedBillingServiceServer) CreateDefaultRateDefinition(context.Context, *CreateDefaultRateDefinitionRequest) (*CreateDefaultRateDefinitionResponse, error)
- func (UnimplementedBillingServiceServer) CreateDefaultRateDefinitions(context.Context, *CreateDefaultRateDefinitionsRequest) (*CreateDefaultRateDefinitionsResponse, error)
- func (UnimplementedBillingServiceServer) CreateRateDefinition(context.Context, *CreateRateDefinitionRequest) (*CreateRateDefinitionResponse, error)
- func (UnimplementedBillingServiceServer) CreateRateDefinitions(context.Context, *CreateRateDefinitionsRequest) (*CreateRateDefinitionsResponse, error)
- func (UnimplementedBillingServiceServer) DeleteDefaultRateDefinition(context.Context, *DeleteDefaultRateDefinitionRequest) (*DeleteDefaultRateDefinitionResponse, error)
- func (UnimplementedBillingServiceServer) DeleteDefaultRateDefinitions(context.Context, *DeleteDefaultRateDefinitionsRequest) (*DeleteDefaultRateDefinitionsResponse, error)
- func (UnimplementedBillingServiceServer) DeleteRateDefinition(context.Context, *DeleteRateDefinitionRequest) (*DeleteRateDefinitionResponse, error)
- func (UnimplementedBillingServiceServer) DeleteRateDefinitions(context.Context, *DeleteRateDefinitionsRequest) (*DeleteRateDefinitionsResponse, error)
- func (UnimplementedBillingServiceServer) ExportInvoice(context.Context, *ExportInvoiceRequest) (*ExportInvoiceResponse, error)
- func (UnimplementedBillingServiceServer) GetRateDefinition(context.Context, *GetRateDefinitionRequest) (*GetRateDefinitionResponse, error)
- func (UnimplementedBillingServiceServer) GetRateHistory(context.Context, *GetRateHistoryRequest) (*GetRateHistoryResponse, error)
- func (UnimplementedBillingServiceServer) ListActiveRateDefinitions(context.Context, *ListActiveRateDefinitionsRequest) (*ListActiveRateDefinitionsResponse, error)
- func (UnimplementedBillingServiceServer) ListRateDefinitions(context.Context, *ListRateDefinitionsRequest) (*ListRateDefinitionsResponse, error)
- func (UnimplementedBillingServiceServer) UpdateDefaultRateDefinition(context.Context, *UpdateDefaultRateDefinitionRequest) (*UpdateDefaultRateDefinitionResponse, error)
- func (UnimplementedBillingServiceServer) UpdateRateDefinition(context.Context, *UpdateRateDefinitionRequest) (*UpdateRateDefinitionResponse, error)
- type UnsafeBillingServiceServer
- type UpdateDefaultRateDefinitionRequest
- func (*UpdateDefaultRateDefinitionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDefaultRateDefinitionRequest) GetRateDefinition() *v1alpha2.RateDefinition
- func (x *UpdateDefaultRateDefinitionRequest) GetRateDefinitionId() string
- func (x *UpdateDefaultRateDefinitionRequest) GetUpdateFields() *fieldmaskpb.FieldMask
- func (*UpdateDefaultRateDefinitionRequest) ProtoMessage()
- func (x *UpdateDefaultRateDefinitionRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateDefaultRateDefinitionRequest) Reset()
- func (x *UpdateDefaultRateDefinitionRequest) String() string
- type UpdateDefaultRateDefinitionResponse
- func (*UpdateDefaultRateDefinitionResponse) Descriptor() ([]byte, []int)deprecated
- func (*UpdateDefaultRateDefinitionResponse) ProtoMessage()
- func (x *UpdateDefaultRateDefinitionResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateDefaultRateDefinitionResponse) Reset()
- func (x *UpdateDefaultRateDefinitionResponse) String() string
- type UpdateRateDefinitionRequest
- func (*UpdateRateDefinitionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRateDefinitionRequest) GetRateDefinition() *v1alpha2.RateDefinition
- func (x *UpdateRateDefinitionRequest) GetRateDefinitionId() string
- func (x *UpdateRateDefinitionRequest) GetUpdateFields() *fieldmaskpb.FieldMask
- func (*UpdateRateDefinitionRequest) ProtoMessage()
- func (x *UpdateRateDefinitionRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRateDefinitionRequest) Reset()
- func (x *UpdateRateDefinitionRequest) String() string
- type UpdateRateDefinitionResponse
- func (*UpdateRateDefinitionResponse) Descriptor() ([]byte, []int)deprecated
- func (*UpdateRateDefinitionResponse) ProtoMessage()
- func (x *UpdateRateDefinitionResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateRateDefinitionResponse) Reset()
- func (x *UpdateRateDefinitionResponse) String() string
Constants ¶
const ( BillingService_CreateDefaultRateDefinition_FullMethodName = "/services.billing.v1alpha2.BillingService/CreateDefaultRateDefinition" BillingService_CreateDefaultRateDefinitions_FullMethodName = "/services.billing.v1alpha2.BillingService/CreateDefaultRateDefinitions" BillingService_CreateRateDefinition_FullMethodName = "/services.billing.v1alpha2.BillingService/CreateRateDefinition" BillingService_CreateRateDefinitions_FullMethodName = "/services.billing.v1alpha2.BillingService/CreateRateDefinitions" BillingService_DeleteDefaultRateDefinition_FullMethodName = "/services.billing.v1alpha2.BillingService/DeleteDefaultRateDefinition" BillingService_DeleteDefaultRateDefinitions_FullMethodName = "/services.billing.v1alpha2.BillingService/DeleteDefaultRateDefinitions" BillingService_DeleteRateDefinition_FullMethodName = "/services.billing.v1alpha2.BillingService/DeleteRateDefinition" BillingService_DeleteRateDefinitions_FullMethodName = "/services.billing.v1alpha2.BillingService/DeleteRateDefinitions" BillingService_ExportInvoice_FullMethodName = "/services.billing.v1alpha2.BillingService/ExportInvoice" BillingService_GetRateDefinition_FullMethodName = "/services.billing.v1alpha2.BillingService/GetRateDefinition" BillingService_GetRateHistory_FullMethodName = "/services.billing.v1alpha2.BillingService/GetRateHistory" BillingService_ListActiveRateDefinitions_FullMethodName = "/services.billing.v1alpha2.BillingService/ListActiveRateDefinitions" BillingService_ListRateDefinitions_FullMethodName = "/services.billing.v1alpha2.BillingService/ListRateDefinitions" BillingService_UpdateDefaultRateDefinition_FullMethodName = "/services.billing.v1alpha2.BillingService/UpdateDefaultRateDefinition" BillingService_UpdateRateDefinition_FullMethodName = "/services.billing.v1alpha2.BillingService/UpdateRateDefinition" )
Variables ¶
var ( Order_name = map[int32]string{ 0: "ORDER_UNSPECIFIED", 1: "ORDER_DESC", } Order_value = map[string]int32{ "ORDER_UNSPECIFIED": 0, "ORDER_DESC": 1, } )
Enum value maps for Order.
var ( InvoiceFormat_name = map[int32]string{ 0: "INVOICE_FORMAT_UNSPECIFIED", 1: "INVOICE_FORMAT_CSV", } InvoiceFormat_value = map[string]int32{ "INVOICE_FORMAT_UNSPECIFIED": 0, "INVOICE_FORMAT_CSV": 1, } )
Enum value maps for InvoiceFormat.
var BillingService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "services.billing.v1alpha2.BillingService", HandlerType: (*BillingServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateDefaultRateDefinition", Handler: _BillingService_CreateDefaultRateDefinition_Handler, }, { MethodName: "CreateDefaultRateDefinitions", Handler: _BillingService_CreateDefaultRateDefinitions_Handler, }, { MethodName: "CreateRateDefinition", Handler: _BillingService_CreateRateDefinition_Handler, }, { MethodName: "CreateRateDefinitions", Handler: _BillingService_CreateRateDefinitions_Handler, }, { MethodName: "DeleteDefaultRateDefinition", Handler: _BillingService_DeleteDefaultRateDefinition_Handler, }, { MethodName: "DeleteDefaultRateDefinitions", Handler: _BillingService_DeleteDefaultRateDefinitions_Handler, }, { MethodName: "DeleteRateDefinition", Handler: _BillingService_DeleteRateDefinition_Handler, }, { MethodName: "DeleteRateDefinitions", Handler: _BillingService_DeleteRateDefinitions_Handler, }, { MethodName: "ExportInvoice", Handler: _BillingService_ExportInvoice_Handler, }, { MethodName: "GetRateDefinition", Handler: _BillingService_GetRateDefinition_Handler, }, { MethodName: "GetRateHistory", Handler: _BillingService_GetRateHistory_Handler, }, { MethodName: "ListActiveRateDefinitions", Handler: _BillingService_ListActiveRateDefinitions_Handler, }, { MethodName: "ListRateDefinitions", Handler: _BillingService_ListRateDefinitions_Handler, }, { MethodName: "UpdateDefaultRateDefinition", Handler: _BillingService_UpdateDefaultRateDefinition_Handler, }, { MethodName: "UpdateRateDefinition", Handler: _BillingService_UpdateRateDefinition_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "services/billing/v1alpha2/service.proto", }
BillingService_ServiceDesc is the grpc.ServiceDesc for BillingService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_services_billing_v1alpha2_core_proto protoreflect.FileDescriptor
var File_services_billing_v1alpha2_invoices_proto protoreflect.FileDescriptor
var File_services_billing_v1alpha2_rates_proto protoreflect.FileDescriptor
var File_services_billing_v1alpha2_service_proto protoreflect.FileDescriptor
Functions ¶
func RegisterBillingServiceServer ¶
func RegisterBillingServiceServer(s grpc.ServiceRegistrar, srv BillingServiceServer)
Types ¶
type BillingServiceClient ¶
type BillingServiceClient interface { // Creates a rate definition for the REGION. // Required permissions: // // CUSTOMER_SUPPORT // TCN_BILLING_ADMIN // // Errors: // - grpc.AlreadyExists: A rate definition with the same data already exists. // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.PermissionDenied: Caller doesn't have the required permissions. // - grpc.Unavailable: The operation is currently unavailable. CreateDefaultRateDefinition(ctx context.Context, in *CreateDefaultRateDefinitionRequest, opts ...grpc.CallOption) (*CreateDefaultRateDefinitionResponse, error) // Creates rate definitions for the REGION. // Required permissions: // // CUSTOMER_SUPPORT // TCN_BILLING_ADMIN // // Errors: // - grpc.AlreadyExists: A rate definition with the same data already exists. // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.PermissionDenied: Caller doesn't have the required permissions. // - grpc.Unavailable: The operation is currently unavailable. CreateDefaultRateDefinitions(ctx context.Context, in *CreateDefaultRateDefinitionsRequest, opts ...grpc.CallOption) (*CreateDefaultRateDefinitionsResponse, error) // Creates a rate definition for an ORG. // Required permissions: // // CUSTOMER_SUPPORT // // Errors: // - grpc.AlreadyExists: A rate definition with the same data already exists. // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.PermissionDenied: Caller doesn't have the required permissions. // - grpc.Unavailable: The operation is currently unavailable. Likely a transient issue with a downstream service. CreateRateDefinition(ctx context.Context, in *CreateRateDefinitionRequest, opts ...grpc.CallOption) (*CreateRateDefinitionResponse, error) // Creates rate definitions for an ORG. // Required permissions: // // CUSTOMER_SUPPORT // // Errors: // - grpc.AlreadyExists: A rate definition with the same data already exists. // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.PermissionDenied: Caller doesn't have the required permissions. // - grpc.Unavailable: The operation is currently unavailable. Likely a transient issue with a downstream service. CreateRateDefinitions(ctx context.Context, in *CreateRateDefinitionsRequest, opts ...grpc.CallOption) (*CreateRateDefinitionsResponse, error) // Deletes a rate definition from the REGION. // Required permissions: // // CUSTOMER_SUPPORT // TCN_BILLING_ADMIN // // Errors: // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.NotFound: The rate definition doesn't exist. // - grpc.PermissionDenied: Caller doesn't have the required permissions. // - grpc.Unavailable: The operation is currently unavailable. DeleteDefaultRateDefinition(ctx context.Context, in *DeleteDefaultRateDefinitionRequest, opts ...grpc.CallOption) (*DeleteDefaultRateDefinitionResponse, error) // Deletes rate definitions from the REGION. // Required permissions: // // CUSTOMER_SUPPORT // TCN_BILLING_ADMIN // // Errors: // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.NotFound: The rate definition doesn't exist. // - grpc.PermissionDenied: Caller doesn't have the required permissions. // - grpc.Unavailable: The operation is currently unavailable. DeleteDefaultRateDefinitions(ctx context.Context, in *DeleteDefaultRateDefinitionsRequest, opts ...grpc.CallOption) (*DeleteDefaultRateDefinitionsResponse, error) // Deletes a rate definition from an ORG. // Required permissions: // // CUSTOMER_SUPPORT // // Errors: // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.NotFound: The specified rate definition doesn't exist. // - grpc.PermissionDenied: Caller doesn't have the required permissions. // - grpc.Unavailable: The operation is currently unavailable. Likely a transient issue with a downstream service. DeleteRateDefinition(ctx context.Context, in *DeleteRateDefinitionRequest, opts ...grpc.CallOption) (*DeleteRateDefinitionResponse, error) // Deletes rate definitions from an ORG. // Required permissions: // // CUSTOMER_SUPPORT // // Errors: // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.NotFound: The specified rate definition doesn't exist. // - grpc.PermissionDenied: Caller doesn't have the required permissions. // - grpc.Unavailable: The operation is currently unavailable. Likely a transient issue with a downstream service. DeleteRateDefinitions(ctx context.Context, in *DeleteRateDefinitionsRequest, opts ...grpc.CallOption) (*DeleteRateDefinitionsResponse, error) // Exports an invoice. // Required permissions: // // TCN_BILLING_ADMIN // // Errors: // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.PermissionDenied: Caller doesn't have the required permissions. // - grpc.Unavailable: The operation is currently unavailable. Likely a transient issue with a downstream service. ExportInvoice(ctx context.Context, in *ExportInvoiceRequest, opts ...grpc.CallOption) (*ExportInvoiceResponse, error) // Returns the specified rate definition. // Required permissions: // // CUSTOMER_SUPPORT // // Errors: // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.NotFound: The specified rate definition doesn't exist. // - grpc.PermissionDenied: Caller doesn't have the required permissions. // - grpc.Unavailable: The operation is currently unavailable. GetRateDefinition(ctx context.Context, in *GetRateDefinitionRequest, opts ...grpc.CallOption) (*GetRateDefinitionResponse, error) // Returns the rate history for the ORG or REGION. // Required permissions: // // CUSTOMER_SUPPORT // // Errors: // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.PermissionDenied: Caller doesn't have the required permissions. // - grpc.Unavailable: The operation is currently unavailable. GetRateHistory(ctx context.Context, in *GetRateHistoryRequest, opts ...grpc.CallOption) (*GetRateHistoryResponse, error) // Lists active rate definitions. // Required permissions: // // CUSTOMER_SUPPORT // // Errors: // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.PermissionDenied: Caller doesn't have the required permissions. // - grpc.Unavailable: The operation is currently unavailable. ListActiveRateDefinitions(ctx context.Context, in *ListActiveRateDefinitionsRequest, opts ...grpc.CallOption) (*ListActiveRateDefinitionsResponse, error) // Lists rate definitions. // Required permissions: // // CUSTOMER_SUPPORT // // Errors: // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.PermissionDenied: Caller doesn't have the required permissions. // - grpc.Unavailable: The operation is currently unavailable. ListRateDefinitions(ctx context.Context, in *ListRateDefinitionsRequest, opts ...grpc.CallOption) (*ListRateDefinitionsResponse, error) // Updates a default rate definition. // Required permissions: // // CUSTOMER_SUPPORT // // Errors: // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.NotFound: The specified rate definition doesn't exist. // - grpc.PermissionDenied: Caller doesn't have the required permissions. // - grpc.Unavailable: The operation is currently unavailable. UpdateDefaultRateDefinition(ctx context.Context, in *UpdateDefaultRateDefinitionRequest, opts ...grpc.CallOption) (*UpdateDefaultRateDefinitionResponse, error) // Updates a rate definition. // Required permissions: // // CUSTOMER_SUPPORT // // Errors: // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.NotFound: The specified rate definition doesn't exist. // - grpc.PermissionDenied: Caller doesn't have the required permissions. // - grpc.Unavailable: The operation is currently unavailable. UpdateRateDefinition(ctx context.Context, in *UpdateRateDefinitionRequest, opts ...grpc.CallOption) (*UpdateRateDefinitionResponse, error) }
BillingServiceClient is the client API for BillingService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewBillingServiceClient ¶
func NewBillingServiceClient(cc grpc.ClientConnInterface) BillingServiceClient
type BillingServiceServer ¶
type BillingServiceServer interface { // Creates a rate definition for the REGION. // Required permissions: // // CUSTOMER_SUPPORT // TCN_BILLING_ADMIN // // Errors: // - grpc.AlreadyExists: A rate definition with the same data already exists. // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.PermissionDenied: Caller doesn't have the required permissions. // - grpc.Unavailable: The operation is currently unavailable. CreateDefaultRateDefinition(context.Context, *CreateDefaultRateDefinitionRequest) (*CreateDefaultRateDefinitionResponse, error) // Creates rate definitions for the REGION. // Required permissions: // // CUSTOMER_SUPPORT // TCN_BILLING_ADMIN // // Errors: // - grpc.AlreadyExists: A rate definition with the same data already exists. // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.PermissionDenied: Caller doesn't have the required permissions. // - grpc.Unavailable: The operation is currently unavailable. CreateDefaultRateDefinitions(context.Context, *CreateDefaultRateDefinitionsRequest) (*CreateDefaultRateDefinitionsResponse, error) // Creates a rate definition for an ORG. // Required permissions: // // CUSTOMER_SUPPORT // // Errors: // - grpc.AlreadyExists: A rate definition with the same data already exists. // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.PermissionDenied: Caller doesn't have the required permissions. // - grpc.Unavailable: The operation is currently unavailable. Likely a transient issue with a downstream service. CreateRateDefinition(context.Context, *CreateRateDefinitionRequest) (*CreateRateDefinitionResponse, error) // Creates rate definitions for an ORG. // Required permissions: // // CUSTOMER_SUPPORT // // Errors: // - grpc.AlreadyExists: A rate definition with the same data already exists. // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.PermissionDenied: Caller doesn't have the required permissions. // - grpc.Unavailable: The operation is currently unavailable. Likely a transient issue with a downstream service. CreateRateDefinitions(context.Context, *CreateRateDefinitionsRequest) (*CreateRateDefinitionsResponse, error) // Deletes a rate definition from the REGION. // Required permissions: // // CUSTOMER_SUPPORT // TCN_BILLING_ADMIN // // Errors: // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.NotFound: The rate definition doesn't exist. // - grpc.PermissionDenied: Caller doesn't have the required permissions. // - grpc.Unavailable: The operation is currently unavailable. DeleteDefaultRateDefinition(context.Context, *DeleteDefaultRateDefinitionRequest) (*DeleteDefaultRateDefinitionResponse, error) // Deletes rate definitions from the REGION. // Required permissions: // // CUSTOMER_SUPPORT // TCN_BILLING_ADMIN // // Errors: // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.NotFound: The rate definition doesn't exist. // - grpc.PermissionDenied: Caller doesn't have the required permissions. // - grpc.Unavailable: The operation is currently unavailable. DeleteDefaultRateDefinitions(context.Context, *DeleteDefaultRateDefinitionsRequest) (*DeleteDefaultRateDefinitionsResponse, error) // Deletes a rate definition from an ORG. // Required permissions: // // CUSTOMER_SUPPORT // // Errors: // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.NotFound: The specified rate definition doesn't exist. // - grpc.PermissionDenied: Caller doesn't have the required permissions. // - grpc.Unavailable: The operation is currently unavailable. Likely a transient issue with a downstream service. DeleteRateDefinition(context.Context, *DeleteRateDefinitionRequest) (*DeleteRateDefinitionResponse, error) // Deletes rate definitions from an ORG. // Required permissions: // // CUSTOMER_SUPPORT // // Errors: // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.NotFound: The specified rate definition doesn't exist. // - grpc.PermissionDenied: Caller doesn't have the required permissions. // - grpc.Unavailable: The operation is currently unavailable. Likely a transient issue with a downstream service. DeleteRateDefinitions(context.Context, *DeleteRateDefinitionsRequest) (*DeleteRateDefinitionsResponse, error) // Exports an invoice. // Required permissions: // // TCN_BILLING_ADMIN // // Errors: // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.PermissionDenied: Caller doesn't have the required permissions. // - grpc.Unavailable: The operation is currently unavailable. Likely a transient issue with a downstream service. ExportInvoice(context.Context, *ExportInvoiceRequest) (*ExportInvoiceResponse, error) // Returns the specified rate definition. // Required permissions: // // CUSTOMER_SUPPORT // // Errors: // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.NotFound: The specified rate definition doesn't exist. // - grpc.PermissionDenied: Caller doesn't have the required permissions. // - grpc.Unavailable: The operation is currently unavailable. GetRateDefinition(context.Context, *GetRateDefinitionRequest) (*GetRateDefinitionResponse, error) // Returns the rate history for the ORG or REGION. // Required permissions: // // CUSTOMER_SUPPORT // // Errors: // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.PermissionDenied: Caller doesn't have the required permissions. // - grpc.Unavailable: The operation is currently unavailable. GetRateHistory(context.Context, *GetRateHistoryRequest) (*GetRateHistoryResponse, error) // Lists active rate definitions. // Required permissions: // // CUSTOMER_SUPPORT // // Errors: // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.PermissionDenied: Caller doesn't have the required permissions. // - grpc.Unavailable: The operation is currently unavailable. ListActiveRateDefinitions(context.Context, *ListActiveRateDefinitionsRequest) (*ListActiveRateDefinitionsResponse, error) // Lists rate definitions. // Required permissions: // // CUSTOMER_SUPPORT // // Errors: // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.PermissionDenied: Caller doesn't have the required permissions. // - grpc.Unavailable: The operation is currently unavailable. ListRateDefinitions(context.Context, *ListRateDefinitionsRequest) (*ListRateDefinitionsResponse, error) // Updates a default rate definition. // Required permissions: // // CUSTOMER_SUPPORT // // Errors: // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.NotFound: The specified rate definition doesn't exist. // - grpc.PermissionDenied: Caller doesn't have the required permissions. // - grpc.Unavailable: The operation is currently unavailable. UpdateDefaultRateDefinition(context.Context, *UpdateDefaultRateDefinitionRequest) (*UpdateDefaultRateDefinitionResponse, error) // Updates a rate definition. // Required permissions: // // CUSTOMER_SUPPORT // // Errors: // - grpc.Internal: An internal error occurred. // - grpc.InvalidArgument: The request is invalid. // - grpc.NotFound: The specified rate definition doesn't exist. // - grpc.PermissionDenied: Caller doesn't have the required permissions. // - grpc.Unavailable: The operation is currently unavailable. UpdateRateDefinition(context.Context, *UpdateRateDefinitionRequest) (*UpdateRateDefinitionResponse, error) // contains filtered or unexported methods }
BillingServiceServer is the server API for BillingService service. All implementations must embed UnimplementedBillingServiceServer for forward compatibility.
type CreateDefaultRateDefinitionRequest ¶
type CreateDefaultRateDefinitionRequest struct { RateDefinitionId string `protobuf:"bytes,1,opt,name=rate_definition_id,json=rateDefinitionId,proto3" json:"rate_definition_id,omitempty"` RateDefinition *v1alpha2.RateDefinition `protobuf:"bytes,2,opt,name=rate_definition,json=rateDefinition,proto3" json:"rate_definition,omitempty"` // contains filtered or unexported fields }
func (*CreateDefaultRateDefinitionRequest) Descriptor
deprecated
func (*CreateDefaultRateDefinitionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDefaultRateDefinitionRequest.ProtoReflect.Descriptor instead.
func (*CreateDefaultRateDefinitionRequest) GetRateDefinition ¶
func (x *CreateDefaultRateDefinitionRequest) GetRateDefinition() *v1alpha2.RateDefinition
func (*CreateDefaultRateDefinitionRequest) GetRateDefinitionId ¶
func (x *CreateDefaultRateDefinitionRequest) GetRateDefinitionId() string
func (*CreateDefaultRateDefinitionRequest) ProtoMessage ¶
func (*CreateDefaultRateDefinitionRequest) ProtoMessage()
func (*CreateDefaultRateDefinitionRequest) ProtoReflect ¶
func (x *CreateDefaultRateDefinitionRequest) ProtoReflect() protoreflect.Message
func (*CreateDefaultRateDefinitionRequest) Reset ¶
func (x *CreateDefaultRateDefinitionRequest) Reset()
func (*CreateDefaultRateDefinitionRequest) String ¶
func (x *CreateDefaultRateDefinitionRequest) String() string
type CreateDefaultRateDefinitionResponse ¶
type CreateDefaultRateDefinitionResponse struct { RateDefinitionId string `protobuf:"bytes,1,opt,name=rate_definition_id,json=rateDefinitionId,proto3" json:"rate_definition_id,omitempty"` // contains filtered or unexported fields }
func (*CreateDefaultRateDefinitionResponse) Descriptor
deprecated
func (*CreateDefaultRateDefinitionResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateDefaultRateDefinitionResponse.ProtoReflect.Descriptor instead.
func (*CreateDefaultRateDefinitionResponse) GetRateDefinitionId ¶
func (x *CreateDefaultRateDefinitionResponse) GetRateDefinitionId() string
func (*CreateDefaultRateDefinitionResponse) ProtoMessage ¶
func (*CreateDefaultRateDefinitionResponse) ProtoMessage()
func (*CreateDefaultRateDefinitionResponse) ProtoReflect ¶
func (x *CreateDefaultRateDefinitionResponse) ProtoReflect() protoreflect.Message
func (*CreateDefaultRateDefinitionResponse) Reset ¶
func (x *CreateDefaultRateDefinitionResponse) Reset()
func (*CreateDefaultRateDefinitionResponse) String ¶
func (x *CreateDefaultRateDefinitionResponse) String() string
type CreateDefaultRateDefinitionsRequest ¶
type CreateDefaultRateDefinitionsRequest struct { Rates []*CreateDefaultRateDefinitionRequest `protobuf:"bytes,1,rep,name=rates,proto3" json:"rates,omitempty"` // contains filtered or unexported fields }
func (*CreateDefaultRateDefinitionsRequest) Descriptor
deprecated
func (*CreateDefaultRateDefinitionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDefaultRateDefinitionsRequest.ProtoReflect.Descriptor instead.
func (*CreateDefaultRateDefinitionsRequest) GetRates ¶
func (x *CreateDefaultRateDefinitionsRequest) GetRates() []*CreateDefaultRateDefinitionRequest
func (*CreateDefaultRateDefinitionsRequest) ProtoMessage ¶
func (*CreateDefaultRateDefinitionsRequest) ProtoMessage()
func (*CreateDefaultRateDefinitionsRequest) ProtoReflect ¶
func (x *CreateDefaultRateDefinitionsRequest) ProtoReflect() protoreflect.Message
func (*CreateDefaultRateDefinitionsRequest) Reset ¶
func (x *CreateDefaultRateDefinitionsRequest) Reset()
func (*CreateDefaultRateDefinitionsRequest) String ¶
func (x *CreateDefaultRateDefinitionsRequest) String() string
type CreateDefaultRateDefinitionsResponse ¶
type CreateDefaultRateDefinitionsResponse struct { Rates []*CreateDefaultRateDefinitionResponse `protobuf:"bytes,1,rep,name=rates,proto3" json:"rates,omitempty"` // contains filtered or unexported fields }
func (*CreateDefaultRateDefinitionsResponse) Descriptor
deprecated
func (*CreateDefaultRateDefinitionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateDefaultRateDefinitionsResponse.ProtoReflect.Descriptor instead.
func (*CreateDefaultRateDefinitionsResponse) GetRates ¶
func (x *CreateDefaultRateDefinitionsResponse) GetRates() []*CreateDefaultRateDefinitionResponse
func (*CreateDefaultRateDefinitionsResponse) ProtoMessage ¶
func (*CreateDefaultRateDefinitionsResponse) ProtoMessage()
func (*CreateDefaultRateDefinitionsResponse) ProtoReflect ¶
func (x *CreateDefaultRateDefinitionsResponse) ProtoReflect() protoreflect.Message
func (*CreateDefaultRateDefinitionsResponse) Reset ¶
func (x *CreateDefaultRateDefinitionsResponse) Reset()
func (*CreateDefaultRateDefinitionsResponse) String ¶
func (x *CreateDefaultRateDefinitionsResponse) String() string
type CreateRateDefinitionRequest ¶
type CreateRateDefinitionRequest struct { RateDefinitionId string `protobuf:"bytes,1,opt,name=rate_definition_id,json=rateDefinitionId,proto3" json:"rate_definition_id,omitempty"` RateDefinition *v1alpha2.RateDefinition `protobuf:"bytes,2,opt,name=rate_definition,json=rateDefinition,proto3" json:"rate_definition,omitempty"` DefaultRateDefinitionId string `` /* 134-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CreateRateDefinitionRequest) Descriptor
deprecated
func (*CreateRateDefinitionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRateDefinitionRequest.ProtoReflect.Descriptor instead.
func (*CreateRateDefinitionRequest) GetDefaultRateDefinitionId ¶ added in v1.7.77
func (x *CreateRateDefinitionRequest) GetDefaultRateDefinitionId() string
func (*CreateRateDefinitionRequest) GetRateDefinition ¶
func (x *CreateRateDefinitionRequest) GetRateDefinition() *v1alpha2.RateDefinition
func (*CreateRateDefinitionRequest) GetRateDefinitionId ¶
func (x *CreateRateDefinitionRequest) GetRateDefinitionId() string
func (*CreateRateDefinitionRequest) ProtoMessage ¶
func (*CreateRateDefinitionRequest) ProtoMessage()
func (*CreateRateDefinitionRequest) ProtoReflect ¶
func (x *CreateRateDefinitionRequest) ProtoReflect() protoreflect.Message
func (*CreateRateDefinitionRequest) Reset ¶
func (x *CreateRateDefinitionRequest) Reset()
func (*CreateRateDefinitionRequest) String ¶
func (x *CreateRateDefinitionRequest) String() string
type CreateRateDefinitionResponse ¶
type CreateRateDefinitionResponse struct { RateDefinitionId string `protobuf:"bytes,1,opt,name=rate_definition_id,json=rateDefinitionId,proto3" json:"rate_definition_id,omitempty"` // contains filtered or unexported fields }
func (*CreateRateDefinitionResponse) Descriptor
deprecated
func (*CreateRateDefinitionResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateRateDefinitionResponse.ProtoReflect.Descriptor instead.
func (*CreateRateDefinitionResponse) GetRateDefinitionId ¶
func (x *CreateRateDefinitionResponse) GetRateDefinitionId() string
func (*CreateRateDefinitionResponse) ProtoMessage ¶
func (*CreateRateDefinitionResponse) ProtoMessage()
func (*CreateRateDefinitionResponse) ProtoReflect ¶
func (x *CreateRateDefinitionResponse) ProtoReflect() protoreflect.Message
func (*CreateRateDefinitionResponse) Reset ¶
func (x *CreateRateDefinitionResponse) Reset()
func (*CreateRateDefinitionResponse) String ¶
func (x *CreateRateDefinitionResponse) String() string
type CreateRateDefinitionsRequest ¶
type CreateRateDefinitionsRequest struct { Rates []*CreateRateDefinitionRequest `protobuf:"bytes,1,rep,name=rates,proto3" json:"rates,omitempty"` // contains filtered or unexported fields }
func (*CreateRateDefinitionsRequest) Descriptor
deprecated
func (*CreateRateDefinitionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRateDefinitionsRequest.ProtoReflect.Descriptor instead.
func (*CreateRateDefinitionsRequest) GetRates ¶
func (x *CreateRateDefinitionsRequest) GetRates() []*CreateRateDefinitionRequest
func (*CreateRateDefinitionsRequest) ProtoMessage ¶
func (*CreateRateDefinitionsRequest) ProtoMessage()
func (*CreateRateDefinitionsRequest) ProtoReflect ¶
func (x *CreateRateDefinitionsRequest) ProtoReflect() protoreflect.Message
func (*CreateRateDefinitionsRequest) Reset ¶
func (x *CreateRateDefinitionsRequest) Reset()
func (*CreateRateDefinitionsRequest) String ¶
func (x *CreateRateDefinitionsRequest) String() string
type CreateRateDefinitionsResponse ¶
type CreateRateDefinitionsResponse struct { Rates []*CreateRateDefinitionResponse `protobuf:"bytes,1,rep,name=rates,proto3" json:"rates,omitempty"` // contains filtered or unexported fields }
func (*CreateRateDefinitionsResponse) Descriptor
deprecated
func (*CreateRateDefinitionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateRateDefinitionsResponse.ProtoReflect.Descriptor instead.
func (*CreateRateDefinitionsResponse) GetRates ¶
func (x *CreateRateDefinitionsResponse) GetRates() []*CreateRateDefinitionResponse
func (*CreateRateDefinitionsResponse) ProtoMessage ¶
func (*CreateRateDefinitionsResponse) ProtoMessage()
func (*CreateRateDefinitionsResponse) ProtoReflect ¶
func (x *CreateRateDefinitionsResponse) ProtoReflect() protoreflect.Message
func (*CreateRateDefinitionsResponse) Reset ¶
func (x *CreateRateDefinitionsResponse) Reset()
func (*CreateRateDefinitionsResponse) String ¶
func (x *CreateRateDefinitionsResponse) String() string
type DeleteDefaultRateDefinitionRequest ¶
type DeleteDefaultRateDefinitionRequest struct { RateDefinitionId string `protobuf:"bytes,1,opt,name=rate_definition_id,json=rateDefinitionId,proto3" json:"rate_definition_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteDefaultRateDefinitionRequest) Descriptor
deprecated
func (*DeleteDefaultRateDefinitionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDefaultRateDefinitionRequest.ProtoReflect.Descriptor instead.
func (*DeleteDefaultRateDefinitionRequest) GetRateDefinitionId ¶
func (x *DeleteDefaultRateDefinitionRequest) GetRateDefinitionId() string
func (*DeleteDefaultRateDefinitionRequest) ProtoMessage ¶
func (*DeleteDefaultRateDefinitionRequest) ProtoMessage()
func (*DeleteDefaultRateDefinitionRequest) ProtoReflect ¶
func (x *DeleteDefaultRateDefinitionRequest) ProtoReflect() protoreflect.Message
func (*DeleteDefaultRateDefinitionRequest) Reset ¶
func (x *DeleteDefaultRateDefinitionRequest) Reset()
func (*DeleteDefaultRateDefinitionRequest) String ¶
func (x *DeleteDefaultRateDefinitionRequest) String() string
type DeleteDefaultRateDefinitionResponse ¶
type DeleteDefaultRateDefinitionResponse struct {
// contains filtered or unexported fields
}
func (*DeleteDefaultRateDefinitionResponse) Descriptor
deprecated
func (*DeleteDefaultRateDefinitionResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDefaultRateDefinitionResponse.ProtoReflect.Descriptor instead.
func (*DeleteDefaultRateDefinitionResponse) ProtoMessage ¶
func (*DeleteDefaultRateDefinitionResponse) ProtoMessage()
func (*DeleteDefaultRateDefinitionResponse) ProtoReflect ¶
func (x *DeleteDefaultRateDefinitionResponse) ProtoReflect() protoreflect.Message
func (*DeleteDefaultRateDefinitionResponse) Reset ¶
func (x *DeleteDefaultRateDefinitionResponse) Reset()
func (*DeleteDefaultRateDefinitionResponse) String ¶
func (x *DeleteDefaultRateDefinitionResponse) String() string
type DeleteDefaultRateDefinitionsRequest ¶
type DeleteDefaultRateDefinitionsRequest struct { RateDefinitionIds []string `protobuf:"bytes,1,rep,name=rate_definition_ids,json=rateDefinitionIds,proto3" json:"rate_definition_ids,omitempty"` // contains filtered or unexported fields }
func (*DeleteDefaultRateDefinitionsRequest) Descriptor
deprecated
func (*DeleteDefaultRateDefinitionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDefaultRateDefinitionsRequest.ProtoReflect.Descriptor instead.
func (*DeleteDefaultRateDefinitionsRequest) GetRateDefinitionIds ¶
func (x *DeleteDefaultRateDefinitionsRequest) GetRateDefinitionIds() []string
func (*DeleteDefaultRateDefinitionsRequest) ProtoMessage ¶
func (*DeleteDefaultRateDefinitionsRequest) ProtoMessage()
func (*DeleteDefaultRateDefinitionsRequest) ProtoReflect ¶
func (x *DeleteDefaultRateDefinitionsRequest) ProtoReflect() protoreflect.Message
func (*DeleteDefaultRateDefinitionsRequest) Reset ¶
func (x *DeleteDefaultRateDefinitionsRequest) Reset()
func (*DeleteDefaultRateDefinitionsRequest) String ¶
func (x *DeleteDefaultRateDefinitionsRequest) String() string
type DeleteDefaultRateDefinitionsResponse ¶
type DeleteDefaultRateDefinitionsResponse struct {
// contains filtered or unexported fields
}
func (*DeleteDefaultRateDefinitionsResponse) Descriptor
deprecated
func (*DeleteDefaultRateDefinitionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDefaultRateDefinitionsResponse.ProtoReflect.Descriptor instead.
func (*DeleteDefaultRateDefinitionsResponse) ProtoMessage ¶
func (*DeleteDefaultRateDefinitionsResponse) ProtoMessage()
func (*DeleteDefaultRateDefinitionsResponse) ProtoReflect ¶
func (x *DeleteDefaultRateDefinitionsResponse) ProtoReflect() protoreflect.Message
func (*DeleteDefaultRateDefinitionsResponse) Reset ¶
func (x *DeleteDefaultRateDefinitionsResponse) Reset()
func (*DeleteDefaultRateDefinitionsResponse) String ¶
func (x *DeleteDefaultRateDefinitionsResponse) String() string
type DeleteRateDefinitionRequest ¶
type DeleteRateDefinitionRequest struct { RateDefinitionId string `protobuf:"bytes,1,opt,name=rate_definition_id,json=rateDefinitionId,proto3" json:"rate_definition_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteRateDefinitionRequest) Descriptor
deprecated
func (*DeleteRateDefinitionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRateDefinitionRequest.ProtoReflect.Descriptor instead.
func (*DeleteRateDefinitionRequest) GetRateDefinitionId ¶
func (x *DeleteRateDefinitionRequest) GetRateDefinitionId() string
func (*DeleteRateDefinitionRequest) ProtoMessage ¶
func (*DeleteRateDefinitionRequest) ProtoMessage()
func (*DeleteRateDefinitionRequest) ProtoReflect ¶
func (x *DeleteRateDefinitionRequest) ProtoReflect() protoreflect.Message
func (*DeleteRateDefinitionRequest) Reset ¶
func (x *DeleteRateDefinitionRequest) Reset()
func (*DeleteRateDefinitionRequest) String ¶
func (x *DeleteRateDefinitionRequest) String() string
type DeleteRateDefinitionResponse ¶
type DeleteRateDefinitionResponse struct {
// contains filtered or unexported fields
}
func (*DeleteRateDefinitionResponse) Descriptor
deprecated
func (*DeleteRateDefinitionResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRateDefinitionResponse.ProtoReflect.Descriptor instead.
func (*DeleteRateDefinitionResponse) ProtoMessage ¶
func (*DeleteRateDefinitionResponse) ProtoMessage()
func (*DeleteRateDefinitionResponse) ProtoReflect ¶
func (x *DeleteRateDefinitionResponse) ProtoReflect() protoreflect.Message
func (*DeleteRateDefinitionResponse) Reset ¶
func (x *DeleteRateDefinitionResponse) Reset()
func (*DeleteRateDefinitionResponse) String ¶
func (x *DeleteRateDefinitionResponse) String() string
type DeleteRateDefinitionsRequest ¶
type DeleteRateDefinitionsRequest struct { RateDefinitionIds []string `protobuf:"bytes,1,rep,name=rate_definition_ids,json=rateDefinitionIds,proto3" json:"rate_definition_ids,omitempty"` // contains filtered or unexported fields }
func (*DeleteRateDefinitionsRequest) Descriptor
deprecated
func (*DeleteRateDefinitionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRateDefinitionsRequest.ProtoReflect.Descriptor instead.
func (*DeleteRateDefinitionsRequest) GetRateDefinitionIds ¶
func (x *DeleteRateDefinitionsRequest) GetRateDefinitionIds() []string
func (*DeleteRateDefinitionsRequest) ProtoMessage ¶
func (*DeleteRateDefinitionsRequest) ProtoMessage()
func (*DeleteRateDefinitionsRequest) ProtoReflect ¶
func (x *DeleteRateDefinitionsRequest) ProtoReflect() protoreflect.Message
func (*DeleteRateDefinitionsRequest) Reset ¶
func (x *DeleteRateDefinitionsRequest) Reset()
func (*DeleteRateDefinitionsRequest) String ¶
func (x *DeleteRateDefinitionsRequest) String() string
type DeleteRateDefinitionsResponse ¶
type DeleteRateDefinitionsResponse struct {
// contains filtered or unexported fields
}
func (*DeleteRateDefinitionsResponse) Descriptor
deprecated
func (*DeleteRateDefinitionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRateDefinitionsResponse.ProtoReflect.Descriptor instead.
func (*DeleteRateDefinitionsResponse) ProtoMessage ¶
func (*DeleteRateDefinitionsResponse) ProtoMessage()
func (*DeleteRateDefinitionsResponse) ProtoReflect ¶
func (x *DeleteRateDefinitionsResponse) ProtoReflect() protoreflect.Message
func (*DeleteRateDefinitionsResponse) Reset ¶
func (x *DeleteRateDefinitionsResponse) Reset()
func (*DeleteRateDefinitionsResponse) String ¶
func (x *DeleteRateDefinitionsResponse) String() string
type ExportInvoiceRequest ¶
type ExportInvoiceRequest struct { Format InvoiceFormat `protobuf:"varint,1,opt,name=format,proto3,enum=services.billing.v1alpha2.InvoiceFormat" json:"format,omitempty"` InvoiceDate *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=invoice_date,json=invoiceDate,proto3" json:"invoice_date,omitempty"` // contains filtered or unexported fields }
func (*ExportInvoiceRequest) Descriptor
deprecated
func (*ExportInvoiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExportInvoiceRequest.ProtoReflect.Descriptor instead.
func (*ExportInvoiceRequest) GetFormat ¶
func (x *ExportInvoiceRequest) GetFormat() InvoiceFormat
func (*ExportInvoiceRequest) GetInvoiceDate ¶
func (x *ExportInvoiceRequest) GetInvoiceDate() *timestamppb.Timestamp
func (*ExportInvoiceRequest) ProtoMessage ¶
func (*ExportInvoiceRequest) ProtoMessage()
func (*ExportInvoiceRequest) ProtoReflect ¶
func (x *ExportInvoiceRequest) ProtoReflect() protoreflect.Message
func (*ExportInvoiceRequest) Reset ¶
func (x *ExportInvoiceRequest) Reset()
func (*ExportInvoiceRequest) String ¶
func (x *ExportInvoiceRequest) String() string
type ExportInvoiceResponse ¶
type ExportInvoiceResponse struct { Invoice *v1alpha2.Invoice `protobuf:"bytes,1,opt,name=invoice,proto3" json:"invoice,omitempty"` // contains filtered or unexported fields }
func (*ExportInvoiceResponse) Descriptor
deprecated
func (*ExportInvoiceResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExportInvoiceResponse.ProtoReflect.Descriptor instead.
func (*ExportInvoiceResponse) GetInvoice ¶
func (x *ExportInvoiceResponse) GetInvoice() *v1alpha2.Invoice
func (*ExportInvoiceResponse) ProtoMessage ¶
func (*ExportInvoiceResponse) ProtoMessage()
func (*ExportInvoiceResponse) ProtoReflect ¶
func (x *ExportInvoiceResponse) ProtoReflect() protoreflect.Message
func (*ExportInvoiceResponse) Reset ¶
func (x *ExportInvoiceResponse) Reset()
func (*ExportInvoiceResponse) String ¶
func (x *ExportInvoiceResponse) String() string
type GetRateDefinitionRequest ¶
type GetRateDefinitionRequest struct { RateDefinitionId string `protobuf:"bytes,1,opt,name=rate_definition_id,json=rateDefinitionId,proto3" json:"rate_definition_id,omitempty"` // contains filtered or unexported fields }
func (*GetRateDefinitionRequest) Descriptor
deprecated
func (*GetRateDefinitionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRateDefinitionRequest.ProtoReflect.Descriptor instead.
func (*GetRateDefinitionRequest) GetRateDefinitionId ¶
func (x *GetRateDefinitionRequest) GetRateDefinitionId() string
func (*GetRateDefinitionRequest) ProtoMessage ¶
func (*GetRateDefinitionRequest) ProtoMessage()
func (*GetRateDefinitionRequest) ProtoReflect ¶
func (x *GetRateDefinitionRequest) ProtoReflect() protoreflect.Message
func (*GetRateDefinitionRequest) Reset ¶
func (x *GetRateDefinitionRequest) Reset()
func (*GetRateDefinitionRequest) String ¶
func (x *GetRateDefinitionRequest) String() string
type GetRateDefinitionResponse ¶
type GetRateDefinitionResponse struct { RateDefinition *v1alpha2.RateDefinition `protobuf:"bytes,1,opt,name=rate_definition,json=rateDefinition,proto3" json:"rate_definition,omitempty"` // contains filtered or unexported fields }
func (*GetRateDefinitionResponse) Descriptor
deprecated
func (*GetRateDefinitionResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRateDefinitionResponse.ProtoReflect.Descriptor instead.
func (*GetRateDefinitionResponse) GetRateDefinition ¶
func (x *GetRateDefinitionResponse) GetRateDefinition() *v1alpha2.RateDefinition
func (*GetRateDefinitionResponse) ProtoMessage ¶
func (*GetRateDefinitionResponse) ProtoMessage()
func (*GetRateDefinitionResponse) ProtoReflect ¶
func (x *GetRateDefinitionResponse) ProtoReflect() protoreflect.Message
func (*GetRateDefinitionResponse) Reset ¶
func (x *GetRateDefinitionResponse) Reset()
func (*GetRateDefinitionResponse) String ¶
func (x *GetRateDefinitionResponse) String() string
type GetRateHistoryRequest ¶
type GetRateHistoryRequest struct { OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` GroupIds []string `protobuf:"bytes,2,rep,name=group_ids,json=groupIds,proto3" json:"group_ids,omitempty"` StartTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // Optional: if not set, will use the beginning of time EndTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Optional: if not set, will use the current time // contains filtered or unexported fields }
func (*GetRateHistoryRequest) Descriptor
deprecated
func (*GetRateHistoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRateHistoryRequest.ProtoReflect.Descriptor instead.
func (*GetRateHistoryRequest) GetEndTime ¶
func (x *GetRateHistoryRequest) GetEndTime() *timestamppb.Timestamp
func (*GetRateHistoryRequest) GetGroupIds ¶
func (x *GetRateHistoryRequest) GetGroupIds() []string
func (*GetRateHistoryRequest) GetOrgId ¶
func (x *GetRateHistoryRequest) GetOrgId() string
func (*GetRateHistoryRequest) GetStartTime ¶
func (x *GetRateHistoryRequest) GetStartTime() *timestamppb.Timestamp
func (*GetRateHistoryRequest) ProtoMessage ¶
func (*GetRateHistoryRequest) ProtoMessage()
func (*GetRateHistoryRequest) ProtoReflect ¶
func (x *GetRateHistoryRequest) ProtoReflect() protoreflect.Message
func (*GetRateHistoryRequest) Reset ¶
func (x *GetRateHistoryRequest) Reset()
func (*GetRateHistoryRequest) String ¶
func (x *GetRateHistoryRequest) String() string
type GetRateHistoryResponse ¶
type GetRateHistoryResponse struct { Snapshots []*v1alpha2.RateSnapshot `protobuf:"bytes,1,rep,name=snapshots,proto3" json:"snapshots,omitempty"` // contains filtered or unexported fields }
func (*GetRateHistoryResponse) Descriptor
deprecated
func (*GetRateHistoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRateHistoryResponse.ProtoReflect.Descriptor instead.
func (*GetRateHistoryResponse) GetSnapshots ¶
func (x *GetRateHistoryResponse) GetSnapshots() []*v1alpha2.RateSnapshot
func (*GetRateHistoryResponse) ProtoMessage ¶
func (*GetRateHistoryResponse) ProtoMessage()
func (*GetRateHistoryResponse) ProtoReflect ¶
func (x *GetRateHistoryResponse) ProtoReflect() protoreflect.Message
func (*GetRateHistoryResponse) Reset ¶
func (x *GetRateHistoryResponse) Reset()
func (*GetRateHistoryResponse) String ¶
func (x *GetRateHistoryResponse) String() string
type InvoiceFormat ¶
type InvoiceFormat int32
const ( InvoiceFormat_INVOICE_FORMAT_UNSPECIFIED InvoiceFormat = 0 InvoiceFormat_INVOICE_FORMAT_CSV InvoiceFormat = 1 )
func (InvoiceFormat) Descriptor ¶
func (InvoiceFormat) Descriptor() protoreflect.EnumDescriptor
func (InvoiceFormat) Enum ¶
func (x InvoiceFormat) Enum() *InvoiceFormat
func (InvoiceFormat) EnumDescriptor
deprecated
func (InvoiceFormat) EnumDescriptor() ([]byte, []int)
Deprecated: Use InvoiceFormat.Descriptor instead.
func (InvoiceFormat) Number ¶
func (x InvoiceFormat) Number() protoreflect.EnumNumber
func (InvoiceFormat) String ¶
func (x InvoiceFormat) String() string
func (InvoiceFormat) Type ¶
func (InvoiceFormat) Type() protoreflect.EnumType
type ListActiveRateDefinitionsRequest ¶
type ListActiveRateDefinitionsRequest struct { RateDefinitionId string `protobuf:"bytes,1,opt,name=rate_definition_id,json=rateDefinitionId,proto3" json:"rate_definition_id,omitempty"` Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` // Optional: defaults to no filter Fields *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=fields,proto3" json:"fields,omitempty"` // Optional: defaults to all fields. Sort []*Sort `protobuf:"bytes,4,rep,name=sort,proto3" json:"sort,omitempty"` // Optional: defaults to no sort. Page *Page `protobuf:"bytes,5,opt,name=page,proto3" json:"page,omitempty"` // Optional: defaults to no paging. // contains filtered or unexported fields }
func (*ListActiveRateDefinitionsRequest) Descriptor
deprecated
func (*ListActiveRateDefinitionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListActiveRateDefinitionsRequest.ProtoReflect.Descriptor instead.
func (*ListActiveRateDefinitionsRequest) GetFields ¶
func (x *ListActiveRateDefinitionsRequest) GetFields() *fieldmaskpb.FieldMask
func (*ListActiveRateDefinitionsRequest) GetFilter ¶
func (x *ListActiveRateDefinitionsRequest) GetFilter() string
func (*ListActiveRateDefinitionsRequest) GetPage ¶
func (x *ListActiveRateDefinitionsRequest) GetPage() *Page
func (*ListActiveRateDefinitionsRequest) GetRateDefinitionId ¶
func (x *ListActiveRateDefinitionsRequest) GetRateDefinitionId() string
func (*ListActiveRateDefinitionsRequest) GetSort ¶
func (x *ListActiveRateDefinitionsRequest) GetSort() []*Sort
func (*ListActiveRateDefinitionsRequest) ProtoMessage ¶
func (*ListActiveRateDefinitionsRequest) ProtoMessage()
func (*ListActiveRateDefinitionsRequest) ProtoReflect ¶
func (x *ListActiveRateDefinitionsRequest) ProtoReflect() protoreflect.Message
func (*ListActiveRateDefinitionsRequest) Reset ¶
func (x *ListActiveRateDefinitionsRequest) Reset()
func (*ListActiveRateDefinitionsRequest) String ¶
func (x *ListActiveRateDefinitionsRequest) String() string
type ListActiveRateDefinitionsResponse ¶
type ListActiveRateDefinitionsResponse struct { RateDefinitions []*v1alpha2.RateDefinition `protobuf:"bytes,1,rep,name=rate_definitions,json=rateDefinitions,proto3" json:"rate_definitions,omitempty"` Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` // Optional: only present if paginating. // contains filtered or unexported fields }
func (*ListActiveRateDefinitionsResponse) Descriptor
deprecated
func (*ListActiveRateDefinitionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListActiveRateDefinitionsResponse.ProtoReflect.Descriptor instead.
func (*ListActiveRateDefinitionsResponse) GetRateDefinitions ¶
func (x *ListActiveRateDefinitionsResponse) GetRateDefinitions() []*v1alpha2.RateDefinition
func (*ListActiveRateDefinitionsResponse) GetToken ¶
func (x *ListActiveRateDefinitionsResponse) GetToken() string
func (*ListActiveRateDefinitionsResponse) ProtoMessage ¶
func (*ListActiveRateDefinitionsResponse) ProtoMessage()
func (*ListActiveRateDefinitionsResponse) ProtoReflect ¶
func (x *ListActiveRateDefinitionsResponse) ProtoReflect() protoreflect.Message
func (*ListActiveRateDefinitionsResponse) Reset ¶
func (x *ListActiveRateDefinitionsResponse) Reset()
func (*ListActiveRateDefinitionsResponse) String ¶
func (x *ListActiveRateDefinitionsResponse) String() string
type ListRateDefinitionsRequest ¶
type ListRateDefinitionsRequest struct { RateDefinitionId string `protobuf:"bytes,1,opt,name=rate_definition_id,json=rateDefinitionId,proto3" json:"rate_definition_id,omitempty"` Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` // Optional: defaults to no filter Fields *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=fields,proto3" json:"fields,omitempty"` // Optional: defaults to all fields. Sort []*Sort `protobuf:"bytes,4,rep,name=sort,proto3" json:"sort,omitempty"` // Optional: defaults to no sort. Page *Page `protobuf:"bytes,5,opt,name=page,proto3" json:"page,omitempty"` // Optional: defaults to no paging. // contains filtered or unexported fields }
func (*ListRateDefinitionsRequest) Descriptor
deprecated
func (*ListRateDefinitionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRateDefinitionsRequest.ProtoReflect.Descriptor instead.
func (*ListRateDefinitionsRequest) GetFields ¶
func (x *ListRateDefinitionsRequest) GetFields() *fieldmaskpb.FieldMask
func (*ListRateDefinitionsRequest) GetFilter ¶
func (x *ListRateDefinitionsRequest) GetFilter() string
func (*ListRateDefinitionsRequest) GetPage ¶
func (x *ListRateDefinitionsRequest) GetPage() *Page
func (*ListRateDefinitionsRequest) GetRateDefinitionId ¶
func (x *ListRateDefinitionsRequest) GetRateDefinitionId() string
func (*ListRateDefinitionsRequest) GetSort ¶
func (x *ListRateDefinitionsRequest) GetSort() []*Sort
func (*ListRateDefinitionsRequest) ProtoMessage ¶
func (*ListRateDefinitionsRequest) ProtoMessage()
func (*ListRateDefinitionsRequest) ProtoReflect ¶
func (x *ListRateDefinitionsRequest) ProtoReflect() protoreflect.Message
func (*ListRateDefinitionsRequest) Reset ¶
func (x *ListRateDefinitionsRequest) Reset()
func (*ListRateDefinitionsRequest) String ¶
func (x *ListRateDefinitionsRequest) String() string
type ListRateDefinitionsResponse ¶
type ListRateDefinitionsResponse struct { RateDefinitions []*v1alpha2.RateDefinition `protobuf:"bytes,1,rep,name=rate_definitions,json=rateDefinitions,proto3" json:"rate_definitions,omitempty"` Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` // Optional: only present if paginating. // contains filtered or unexported fields }
func (*ListRateDefinitionsResponse) Descriptor
deprecated
func (*ListRateDefinitionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRateDefinitionsResponse.ProtoReflect.Descriptor instead.
func (*ListRateDefinitionsResponse) GetRateDefinitions ¶
func (x *ListRateDefinitionsResponse) GetRateDefinitions() []*v1alpha2.RateDefinition
func (*ListRateDefinitionsResponse) GetToken ¶
func (x *ListRateDefinitionsResponse) GetToken() string
func (*ListRateDefinitionsResponse) ProtoMessage ¶
func (*ListRateDefinitionsResponse) ProtoMessage()
func (*ListRateDefinitionsResponse) ProtoReflect ¶
func (x *ListRateDefinitionsResponse) ProtoReflect() protoreflect.Message
func (*ListRateDefinitionsResponse) Reset ¶
func (x *ListRateDefinitionsResponse) Reset()
func (*ListRateDefinitionsResponse) String ¶
func (x *ListRateDefinitionsResponse) String() string
type Order ¶
type Order int32
func (Order) Descriptor ¶
func (Order) Descriptor() protoreflect.EnumDescriptor
func (Order) EnumDescriptor
deprecated
func (Order) Number ¶
func (x Order) Number() protoreflect.EnumNumber
func (Order) Type ¶
func (Order) Type() protoreflect.EnumType
type Page ¶
type Page struct { Limit int64 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` // Optional: if not specified, will not paginate Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` // Optional: if not specified, will start from the beginning // contains filtered or unexported fields }
func (*Page) Descriptor
deprecated
func (*Page) ProtoMessage ¶
func (*Page) ProtoMessage()
func (*Page) ProtoReflect ¶
func (x *Page) ProtoReflect() protoreflect.Message
type Sort ¶
type Sort struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Required: key to sort by Direction Order `protobuf:"varint,2,opt,name=direction,proto3,enum=services.billing.v1alpha2.Order" json:"direction,omitempty"` // Required: direction to sort by // contains filtered or unexported fields }
func (*Sort) Descriptor
deprecated
func (*Sort) GetDirection ¶
func (*Sort) ProtoMessage ¶
func (*Sort) ProtoMessage()
func (*Sort) ProtoReflect ¶
func (x *Sort) ProtoReflect() protoreflect.Message
type UnimplementedBillingServiceServer ¶
type UnimplementedBillingServiceServer struct{}
UnimplementedBillingServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedBillingServiceServer) CreateDefaultRateDefinition ¶
func (UnimplementedBillingServiceServer) CreateDefaultRateDefinition(context.Context, *CreateDefaultRateDefinitionRequest) (*CreateDefaultRateDefinitionResponse, error)
func (UnimplementedBillingServiceServer) CreateDefaultRateDefinitions ¶
func (UnimplementedBillingServiceServer) CreateDefaultRateDefinitions(context.Context, *CreateDefaultRateDefinitionsRequest) (*CreateDefaultRateDefinitionsResponse, error)
func (UnimplementedBillingServiceServer) CreateRateDefinition ¶
func (UnimplementedBillingServiceServer) CreateRateDefinition(context.Context, *CreateRateDefinitionRequest) (*CreateRateDefinitionResponse, error)
func (UnimplementedBillingServiceServer) CreateRateDefinitions ¶
func (UnimplementedBillingServiceServer) CreateRateDefinitions(context.Context, *CreateRateDefinitionsRequest) (*CreateRateDefinitionsResponse, error)
func (UnimplementedBillingServiceServer) DeleteDefaultRateDefinition ¶
func (UnimplementedBillingServiceServer) DeleteDefaultRateDefinition(context.Context, *DeleteDefaultRateDefinitionRequest) (*DeleteDefaultRateDefinitionResponse, error)
func (UnimplementedBillingServiceServer) DeleteDefaultRateDefinitions ¶
func (UnimplementedBillingServiceServer) DeleteDefaultRateDefinitions(context.Context, *DeleteDefaultRateDefinitionsRequest) (*DeleteDefaultRateDefinitionsResponse, error)
func (UnimplementedBillingServiceServer) DeleteRateDefinition ¶
func (UnimplementedBillingServiceServer) DeleteRateDefinition(context.Context, *DeleteRateDefinitionRequest) (*DeleteRateDefinitionResponse, error)
func (UnimplementedBillingServiceServer) DeleteRateDefinitions ¶
func (UnimplementedBillingServiceServer) DeleteRateDefinitions(context.Context, *DeleteRateDefinitionsRequest) (*DeleteRateDefinitionsResponse, error)
func (UnimplementedBillingServiceServer) ExportInvoice ¶
func (UnimplementedBillingServiceServer) ExportInvoice(context.Context, *ExportInvoiceRequest) (*ExportInvoiceResponse, error)
func (UnimplementedBillingServiceServer) GetRateDefinition ¶
func (UnimplementedBillingServiceServer) GetRateDefinition(context.Context, *GetRateDefinitionRequest) (*GetRateDefinitionResponse, error)
func (UnimplementedBillingServiceServer) GetRateHistory ¶
func (UnimplementedBillingServiceServer) GetRateHistory(context.Context, *GetRateHistoryRequest) (*GetRateHistoryResponse, error)
func (UnimplementedBillingServiceServer) ListActiveRateDefinitions ¶
func (UnimplementedBillingServiceServer) ListActiveRateDefinitions(context.Context, *ListActiveRateDefinitionsRequest) (*ListActiveRateDefinitionsResponse, error)
func (UnimplementedBillingServiceServer) ListRateDefinitions ¶
func (UnimplementedBillingServiceServer) ListRateDefinitions(context.Context, *ListRateDefinitionsRequest) (*ListRateDefinitionsResponse, error)
func (UnimplementedBillingServiceServer) UpdateDefaultRateDefinition ¶
func (UnimplementedBillingServiceServer) UpdateDefaultRateDefinition(context.Context, *UpdateDefaultRateDefinitionRequest) (*UpdateDefaultRateDefinitionResponse, error)
func (UnimplementedBillingServiceServer) UpdateRateDefinition ¶
func (UnimplementedBillingServiceServer) UpdateRateDefinition(context.Context, *UpdateRateDefinitionRequest) (*UpdateRateDefinitionResponse, error)
type UnsafeBillingServiceServer ¶
type UnsafeBillingServiceServer interface {
// contains filtered or unexported methods
}
UnsafeBillingServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BillingServiceServer will result in compilation errors.
type UpdateDefaultRateDefinitionRequest ¶
type UpdateDefaultRateDefinitionRequest struct { RateDefinitionId string `protobuf:"bytes,1,opt,name=rate_definition_id,json=rateDefinitionId,proto3" json:"rate_definition_id,omitempty"` RateDefinition *v1alpha2.RateDefinition `protobuf:"bytes,2,opt,name=rate_definition,json=rateDefinition,proto3" json:"rate_definition,omitempty"` UpdateFields *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_fields,json=updateFields,proto3" json:"update_fields,omitempty"` // contains filtered or unexported fields }
func (*UpdateDefaultRateDefinitionRequest) Descriptor
deprecated
func (*UpdateDefaultRateDefinitionRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDefaultRateDefinitionRequest.ProtoReflect.Descriptor instead.
func (*UpdateDefaultRateDefinitionRequest) GetRateDefinition ¶
func (x *UpdateDefaultRateDefinitionRequest) GetRateDefinition() *v1alpha2.RateDefinition
func (*UpdateDefaultRateDefinitionRequest) GetRateDefinitionId ¶
func (x *UpdateDefaultRateDefinitionRequest) GetRateDefinitionId() string
func (*UpdateDefaultRateDefinitionRequest) GetUpdateFields ¶
func (x *UpdateDefaultRateDefinitionRequest) GetUpdateFields() *fieldmaskpb.FieldMask
func (*UpdateDefaultRateDefinitionRequest) ProtoMessage ¶
func (*UpdateDefaultRateDefinitionRequest) ProtoMessage()
func (*UpdateDefaultRateDefinitionRequest) ProtoReflect ¶
func (x *UpdateDefaultRateDefinitionRequest) ProtoReflect() protoreflect.Message
func (*UpdateDefaultRateDefinitionRequest) Reset ¶
func (x *UpdateDefaultRateDefinitionRequest) Reset()
func (*UpdateDefaultRateDefinitionRequest) String ¶
func (x *UpdateDefaultRateDefinitionRequest) String() string
type UpdateDefaultRateDefinitionResponse ¶
type UpdateDefaultRateDefinitionResponse struct {
// contains filtered or unexported fields
}
func (*UpdateDefaultRateDefinitionResponse) Descriptor
deprecated
func (*UpdateDefaultRateDefinitionResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDefaultRateDefinitionResponse.ProtoReflect.Descriptor instead.
func (*UpdateDefaultRateDefinitionResponse) ProtoMessage ¶
func (*UpdateDefaultRateDefinitionResponse) ProtoMessage()
func (*UpdateDefaultRateDefinitionResponse) ProtoReflect ¶
func (x *UpdateDefaultRateDefinitionResponse) ProtoReflect() protoreflect.Message
func (*UpdateDefaultRateDefinitionResponse) Reset ¶
func (x *UpdateDefaultRateDefinitionResponse) Reset()
func (*UpdateDefaultRateDefinitionResponse) String ¶
func (x *UpdateDefaultRateDefinitionResponse) String() string
type UpdateRateDefinitionRequest ¶
type UpdateRateDefinitionRequest struct { RateDefinitionId string `protobuf:"bytes,1,opt,name=rate_definition_id,json=rateDefinitionId,proto3" json:"rate_definition_id,omitempty"` RateDefinition *v1alpha2.RateDefinition `protobuf:"bytes,2,opt,name=rate_definition,json=rateDefinition,proto3" json:"rate_definition,omitempty"` UpdateFields *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_fields,json=updateFields,proto3" json:"update_fields,omitempty"` // contains filtered or unexported fields }
func (*UpdateRateDefinitionRequest) Descriptor
deprecated
func (*UpdateRateDefinitionRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRateDefinitionRequest.ProtoReflect.Descriptor instead.
func (*UpdateRateDefinitionRequest) GetRateDefinition ¶
func (x *UpdateRateDefinitionRequest) GetRateDefinition() *v1alpha2.RateDefinition
func (*UpdateRateDefinitionRequest) GetRateDefinitionId ¶
func (x *UpdateRateDefinitionRequest) GetRateDefinitionId() string
func (*UpdateRateDefinitionRequest) GetUpdateFields ¶
func (x *UpdateRateDefinitionRequest) GetUpdateFields() *fieldmaskpb.FieldMask
func (*UpdateRateDefinitionRequest) ProtoMessage ¶
func (*UpdateRateDefinitionRequest) ProtoMessage()
func (*UpdateRateDefinitionRequest) ProtoReflect ¶
func (x *UpdateRateDefinitionRequest) ProtoReflect() protoreflect.Message
func (*UpdateRateDefinitionRequest) Reset ¶
func (x *UpdateRateDefinitionRequest) Reset()
func (*UpdateRateDefinitionRequest) String ¶
func (x *UpdateRateDefinitionRequest) String() string
type UpdateRateDefinitionResponse ¶
type UpdateRateDefinitionResponse struct {
// contains filtered or unexported fields
}
func (*UpdateRateDefinitionResponse) Descriptor
deprecated
func (*UpdateRateDefinitionResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRateDefinitionResponse.ProtoReflect.Descriptor instead.
func (*UpdateRateDefinitionResponse) ProtoMessage ¶
func (*UpdateRateDefinitionResponse) ProtoMessage()
func (*UpdateRateDefinitionResponse) ProtoReflect ¶
func (x *UpdateRateDefinitionResponse) ProtoReflect() protoreflect.Message
func (*UpdateRateDefinitionResponse) Reset ¶
func (x *UpdateRateDefinitionResponse) Reset()
func (*UpdateRateDefinitionResponse) String ¶
func (x *UpdateRateDefinitionResponse) String() string