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
Nested ClassesModifier and TypeClassDescriptionstatic final classSettings 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
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFieldsFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanMap from full resource types to the effective short name for the resource.booleanMap from original service names to renamed versions.protected final ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) Some settings.static DotnetSettingsgetForcedNamespaceAliases(int index) Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collisioncom.google.protobuf.ByteStringgetForcedNamespaceAliasesBytes(int index) Namespaces which must be aliased in snippets due to a known (but non-generator-predictable) naming collisionintNamespaces 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.ByteStringgetHandwrittenSignaturesBytes(int index) Method signatures (in the form "service.method(signature)") which are provided separately, so shouldn't be generated.intMethod 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.ByteStringgetIgnoredResourcesBytes(int index) List of full resource types to ignore during generation.intList of full resource types to ignore during generation.List of full resource types to ignore during generation.Deprecated.intMap 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.intMap 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.booleanSome settings.static DotnetSettings.Builderstatic DotnetSettings.BuildernewBuilder(DotnetSettings prototype) static DotnetSettingsparseDelimitedFrom(InputStream input) static DotnetSettingsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DotnetSettingsparseFrom(byte[] data) static DotnetSettingsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DotnetSettingsparseFrom(com.google.protobuf.ByteString data) static DotnetSettingsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DotnetSettingsparseFrom(com.google.protobuf.CodedInputStream input) static DotnetSettingsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DotnetSettingsparseFrom(InputStream input) static DotnetSettingsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DotnetSettingsparseFrom(ByteBuffer data) static DotnetSettingsparseFrom(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, writeToMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
hasCommonin interfaceDotnetSettingsOrBuilder- Returns:
- Whether the common field is set.
-
getCommon
Some settings.
.google.api.CommonLanguageSettings common = 1 [json_name = "common"];- Specified by:
getCommonin interfaceDotnetSettingsOrBuilder- Returns:
- The common.
-
getRenamedServicesCount
public int getRenamedServicesCount()Description copied from interface:DotnetSettingsOrBuilderMap 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:
getRenamedServicesCountin 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:
containsRenamedServicesin interfaceDotnetSettingsOrBuilder
-
getRenamedServices
Deprecated.UsegetRenamedServicesMap()instead.- Specified by:
getRenamedServicesin 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:
getRenamedServicesMapin 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:
getRenamedServicesOrDefaultin 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:
getRenamedServicesOrThrowin interfaceDotnetSettingsOrBuilder
-
getRenamedResourcesCount
public int getRenamedResourcesCount()Description copied from interface:DotnetSettingsOrBuilderMap 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:
getRenamedResourcesCountin 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:
containsRenamedResourcesin interfaceDotnetSettingsOrBuilder
-
getRenamedResources
Deprecated.UsegetRenamedResourcesMap()instead.- Specified by:
getRenamedResourcesin 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:
getRenamedResourcesMapin 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:
getRenamedResourcesOrDefaultin 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:
getRenamedResourcesOrThrowin 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:
getIgnoredResourcesListin 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:
getIgnoredResourcesCountin 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:
getIgnoredResourcesin 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:
getIgnoredResourcesBytesin 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:
getForcedNamespaceAliasesListin 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:
getForcedNamespaceAliasesCountin 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:
getForcedNamespaceAliasesin 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:
getForcedNamespaceAliasesBytesin 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:
getHandwrittenSignaturesListin 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:
getHandwrittenSignaturesCountin 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:
getHandwrittenSignaturesin 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:
getHandwrittenSignaturesBytesin 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:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<DotnetSettings,DotnetSettings.Builder>
-
getDefaultInstance
-
parser
-