Package com.google.api
Class DotnetSettings
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.api.DotnetSettings
- All Implemented Interfaces:
DotnetSettingsOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class DotnetSettings
extends com.google.protobuf.GeneratedMessageV3
implements DotnetSettingsOrBuilder
Settings for Dotnet client libraries.Protobuf type
google.api.DotnetSettings
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Settings for Dotnet client libraries.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,
BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
FieldsModifier 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.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
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.boolean
Some settings.Some settings.static DotnetSettings
static final com.google.protobuf.Descriptors.Descriptor
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 collisioncom.google.protobuf.ProtocolStringList
Namespaces 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.com.google.protobuf.ProtocolStringList
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.com.google.protobuf.ProtocolStringList
List of full resource types to ignore during generation.com.google.protobuf.Parser<DotnetSettings>
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.int
boolean
Some settings.int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
protected com.google.protobuf.MapField
internalGetMapField
(int number) final boolean
static DotnetSettings.Builder
static DotnetSettings.Builder
newBuilder
(DotnetSettings prototype) protected DotnetSettings.Builder
newBuilderForType
(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected Object
newInstance
(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) 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()
void
writeTo
(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, 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.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
-
newInstance
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number) - Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
hasCommon
public boolean hasCommon()Some settings.
.google.api.CommonLanguageSettings common = 1;
- Specified by:
hasCommon
in interfaceDotnetSettingsOrBuilder
- Returns:
- Whether the common field is set.
-
getCommon
Some settings.
.google.api.CommonLanguageSettings common = 1;
- Specified by:
getCommon
in interfaceDotnetSettingsOrBuilder
- Returns:
- The common.
-
getCommonOrBuilder
Some settings.
.google.api.CommonLanguageSettings common = 1;
- Specified by:
getCommonOrBuilder
in interfaceDotnetSettingsOrBuilder
-
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;
- 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;
- 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;
- 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;
- 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;
- 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;
- 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;
- 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;
- 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;
- 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;
- Specified by:
getRenamedResourcesOrThrow
in interfaceDotnetSettingsOrBuilder
-
getIgnoredResourcesList
public com.google.protobuf.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;
- 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;
- 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;
- 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;
- 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
public com.google.protobuf.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;
- 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;
- 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;
- 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;
- 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
public com.google.protobuf.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;
- 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;
- 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;
- 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;
- Specified by:
getHandwrittenSignaturesBytes
in interfaceDotnetSettingsOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the handwrittenSignatures at the given index.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
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
-
newBuilderForType
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DotnetSettings.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-