Table of Contents

Class ExportSinkSpec

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

Constructors

ExportSinkSpec()

public ExportSinkSpec()

ExportSinkSpec(ExportSinkSpec)

public ExportSinkSpec(ExportSinkSpec other)

Parameters

other ExportSinkSpec

Fields

EnabledFieldNumber

Field number for the "enabled" field.

public const int EnabledFieldNumber = 2

Field Value

int

GcsFieldNumber

Field number for the "gcs" field.

public const int GcsFieldNumber = 4

Field Value

int

NameFieldNumber

Field number for the "name" field.

public const int NameFieldNumber = 1

Field Value

int

S3FieldNumber

Field number for the "s3" field.

public const int S3FieldNumber = 3

Field Value

int

Properties

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

Enabled

A flag indicating whether the export sink is enabled or not.

public bool Enabled { get; set; }

Property Value

bool

Gcs

This is a feature under development. We will allow GCS sink support for GCP Namespaces. The GCS configuration details when destination_type is GCS.

public GCSSpec Gcs { get; set; }

Property Value

GCSSpec

Name

The unique name of the export sink, it can't be changed once set.

public string Name { get; set; }

Property Value

string

Parser

public static MessageParser<ExportSinkSpec> Parser { get; }

Property Value

MessageParser<ExportSinkSpec>

S3

The S3 configuration details when destination_type is S3.

public S3Spec S3 { get; set; }

Property Value

S3Spec

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

Returns

ExportSinkSpec

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

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

public bool Equals(ExportSinkSpec other)

Parameters

other ExportSinkSpec

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

Merges the given message into this one.

public void MergeFrom(ExportSinkSpec other)

Parameters

other ExportSinkSpec

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.