Table of Contents

Class BillingReport

Namespace
Temporalio.Api.Cloud.Billing.V1
Assembly
Temporalio.dll
public sealed class BillingReport : IMessage<BillingReport>, IEquatable<BillingReport>, IDeepCloneable<BillingReport>, IBufferMessage, IMessage
Inheritance
BillingReport
Implements
IMessage<BillingReport>
IDeepCloneable<BillingReport>
IBufferMessage
IMessage
Inherited Members

Constructors

BillingReport()

public BillingReport()

BillingReport(BillingReport)

public BillingReport(BillingReport other)

Parameters

other BillingReport

Fields

AsyncOperationIdFieldNumber

Field number for the "async_operation_id" field.

public const int AsyncOperationIdFieldNumber = 7

Field Value

int

DownloadInfoFieldNumber

Field number for the "download_info" field.

public const int DownloadInfoFieldNumber = 4

Field Value

int

GeneratedTimeFieldNumber

Field number for the "generated_time" field.

public const int GeneratedTimeFieldNumber = 6

Field Value

int

IdFieldNumber

Field number for the "id" field.

public const int IdFieldNumber = 1

Field Value

int

RequestedTimeFieldNumber

Field number for the "requested_time" field.

public const int RequestedTimeFieldNumber = 5

Field Value

int

SpecFieldNumber

Field number for the "spec" field.

public const int SpecFieldNumber = 3

Field Value

int

StateFieldNumber

Field number for the "state" field.

public const int StateFieldNumber = 2

Field Value

int

Properties

AsyncOperationId

The async operation id associated with the billing report generation.

public string AsyncOperationId { get; set; }

Property Value

string

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

DownloadInfo

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.)

public RepeatedField<BillingReport.Types.Download> DownloadInfo { get; }

Property Value

RepeatedField<BillingReport.Types.Download>

GeneratedTime

The date and time when the billing report generation completed.

public Timestamp GeneratedTime { get; set; }

Property Value

Timestamp

Id

The id of the billing report.

public string Id { get; set; }

Property Value

string

Parser

public static MessageParser<BillingReport> Parser { get; }

Property Value

MessageParser<BillingReport>

RequestedTime

The date and time when the billing report was requested.

public Timestamp RequestedTime { get; set; }

Property Value

Timestamp

Spec

The spec used to generate this billing report.

public BillingReportSpec Spec { get; set; }

Property Value

BillingReportSpec

State

The current state of the billing report.

public BillingReport.Types.BillingReportState State { get; set; }

Property Value

BillingReport.Types.BillingReportState

Methods

CalculateSize()

Calculates the size of this message in Protocol Buffer wire format, in bytes.

public int CalculateSize()

Returns

int

The number of bytes required to write this message to a coded output stream.

Clone()

Creates a deep clone of this object.

public BillingReport Clone()

Returns

BillingReport

A deep clone of this object.

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object other)

Parameters

other object

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

Equals(BillingReport)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(BillingReport other)

Parameters

other BillingReport

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

MergeFrom(CodedInputStream)

Merges the data from the specified coded input stream with the current message.

public void MergeFrom(CodedInputStream input)

Parameters

input CodedInputStream

Remarks

See the user guide for precise merge semantics.

MergeFrom(BillingReport)

Merges the given message into this one.

public void MergeFrom(BillingReport other)

Parameters

other BillingReport

Remarks

See the user guide for precise merge semantics.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

WriteTo(CodedOutputStream)

Writes the data to the given coded output stream.

public void WriteTo(CodedOutputStream output)

Parameters

output CodedOutputStream

Coded output stream to write the data to. Must not be null.