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>IBufferMessageIMessage
- Inherited Members
Constructors
BillingReport()
public BillingReport()
BillingReport(BillingReport)
public BillingReport(BillingReport other)
Parameters
otherBillingReport
Fields
AsyncOperationIdFieldNumber
Field number for the "async_operation_id" field.
public const int AsyncOperationIdFieldNumber = 7
Field Value
DownloadInfoFieldNumber
Field number for the "download_info" field.
public const int DownloadInfoFieldNumber = 4
Field Value
GeneratedTimeFieldNumber
Field number for the "generated_time" field.
public const int GeneratedTimeFieldNumber = 6
Field Value
IdFieldNumber
Field number for the "id" field.
public const int IdFieldNumber = 1
Field Value
RequestedTimeFieldNumber
Field number for the "requested_time" field.
public const int RequestedTimeFieldNumber = 5
Field Value
SpecFieldNumber
Field number for the "spec" field.
public const int SpecFieldNumber = 3
Field Value
StateFieldNumber
Field number for the "state" field.
public const int StateFieldNumber = 2
Field Value
Properties
AsyncOperationId
The async operation id associated with the billing report generation.
public string AsyncOperationId { get; set; }
Property Value
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
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
State
The current state of the billing report.
public BillingReport.Types.BillingReportState State { get; set; }
Property Value
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
otherobject
Returns
Equals(BillingReport)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(BillingReport other)
Parameters
otherBillingReportAn object to compare with this object.
Returns
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
inputCodedInputStream
Remarks
See the user guide for precise merge semantics.
MergeFrom(BillingReport)
Merges the given message into this one.
public void MergeFrom(BillingReport other)
Parameters
otherBillingReport
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
outputCodedOutputStreamCoded output stream to write the data to. Must not be null.