# Interface DotnetSettingsOrBuilder (2.72.0)

2.72.0 (latest) 2.70.0 2.67.0 2.66.0 2.65.1 2.64.1 2.63.2 2.62.0 2.61.3 2.60.0 2.59.2 2.58.0 2.57.0 2.56.0 2.54.1 2.53.0 2.52.0 2.51.0 2.50.1 2.49.0 2.48.0 2.46.0 2.45.1 2.44.0 2.43.0 2.42.0 2.41.0 2.40.0 2.39.1 2.38.0 2.37.1 2.36.0 2.34.0 2.33.0 2.32.0 2.30.0 2.29.0 2.28.0 2.27.0 2.26.0 2.25.1 2.24.0 2.23.1 2.22.1 2.21.1 2.15.0 2.14.3 2.13.0 2.12.0 2.11.0 2.10.0 2.9.6 2.8.4 2.7.4

    public interface DotnetSettingsOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### containsRenamedResources(String key)

    public abstract boolean containsRenamedResources(String key)

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"

`map<string, string> renamed_resources = 3;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `key` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### containsRenamedServices(String key)

    public abstract boolean containsRenamedServices(String key)

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.

`map<string, string> renamed_services = 2;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `key` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getCommon()

    public abstract CommonLanguageSettings getCommon()

Some settings.

`.google.api.CommonLanguageSettings common = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/proto-google-common-protos/latest/com.google.api.CommonLanguageSettings` | The common. |

### getCommonOrBuilder()

    public abstract CommonLanguageSettingsOrBuilder getCommonOrBuilder()

Some settings.

`.google.api.CommonLanguageSettings common = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/proto-google-common-protos/latest/com.google.api.CommonLanguageSettingsOrBuilder` |   |

### getForcedNamespaceAliases(int index)

    public abstract String getForcedNamespaceAliases(int index)

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

`repeated string forced_namespace_aliases = 5;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the element to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The forcedNamespaceAliases at the given index. |

### getForcedNamespaceAliasesBytes(int index)

    public abstract ByteString getForcedNamespaceAliasesBytes(int index)

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

`repeated string forced_namespace_aliases = 5;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the value to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes of the forcedNamespaceAliases at the given index. |

### getForcedNamespaceAliasesCount()

    public abstract int getForcedNamespaceAliasesCount()

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

`repeated string forced_namespace_aliases = 5;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The count of forcedNamespaceAliases. |

### getForcedNamespaceAliasesList()

    public abstract List<String> getForcedNamespaceAliasesList()

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

`repeated string forced_namespace_aliases = 5;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` | A list containing the forcedNamespaceAliases. |

### getHandwrittenSignatures(int index)

    public abstract String getHandwrittenSignatures(int index)

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.

`repeated string handwritten_signatures = 6;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the element to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The handwrittenSignatures at the given index. |

### getHandwrittenSignaturesBytes(int index)

    public abstract ByteString getHandwrittenSignaturesBytes(int index)

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.

`repeated string handwritten_signatures = 6;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the value to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes of the handwrittenSignatures at the given index. |

### getHandwrittenSignaturesCount()

    public abstract int getHandwrittenSignaturesCount()

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.

`repeated string handwritten_signatures = 6;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The count of handwrittenSignatures. |

### getHandwrittenSignaturesList()

    public abstract List<String> getHandwrittenSignaturesList()

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.

`repeated string handwritten_signatures = 6;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` | A list containing the handwrittenSignatures. |

### getIgnoredResources(int index)

    public abstract String getIgnoredResources(int index)

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"

`repeated string ignored_resources = 4;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the element to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The ignoredResources at the given index. |

### getIgnoredResourcesBytes(int index)

    public abstract ByteString getIgnoredResourcesBytes(int index)

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"

`repeated string ignored_resources = 4;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the value to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes of the ignoredResources at the given index. |

### getIgnoredResourcesCount()

    public abstract int getIgnoredResourcesCount()

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"

`repeated string ignored_resources = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The count of ignoredResources. |

### getIgnoredResourcesList()

    public abstract List<String> getIgnoredResourcesList()

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"

`repeated string ignored_resources = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` | A list containing the ignoredResources. |

### getRenamedResources() (deprecated)

    public abstract Map<String,String> getRenamedResources()

Use [#getRenamedResourcesMap()](https://docs.cloud.google.com/java/docs/reference/proto-google-common-protos/latest/com.google.api.DotnetSettingsOrBuilder#com_google_api_DotnetSettingsOrBuilder_getRenamedResourcesMap__) instead.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/Map.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html,https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` |   |

### getRenamedResourcesCount()

    public abstract int getRenamedResourcesCount()

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"

`map<string, string> renamed_resources = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getRenamedResourcesMap()

    public abstract Map<String,String> getRenamedResourcesMap()

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"

`map<string, string> renamed_resources = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/Map.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html,https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` |   |

### getRenamedResourcesOrDefault(String key, String defaultValue)

    public abstract String getRenamedResourcesOrDefault(String key, String defaultValue)

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"

`map<string, string> renamed_resources = 3;`

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `key` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |
| `defaultValue` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |   |

### getRenamedResourcesOrThrow(String key)

    public abstract String getRenamedResourcesOrThrow(String key)

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"

`map<string, string> renamed_resources = 3;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `key` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |   |

### getRenamedServices() (deprecated)

    public abstract Map<String,String> getRenamedServices()

Use [#getRenamedServicesMap()](https://docs.cloud.google.com/java/docs/reference/proto-google-common-protos/latest/com.google.api.DotnetSettingsOrBuilder#com_google_api_DotnetSettingsOrBuilder_getRenamedServicesMap__) instead.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/Map.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html,https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` |   |

### getRenamedServicesCount()

    public abstract int getRenamedServicesCount()

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.

`map<string, string> renamed_services = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getRenamedServicesMap()

    public abstract Map<String,String> getRenamedServicesMap()

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.

`map<string, string> renamed_services = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/Map.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html,https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` |   |

### getRenamedServicesOrDefault(String key, String defaultValue)

    public abstract String getRenamedServicesOrDefault(String key, String defaultValue)

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.

`map<string, string> renamed_services = 2;`

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `key` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |
| `defaultValue` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |   |

### getRenamedServicesOrThrow(String key)

    public abstract String getRenamedServicesOrThrow(String key)

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.

`map<string, string> renamed_services = 2;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `key` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |   |

### hasCommon()

    public abstract boolean hasCommon()

Some settings.

`.google.api.CommonLanguageSettings common = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the common field is set. |