public static final class DotnetSettings.Builder extends GeneratedMessageV3.Builder<DotnetSettings.Builder> implements DotnetSettingsOrBuilder
Settings for Dotnet client libraries.
Protobuf type google.api.DotnetSettings
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DotnetSettings.BuilderImplements
DotnetSettingsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllForcedNamespaceAliases(Iterable<String> values)
public DotnetSettings.Builder addAllForcedNamespaceAliases(Iterable<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;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The forcedNamespaceAliases to add. |
Returns | |
---|---|
Type | Description |
DotnetSettings.Builder |
This builder for chaining. |
addAllHandwrittenSignatures(Iterable<String> values)
public DotnetSettings.Builder addAllHandwrittenSignatures(Iterable<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;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The handwrittenSignatures to add. |
Returns | |
---|---|
Type | Description |
DotnetSettings.Builder |
This builder for chaining. |
addAllIgnoredResources(Iterable<String> values)
public DotnetSettings.Builder addAllIgnoredResources(Iterable<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;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The ignoredResources to add. |
Returns | |
---|---|
Type | Description |
DotnetSettings.Builder |
This builder for chaining. |
addForcedNamespaceAliases(String value)
public DotnetSettings.Builder addForcedNamespaceAliases(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;
Parameter | |
---|---|
Name | Description |
value |
String The forcedNamespaceAliases to add. |
Returns | |
---|---|
Type | Description |
DotnetSettings.Builder |
This builder for chaining. |
addForcedNamespaceAliasesBytes(ByteString value)
public DotnetSettings.Builder addForcedNamespaceAliasesBytes(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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the forcedNamespaceAliases to add. |
Returns | |
---|---|
Type | Description |
DotnetSettings.Builder |
This builder for chaining. |
addHandwrittenSignatures(String value)
public DotnetSettings.Builder addHandwrittenSignatures(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;
Parameter | |
---|---|
Name | Description |
value |
String The handwrittenSignatures to add. |
Returns | |
---|---|
Type | Description |
DotnetSettings.Builder |
This builder for chaining. |
addHandwrittenSignaturesBytes(ByteString value)
public DotnetSettings.Builder addHandwrittenSignaturesBytes(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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the handwrittenSignatures to add. |
Returns | |
---|---|
Type | Description |
DotnetSettings.Builder |
This builder for chaining. |
addIgnoredResources(String value)
public DotnetSettings.Builder addIgnoredResources(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;
Parameter | |
---|---|
Name | Description |
value |
String The ignoredResources to add. |
Returns | |
---|---|
Type | Description |
DotnetSettings.Builder |
This builder for chaining. |
addIgnoredResourcesBytes(ByteString value)
public DotnetSettings.Builder addIgnoredResourcesBytes(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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the ignoredResources to add. |
Returns | |
---|---|
Type | Description |
DotnetSettings.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DotnetSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DotnetSettings.Builder |
build()
public DotnetSettings build()
Returns | |
---|---|
Type | Description |
DotnetSettings |
buildPartial()
public DotnetSettings buildPartial()
Returns | |
---|---|
Type | Description |
DotnetSettings |
clear()
public DotnetSettings.Builder clear()
Returns | |
---|---|
Type | Description |
DotnetSettings.Builder |
clearCommon()
public DotnetSettings.Builder clearCommon()
Some settings.
.google.api.CommonLanguageSettings common = 1;
Returns | |
---|---|
Type | Description |
DotnetSettings.Builder |
clearField(Descriptors.FieldDescriptor field)
public DotnetSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
DotnetSettings.Builder |
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 | |
---|---|
Type | Description |
DotnetSettings.Builder |
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 | |
---|---|
Type | Description |
DotnetSettings.Builder |
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 | |
---|---|
Type | Description |
DotnetSettings.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public DotnetSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
DotnetSettings.Builder |
clearRenamedResources()
public DotnetSettings.Builder clearRenamedResources()
Returns | |
---|---|
Type | Description |
DotnetSettings.Builder |
clearRenamedServices()
public DotnetSettings.Builder clearRenamedServices()
Returns | |
---|---|
Type | Description |
DotnetSettings.Builder |
clone()
public DotnetSettings.Builder clone()
Returns | |
---|---|
Type | Description |
DotnetSettings.Builder |
containsRenamedResources(String key)
public boolean containsRenamedResources(String key)
Map from full resource types to the effective short name for the resource. This is used when otherwise resource named from different services would cause naming collisions. Example entry: "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
map<string, string> renamed_resources = 3;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
containsRenamedServices(String key)
public boolean containsRenamedServices(String key)
Map from original service names to renamed versions. This is used when the default generated types would cause a naming conflict. (Neither name is fully-qualified.) Example: Subscriber to SubscriberServiceApi.
map<string, string> renamed_services = 2;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
getCommon()
public CommonLanguageSettings getCommon()
Some settings.
.google.api.CommonLanguageSettings common = 1;
Returns | |
---|---|
Type | Description |
CommonLanguageSettings |
The common. |
getCommonBuilder()
public CommonLanguageSettings.Builder getCommonBuilder()
Some settings.
.google.api.CommonLanguageSettings common = 1;
Returns | |
---|---|
Type | Description |
CommonLanguageSettings.Builder |
getCommonOrBuilder()
public CommonLanguageSettingsOrBuilder getCommonOrBuilder()
Some settings.
.google.api.CommonLanguageSettings common = 1;
Returns | |
---|---|
Type | Description |
CommonLanguageSettingsOrBuilder |
getDefaultInstanceForType()
public DotnetSettings getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
DotnetSettings |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getForcedNamespaceAliases(int index)
public String getForcedNamespaceAliases(int index)
Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collision
repeated string forced_namespace_aliases = 5;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The forcedNamespaceAliases at the given index. |
getForcedNamespaceAliasesBytes(int index)
public ByteString getForcedNamespaceAliasesBytes(int index)
Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collision
repeated string forced_namespace_aliases = 5;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the forcedNamespaceAliases at the given index. |
getForcedNamespaceAliasesCount()
public int getForcedNamespaceAliasesCount()
Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collision
repeated string forced_namespace_aliases = 5;
Returns | |
---|---|
Type | Description |
int |
The count of forcedNamespaceAliases. |
getForcedNamespaceAliasesList()
public ProtocolStringList getForcedNamespaceAliasesList()
Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collision
repeated string forced_namespace_aliases = 5;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the forcedNamespaceAliases. |
getHandwrittenSignatures(int index)
public String getHandwrittenSignatures(int index)
Method signatures (in the form "service.method(signature)") which are provided separately, so shouldn't be generated. Snippets calling these methods are still generated, however.
repeated string handwritten_signatures = 6;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The handwrittenSignatures at the given index. |
getHandwrittenSignaturesBytes(int index)
public ByteString getHandwrittenSignaturesBytes(int index)
Method signatures (in the form "service.method(signature)") which are provided separately, so shouldn't be generated. Snippets calling these methods are still generated, however.
repeated string handwritten_signatures = 6;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the handwrittenSignatures at the given index. |
getHandwrittenSignaturesCount()
public int getHandwrittenSignaturesCount()
Method signatures (in the form "service.method(signature)") which are provided separately, so shouldn't be generated. Snippets calling these methods are still generated, however.
repeated string handwritten_signatures = 6;
Returns | |
---|---|
Type | Description |
int |
The count of handwrittenSignatures. |
getHandwrittenSignaturesList()
public ProtocolStringList getHandwrittenSignaturesList()
Method signatures (in the form "service.method(signature)") which are provided separately, so shouldn't be generated. Snippets calling these methods are still generated, however.
repeated string handwritten_signatures = 6;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the handwrittenSignatures. |
getIgnoredResources(int index)
public String getIgnoredResources(int index)
List of full resource types to ignore during generation. This is typically used for API-specific Location resources, which should be handled by the generator as if they were actually the common Location resources. Example entry: "documentai.googleapis.com/Location"
repeated string ignored_resources = 4;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The ignoredResources at the given index. |
getIgnoredResourcesBytes(int index)
public ByteString getIgnoredResourcesBytes(int index)
List of full resource types to ignore during generation. This is typically used for API-specific Location resources, which should be handled by the generator as if they were actually the common Location resources. Example entry: "documentai.googleapis.com/Location"
repeated string ignored_resources = 4;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the ignoredResources at the given index. |
getIgnoredResourcesCount()
public int getIgnoredResourcesCount()
List of full resource types to ignore during generation. This is typically used for API-specific Location resources, which should be handled by the generator as if they were actually the common Location resources. Example entry: "documentai.googleapis.com/Location"
repeated string ignored_resources = 4;
Returns | |
---|---|
Type | Description |
int |
The count of ignoredResources. |
getIgnoredResourcesList()
public ProtocolStringList getIgnoredResourcesList()
List of full resource types to ignore during generation. This is typically used for API-specific Location resources, which should be handled by the generator as if they were actually the common Location resources. Example entry: "documentai.googleapis.com/Location"
repeated string ignored_resources = 4;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the ignoredResources. |
getMutableRenamedResources() (deprecated)
public Map<String,String> getMutableRenamedResources()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getMutableRenamedServices() (deprecated)
public Map<String,String> getMutableRenamedServices()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getRenamedResources() (deprecated)
public Map<String,String> getRenamedResources()
Use #getRenamedResourcesMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getRenamedResourcesCount()
public int getRenamedResourcesCount()
Map from full resource types to the effective short name for the resource. This is used when otherwise resource named from different services would cause naming collisions. Example entry: "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
map<string, string> renamed_resources = 3;
Returns | |
---|---|
Type | Description |
int |
getRenamedResourcesMap()
public Map<String,String> getRenamedResourcesMap()
Map from full resource types to the effective short name for the resource. This is used when otherwise resource named from different services would cause naming collisions. Example entry: "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
map<string, string> renamed_resources = 3;
Returns | |
---|---|
Type | Description |
Map<String,String> |
getRenamedResourcesOrDefault(String key, String defaultValue)
public String getRenamedResourcesOrDefault(String key, String defaultValue)
Map from full resource types to the effective short name for the resource. This is used when otherwise resource named from different services would cause naming collisions. Example entry: "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
map<string, string> renamed_resources = 3;
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
String |
Returns | |
---|---|
Type | Description |
String |
getRenamedResourcesOrThrow(String key)
public String getRenamedResourcesOrThrow(String key)
Map from full resource types to the effective short name for the resource. This is used when otherwise resource named from different services would cause naming collisions. Example entry: "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
map<string, string> renamed_resources = 3;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
String |
getRenamedServices() (deprecated)
public Map<String,String> getRenamedServices()
Use #getRenamedServicesMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getRenamedServicesCount()
public int getRenamedServicesCount()
Map from original service names to renamed versions. This is used when the default generated types would cause a naming conflict. (Neither name is fully-qualified.) Example: Subscriber to SubscriberServiceApi.
map<string, string> renamed_services = 2;
Returns | |
---|---|
Type | Description |
int |
getRenamedServicesMap()
public Map<String,String> getRenamedServicesMap()
Map from original service names to renamed versions. This is used when the default generated types would cause a naming conflict. (Neither name is fully-qualified.) Example: Subscriber to SubscriberServiceApi.
map<string, string> renamed_services = 2;
Returns | |
---|---|
Type | Description |
Map<String,String> |
getRenamedServicesOrDefault(String key, String defaultValue)
public String getRenamedServicesOrDefault(String key, String defaultValue)
Map from original service names to renamed versions. This is used when the default generated types would cause a naming conflict. (Neither name is fully-qualified.) Example: Subscriber to SubscriberServiceApi.
map<string, string> renamed_services = 2;
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
String |
Returns | |
---|---|
Type | Description |
String |
getRenamedServicesOrThrow(String key)
public String getRenamedServicesOrThrow(String key)
Map from original service names to renamed versions. This is used when the default generated types would cause a naming conflict. (Neither name is fully-qualified.) Example: Subscriber to SubscriberServiceApi.
map<string, string> renamed_services = 2;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
String |
hasCommon()
public boolean hasCommon()
Some settings.
.google.api.CommonLanguageSettings common = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the common field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCommon(CommonLanguageSettings value)
public DotnetSettings.Builder mergeCommon(CommonLanguageSettings value)
Some settings.
.google.api.CommonLanguageSettings common = 1;
Parameter | |
---|---|
Name | Description |
value |
CommonLanguageSettings |
Returns | |
---|---|
Type | Description |
DotnetSettings.Builder |
mergeFrom(DotnetSettings other)
public DotnetSettings.Builder mergeFrom(DotnetSettings other)
Parameter | |
---|---|
Name | Description |
other |
DotnetSettings |
Returns | |
---|---|
Type | Description |
DotnetSettings.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DotnetSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DotnetSettings.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public DotnetSettings.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
DotnetSettings.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DotnetSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DotnetSettings.Builder |
putAllRenamedResources(Map<String,String> values)
public DotnetSettings.Builder putAllRenamedResources(Map<String,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;
Parameter | |
---|---|
Name | Description |
values |
Map<String,String> |
Returns | |
---|---|
Type | Description |
DotnetSettings.Builder |
putAllRenamedServices(Map<String,String> values)
public DotnetSettings.Builder putAllRenamedServices(Map<String,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;
Parameter | |
---|---|
Name | Description |
values |
Map<String,String> |
Returns | |
---|---|
Type | Description |
DotnetSettings.Builder |
putRenamedResources(String key, String value)
public DotnetSettings.Builder putRenamedResources(String key, 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;
Parameters | |
---|---|
Name | Description |
key |
String |
value |
String |
Returns | |
---|---|
Type | Description |
DotnetSettings.Builder |
putRenamedServices(String key, String value)
public DotnetSettings.Builder putRenamedServices(String key, 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;
Parameters | |
---|---|
Name | Description |
key |
String |
value |
String |
Returns | |
---|---|
Type | Description |
DotnetSettings.Builder |
removeRenamedResources(String key)
public DotnetSettings.Builder removeRenamedResources(String key)
Map from full resource types to the effective short name for the resource. This is used when otherwise resource named from different services would cause naming collisions. Example entry: "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
map<string, string> renamed_resources = 3;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
DotnetSettings.Builder |
removeRenamedServices(String key)
public DotnetSettings.Builder removeRenamedServices(String key)
Map from original service names to renamed versions. This is used when the default generated types would cause a naming conflict. (Neither name is fully-qualified.) Example: Subscriber to SubscriberServiceApi.
map<string, string> renamed_services = 2;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
DotnetSettings.Builder |
setCommon(CommonLanguageSettings value)
public DotnetSettings.Builder setCommon(CommonLanguageSettings value)
Some settings.
.google.api.CommonLanguageSettings common = 1;
Parameter | |
---|---|
Name | Description |
value |
CommonLanguageSettings |
Returns | |
---|---|
Type | Description |
DotnetSettings.Builder |
setCommon(CommonLanguageSettings.Builder builderForValue)
public DotnetSettings.Builder setCommon(CommonLanguageSettings.Builder builderForValue)
Some settings.
.google.api.CommonLanguageSettings common = 1;
Parameter | |
---|---|
Name | Description |
builderForValue |
CommonLanguageSettings.Builder |
Returns | |
---|---|
Type | Description |
DotnetSettings.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public DotnetSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DotnetSettings.Builder |
setForcedNamespaceAliases(int index, String value)
public DotnetSettings.Builder setForcedNamespaceAliases(int index, 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 | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The forcedNamespaceAliases to set. |
Returns | |
---|---|
Type | Description |
DotnetSettings.Builder |
This builder for chaining. |
setHandwrittenSignatures(int index, String value)
public DotnetSettings.Builder setHandwrittenSignatures(int index, 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 | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The handwrittenSignatures to set. |
Returns | |
---|---|
Type | Description |
DotnetSettings.Builder |
This builder for chaining. |
setIgnoredResources(int index, String value)
public DotnetSettings.Builder setIgnoredResources(int index, 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 | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The ignoredResources to set. |
Returns | |
---|---|
Type | Description |
DotnetSettings.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DotnetSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
DotnetSettings.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DotnetSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DotnetSettings.Builder |