Package com.google.api
Class DotnetSettings.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<DotnetSettings,DotnetSettings.Builder>
com.google.api.DotnetSettings.Builder
- All Implemented Interfaces:
DotnetSettingsOrBuilder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
- Enclosing class:
- DotnetSettings
public static final class DotnetSettings.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<DotnetSettings,DotnetSettings.Builder>
implements DotnetSettingsOrBuilder
Settings for Dotnet client libraries.Protobuf type
google.api.DotnetSettings
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllForcedNamespaceAliases
(Iterable<String> values) Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collisionaddAllHandwrittenSignatures
(Iterable<String> values) Method signatures (in the form "service.method(signature)") which are provided separately, so shouldn't be generated.addAllIgnoredResources
(Iterable<String> values) List of full resource types to ignore during generation.addForcedNamespaceAliases
(String value) Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collisionaddForcedNamespaceAliasesBytes
(com.google.protobuf.ByteString value) Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collisionaddHandwrittenSignatures
(String value) Method signatures (in the form "service.method(signature)") which are provided separately, so shouldn't be generated.addHandwrittenSignaturesBytes
(com.google.protobuf.ByteString value) Method signatures (in the form "service.method(signature)") which are provided separately, so shouldn't be generated.addIgnoredResources
(String value) List of full resource types to ignore during generation.addIgnoredResourcesBytes
(com.google.protobuf.ByteString value) List of full resource types to ignore during generation.Some settings.Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collisionMethod signatures (in the form "service.method(signature)") which are provided separately, so shouldn't be generated.List of full resource types to ignore during generation.boolean
Map from full resource types to the effective short name for the resource.boolean
Map from original service names to renamed versions.Some settings.getForcedNamespaceAliases
(int index) Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collisioncom.google.protobuf.ByteString
getForcedNamespaceAliasesBytes
(int index) Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collisionint
Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collisionNamespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collisiongetHandwrittenSignatures
(int index) Method signatures (in the form "service.method(signature)") which are provided separately, so shouldn't be generated.com.google.protobuf.ByteString
getHandwrittenSignaturesBytes
(int index) Method signatures (in the form "service.method(signature)") which are provided separately, so shouldn't be generated.int
Method signatures (in the form "service.method(signature)") which are provided separately, so shouldn't be generated.Method signatures (in the form "service.method(signature)") which are provided separately, so shouldn't be generated.getIgnoredResources
(int index) List of full resource types to ignore during generation.com.google.protobuf.ByteString
getIgnoredResourcesBytes
(int index) List of full resource types to ignore during generation.int
List of full resource types to ignore during generation.List of full resource types to ignore during generation.Deprecated.int
Map from full resource types to the effective short name for the resource.Map from full resource types to the effective short name for the resource.getRenamedResourcesOrDefault
(String key, String defaultValue) Map from full resource types to the effective short name for the resource.Map from full resource types to the effective short name for the resource.Deprecated.int
Map from original service names to renamed versions.Map from original service names to renamed versions.getRenamedServicesOrDefault
(String key, String defaultValue) Map from original service names to renamed versions.Map from original service names to renamed versions.boolean
Some settings.Some settings.putAllRenamedResources
(Map<String, String> values) Map from full resource types to the effective short name for the resource.putAllRenamedServices
(Map<String, String> values) Map from original service names to renamed versions.putRenamedResources
(String key, String value) Map from full resource types to the effective short name for the resource.putRenamedServices
(String key, String value) Map from original service names to renamed versions.Map from full resource types to the effective short name for the resource.Map from original service names to renamed versions.setCommon
(CommonLanguageSettings value) Some settings.setCommon
(CommonLanguageSettings.Builder builderForValue) Some settings.setForcedNamespaceAliases
(int index, String value) Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collisionsetHandwrittenSignatures
(int index, String value) Method signatures (in the form "service.method(signature)") which are provided separately, so shouldn't be generated.setIgnoredResources
(int index, String value) List of full resource types to ignore during generation.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasCommon
public boolean hasCommon()Some settings.
.google.api.CommonLanguageSettings common = 1 [json_name = "common"];
- Specified by:
hasCommon
in interfaceDotnetSettingsOrBuilder
- Returns:
- Whether the common field is set.
-
getCommon
Some settings.
.google.api.CommonLanguageSettings common = 1 [json_name = "common"];
- Specified by:
getCommon
in interfaceDotnetSettingsOrBuilder
- Returns:
- The common.
-
setCommon
Some settings.
.google.api.CommonLanguageSettings common = 1 [json_name = "common"];
-
setCommon
Some settings.
.google.api.CommonLanguageSettings common = 1 [json_name = "common"];
-
mergeCommon
Some settings.
.google.api.CommonLanguageSettings common = 1 [json_name = "common"];
-
clearCommon
Some settings.
.google.api.CommonLanguageSettings common = 1 [json_name = "common"];
-
getRenamedServicesCount
public int getRenamedServicesCount()Description copied from interface:DotnetSettingsOrBuilder
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 [json_name = "renamedServices"];
- Specified by:
getRenamedServicesCount
in interfaceDotnetSettingsOrBuilder
-
containsRenamedServices
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 [json_name = "renamedServices"];
- Specified by:
containsRenamedServices
in interfaceDotnetSettingsOrBuilder
-
clearRenamedServices
-
removeRenamedServices
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 [json_name = "renamedServices"];
-
getRenamedServices
Deprecated.UsegetRenamedServicesMap()
instead.- Specified by:
getRenamedServices
in interfaceDotnetSettingsOrBuilder
-
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 [json_name = "renamedServices"];
- Specified by:
getRenamedServicesMap
in interfaceDotnetSettingsOrBuilder
-
getRenamedServicesOrDefault
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 [json_name = "renamedServices"];
- Specified by:
getRenamedServicesOrDefault
in interfaceDotnetSettingsOrBuilder
-
getRenamedServicesOrThrow
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 [json_name = "renamedServices"];
- Specified by:
getRenamedServicesOrThrow
in interfaceDotnetSettingsOrBuilder
-
putRenamedServices
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 [json_name = "renamedServices"];
-
putAllRenamedServices
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 [json_name = "renamedServices"];
-
getRenamedResourcesCount
public int getRenamedResourcesCount()Description copied from interface:DotnetSettingsOrBuilder
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 [json_name = "renamedResources"];
- Specified by:
getRenamedResourcesCount
in interfaceDotnetSettingsOrBuilder
-
containsRenamedResources
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 [json_name = "renamedResources"];
- Specified by:
containsRenamedResources
in interfaceDotnetSettingsOrBuilder
-
clearRenamedResources
-
removeRenamedResources
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 [json_name = "renamedResources"];
-
getRenamedResources
Deprecated.UsegetRenamedResourcesMap()
instead.- Specified by:
getRenamedResources
in interfaceDotnetSettingsOrBuilder
-
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 [json_name = "renamedResources"];
- Specified by:
getRenamedResourcesMap
in interfaceDotnetSettingsOrBuilder
-
getRenamedResourcesOrDefault
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 [json_name = "renamedResources"];
- Specified by:
getRenamedResourcesOrDefault
in interfaceDotnetSettingsOrBuilder
-
getRenamedResourcesOrThrow
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 [json_name = "renamedResources"];
- Specified by:
getRenamedResourcesOrThrow
in interfaceDotnetSettingsOrBuilder
-
putRenamedResources
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 [json_name = "renamedResources"];
-
putAllRenamedResources
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 [json_name = "renamedResources"];
-
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 [json_name = "ignoredResources"];
- Specified by:
getIgnoredResourcesList
in interfaceDotnetSettingsOrBuilder
- Returns:
- A list containing the ignoredResources.
-
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 [json_name = "ignoredResources"];
- Specified by:
getIgnoredResourcesCount
in interfaceDotnetSettingsOrBuilder
- Returns:
- The count of ignoredResources.
-
getIgnoredResources
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 [json_name = "ignoredResources"];
- Specified by:
getIgnoredResources
in interfaceDotnetSettingsOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The ignoredResources at the given index.
-
getIgnoredResourcesBytes
public com.google.protobuf.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 [json_name = "ignoredResources"];
- Specified by:
getIgnoredResourcesBytes
in interfaceDotnetSettingsOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the ignoredResources at the given index.
-
setIgnoredResources
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 [json_name = "ignoredResources"];
- Parameters:
index
- The index to set the value at.value
- The ignoredResources to set.- Returns:
- This builder for chaining.
-
addIgnoredResources
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 [json_name = "ignoredResources"];
- Parameters:
value
- The ignoredResources to add.- Returns:
- This builder for chaining.
-
addAllIgnoredResources
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 [json_name = "ignoredResources"];
- Parameters:
values
- The ignoredResources to add.- Returns:
- This builder for chaining.
-
clearIgnoredResources
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 [json_name = "ignoredResources"];
- Returns:
- This builder for chaining.
-
addIgnoredResourcesBytes
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 [json_name = "ignoredResources"];
- Parameters:
value
- The bytes of the ignoredResources to add.- Returns:
- This builder for chaining.
-
getForcedNamespaceAliasesList
Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collision
repeated string forced_namespace_aliases = 5 [json_name = "forcedNamespaceAliases"];
- Specified by:
getForcedNamespaceAliasesList
in interfaceDotnetSettingsOrBuilder
- Returns:
- A list containing the forcedNamespaceAliases.
-
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 [json_name = "forcedNamespaceAliases"];
- Specified by:
getForcedNamespaceAliasesCount
in interfaceDotnetSettingsOrBuilder
- Returns:
- The count of forcedNamespaceAliases.
-
getForcedNamespaceAliases
Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collision
repeated string forced_namespace_aliases = 5 [json_name = "forcedNamespaceAliases"];
- Specified by:
getForcedNamespaceAliases
in interfaceDotnetSettingsOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The forcedNamespaceAliases at the given index.
-
getForcedNamespaceAliasesBytes
public com.google.protobuf.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 [json_name = "forcedNamespaceAliases"];
- Specified by:
getForcedNamespaceAliasesBytes
in interfaceDotnetSettingsOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the forcedNamespaceAliases at the given index.
-
setForcedNamespaceAliases
Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collision
repeated string forced_namespace_aliases = 5 [json_name = "forcedNamespaceAliases"];
- Parameters:
index
- The index to set the value at.value
- The forcedNamespaceAliases to set.- Returns:
- This builder for chaining.
-
addForcedNamespaceAliases
Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collision
repeated string forced_namespace_aliases = 5 [json_name = "forcedNamespaceAliases"];
- Parameters:
value
- The forcedNamespaceAliases to add.- Returns:
- This builder for chaining.
-
addAllForcedNamespaceAliases
Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collision
repeated string forced_namespace_aliases = 5 [json_name = "forcedNamespaceAliases"];
- Parameters:
values
- The forcedNamespaceAliases to add.- Returns:
- This builder for chaining.
-
clearForcedNamespaceAliases
Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collision
repeated string forced_namespace_aliases = 5 [json_name = "forcedNamespaceAliases"];
- Returns:
- This builder for chaining.
-
addForcedNamespaceAliasesBytes
Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collision
repeated string forced_namespace_aliases = 5 [json_name = "forcedNamespaceAliases"];
- Parameters:
value
- The bytes of the forcedNamespaceAliases to add.- Returns:
- This builder for chaining.
-
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 [json_name = "handwrittenSignatures"];
- Specified by:
getHandwrittenSignaturesList
in interfaceDotnetSettingsOrBuilder
- Returns:
- A list containing the handwrittenSignatures.
-
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 [json_name = "handwrittenSignatures"];
- Specified by:
getHandwrittenSignaturesCount
in interfaceDotnetSettingsOrBuilder
- Returns:
- The count of handwrittenSignatures.
-
getHandwrittenSignatures
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 [json_name = "handwrittenSignatures"];
- Specified by:
getHandwrittenSignatures
in interfaceDotnetSettingsOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The handwrittenSignatures at the given index.
-
getHandwrittenSignaturesBytes
public com.google.protobuf.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 [json_name = "handwrittenSignatures"];
- Specified by:
getHandwrittenSignaturesBytes
in interfaceDotnetSettingsOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the handwrittenSignatures at the given index.
-
setHandwrittenSignatures
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 [json_name = "handwrittenSignatures"];
- Parameters:
index
- The index to set the value at.value
- The handwrittenSignatures to set.- Returns:
- This builder for chaining.
-
addHandwrittenSignatures
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 [json_name = "handwrittenSignatures"];
- Parameters:
value
- The handwrittenSignatures to add.- Returns:
- This builder for chaining.
-
addAllHandwrittenSignatures
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 [json_name = "handwrittenSignatures"];
- Parameters:
values
- The handwrittenSignatures to add.- Returns:
- This builder for chaining.
-
clearHandwrittenSignatures
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 [json_name = "handwrittenSignatures"];
- Returns:
- This builder for chaining.
-
addHandwrittenSignaturesBytes
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 [json_name = "handwrittenSignatures"];
- Parameters:
value
- The bytes of the handwrittenSignatures to add.- Returns:
- This builder for chaining.
-