Interface DotnetSettingsOrBuilder (2.40.0)

public interface DotnetSettingsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

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 String
Returns
Type Description
boolean

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 String
Returns
Type Description
boolean

getCommon()

public abstract CommonLanguageSettings getCommon()

Some settings.

.google.api.CommonLanguageSettings common = 1;

Returns
Type Description
CommonLanguageSettings

The common.

getCommonOrBuilder()

public abstract CommonLanguageSettingsOrBuilder getCommonOrBuilder()

Some settings.

.google.api.CommonLanguageSettings common = 1;

Returns
Type Description
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 int

The index of the element to return.

Returns
Type Description
String

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 int

The index of the value to return.

Returns
Type Description
ByteString

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
int

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
List<String>

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 int

The index of the element to return.

Returns
Type Description
String

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 int

The index of the value to return.

Returns
Type Description
ByteString

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
int

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
List<String>

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 int

The index of the element to return.

Returns
Type Description
String

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 int

The index of the value to return.

Returns
Type Description
ByteString

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
int

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
List<String>

A list containing the ignoredResources.

getRenamedResources() (deprecated)

public abstract Map<String,String> getRenamedResources()
Returns
Type Description
Map<String,String>

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
int

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
Map<String,String>

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 String
defaultValue String
Returns
Type Description
String

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 String
Returns
Type Description
String

getRenamedServices() (deprecated)

public abstract Map<String,String> getRenamedServices()
Returns
Type Description
Map<String,String>

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
int

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
Map<String,String>

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 String
defaultValue String
Returns
Type Description
String

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 String
Returns
Type Description
String

hasCommon()

public abstract boolean hasCommon()

Some settings.

.google.api.CommonLanguageSettings common = 1;

Returns
Type Description
boolean

Whether the common field is set.