public final class AlloyDbSettings extends com.google.protobuf.GeneratedMessageV3 implements AlloyDbSettingsOrBuilder
Settings for creating an AlloyDB cluster.Protobuf type
google.cloud.clouddms.v1.AlloyDbSettings| Modifier and Type | Class and Description |
|---|---|
static class |
AlloyDbSettings.Builder
Settings for creating an AlloyDB cluster.
|
static class |
AlloyDbSettings.EncryptionConfig
EncryptionConfig describes the encryption config of a cluster that is
encrypted with a CMEK (customer-managed encryption key).
|
static interface |
AlloyDbSettings.EncryptionConfigOrBuilder |
static class |
AlloyDbSettings.PrimaryInstanceSettings
Settings for the cluster's primary instance
|
static interface |
AlloyDbSettings.PrimaryInstanceSettingsOrBuilder |
static class |
AlloyDbSettings.UserPassword
The username/password for a database user.
|
static interface |
AlloyDbSettings.UserPasswordOrBuilder |
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| Modifier and Type | Field and Description |
|---|---|
static int |
ENCRYPTION_CONFIG_FIELD_NUMBER |
static int |
INITIAL_USER_FIELD_NUMBER |
static int |
LABELS_FIELD_NUMBER |
static int |
PRIMARY_INSTANCE_SETTINGS_FIELD_NUMBER |
static int |
VPC_NETWORK_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
Labels for the AlloyDB cluster created by DMS.
|
boolean |
equals(Object obj) |
static AlloyDbSettings |
getDefaultInstance() |
AlloyDbSettings |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
AlloyDbSettings.EncryptionConfig |
getEncryptionConfig()
Optional.
|
AlloyDbSettings.EncryptionConfigOrBuilder |
getEncryptionConfigOrBuilder()
Optional.
|
AlloyDbSettings.UserPassword |
getInitialUser()
Required.
|
AlloyDbSettings.UserPasswordOrBuilder |
getInitialUserOrBuilder()
Required.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Labels for the AlloyDB cluster created by DMS.
|
Map<String,String> |
getLabelsMap()
Labels for the AlloyDB cluster created by DMS.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Labels for the AlloyDB cluster created by DMS.
|
String |
getLabelsOrThrow(String key)
Labels for the AlloyDB cluster created by DMS.
|
com.google.protobuf.Parser<AlloyDbSettings> |
getParserForType() |
AlloyDbSettings.PrimaryInstanceSettings |
getPrimaryInstanceSettings()
.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings primary_instance_settings = 4;
|
AlloyDbSettings.PrimaryInstanceSettingsOrBuilder |
getPrimaryInstanceSettingsOrBuilder()
.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings primary_instance_settings = 4;
|
int |
getSerializedSize() |
String |
getVpcNetwork()
Required.
|
com.google.protobuf.ByteString |
getVpcNetworkBytes()
Required.
|
boolean |
hasEncryptionConfig()
Optional.
|
int |
hashCode() |
boolean |
hasInitialUser()
Required.
|
boolean |
hasPrimaryInstanceSettings()
.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings primary_instance_settings = 4;
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
boolean |
isInitialized() |
static AlloyDbSettings.Builder |
newBuilder() |
static AlloyDbSettings.Builder |
newBuilder(AlloyDbSettings prototype) |
AlloyDbSettings.Builder |
newBuilderForType() |
protected AlloyDbSettings.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static AlloyDbSettings |
parseDelimitedFrom(InputStream input) |
static AlloyDbSettings |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AlloyDbSettings |
parseFrom(byte[] data) |
static AlloyDbSettings |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AlloyDbSettings |
parseFrom(ByteBuffer data) |
static AlloyDbSettings |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AlloyDbSettings |
parseFrom(com.google.protobuf.ByteString data) |
static AlloyDbSettings |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AlloyDbSettings |
parseFrom(com.google.protobuf.CodedInputStream input) |
static AlloyDbSettings |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AlloyDbSettings |
parseFrom(InputStream input) |
static AlloyDbSettings |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<AlloyDbSettings> |
parser() |
AlloyDbSettings.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int INITIAL_USER_FIELD_NUMBER
public static final int VPC_NETWORK_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
public static final int PRIMARY_INSTANCE_SETTINGS_FIELD_NUMBER
public static final int ENCRYPTION_CONFIG_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasInitialUser()
Required. Input only. Initial user to setup during cluster creation. Required.
.google.cloud.clouddms.v1.AlloyDbSettings.UserPassword initial_user = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];
hasInitialUser in interface AlloyDbSettingsOrBuilderpublic AlloyDbSettings.UserPassword getInitialUser()
Required. Input only. Initial user to setup during cluster creation. Required.
.google.cloud.clouddms.v1.AlloyDbSettings.UserPassword initial_user = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];
getInitialUser in interface AlloyDbSettingsOrBuilderpublic AlloyDbSettings.UserPasswordOrBuilder getInitialUserOrBuilder()
Required. Input only. Initial user to setup during cluster creation. Required.
.google.cloud.clouddms.v1.AlloyDbSettings.UserPassword initial_user = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];
getInitialUserOrBuilder in interface AlloyDbSettingsOrBuilderpublic String getVpcNetwork()
Required. The resource link for the VPC network in which cluster resources
are created and from which they are accessible via Private IP. The network
must belong to the same project as the cluster. It is specified in the
form: "projects/{project_number}/global/networks/{network_id}". This is
required to create a cluster.
string vpc_network = 2 [(.google.api.field_behavior) = REQUIRED];getVpcNetwork in interface AlloyDbSettingsOrBuilderpublic com.google.protobuf.ByteString getVpcNetworkBytes()
Required. The resource link for the VPC network in which cluster resources
are created and from which they are accessible via Private IP. The network
must belong to the same project as the cluster. It is specified in the
form: "projects/{project_number}/global/networks/{network_id}". This is
required to create a cluster.
string vpc_network = 2 [(.google.api.field_behavior) = REQUIRED];getVpcNetworkBytes in interface AlloyDbSettingsOrBuilderpublic int getLabelsCount()
AlloyDbSettingsOrBuilderLabels for the AlloyDB cluster created by DMS. An object containing a list of 'key', 'value' pairs.
map<string, string> labels = 3;getLabelsCount in interface AlloyDbSettingsOrBuilderpublic boolean containsLabels(String key)
Labels for the AlloyDB cluster created by DMS. An object containing a list of 'key', 'value' pairs.
map<string, string> labels = 3;containsLabels in interface AlloyDbSettingsOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface AlloyDbSettingsOrBuilderpublic Map<String,String> getLabelsMap()
Labels for the AlloyDB cluster created by DMS. An object containing a list of 'key', 'value' pairs.
map<string, string> labels = 3;getLabelsMap in interface AlloyDbSettingsOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Labels for the AlloyDB cluster created by DMS. An object containing a list of 'key', 'value' pairs.
map<string, string> labels = 3;getLabelsOrDefault in interface AlloyDbSettingsOrBuilderpublic String getLabelsOrThrow(String key)
Labels for the AlloyDB cluster created by DMS. An object containing a list of 'key', 'value' pairs.
map<string, string> labels = 3;getLabelsOrThrow in interface AlloyDbSettingsOrBuilderpublic boolean hasPrimaryInstanceSettings()
.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings primary_instance_settings = 4;
hasPrimaryInstanceSettings in interface AlloyDbSettingsOrBuilderpublic AlloyDbSettings.PrimaryInstanceSettings getPrimaryInstanceSettings()
.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings primary_instance_settings = 4;
getPrimaryInstanceSettings in interface AlloyDbSettingsOrBuilderpublic AlloyDbSettings.PrimaryInstanceSettingsOrBuilder getPrimaryInstanceSettingsOrBuilder()
.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings primary_instance_settings = 4;
getPrimaryInstanceSettingsOrBuilder in interface AlloyDbSettingsOrBuilderpublic boolean hasEncryptionConfig()
Optional. The encryption config can be specified to encrypt the data disks and other persistent data resources of a cluster with a customer-managed encryption key (CMEK). When this field is not specified, the cluster will then use default encryption scheme to protect the user data.
.google.cloud.clouddms.v1.AlloyDbSettings.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL];
hasEncryptionConfig in interface AlloyDbSettingsOrBuilderpublic AlloyDbSettings.EncryptionConfig getEncryptionConfig()
Optional. The encryption config can be specified to encrypt the data disks and other persistent data resources of a cluster with a customer-managed encryption key (CMEK). When this field is not specified, the cluster will then use default encryption scheme to protect the user data.
.google.cloud.clouddms.v1.AlloyDbSettings.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL];
getEncryptionConfig in interface AlloyDbSettingsOrBuilderpublic AlloyDbSettings.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder()
Optional. The encryption config can be specified to encrypt the data disks and other persistent data resources of a cluster with a customer-managed encryption key (CMEK). When this field is not specified, the cluster will then use default encryption scheme to protect the user data.
.google.cloud.clouddms.v1.AlloyDbSettings.EncryptionConfig encryption_config = 5 [(.google.api.field_behavior) = OPTIONAL];
getEncryptionConfigOrBuilder in interface AlloyDbSettingsOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static AlloyDbSettings parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AlloyDbSettings parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AlloyDbSettings parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AlloyDbSettings parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AlloyDbSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AlloyDbSettings parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AlloyDbSettings parseFrom(InputStream input) throws IOException
IOExceptionpublic static AlloyDbSettings parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AlloyDbSettings parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static AlloyDbSettings parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AlloyDbSettings parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static AlloyDbSettings parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic AlloyDbSettings.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static AlloyDbSettings.Builder newBuilder()
public static AlloyDbSettings.Builder newBuilder(AlloyDbSettings prototype)
public AlloyDbSettings.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected AlloyDbSettings.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static AlloyDbSettings getDefaultInstance()
public static com.google.protobuf.Parser<AlloyDbSettings> parser()
public com.google.protobuf.Parser<AlloyDbSettings> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public AlloyDbSettings getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.