2.17.0 (latest) 2.15.0 2.10.0 2.2.0

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

Settings for Dotnet client libraries.

## Inheritance

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

## Implements

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

### DotnetSettings()

    public DotnetSettings()

### DotnetSettings(DotnetSettings)

    public DotnetSettings(DotnetSettings other)

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

## Fields

### CommonFieldNumber

    public const int CommonFieldNumber = 1

Field number for the "common" field.

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

### ForcedNamespaceAliasesFieldNumber

    public const int ForcedNamespaceAliasesFieldNumber = 5

Field number for the "forced_namespace_aliases" field.

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

### HandwrittenSignaturesFieldNumber

    public const int HandwrittenSignaturesFieldNumber = 6

Field number for the "handwritten_signatures" field.

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

### IgnoredResourcesFieldNumber

    public const int IgnoredResourcesFieldNumber = 4

Field number for the "ignored_resources" field.

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

### RenamedResourcesFieldNumber

    public const int RenamedResourcesFieldNumber = 3

Field number for the "renamed_resources" field.

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

### RenamedServicesFieldNumber

    public const int RenamedServicesFieldNumber = 2

Field number for the "renamed_services" field.

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

## Properties

### Common

    public CommonLanguageSettings Common { get; set; }

Some settings.

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

### Descriptor

    public static MessageDescriptor Descriptor { get; }

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

### ForcedNamespaceAliases

    public RepeatedField<string> ForcedNamespaceAliases { get; }

Namespaces which must be aliased in snippets due to
a known (but non-generator-predictable) naming collision

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

### HandwrittenSignatures

    public RepeatedField<string> HandwrittenSignatures { get; }

Method signatures (in the form "service.method(signature)")
which are provided separately, so shouldn't be generated.
Snippets *calling* these methods are still generated, however.

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

### IgnoredResources

    public RepeatedField<string> IgnoredResources { get; }

List of full resource types to ignore during generation.
This is typically used for API-specific Location resources,
which should be handled by the generator as if they were actually
the common Location resources.
Example entry: "documentai.googleapis.com/Location"

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

### Parser

    public static MessageParser<DotnetSettings> Parser { get; }

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

### RenamedResources

    public MapField<string, string> RenamedResources { get; }

Map from full resource types to the effective short name
for the resource. This is used when otherwise resource
named from different services would cause naming collisions.
Example entry:
"datalabeling.googleapis.com/Dataset": "DataLabelingDataset"

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

### RenamedServices

    public MapField<string, string> RenamedServices { get; }

Map from original service names to renamed versions.
This is used when the default generated types
would cause a naming conflict. (Neither name is
fully-qualified.)
Example: Subscriber to SubscriberServiceApi.

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

## Methods

### CalculateSize()

    public int CalculateSize()

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

### Clone()

    public DotnetSettings Clone()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `DotnetSettings` |   |

### Equals(DotnetSettings)

    public bool Equals(DotnetSettings other)

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

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

    public void MergeFrom(DotnetSettings other)

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

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