Class DotnetSettings (2.37.1)

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
TypeDescription
int

FORCED_NAMESPACE_ALIASES_FIELD_NUMBER

public static final int FORCED_NAMESPACE_ALIASES_FIELD_NUMBER
Field Value
TypeDescription
int

HANDWRITTEN_SIGNATURES_FIELD_NUMBER

public static final int HANDWRITTEN_SIGNATURES_FIELD_NUMBER
Field Value
TypeDescription
int

IGNORED_RESOURCES_FIELD_NUMBER

public static final int IGNORED_RESOURCES_FIELD_NUMBER
Field Value
TypeDescription
int

RENAMED_RESOURCES_FIELD_NUMBER

public static final int RENAMED_RESOURCES_FIELD_NUMBER
Field Value
TypeDescription
int

RENAMED_SERVICES_FIELD_NUMBER

public static final int RENAMED_SERVICES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DotnetSettings getDefaultInstance()
Returns
TypeDescription
DotnetSettings

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static DotnetSettings.Builder newBuilder()
Returns
TypeDescription
DotnetSettings.Builder

newBuilder(DotnetSettings prototype)

public static DotnetSettings.Builder newBuilder(DotnetSettings prototype)
Parameter
NameDescription
prototypeDotnetSettings
Returns
TypeDescription
DotnetSettings.Builder

parseDelimitedFrom(InputStream input)

public static DotnetSettings parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DotnetSettings
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DotnetSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DotnetSettings
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DotnetSettings parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DotnetSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DotnetSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DotnetSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DotnetSettings parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DotnetSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DotnetSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DotnetSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DotnetSettings parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DotnetSettings
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DotnetSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DotnetSettings
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DotnetSettings parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DotnetSettings
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DotnetSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DotnetSettings
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DotnetSettings parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DotnetSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DotnetSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DotnetSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<DotnetSettings> parser()
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCommon()

public CommonLanguageSettings getCommon()

Some settings.

.google.api.CommonLanguageSettings common = 1;

Returns
TypeDescription
CommonLanguageSettings

The common.

getCommonOrBuilder()

public CommonLanguageSettingsOrBuilder getCommonOrBuilder()

Some settings.

.google.api.CommonLanguageSettings common = 1;

Returns
TypeDescription
CommonLanguageSettingsOrBuilder

getDefaultInstanceForType()

public DotnetSettings getDefaultInstanceForType()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

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

The index of the value to return.

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

The index of the element to return.

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

The index of the value to return.

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

The index of the element to return.

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

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the ignoredResources.

getParserForType()

public Parser<DotnetSettings> getParserForType()
Returns
TypeDescription
Parser<DotnetSettings>
Overrides

getRenamedResources() (deprecated)

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

getRenamedServices() (deprecated)

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasCommon()

public boolean hasCommon()

Some settings.

.google.api.CommonLanguageSettings common = 1;

Returns
TypeDescription
boolean

Whether the common field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public DotnetSettings.Builder newBuilderForType()
Returns
TypeDescription
DotnetSettings.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DotnetSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DotnetSettings.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public DotnetSettings.Builder toBuilder()
Returns
TypeDescription
DotnetSettings.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException