Class DotnetSettings (2.40.0)

public final class DotnetSettings extends GeneratedMessageV3 implements DotnetSettingsOrBuilder

Settings for Dotnet client libraries.

Protobuf type google.api.DotnetSettings

Static Fields

COMMON_FIELD_NUMBER

public static final int COMMON_FIELD_NUMBER
Field Value
Type Description
int

FORCED_NAMESPACE_ALIASES_FIELD_NUMBER

public static final int FORCED_NAMESPACE_ALIASES_FIELD_NUMBER
Field Value
Type Description
int

HANDWRITTEN_SIGNATURES_FIELD_NUMBER

public static final int HANDWRITTEN_SIGNATURES_FIELD_NUMBER
Field Value
Type Description
int

IGNORED_RESOURCES_FIELD_NUMBER

public static final int IGNORED_RESOURCES_FIELD_NUMBER
Field Value
Type Description
int

RENAMED_RESOURCES_FIELD_NUMBER

public static final int RENAMED_RESOURCES_FIELD_NUMBER
Field Value
Type Description
int

RENAMED_SERVICES_FIELD_NUMBER

public static final int RENAMED_SERVICES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DotnetSettings getDefaultInstance()
Returns
Type Description
DotnetSettings

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static DotnetSettings.Builder newBuilder()
Returns
Type Description
DotnetSettings.Builder

newBuilder(DotnetSettings prototype)

public static DotnetSettings.Builder newBuilder(DotnetSettings prototype)
Parameter
Name Description
prototype DotnetSettings
Returns
Type Description
DotnetSettings.Builder

parseDelimitedFrom(InputStream input)

public static DotnetSettings parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DotnetSettings
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DotnetSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DotnetSettings
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DotnetSettings parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DotnetSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DotnetSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DotnetSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DotnetSettings parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DotnetSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DotnetSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DotnetSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DotnetSettings parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DotnetSettings
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DotnetSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DotnetSettings
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DotnetSettings parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DotnetSettings
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DotnetSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DotnetSettings
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DotnetSettings parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DotnetSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DotnetSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DotnetSettings
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DotnetSettings> parser()
Returns
Type Description
Parser<DotnetSettings>

Methods

containsRenamedResources(String key)

public 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 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

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCommon()

public CommonLanguageSettings getCommon()

Some settings.

.google.api.CommonLanguageSettings common = 1;

Returns
Type Description
CommonLanguageSettings

The common.

getCommonOrBuilder()

public CommonLanguageSettingsOrBuilder getCommonOrBuilder()

Some settings.

.google.api.CommonLanguageSettings common = 1;

Returns
Type Description
CommonLanguageSettingsOrBuilder

getDefaultInstanceForType()

public DotnetSettings getDefaultInstanceForType()
Returns
Type Description
DotnetSettings

getForcedNamespaceAliases(int index)

public 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 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 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 ProtocolStringList 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
ProtocolStringList

A list containing the forcedNamespaceAliases.

getHandwrittenSignatures(int index)

public 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 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 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 ProtocolStringList 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
ProtocolStringList

A list containing the handwrittenSignatures.

getIgnoredResources(int index)

public 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 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 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 ProtocolStringList 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
ProtocolStringList

A list containing the ignoredResources.

getParserForType()

public Parser<DotnetSettings> getParserForType()
Returns
Type Description
Parser<DotnetSettings>
Overrides

getRenamedResources() (deprecated)

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

getRenamedResourcesCount()

public 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 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 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 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 Map<String,String> getRenamedServices()
Returns
Type Description
Map<String,String>

getRenamedServicesCount()

public 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 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 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 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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasCommon()

public boolean hasCommon()

Some settings.

.google.api.CommonLanguageSettings common = 1;

Returns
Type Description
boolean

Whether the common field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DotnetSettings.Builder newBuilderForType()
Returns
Type Description
DotnetSettings.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DotnetSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DotnetSettings.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public DotnetSettings.Builder toBuilder()
Returns
Type Description
DotnetSettings.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException