Package com.google.api
Class DotnetSettings
java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<DotnetSettings,DotnetSettings.Builder>
com.google.api.DotnetSettings
- All Implemented Interfaces:
DotnetSettingsOrBuilder
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
public final class DotnetSettings
extends com.google.protobuf.GeneratedMessageLite<DotnetSettings,DotnetSettings.Builder>
implements DotnetSettingsOrBuilder
Settings for Dotnet client libraries.Protobuf type
google.api.DotnetSettings
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Settings for Dotnet client libraries.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,
?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite, Type extends Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFields
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Map from full resource types to the effective short name for the resource.boolean
Map from original service names to renamed versions.protected final Object
dynamicMethod
(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) Some settings.static DotnetSettings
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
Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collisionNamespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collisiongetHandwrittenSignatures
(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
Method signatures (in the form "service.method(signature)") which are provided separately, so shouldn't be generated.Method signatures (in the form "service.method(signature)") which are provided separately, so shouldn't be generated.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
List of full resource types to ignore during generation.List of full resource types to ignore during generation.Deprecated.int
Map from full resource types to the effective short name for the resource.Map from full resource types to the effective short name for the resource.getRenamedResourcesOrDefault
(String key, String defaultValue) Map from full resource types to the effective short name for the resource.Map from full resource types to the effective short name for the resource.Deprecated.int
Map from original service names to renamed versions.Map from original service names to renamed versions.getRenamedServicesOrDefault
(String key, String defaultValue) Map from original service names to renamed versions.Map from original service names to renamed versions.boolean
Some settings.static DotnetSettings.Builder
static DotnetSettings.Builder
newBuilder
(DotnetSettings prototype) static DotnetSettings
parseDelimitedFrom
(InputStream input) static DotnetSettings
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DotnetSettings
parseFrom
(byte[] data) static DotnetSettings
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DotnetSettings
parseFrom
(com.google.protobuf.ByteString data) static DotnetSettings
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DotnetSettings
parseFrom
(com.google.protobuf.CodedInputStream input) static DotnetSettings
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DotnetSettings
parseFrom
(InputStream input) static DotnetSettings
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DotnetSettings
parseFrom
(ByteBuffer data) static DotnetSettings
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<DotnetSettings>
parser()
Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
COMMON_FIELD_NUMBER
public static final int COMMON_FIELD_NUMBER- See Also:
-
RENAMED_SERVICES_FIELD_NUMBER
public static final int RENAMED_SERVICES_FIELD_NUMBER- See Also:
-
RENAMED_RESOURCES_FIELD_NUMBER
public static final int RENAMED_RESOURCES_FIELD_NUMBER- See Also:
-
IGNORED_RESOURCES_FIELD_NUMBER
public static final int IGNORED_RESOURCES_FIELD_NUMBER- See Also:
-
FORCED_NAMESPACE_ALIASES_FIELD_NUMBER
public static final int FORCED_NAMESPACE_ALIASES_FIELD_NUMBER- See Also:
-
HANDWRITTEN_SIGNATURES_FIELD_NUMBER
public static final int HANDWRITTEN_SIGNATURES_FIELD_NUMBER- See Also:
-
-
Method Details
-
hasCommon
public boolean hasCommon()Some settings.
.google.api.CommonLanguageSettings common = 1 [json_name = "common"];
- Specified by:
hasCommon
in interfaceDotnetSettingsOrBuilder
- Returns:
- Whether the common field is set.
-
getCommon
Some settings.
.google.api.CommonLanguageSettings common = 1 [json_name = "common"];
- Specified by:
getCommon
in interfaceDotnetSettingsOrBuilder
- Returns:
- The common.
-
getRenamedServicesCount
public int getRenamedServicesCount()Description copied from interface:DotnetSettingsOrBuilder
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 [json_name = "renamedServices"];
- Specified by:
getRenamedServicesCount
in interfaceDotnetSettingsOrBuilder
-
containsRenamedServices
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 [json_name = "renamedServices"];
- Specified by:
containsRenamedServices
in interfaceDotnetSettingsOrBuilder
-
getRenamedServices
Deprecated.UsegetRenamedServicesMap()
instead.- Specified by:
getRenamedServices
in interfaceDotnetSettingsOrBuilder
-
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 [json_name = "renamedServices"];
- Specified by:
getRenamedServicesMap
in interfaceDotnetSettingsOrBuilder
-
getRenamedServicesOrDefault
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 [json_name = "renamedServices"];
- Specified by:
getRenamedServicesOrDefault
in interfaceDotnetSettingsOrBuilder
-
getRenamedServicesOrThrow
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 [json_name = "renamedServices"];
- Specified by:
getRenamedServicesOrThrow
in interfaceDotnetSettingsOrBuilder
-
getRenamedResourcesCount
public int getRenamedResourcesCount()Description copied from interface:DotnetSettingsOrBuilder
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 [json_name = "renamedResources"];
- Specified by:
getRenamedResourcesCount
in interfaceDotnetSettingsOrBuilder
-
containsRenamedResources
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 [json_name = "renamedResources"];
- Specified by:
containsRenamedResources
in interfaceDotnetSettingsOrBuilder
-
getRenamedResources
Deprecated.UsegetRenamedResourcesMap()
instead.- Specified by:
getRenamedResources
in interfaceDotnetSettingsOrBuilder
-
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 [json_name = "renamedResources"];
- Specified by:
getRenamedResourcesMap
in interfaceDotnetSettingsOrBuilder
-
getRenamedResourcesOrDefault
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 [json_name = "renamedResources"];
- Specified by:
getRenamedResourcesOrDefault
in interfaceDotnetSettingsOrBuilder
-
getRenamedResourcesOrThrow
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 [json_name = "renamedResources"];
- Specified by:
getRenamedResourcesOrThrow
in interfaceDotnetSettingsOrBuilder
-
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 [json_name = "ignoredResources"];
- Specified by:
getIgnoredResourcesList
in 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 [json_name = "ignoredResources"];
- Specified by:
getIgnoredResourcesCount
in interfaceDotnetSettingsOrBuilder
- Returns:
- The count of ignoredResources.
-
getIgnoredResources
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 [json_name = "ignoredResources"];
- Specified by:
getIgnoredResources
in 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 [json_name = "ignoredResources"];
- Specified by:
getIgnoredResourcesBytes
in interfaceDotnetSettingsOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the ignoredResources at the given index.
-
getForcedNamespaceAliasesList
Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collision
repeated string forced_namespace_aliases = 5 [json_name = "forcedNamespaceAliases"];
- Specified by:
getForcedNamespaceAliasesList
in 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 [json_name = "forcedNamespaceAliases"];
- Specified by:
getForcedNamespaceAliasesCount
in interfaceDotnetSettingsOrBuilder
- Returns:
- The count of forcedNamespaceAliases.
-
getForcedNamespaceAliases
Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collision
repeated string forced_namespace_aliases = 5 [json_name = "forcedNamespaceAliases"];
- Specified by:
getForcedNamespaceAliases
in 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 [json_name = "forcedNamespaceAliases"];
- Specified by:
getForcedNamespaceAliasesBytes
in interfaceDotnetSettingsOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the forcedNamespaceAliases at the given index.
-
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 [json_name = "handwrittenSignatures"];
- Specified by:
getHandwrittenSignaturesList
in 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 [json_name = "handwrittenSignatures"];
- Specified by:
getHandwrittenSignaturesCount
in interfaceDotnetSettingsOrBuilder
- Returns:
- The count of handwrittenSignatures.
-
getHandwrittenSignatures
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 [json_name = "handwrittenSignatures"];
- Specified by:
getHandwrittenSignatures
in 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 [json_name = "handwrittenSignatures"];
- Specified by:
getHandwrittenSignaturesBytes
in interfaceDotnetSettingsOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the handwrittenSignatures at the given index.
-
parseFrom
public static DotnetSettings parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DotnetSettings parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DotnetSettings parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DotnetSettings parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DotnetSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DotnetSettings parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DotnetSettings parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static DotnetSettings parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static DotnetSettings parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static DotnetSettings parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
-
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethod
in classcom.google.protobuf.GeneratedMessageLite<DotnetSettings,
DotnetSettings.Builder>
-
getDefaultInstance
-
parser
-