Class AffinityConfig (4.3.1)

public sealed class AffinityConfig : Protobuf.IMessage<AffinityConfig>, Protobuf.IBufferMessage

Inheritance

object > AffinityConfig

Implements

IBufferMessage

Namespace

GoogleGoogle.ApiGaxGrpcGcp

Assembly

Google.Api.Gax.Grpc.dll

Constructors

AffinityConfig()

public AffinityConfig()

AffinityConfig(AffinityConfig)

public AffinityConfig(AffinityConfig other)
Parameter
NameDescription
otherAffinityConfig

Fields

AffinityKeyFieldNumber

public const int AffinityKeyFieldNumber = 3

Field number for the "affinity_key" field.

Field Value
TypeDescription
int

CommandFieldNumber

public const int CommandFieldNumber = 2

Field number for the "command" field.

Field Value
TypeDescription
int

Properties

AffinityKey

public string AffinityKey { get; set; }

The field path of the affinity key in the request/response message. For example: "f.a", "f.b.d", etc.

Property Value
TypeDescription
string

Command

public AffinityConfig.Types.Command Command { get; set; }

The affinity command applies on the selected gRPC methods.

Property Value
TypeDescription
AffinityConfigTypesCommand

Descriptor

public static Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
TypeDescription
MessageDescriptor

Parser

public static Protobuf.MessageParser<AffinityConfig> Parser { get; }
Property Value
TypeDescription
MessageParserAffinityConfig

Methods

CalculateSize()

public int CalculateSize()
Returns
TypeDescription
int

Clone()

public AffinityConfig Clone()
Returns
TypeDescription
AffinityConfig

Equals(AffinityConfig)

public bool Equals(AffinityConfig other)
Parameter
NameDescription
otherAffinityConfig
Returns
TypeDescription
bool

Equals(object)

public override bool Equals(object other)
Parameter
NameDescription
otherobject
Returns
TypeDescription
bool

GetHashCode()

public override int GetHashCode()
Returns
TypeDescription
int

MergeFrom(AffinityConfig)

public void MergeFrom(AffinityConfig other)
Parameter
NameDescription
otherAffinityConfig

MergeFrom(CodedInputStream)

public void MergeFrom(Protobuf.CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream

ToString()

public override string ToString()
Returns
TypeDescription
string

WriteTo(CodedOutputStream)

public void WriteTo(Protobuf.CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream