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.booleanMap from full resource types to the effective short name for the resource.booleanMap 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.ByteStringgetForcedNamespaceAliasesBytes(int index) Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collisionintNamespaces 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.ByteStringgetHandwrittenSignaturesBytes(int index) Method signatures (in the form "service.method(signature)") which are provided separately, so shouldn't be generated.intMethod 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.ByteStringgetIgnoredResourcesBytes(int index) List of full resource types to ignore during generation.intList of full resource types to ignore during generation.List of full resource types to ignore during generation.Deprecated.intMap 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.intMap 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.booleanSome 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, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
hasCommonin interfaceDotnetSettingsOrBuilder- Returns:
- Whether the common field is set.
-
getCommon
Some settings.
.google.api.CommonLanguageSettings common = 1 [json_name = "common"];- Specified by:
getCommonin 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:DotnetSettingsOrBuilderMap 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:
getRenamedServicesCountin 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:
containsRenamedServicesin 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:
getRenamedServicesin 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:
getRenamedServicesMapin 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:
getRenamedServicesOrDefaultin 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:
getRenamedServicesOrThrowin 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:DotnetSettingsOrBuilderMap 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:
getRenamedResourcesCountin 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:
containsRenamedResourcesin 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:
getRenamedResourcesin 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:
getRenamedResourcesMapin 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:
getRenamedResourcesOrDefaultin 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:
getRenamedResourcesOrThrowin 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:
getIgnoredResourcesListin 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:
getIgnoredResourcesCountin 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:
getIgnoredResourcesin 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:
getIgnoredResourcesBytesin 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:
getForcedNamespaceAliasesListin 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:
getForcedNamespaceAliasesCountin 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:
getForcedNamespaceAliasesin 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:
getForcedNamespaceAliasesBytesin 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:
getHandwrittenSignaturesListin 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:
getHandwrittenSignaturesCountin 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:
getHandwrittenSignaturesin 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:
getHandwrittenSignaturesBytesin 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.
-