Package com.google.api
Interface DotnetSettingsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DotnetSettings
,DotnetSettings.Builder
public interface DotnetSettingsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsRenamedResources(java.lang.String key)
Map from full resource types to the effective short name for the resource.boolean
containsRenamedServices(java.lang.String key)
Map from original service names to renamed versions.CommonLanguageSettings
getCommon()
Some settings.CommonLanguageSettingsOrBuilder
getCommonOrBuilder()
Some settings.java.lang.String
getForcedNamespaceAliases(int index)
Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collisioncom.google.protobuf.ByteString
getForcedNamespaceAliasesBytes(int index)
Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collisionint
getForcedNamespaceAliasesCount()
Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collisionjava.util.List<java.lang.String>
getForcedNamespaceAliasesList()
Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collisionjava.lang.String
getHandwrittenSignatures(int index)
Method signatures (in the form "service.method(signature)") which are provided separately, so shouldn't be generated.com.google.protobuf.ByteString
getHandwrittenSignaturesBytes(int index)
Method signatures (in the form "service.method(signature)") which are provided separately, so shouldn't be generated.int
getHandwrittenSignaturesCount()
Method signatures (in the form "service.method(signature)") which are provided separately, so shouldn't be generated.java.util.List<java.lang.String>
getHandwrittenSignaturesList()
Method signatures (in the form "service.method(signature)") which are provided separately, so shouldn't be generated.java.lang.String
getIgnoredResources(int index)
List of full resource types to ignore during generation.com.google.protobuf.ByteString
getIgnoredResourcesBytes(int index)
List of full resource types to ignore during generation.int
getIgnoredResourcesCount()
List of full resource types to ignore during generation.java.util.List<java.lang.String>
getIgnoredResourcesList()
List of full resource types to ignore during generation.java.util.Map<java.lang.String,java.lang.String>
getRenamedResources()
Deprecated.int
getRenamedResourcesCount()
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.String
getRenamedResourcesOrDefault(java.lang.String key, java.lang.String defaultValue)
Map from full resource types to the effective short name for the resource.java.lang.String
getRenamedResourcesOrThrow(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.int
getRenamedServicesCount()
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.String
getRenamedServicesOrDefault(java.lang.String key, java.lang.String defaultValue)
Map from original service names to renamed versions.java.lang.String
getRenamedServicesOrThrow(java.lang.String key)
Map from original service names to renamed versions.boolean
hasCommon()
Some settings.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasCommon
boolean hasCommon()
Some settings.
.google.api.CommonLanguageSettings common = 1;
- Returns:
- Whether the common field is set.
-
getCommon
CommonLanguageSettings getCommon()
Some settings.
.google.api.CommonLanguageSettings common = 1;
- Returns:
- The common.
-
getCommonOrBuilder
CommonLanguageSettingsOrBuilder getCommonOrBuilder()
Some settings.
.google.api.CommonLanguageSettings common = 1;
-
getRenamedServicesCount
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;
-
containsRenamedServices
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;
-
getRenamedServices
@Deprecated java.util.Map<java.lang.String,java.lang.String> getRenamedServices()
Deprecated.UsegetRenamedServicesMap()
instead.
-
getRenamedServicesMap
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;
-
getRenamedServicesOrDefault
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;
-
getRenamedServicesOrThrow
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;
-
getRenamedResourcesCount
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;
-
containsRenamedResources
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;
-
getRenamedResources
@Deprecated java.util.Map<java.lang.String,java.lang.String> getRenamedResources()
Deprecated.UsegetRenamedResourcesMap()
instead.
-
getRenamedResourcesMap
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;
-
getRenamedResourcesOrDefault
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;
-
getRenamedResourcesOrThrow
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;
-
getIgnoredResourcesList
java.util.List<java.lang.String> 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:
- A list containing the ignoredResources.
-
getIgnoredResourcesCount
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:
- The count of ignoredResources.
-
getIgnoredResources
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;
- Parameters:
index
- The index of the element to return.- Returns:
- The ignoredResources at the given index.
-
getIgnoredResourcesBytes
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;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the ignoredResources at the given index.
-
getForcedNamespaceAliasesList
java.util.List<java.lang.String> 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:
- A list containing the forcedNamespaceAliases.
-
getForcedNamespaceAliasesCount
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:
- The count of forcedNamespaceAliases.
-
getForcedNamespaceAliases
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;
- Parameters:
index
- The index of the element to return.- Returns:
- The forcedNamespaceAliases at the given index.
-
getForcedNamespaceAliasesBytes
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;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the forcedNamespaceAliases at the given index.
-
getHandwrittenSignaturesList
java.util.List<java.lang.String> 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:
- A list containing the handwrittenSignatures.
-
getHandwrittenSignaturesCount
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:
- The count of handwrittenSignatures.
-
getHandwrittenSignatures
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;
- Parameters:
index
- The index of the element to return.- Returns:
- The handwrittenSignatures at the given index.
-
getHandwrittenSignaturesBytes
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;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the handwrittenSignatures at the given index.
-
-