- 2.61.3 (latest)
- 2.61.2
- 2.60.0
- 2.59.2
- 2.58.0
- 2.57.0
- 2.56.0
- 2.54.1
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.1
- 2.49.0
- 2.48.0
- 2.46.0
- 2.45.1
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.1
- 2.38.0
- 2.37.1
- 2.36.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.1
- 2.24.0
- 2.23.1
- 2.22.1
- 2.21.1
- 2.15.0
- 2.14.3
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.6
- 2.8.4
- 2.7.4
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()
public Map<String,String> getMutableRenamedResources()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getMutableRenamedServices()
public Map<String,String> getMutableRenamedServices()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map< |