Class ApiConfig (4.0.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
Name Description
other ApiConfig

Fields

ChannelPoolFieldNumber

public const int ChannelPoolFieldNumber = 2

Field number for the "channel_pool" field.

Field Value
Type Description
Int32

MethodFieldNumber

public const int MethodFieldNumber = 1001

Field number for the "method" field.

Field Value
Type Description
Int32

Properties

ChannelPool

public ChannelPoolConfig ChannelPool { get; set; }

The channel pool configurations.

Property Value
Type Description
ChannelPoolConfig

Descriptor

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

Method

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

The method configurations.

Property Value
Type Description
Protobuf.Collections.RepeatedField<MethodConfig>

Parser

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

Methods

CalculateSize()

public int CalculateSize()
Returns
Type Description
Int32

Clone()

public ApiConfig Clone()
Returns
Type Description
ApiConfig

Equals(ApiConfig)

public bool Equals(ApiConfig other)
Parameter
Name Description
other ApiConfig
Returns
Type Description
Boolean

Equals(Object)

public override bool Equals(object other)
Parameter
Name Description
other Object
Returns
Type Description
Boolean

GetHashCode()

public override int GetHashCode()
Returns
Type Description
Int32

MergeFrom(ApiConfig)

public void MergeFrom(ApiConfig other)
Parameter
Name Description
other ApiConfig

MergeFrom(Protobuf.CodedInputStream)

public void MergeFrom(Protobuf.CodedInputStream input)
Parameter
Name Description
input Protobuf.CodedInputStream

ToString()

public override string ToString()
Returns
Type Description
String

WriteTo(Protobuf.CodedOutputStream)

public void WriteTo(Protobuf.CodedOutputStream output)
Parameter
Name Description
output Protobuf.CodedOutputStream