2.17.0 (latest) 2.15.0 2.10.0 2.2.0

    public sealed class CommonLanguageSettings : IMessage<CommonLanguageSettings>, IEquatable<CommonLanguageSettings>, IDeepCloneable<CommonLanguageSettings>, IBufferMessage, IMessage

Required information for every language.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> CommonLanguageSettings

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[CommonLanguageSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.CommonLanguageSettings.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CommonLanguageSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.CommonLanguageSettings.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[CommonLanguageSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.CommonLanguageSettings.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals)

## Namespace

[Google.Api](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.md.txt)

## Assembly

Google.Api.CommonProtos.dll

## Constructors

### CommonLanguageSettings()

    public CommonLanguageSettings()

### CommonLanguageSettings(CommonLanguageSettings)

    public CommonLanguageSettings(CommonLanguageSettings other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `CommonLanguageSettings` |

## Fields

### DestinationsFieldNumber

    public const int DestinationsFieldNumber = 2

Field number for the "destinations" field.

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### ReferenceDocsUriFieldNumber

    public const int ReferenceDocsUriFieldNumber = 1

Field number for the "reference_docs_uri" field.

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### SelectiveGapicGenerationFieldNumber

    public const int SelectiveGapicGenerationFieldNumber = 3

Field number for the "selective_gapic_generation" field.

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

## Properties

### Descriptor

    public static MessageDescriptor Descriptor { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `MessageDescriptor` |   |

### Destinations

    public RepeatedField<ClientLibraryDestination> Destinations { get; }

The destination where API teams want this client library to be published.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldClientLibraryDestination` |   |

### Parser

    public static MessageParser<CommonLanguageSettings> Parser { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `MessageParserCommonLanguageSettings` |   |

### ReferenceDocsUri

    [Obsolete]
    public string ReferenceDocsUri { get; set; }

Link to automatically generated reference documentation. Example:
<https://cloud.google.com/nodejs/docs/reference/asset/latest>

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### SelectiveGapicGeneration

    public SelectiveGapicGeneration SelectiveGapicGeneration { get; set; }

Configuration for which RPCs should be generated in the GAPIC client.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `SelectiveGapicGeneration` |   |

## Methods

### CalculateSize()

    public int CalculateSize()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### Clone()

    public CommonLanguageSettings Clone()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `CommonLanguageSettings` |   |

### Equals(CommonLanguageSettings)

    public bool Equals(CommonLanguageSettings other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `CommonLanguageSettings` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### Equals(object)

    public override bool Equals(object other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `object` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

**Overrides** [object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object))

### GetHashCode()

    public override int GetHashCode()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

**Overrides** [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode)

### MergeFrom(CommonLanguageSettings)

    public void MergeFrom(CommonLanguageSettings other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `CommonLanguageSettings` |

### MergeFrom(CodedInputStream)

    public void MergeFrom(CodedInputStream input)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `input` | `CodedInputStream` |

### ToString()

    public override string ToString()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

**Overrides** [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

### WriteTo(CodedOutputStream)

    public void WriteTo(CodedOutputStream output)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `output` | `CodedOutputStream` |