public final class DotnetSettings extends GeneratedMessageV3 implements DotnetSettingsOrBuilder
Settings for Dotnet client libraries.
Protobuf type google.api.DotnetSettings
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
COMMON_FIELD_NUMBER
public static final int COMMON_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
FORCED_NAMESPACE_ALIASES_FIELD_NUMBER
public static final int FORCED_NAMESPACE_ALIASES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
HANDWRITTEN_SIGNATURES_FIELD_NUMBER
public static final int HANDWRITTEN_SIGNATURES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
IGNORED_RESOURCES_FIELD_NUMBER
public static final int IGNORED_RESOURCES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
RENAMED_RESOURCES_FIELD_NUMBER
public static final int RENAMED_RESOURCES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
RENAMED_SERVICES_FIELD_NUMBER
public static final int RENAMED_SERVICES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static DotnetSettings getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DotnetSettings.Builder newBuilder()
newBuilder(DotnetSettings prototype)
public static DotnetSettings.Builder newBuilder(DotnetSettings prototype)
public static DotnetSettings parseDelimitedFrom(InputStream input)
public static DotnetSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DotnetSettings parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DotnetSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DotnetSettings parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DotnetSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DotnetSettings parseFrom(CodedInputStream input)
public static DotnetSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DotnetSettings parseFrom(InputStream input)
public static DotnetSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DotnetSettings parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DotnetSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DotnetSettings> parser()
Methods
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
|
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
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getCommon()
public CommonLanguageSettings getCommon()
Some settings.
.google.api.CommonLanguageSettings common = 1;
getCommonOrBuilder()
public CommonLanguageSettingsOrBuilder getCommonOrBuilder()
Some settings.
.google.api.CommonLanguageSettings common = 1;
getDefaultInstanceForType()
public DotnetSettings getDefaultInstanceForType()
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;
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;
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;
getParserForType()
public Parser<DotnetSettings> getParserForType()
Overrides
getRenamedResources() (deprecated)
public Map<String,String> getRenamedResources()
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;
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;
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
|
getRenamedServices() (deprecated)
public Map<String,String> getRenamedServices()
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;
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;
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
|
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hasCommon()
public boolean hasCommon()
Some settings.
.google.api.CommonLanguageSettings common = 1;
Returns |
---|
Type | Description |
boolean | Whether the common field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
---|
Name | Description |
number | int
|
Returns |
---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor | |
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DotnetSettings.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DotnetSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public DotnetSettings.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides