Table of Contents

Class BillingReportSpec

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

Constructors

BillingReportSpec()

public BillingReportSpec()

BillingReportSpec(BillingReportSpec)

public BillingReportSpec(BillingReportSpec other)

Parameters

other BillingReportSpec

Fields

DescriptionFieldNumber

Field number for the "description" field.

public const int DescriptionFieldNumber = 4

Field Value

int

DownloadUrlExpirationDurationFieldNumber

Field number for the "download_url_expiration_duration" field.

public const int DownloadUrlExpirationDurationFieldNumber = 3

Field Value

int

EndTimeExclusiveFieldNumber

Field number for the "end_time_exclusive" field.

public const int EndTimeExclusiveFieldNumber = 2

Field Value

int

StartTimeInclusiveFieldNumber

Field number for the "start_time_inclusive" field.

public const int StartTimeInclusiveFieldNumber = 1

Field Value

int

Properties

Description

The description for the billing report. Optional, default is empty.

public string Description { get; set; }

Property Value

string

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

DownloadUrlExpirationDuration

The duration after which the download url will expire. Optional, default is 5 minutes and maximum is 1 hour.

public Duration DownloadUrlExpirationDuration { get; set; }

Property Value

Duration

EndTimeExclusive

The end time of the billing report (in UTC).

public Timestamp EndTimeExclusive { get; set; }

Property Value

Timestamp

Parser

public static MessageParser<BillingReportSpec> Parser { get; }

Property Value

MessageParser<BillingReportSpec>

StartTimeInclusive

The start time of the billing report (in UTC).

public Timestamp StartTimeInclusive { get; set; }

Property Value

Timestamp

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 BillingReportSpec Clone()

Returns

BillingReportSpec

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(BillingReportSpec)

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

public bool Equals(BillingReportSpec other)

Parameters

other BillingReportSpec

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(BillingReportSpec)

Merges the given message into this one.

public void MergeFrom(BillingReportSpec other)

Parameters

other BillingReportSpec

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.