Package com.google.api
Class DotnetSettings.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.ExtendableBuilder<com.google.protobuf.GeneratedMessageV3,BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<DotnetSettings.Builder>
-
- com.google.api.DotnetSettings.Builder
-
- All Implemented Interfaces:
DotnetSettingsOrBuilder,com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- DotnetSettings
public static final class DotnetSettings.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DotnetSettings.Builder> implements DotnetSettingsOrBuilder
Settings for Dotnet client libraries.
Protobuf typegoogle.api.DotnetSettings
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description DotnetSettings.BuilderaddAllForcedNamespaceAliases(java.lang.Iterable<java.lang.String> values)Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collisionDotnetSettings.BuilderaddAllHandwrittenSignatures(java.lang.Iterable<java.lang.String> values)Method signatures (in the form "service.method(signature)") which are provided separately, so shouldn't be generated.DotnetSettings.BuilderaddAllIgnoredResources(java.lang.Iterable<java.lang.String> values)List of full resource types to ignore during generation.DotnetSettings.BuilderaddForcedNamespaceAliases(java.lang.String value)Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collisionDotnetSettings.BuilderaddForcedNamespaceAliasesBytes(com.google.protobuf.ByteString value)Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collisionDotnetSettings.BuilderaddHandwrittenSignatures(java.lang.String value)Method signatures (in the form "service.method(signature)") which are provided separately, so shouldn't be generated.DotnetSettings.BuilderaddHandwrittenSignaturesBytes(com.google.protobuf.ByteString value)Method signatures (in the form "service.method(signature)") which are provided separately, so shouldn't be generated.DotnetSettings.BuilderaddIgnoredResources(java.lang.String value)List of full resource types to ignore during generation.DotnetSettings.BuilderaddIgnoredResourcesBytes(com.google.protobuf.ByteString value)List of full resource types to ignore during generation.DotnetSettings.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)DotnetSettingsbuild()DotnetSettingsbuildPartial()DotnetSettings.Builderclear()DotnetSettings.BuilderclearCommon()Some settings.DotnetSettings.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)DotnetSettings.BuilderclearForcedNamespaceAliases()Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collisionDotnetSettings.BuilderclearHandwrittenSignatures()Method signatures (in the form "service.method(signature)") which are provided separately, so shouldn't be generated.DotnetSettings.BuilderclearIgnoredResources()List of full resource types to ignore during generation.DotnetSettings.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)DotnetSettings.BuilderclearRenamedResources()DotnetSettings.BuilderclearRenamedServices()DotnetSettings.Builderclone()booleancontainsRenamedResources(java.lang.String key)Map from full resource types to the effective short name for the resource.booleancontainsRenamedServices(java.lang.String key)Map from original service names to renamed versions.CommonLanguageSettingsgetCommon()Some settings.CommonLanguageSettings.BuildergetCommonBuilder()Some settings.CommonLanguageSettingsOrBuildergetCommonOrBuilder()Some settings.DotnetSettingsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetForcedNamespaceAliases(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 collisionintgetForcedNamespaceAliasesCount()Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collisioncom.google.protobuf.ProtocolStringListgetForcedNamespaceAliasesList()Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collisionjava.lang.StringgetHandwrittenSignatures(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.intgetHandwrittenSignaturesCount()Method signatures (in the form "service.method(signature)") which are provided separately, so shouldn't be generated.com.google.protobuf.ProtocolStringListgetHandwrittenSignaturesList()Method signatures (in the form "service.method(signature)") which are provided separately, so shouldn't be generated.java.lang.StringgetIgnoredResources(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.intgetIgnoredResourcesCount()List of full resource types to ignore during generation.com.google.protobuf.ProtocolStringListgetIgnoredResourcesList()List of full resource types to ignore during generation.java.util.Map<java.lang.String,java.lang.String>getMutableRenamedResources()Deprecated.java.util.Map<java.lang.String,java.lang.String>getMutableRenamedServices()Deprecated.java.util.Map<java.lang.String,java.lang.String>getRenamedResources()Deprecated.intgetRenamedResourcesCount()Map from full resource types to the effective short name for the resource.java.util.Map<java.lang.String,java.lang.String>getRenamedResourcesMap()Map from full resource types to the effective short name for the resource.java.lang.StringgetRenamedResourcesOrDefault(java.lang.String key, java.lang.String defaultValue)Map from full resource types to the effective short name for the resource.java.lang.StringgetRenamedResourcesOrThrow(java.lang.String key)Map from full resource types to the effective short name for the resource.java.util.Map<java.lang.String,java.lang.String>getRenamedServices()Deprecated.intgetRenamedServicesCount()Map from original service names to renamed versions.java.util.Map<java.lang.String,java.lang.String>getRenamedServicesMap()Map from original service names to renamed versions.java.lang.StringgetRenamedServicesOrDefault(java.lang.String key, java.lang.String defaultValue)Map from original service names to renamed versions.java.lang.StringgetRenamedServicesOrThrow(java.lang.String key)Map from original service names to renamed versions.booleanhasCommon()Some settings.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number)protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number)booleanisInitialized()DotnetSettings.BuildermergeCommon(CommonLanguageSettings value)Some settings.DotnetSettings.BuildermergeFrom(DotnetSettings other)DotnetSettings.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)DotnetSettings.BuildermergeFrom(com.google.protobuf.Message other)DotnetSettings.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)DotnetSettings.BuilderputAllRenamedResources(java.util.Map<java.lang.String,java.lang.String> values)Map from full resource types to the effective short name for the resource.DotnetSettings.BuilderputAllRenamedServices(java.util.Map<java.lang.String,java.lang.String> values)Map from original service names to renamed versions.DotnetSettings.BuilderputRenamedResources(java.lang.String key, java.lang.String value)Map from full resource types to the effective short name for the resource.DotnetSettings.BuilderputRenamedServices(java.lang.String key, java.lang.String value)Map from original service names to renamed versions.DotnetSettings.BuilderremoveRenamedResources(java.lang.String key)Map from full resource types to the effective short name for the resource.DotnetSettings.BuilderremoveRenamedServices(java.lang.String key)Map from original service names to renamed versions.DotnetSettings.BuildersetCommon(CommonLanguageSettings value)Some settings.DotnetSettings.BuildersetCommon(CommonLanguageSettings.Builder builderForValue)Some settings.DotnetSettings.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)DotnetSettings.BuildersetForcedNamespaceAliases(int index, java.lang.String value)Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collisionDotnetSettings.BuildersetHandwrittenSignatures(int index, java.lang.String value)Method signatures (in the form "service.method(signature)") which are provided separately, so shouldn't be generated.DotnetSettings.BuildersetIgnoredResources(int index, java.lang.String value)List of full resource types to ignore during generation.DotnetSettings.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)DotnetSettings.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessage.ExtendableBuilder
addExtension, clearExtension, extensionsAreInitialized, getAllFields, getExtension, getExtension, getExtensionCount, getField, getFieldBuilder, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, hasExtension, hasField, mergeExtensionFields, newBuilderForField, parseUnknownField, setExtension, setExtension
-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
getOneofFieldDescriptor, getUnknownFields, getUnknownFieldSetBuilder, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, onBuilt, onChanged, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
- Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<DotnetSettings.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
- Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<DotnetSettings.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Overrides:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<DotnetSettings.Builder>
-
clear
public DotnetSettings.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<DotnetSettings.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<DotnetSettings.Builder>
-
getDefaultInstanceForType
public DotnetSettings getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public DotnetSettings build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DotnetSettings buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DotnetSettings.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<DotnetSettings.Builder>
-
setField
public DotnetSettings.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DotnetSettings.Builder>
-
clearField
public DotnetSettings.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DotnetSettings.Builder>
-
clearOneof
public DotnetSettings.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<DotnetSettings.Builder>
-
setRepeatedField
public DotnetSettings.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DotnetSettings.Builder>
-
addRepeatedField
public DotnetSettings.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DotnetSettings.Builder>
-
mergeFrom
public DotnetSettings.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DotnetSettings.Builder>
-
mergeFrom
public DotnetSettings.Builder mergeFrom(DotnetSettings other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.ExtendableBuilder<com.google.protobuf.GeneratedMessageV3,DotnetSettings.Builder>
-
mergeFrom
public DotnetSettings.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DotnetSettings.Builder>- Throws:
java.io.IOException
-
hasCommon
public boolean hasCommon()
Some settings.
.google.api.CommonLanguageSettings common = 1;- Specified by:
hasCommonin interfaceDotnetSettingsOrBuilder- Returns:
- Whether the common field is set.
-
getCommon
public CommonLanguageSettings getCommon()
Some settings.
.google.api.CommonLanguageSettings common = 1;- Specified by:
getCommonin interfaceDotnetSettingsOrBuilder- Returns:
- The common.
-
setCommon
public DotnetSettings.Builder setCommon(CommonLanguageSettings value)
Some settings.
.google.api.CommonLanguageSettings common = 1;
-
setCommon
public DotnetSettings.Builder setCommon(CommonLanguageSettings.Builder builderForValue)
Some settings.
.google.api.CommonLanguageSettings common = 1;
-
mergeCommon
public DotnetSettings.Builder mergeCommon(CommonLanguageSettings value)
Some settings.
.google.api.CommonLanguageSettings common = 1;
-
clearCommon
public DotnetSettings.Builder clearCommon()
Some settings.
.google.api.CommonLanguageSettings common = 1;
-
getCommonBuilder
public CommonLanguageSettings.Builder getCommonBuilder()
Some settings.
.google.api.CommonLanguageSettings common = 1;
-
getCommonOrBuilder
public CommonLanguageSettingsOrBuilder getCommonOrBuilder()
Some settings.
.google.api.CommonLanguageSettings common = 1;- Specified by:
getCommonOrBuilderin interfaceDotnetSettingsOrBuilder
-
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;- Specified by:
getRenamedServicesCountin interfaceDotnetSettingsOrBuilder
-
containsRenamedServices
public boolean containsRenamedServices(java.lang.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;- Specified by:
containsRenamedServicesin interfaceDotnetSettingsOrBuilder
-
getRenamedServices
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getRenamedServices()
Deprecated.UsegetRenamedServicesMap()instead.- Specified by:
getRenamedServicesin interfaceDotnetSettingsOrBuilder
-
getRenamedServicesMap
public java.util.Map<java.lang.String,java.lang.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;- Specified by:
getRenamedServicesMapin interfaceDotnetSettingsOrBuilder
-
getRenamedServicesOrDefault
public java.lang.String getRenamedServicesOrDefault(java.lang.String key, java.lang.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;- Specified by:
getRenamedServicesOrDefaultin interfaceDotnetSettingsOrBuilder
-
getRenamedServicesOrThrow
public java.lang.String getRenamedServicesOrThrow(java.lang.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;- Specified by:
getRenamedServicesOrThrowin interfaceDotnetSettingsOrBuilder
-
clearRenamedServices
public DotnetSettings.Builder clearRenamedServices()
-
removeRenamedServices
public DotnetSettings.Builder removeRenamedServices(java.lang.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;
-
getMutableRenamedServices
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getMutableRenamedServices()
Deprecated.Use alternate mutation accessors instead.
-
putRenamedServices
public DotnetSettings.Builder putRenamedServices(java.lang.String key, java.lang.String value)
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;
-
putAllRenamedServices
public DotnetSettings.Builder putAllRenamedServices(java.util.Map<java.lang.String,java.lang.String> values)
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;
-
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;- Specified by:
getRenamedResourcesCountin interfaceDotnetSettingsOrBuilder
-
containsRenamedResources
public boolean containsRenamedResources(java.lang.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;- Specified by:
containsRenamedResourcesin interfaceDotnetSettingsOrBuilder
-
getRenamedResources
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getRenamedResources()
Deprecated.UsegetRenamedResourcesMap()instead.- Specified by:
getRenamedResourcesin interfaceDotnetSettingsOrBuilder
-
getRenamedResourcesMap
public java.util.Map<java.lang.String,java.lang.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;- Specified by:
getRenamedResourcesMapin interfaceDotnetSettingsOrBuilder
-
getRenamedResourcesOrDefault
public java.lang.String getRenamedResourcesOrDefault(java.lang.String key, java.lang.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;- Specified by:
getRenamedResourcesOrDefaultin interfaceDotnetSettingsOrBuilder
-
getRenamedResourcesOrThrow
public java.lang.String getRenamedResourcesOrThrow(java.lang.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;- Specified by:
getRenamedResourcesOrThrowin interfaceDotnetSettingsOrBuilder
-
clearRenamedResources
public DotnetSettings.Builder clearRenamedResources()
-
removeRenamedResources
public DotnetSettings.Builder removeRenamedResources(java.lang.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;
-
getMutableRenamedResources
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getMutableRenamedResources()
Deprecated.Use alternate mutation accessors instead.
-
putRenamedResources
public DotnetSettings.Builder putRenamedResources(java.lang.String key, java.lang.String value)
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;
-
putAllRenamedResources
public DotnetSettings.Builder putAllRenamedResources(java.util.Map<java.lang.String,java.lang.String> values)
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;
-
getIgnoredResourcesList
public com.google.protobuf.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;- 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;- Specified by:
getIgnoredResourcesCountin interfaceDotnetSettingsOrBuilder- Returns:
- The count of ignoredResources.
-
getIgnoredResources
public java.lang.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;- 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;- Specified by:
getIgnoredResourcesBytesin interfaceDotnetSettingsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the ignoredResources at the given index.
-
setIgnoredResources
public DotnetSettings.Builder setIgnoredResources(int index, java.lang.String value)
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;- Parameters:
index- The index to set the value at.value- The ignoredResources to set.- Returns:
- This builder for chaining.
-
addIgnoredResources
public DotnetSettings.Builder addIgnoredResources(java.lang.String value)
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;- Parameters:
value- The ignoredResources to add.- Returns:
- This builder for chaining.
-
addAllIgnoredResources
public DotnetSettings.Builder addAllIgnoredResources(java.lang.Iterable<java.lang.String> values)
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;- Parameters:
values- The ignoredResources to add.- Returns:
- This builder for chaining.
-
clearIgnoredResources
public DotnetSettings.Builder 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;- Returns:
- This builder for chaining.
-
addIgnoredResourcesBytes
public DotnetSettings.Builder addIgnoredResourcesBytes(com.google.protobuf.ByteString value)
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;- Parameters:
value- The bytes of the ignoredResources to add.- Returns:
- This builder for chaining.
-
getForcedNamespaceAliasesList
public com.google.protobuf.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;- 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;- Specified by:
getForcedNamespaceAliasesCountin interfaceDotnetSettingsOrBuilder- Returns:
- The count of forcedNamespaceAliases.
-
getForcedNamespaceAliases
public java.lang.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;- 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;- Specified by:
getForcedNamespaceAliasesBytesin interfaceDotnetSettingsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the forcedNamespaceAliases at the given index.
-
setForcedNamespaceAliases
public DotnetSettings.Builder setForcedNamespaceAliases(int index, java.lang.String value)
Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collision
repeated string forced_namespace_aliases = 5;- Parameters:
index- The index to set the value at.value- The forcedNamespaceAliases to set.- Returns:
- This builder for chaining.
-
addForcedNamespaceAliases
public DotnetSettings.Builder addForcedNamespaceAliases(java.lang.String value)
Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collision
repeated string forced_namespace_aliases = 5;- Parameters:
value- The forcedNamespaceAliases to add.- Returns:
- This builder for chaining.
-
addAllForcedNamespaceAliases
public DotnetSettings.Builder addAllForcedNamespaceAliases(java.lang.Iterable<java.lang.String> values)
Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collision
repeated string forced_namespace_aliases = 5;- Parameters:
values- The forcedNamespaceAliases to add.- Returns:
- This builder for chaining.
-
clearForcedNamespaceAliases
public DotnetSettings.Builder clearForcedNamespaceAliases()
Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collision
repeated string forced_namespace_aliases = 5;- Returns:
- This builder for chaining.
-
addForcedNamespaceAliasesBytes
public DotnetSettings.Builder addForcedNamespaceAliasesBytes(com.google.protobuf.ByteString value)
Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collision
repeated string forced_namespace_aliases = 5;- Parameters:
value- The bytes of the forcedNamespaceAliases to add.- Returns:
- This builder for chaining.
-
getHandwrittenSignaturesList
public com.google.protobuf.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;- 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;- Specified by:
getHandwrittenSignaturesCountin interfaceDotnetSettingsOrBuilder- Returns:
- The count of handwrittenSignatures.
-
getHandwrittenSignatures
public java.lang.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;- 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;- Specified by:
getHandwrittenSignaturesBytesin interfaceDotnetSettingsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the handwrittenSignatures at the given index.
-
setHandwrittenSignatures
public DotnetSettings.Builder setHandwrittenSignatures(int index, java.lang.String value)
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;- Parameters:
index- The index to set the value at.value- The handwrittenSignatures to set.- Returns:
- This builder for chaining.
-
addHandwrittenSignatures
public DotnetSettings.Builder addHandwrittenSignatures(java.lang.String value)
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;- Parameters:
value- The handwrittenSignatures to add.- Returns:
- This builder for chaining.
-
addAllHandwrittenSignatures
public DotnetSettings.Builder addAllHandwrittenSignatures(java.lang.Iterable<java.lang.String> values)
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;- Parameters:
values- The handwrittenSignatures to add.- Returns:
- This builder for chaining.
-
clearHandwrittenSignatures
public DotnetSettings.Builder 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;- Returns:
- This builder for chaining.
-
addHandwrittenSignaturesBytes
public DotnetSettings.Builder addHandwrittenSignaturesBytes(com.google.protobuf.ByteString value)
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;- Parameters:
value- The bytes of the handwrittenSignatures to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final DotnetSettings.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DotnetSettings.Builder>
-
mergeUnknownFields
public final DotnetSettings.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DotnetSettings.Builder>
-
-