2.17.0 (latest) 2.15.0 2.10.0 2.2.0

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

Details about how and where to publish client libraries.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[ClientLibrarySettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.ClientLibrarySettings.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ClientLibrarySettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.ClientLibrarySettings.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[ClientLibrarySettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.ClientLibrarySettings.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

### ClientLibrarySettings()

    public ClientLibrarySettings()

### ClientLibrarySettings(ClientLibrarySettings)

    public ClientLibrarySettings(ClientLibrarySettings other)

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

## Fields

### CppSettingsFieldNumber

    public const int CppSettingsFieldNumber = 22

Field number for the "cpp_settings" field.

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

### DotnetSettingsFieldNumber

    public const int DotnetSettingsFieldNumber = 26

Field number for the "dotnet_settings" field.

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

### GoSettingsFieldNumber

    public const int GoSettingsFieldNumber = 28

Field number for the "go_settings" field.

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

### JavaSettingsFieldNumber

    public const int JavaSettingsFieldNumber = 21

Field number for the "java_settings" field.

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

### LaunchStageFieldNumber

    public const int LaunchStageFieldNumber = 2

Field number for the "launch_stage" field.

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

### NodeSettingsFieldNumber

    public const int NodeSettingsFieldNumber = 25

Field number for the "node_settings" field.

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

### PhpSettingsFieldNumber

    public const int PhpSettingsFieldNumber = 23

Field number for the "php_settings" field.

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

### PythonSettingsFieldNumber

    public const int PythonSettingsFieldNumber = 24

Field number for the "python_settings" field.

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

### RestNumericEnumsFieldNumber

    public const int RestNumericEnumsFieldNumber = 3

Field number for the "rest_numeric_enums" field.

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

### RubySettingsFieldNumber

    public const int RubySettingsFieldNumber = 27

Field number for the "ruby_settings" field.

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

### VersionFieldNumber

    public const int VersionFieldNumber = 1

Field number for the "version" field.

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

## Properties

### CppSettings

    public CppSettings CppSettings { get; set; }

Settings for C++ client libraries.

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

### Descriptor

    public static MessageDescriptor Descriptor { get; }

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

### DotnetSettings

    public DotnetSettings DotnetSettings { get; set; }

Settings for .NET client libraries.

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

### GoSettings

    public GoSettings GoSettings { get; set; }

Settings for Go client libraries.

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

### JavaSettings

    public JavaSettings JavaSettings { get; set; }

Settings for legacy Java features, supported in the Service YAML.

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

### LaunchStage

    public LaunchStage LaunchStage { get; set; }

Launch stage of this version of the API.

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

### NodeSettings

    public NodeSettings NodeSettings { get; set; }

Settings for Node client libraries.

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

### Parser

    public static MessageParser<ClientLibrarySettings> Parser { get; }

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

### PhpSettings

    public PhpSettings PhpSettings { get; set; }

Settings for PHP client libraries.

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

### PythonSettings

    public PythonSettings PythonSettings { get; set; }

Settings for Python client libraries.

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

### RestNumericEnums

    public bool RestNumericEnums { get; set; }

When using transport=rest, the client request will encode enums as
numbers rather than strings.

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

### RubySettings

    public RubySettings RubySettings { get; set; }

Settings for Ruby client libraries.

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

### Version

    public string Version { get; set; }

Version of the API to apply these settings to. This is the full protobuf
package for the API, ending in the version element.
Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".

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

## Methods

### CalculateSize()

    public int CalculateSize()

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

### Clone()

    public ClientLibrarySettings Clone()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `ClientLibrarySettings` |   |

### Equals(ClientLibrarySettings)

    public bool Equals(ClientLibrarySettings other)

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

| **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(ClientLibrarySettings)

    public void MergeFrom(ClientLibrarySettings other)

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

### 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` |