Class ApiConfig (4.2.0)

public sealed class ApiConfig : Protobuf.IMessage<ApiConfig>

Inheritance

Object > ApiConfig

Namespace

Google.Api.Gax.Grpc.Gcp

Assembly

Google.Api.Gax.Grpc.dll

Constructors

ApiConfig()

public ApiConfig()

ApiConfig(ApiConfig)

public ApiConfig(ApiConfig other)
Parameter
NameDescription
otherApiConfig

Fields

ChannelPoolFieldNumber

public const int ChannelPoolFieldNumber = 2

Field number for the "channel_pool" field.

Field Value
TypeDescription
Int32

MethodFieldNumber

public const int MethodFieldNumber = 1001

Field number for the "method" field.

Field Value
TypeDescription
Int32

Properties

ChannelPool

public ChannelPoolConfig ChannelPool { get; set; }

The channel pool configurations.

Property Value
TypeDescription
ChannelPoolConfig

Descriptor

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

Method

public Protobuf.Collections.RepeatedField<MethodConfig> Method { get; }

The method configurations.

Property Value
TypeDescription
Protobuf.Collections.RepeatedField<MethodConfig>

Parser

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

Methods

CalculateSize()

public int CalculateSize()
Returns
TypeDescription
Int32

Clone()

public ApiConfig Clone()
Returns
TypeDescription
ApiConfig

Equals(ApiConfig)

public bool Equals(ApiConfig other)
Parameter
NameDescription
otherApiConfig
Returns
TypeDescription
Boolean

Equals(Object)

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

GetHashCode()

public override int GetHashCode()
Returns
TypeDescription
Int32

MergeFrom(ApiConfig)

public void MergeFrom(ApiConfig other)
Parameter
NameDescription
otherApiConfig

MergeFrom(Protobuf.CodedInputStream)

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

ToString()

public override string ToString()
Returns
TypeDescription
String

WriteTo(Protobuf.CodedOutputStream)

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