Interface DotnetSettingsOrBuilder (2.32.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
NameDescription
keyString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
boolean

getCommon()

public abstract CommonLanguageSettings getCommon()

Some settings.

.google.api.CommonLanguageSettings common = 1;

Returns
TypeDescription
CommonLanguageSettings

The common.

getCommonOrBuilder()

public abstract CommonLanguageSettingsOrBuilder getCommonOrBuilder()

Some settings.

.google.api.CommonLanguageSettings common = 1;

Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

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

A list containing the ignoredResources.

getRenamedResources() (deprecated)

public abstract Map<String,String> getRenamedResources()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
String

getRenamedServices() (deprecated)

public abstract Map<String,String> getRenamedServices()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
String

hasCommon()

public abstract boolean hasCommon()

Some settings.

.google.api.CommonLanguageSettings common = 1;

Returns
TypeDescription
boolean

Whether the common field is set.