Help us shape the future of Go! Take the 2026 Go Developer Survey

billing

package
v0.55.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 17, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthMessage        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMessage          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMessage = fmt.Errorf("proto: unexpected end of group")
)
View Source
var BillingReport_Download_FileFormat_name = map[int32]string{
	0: "FileFormatUnspecified",
	1: "FileFormatCsv",
}
View Source
var BillingReport_Download_FileFormat_value = map[string]int32{
	"FileFormatUnspecified": 0,
	"FileFormatCsv":         1,
}
View Source
var BillingReport_State_name = map[int32]string{
	0: "BillingReportStateUnspecified",
	1: "BillingReportStateInProgress",
	2: "BillingReportStateGenerated",
	3: "BillingReportStateFailed",
}
View Source
var BillingReport_State_value = map[string]int32{
	"BillingReportStateUnspecified": 0,
	"BillingReportStateInProgress":  1,
	"BillingReportStateGenerated":   2,
	"BillingReportStateFailed":      3,
}

Functions

This section is empty.

Types

type BillingReport

type BillingReport struct {
	// The id of the billing report.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The current state of the billing report.
	State BillingReport_State `protobuf:"varint,2,opt,name=state,proto3,enum=temporal.api.cloud.billing.v1.BillingReport_State" json:"state,omitempty"`
	// The spec used to generate this billing report.
	Spec *BillingReportSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"`
	// The download information for the billing report.
	// For future-proofness this is repeated as we may return multiple files (e.g. csv+meta/json, split by size/date, etc.)
	DownloadInfo []*BillingReport_Download `protobuf:"bytes,4,rep,name=download_info,json=downloadInfo,proto3" json:"download_info,omitempty"`
	// The date and time when the billing report was requested.
	RequestedTime *types.Timestamp `protobuf:"bytes,5,opt,name=requested_time,json=requestedTime,proto3" json:"requested_time,omitempty"`
	// The date and time when the billing report generation completed.
	GeneratedTime *types.Timestamp `protobuf:"bytes,6,opt,name=generated_time,json=generatedTime,proto3" json:"generated_time,omitempty"`
	// The async operation id associated with the billing report generation.
	AsyncOperationId string `protobuf:"bytes,7,opt,name=async_operation_id,json=asyncOperationId,proto3" json:"async_operation_id,omitempty"`
}

temporal:dev

func (*BillingReport) Descriptor

func (*BillingReport) Descriptor() ([]byte, []int)

func (*BillingReport) Equal

func (this *BillingReport) Equal(that interface{}) bool

func (*BillingReport) GetAsyncOperationId

func (m *BillingReport) GetAsyncOperationId() string

func (*BillingReport) GetDownloadInfo

func (m *BillingReport) GetDownloadInfo() []*BillingReport_Download

func (*BillingReport) GetGeneratedTime

func (m *BillingReport) GetGeneratedTime() *types.Timestamp

func (*BillingReport) GetId

func (m *BillingReport) GetId() string

func (*BillingReport) GetRequestedTime

func (m *BillingReport) GetRequestedTime() *types.Timestamp

func (*BillingReport) GetSpec

func (m *BillingReport) GetSpec() *BillingReportSpec

func (*BillingReport) GetState

func (m *BillingReport) GetState() BillingReport_State

func (*BillingReport) GoString

func (this *BillingReport) GoString() string

func (*BillingReport) Marshal

func (m *BillingReport) Marshal() (dAtA []byte, err error)

func (*BillingReport) MarshalTo

func (m *BillingReport) MarshalTo(dAtA []byte) (int, error)

func (*BillingReport) MarshalToSizedBuffer

func (m *BillingReport) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BillingReport) ProtoMessage

func (*BillingReport) ProtoMessage()

func (*BillingReport) Reset

func (m *BillingReport) Reset()

func (*BillingReport) Size

func (m *BillingReport) Size() (n int)

func (*BillingReport) String

func (this *BillingReport) String() string

func (*BillingReport) Unmarshal

func (m *BillingReport) Unmarshal(dAtA []byte) error

func (*BillingReport) XXX_DiscardUnknown

func (m *BillingReport) XXX_DiscardUnknown()

func (*BillingReport) XXX_Marshal

func (m *BillingReport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BillingReport) XXX_Merge

func (m *BillingReport) XXX_Merge(src proto.Message)

func (*BillingReport) XXX_Size

func (m *BillingReport) XXX_Size() int

func (*BillingReport) XXX_Unmarshal

func (m *BillingReport) XXX_Unmarshal(b []byte) error

type BillingReportSpec

type BillingReportSpec struct {
	// The start time of the billing report (in UTC).
	StartTimeInclusive *types.Timestamp `protobuf:"bytes,1,opt,name=start_time_inclusive,json=startTimeInclusive,proto3" json:"start_time_inclusive,omitempty"`
	// The end time of the billing report (in UTC).
	EndTimeExclusive *types.Timestamp `protobuf:"bytes,2,opt,name=end_time_exclusive,json=endTimeExclusive,proto3" json:"end_time_exclusive,omitempty"`
	// The duration after which the download url will expire.
	// Optional, default is 5 minutes and maximum is 1 hour.
	DownloadUrlExpirationDuration *types.Duration `` /* 152-byte string literal not displayed */
	// The description for the billing report.
	// Optional, default is empty.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
}

temporal:dev

func (*BillingReportSpec) Descriptor

func (*BillingReportSpec) Descriptor() ([]byte, []int)

func (*BillingReportSpec) Equal

func (this *BillingReportSpec) Equal(that interface{}) bool

func (*BillingReportSpec) GetDescription

func (m *BillingReportSpec) GetDescription() string

func (*BillingReportSpec) GetDownloadUrlExpirationDuration

func (m *BillingReportSpec) GetDownloadUrlExpirationDuration() *types.Duration

func (*BillingReportSpec) GetEndTimeExclusive

func (m *BillingReportSpec) GetEndTimeExclusive() *types.Timestamp

func (*BillingReportSpec) GetStartTimeInclusive

func (m *BillingReportSpec) GetStartTimeInclusive() *types.Timestamp

func (*BillingReportSpec) GoString

func (this *BillingReportSpec) GoString() string

func (*BillingReportSpec) Marshal

func (m *BillingReportSpec) Marshal() (dAtA []byte, err error)

func (*BillingReportSpec) MarshalTo

func (m *BillingReportSpec) MarshalTo(dAtA []byte) (int, error)

func (*BillingReportSpec) MarshalToSizedBuffer

func (m *BillingReportSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BillingReportSpec) ProtoMessage

func (*BillingReportSpec) ProtoMessage()

func (*BillingReportSpec) Reset

func (m *BillingReportSpec) Reset()

func (*BillingReportSpec) Size

func (m *BillingReportSpec) Size() (n int)

func (*BillingReportSpec) String

func (this *BillingReportSpec) String() string

func (*BillingReportSpec) Unmarshal

func (m *BillingReportSpec) Unmarshal(dAtA []byte) error

func (*BillingReportSpec) XXX_DiscardUnknown

func (m *BillingReportSpec) XXX_DiscardUnknown()

func (*BillingReportSpec) XXX_Marshal

func (m *BillingReportSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BillingReportSpec) XXX_Merge

func (m *BillingReportSpec) XXX_Merge(src proto.Message)

func (*BillingReportSpec) XXX_Size

func (m *BillingReportSpec) XXX_Size() int

func (*BillingReportSpec) XXX_Unmarshal

func (m *BillingReportSpec) XXX_Unmarshal(b []byte) error

type BillingReport_Download

type BillingReport_Download struct {
	// The download url.
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// The time when the download url will expire.
	UrlExpirationTime *types.Timestamp `protobuf:"bytes,2,opt,name=url_expiration_time,json=urlExpirationTime,proto3" json:"url_expiration_time,omitempty"`
	// The file format of the billing report
	FileFormat BillingReport_Download_FileFormat `` /* 161-byte string literal not displayed */
	// The size of the file in bytes. Useful for pre-allocating space, progress indicators, etc.
	FileSizeBytes int64 `protobuf:"varint,4,opt,name=file_size_bytes,json=fileSizeBytes,proto3" json:"file_size_bytes,omitempty"`
}

temporal:dev

func (*BillingReport_Download) Descriptor

func (*BillingReport_Download) Descriptor() ([]byte, []int)

func (*BillingReport_Download) Equal

func (this *BillingReport_Download) Equal(that interface{}) bool

func (*BillingReport_Download) GetFileFormat

func (*BillingReport_Download) GetFileSizeBytes

func (m *BillingReport_Download) GetFileSizeBytes() int64

func (*BillingReport_Download) GetUrl

func (m *BillingReport_Download) GetUrl() string

func (*BillingReport_Download) GetUrlExpirationTime

func (m *BillingReport_Download) GetUrlExpirationTime() *types.Timestamp

func (*BillingReport_Download) GoString

func (this *BillingReport_Download) GoString() string

func (*BillingReport_Download) Marshal

func (m *BillingReport_Download) Marshal() (dAtA []byte, err error)

func (*BillingReport_Download) MarshalTo

func (m *BillingReport_Download) MarshalTo(dAtA []byte) (int, error)

func (*BillingReport_Download) MarshalToSizedBuffer

func (m *BillingReport_Download) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BillingReport_Download) ProtoMessage

func (*BillingReport_Download) ProtoMessage()

func (*BillingReport_Download) Reset

func (m *BillingReport_Download) Reset()

func (*BillingReport_Download) Size

func (m *BillingReport_Download) Size() (n int)

func (*BillingReport_Download) String

func (this *BillingReport_Download) String() string

func (*BillingReport_Download) Unmarshal

func (m *BillingReport_Download) Unmarshal(dAtA []byte) error

func (*BillingReport_Download) XXX_DiscardUnknown

func (m *BillingReport_Download) XXX_DiscardUnknown()

func (*BillingReport_Download) XXX_Marshal

func (m *BillingReport_Download) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BillingReport_Download) XXX_Merge

func (m *BillingReport_Download) XXX_Merge(src proto.Message)

func (*BillingReport_Download) XXX_Size

func (m *BillingReport_Download) XXX_Size() int

func (*BillingReport_Download) XXX_Unmarshal

func (m *BillingReport_Download) XXX_Unmarshal(b []byte) error

type BillingReport_Download_FileFormat

type BillingReport_Download_FileFormat int32
const (
	FILE_FORMAT_UNSPECIFIED BillingReport_Download_FileFormat = 0
	FILE_FORMAT_CSV         BillingReport_Download_FileFormat = 1
)

func (BillingReport_Download_FileFormat) EnumDescriptor

func (BillingReport_Download_FileFormat) EnumDescriptor() ([]byte, []int)

func (BillingReport_Download_FileFormat) String

type BillingReport_State

type BillingReport_State int32
const (
	BILLING_REPORT_STATE_UNSPECIFIED BillingReport_State = 0
	BILLING_REPORT_STATE_IN_PROGRESS BillingReport_State = 1
	BILLING_REPORT_STATE_GENERATED   BillingReport_State = 2
	BILLING_REPORT_STATE_FAILED      BillingReport_State = 3
)

func (BillingReport_State) EnumDescriptor

func (BillingReport_State) EnumDescriptor() ([]byte, []int)

func (BillingReport_State) String

func (x BillingReport_State) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL