Package com.google.cloud.clouddms.v1
Class AlloyDbSettings.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSettings.Builder>
-
- com.google.cloud.clouddms.v1.AlloyDbSettings.Builder
-
- All Implemented Interfaces:
AlloyDbSettingsOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- AlloyDbSettings
public static final class AlloyDbSettings.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSettings.Builder> implements AlloyDbSettingsOrBuilder
Settings for creating an AlloyDB cluster.
Protobuf typegoogle.cloud.clouddms.v1.AlloyDbSettings
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AlloyDbSettings.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AlloyDbSettings
build()
AlloyDbSettings
buildPartial()
AlloyDbSettings.Builder
clear()
AlloyDbSettings.Builder
clearEncryptionConfig()
Optional.AlloyDbSettings.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
AlloyDbSettings.Builder
clearInitialUser()
Required.AlloyDbSettings.Builder
clearLabels()
AlloyDbSettings.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
AlloyDbSettings.Builder
clearPrimaryInstanceSettings()
.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings primary_instance_settings = 4;
AlloyDbSettings.Builder
clearVpcNetwork()
Required.AlloyDbSettings.Builder
clone()
boolean
containsLabels(String key)
Labels for the AlloyDB cluster created by DMS.AlloyDbSettings
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
AlloyDbSettings.EncryptionConfig
getEncryptionConfig()
Optional.AlloyDbSettings.EncryptionConfig.Builder
getEncryptionConfigBuilder()
Optional.AlloyDbSettings.EncryptionConfigOrBuilder
getEncryptionConfigOrBuilder()
Optional.AlloyDbSettings.UserPassword
getInitialUser()
Required.AlloyDbSettings.UserPassword.Builder
getInitialUserBuilder()
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.Map<String,String>
getMutableLabels()
Deprecated.AlloyDbSettings.PrimaryInstanceSettings
getPrimaryInstanceSettings()
.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings primary_instance_settings = 4;
AlloyDbSettings.PrimaryInstanceSettings.Builder
getPrimaryInstanceSettingsBuilder()
.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings primary_instance_settings = 4;
AlloyDbSettings.PrimaryInstanceSettingsOrBuilder
getPrimaryInstanceSettingsOrBuilder()
.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings primary_instance_settings = 4;
String
getVpcNetwork()
Required.com.google.protobuf.ByteString
getVpcNetworkBytes()
Required.boolean
hasEncryptionConfig()
Optional.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.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
AlloyDbSettings.Builder
mergeEncryptionConfig(AlloyDbSettings.EncryptionConfig value)
Optional.AlloyDbSettings.Builder
mergeFrom(AlloyDbSettings other)
AlloyDbSettings.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
AlloyDbSettings.Builder
mergeFrom(com.google.protobuf.Message other)
AlloyDbSettings.Builder
mergeInitialUser(AlloyDbSettings.UserPassword value)
Required.AlloyDbSettings.Builder
mergePrimaryInstanceSettings(AlloyDbSettings.PrimaryInstanceSettings value)
.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings primary_instance_settings = 4;
AlloyDbSettings.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
AlloyDbSettings.Builder
putAllLabels(Map<String,String> values)
Labels for the AlloyDB cluster created by DMS.AlloyDbSettings.Builder
putLabels(String key, String value)
Labels for the AlloyDB cluster created by DMS.AlloyDbSettings.Builder
removeLabels(String key)
Labels for the AlloyDB cluster created by DMS.AlloyDbSettings.Builder
setEncryptionConfig(AlloyDbSettings.EncryptionConfig value)
Optional.AlloyDbSettings.Builder
setEncryptionConfig(AlloyDbSettings.EncryptionConfig.Builder builderForValue)
Optional.AlloyDbSettings.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AlloyDbSettings.Builder
setInitialUser(AlloyDbSettings.UserPassword value)
Required.AlloyDbSettings.Builder
setInitialUser(AlloyDbSettings.UserPassword.Builder builderForValue)
Required.AlloyDbSettings.Builder
setPrimaryInstanceSettings(AlloyDbSettings.PrimaryInstanceSettings value)
.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings primary_instance_settings = 4;
AlloyDbSettings.Builder
setPrimaryInstanceSettings(AlloyDbSettings.PrimaryInstanceSettings.Builder builderForValue)
.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings primary_instance_settings = 4;
AlloyDbSettings.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
AlloyDbSettings.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
AlloyDbSettings.Builder
setVpcNetwork(String value)
Required.AlloyDbSettings.Builder
setVpcNetworkBytes(com.google.protobuf.ByteString value)
Required.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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.Builder<AlloyDbSettings.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSettings.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSettings.Builder>
-
clear
public AlloyDbSettings.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSettings.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSettings.Builder>
-
getDefaultInstanceForType
public AlloyDbSettings getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public AlloyDbSettings build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AlloyDbSettings buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AlloyDbSettings.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSettings.Builder>
-
setField
public AlloyDbSettings.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSettings.Builder>
-
clearField
public AlloyDbSettings.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSettings.Builder>
-
clearOneof
public AlloyDbSettings.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSettings.Builder>
-
setRepeatedField
public AlloyDbSettings.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSettings.Builder>
-
addRepeatedField
public AlloyDbSettings.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSettings.Builder>
-
mergeFrom
public AlloyDbSettings.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AlloyDbSettings.Builder>
-
mergeFrom
public AlloyDbSettings.Builder mergeFrom(AlloyDbSettings other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSettings.Builder>
-
mergeFrom
public AlloyDbSettings.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AlloyDbSettings.Builder>
- Throws:
IOException
-
hasInitialUser
public 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];
- Specified by:
hasInitialUser
in interfaceAlloyDbSettingsOrBuilder
- Returns:
- Whether the initialUser field is set.
-
getInitialUser
public 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];
- Specified by:
getInitialUser
in interfaceAlloyDbSettingsOrBuilder
- Returns:
- The initialUser.
-
setInitialUser
public AlloyDbSettings.Builder setInitialUser(AlloyDbSettings.UserPassword value)
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];
-
setInitialUser
public AlloyDbSettings.Builder setInitialUser(AlloyDbSettings.UserPassword.Builder builderForValue)
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];
-
mergeInitialUser
public AlloyDbSettings.Builder mergeInitialUser(AlloyDbSettings.UserPassword value)
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];
-
clearInitialUser
public AlloyDbSettings.Builder clearInitialUser()
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];
-
getInitialUserBuilder
public AlloyDbSettings.UserPassword.Builder getInitialUserBuilder()
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
public 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];
- Specified by:
getInitialUserOrBuilder
in interfaceAlloyDbSettingsOrBuilder
-
getVpcNetwork
public 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];
- Specified by:
getVpcNetwork
in interfaceAlloyDbSettingsOrBuilder
- Returns:
- The vpcNetwork.
-
getVpcNetworkBytes
public 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];
- Specified by:
getVpcNetworkBytes
in interfaceAlloyDbSettingsOrBuilder
- Returns:
- The bytes for vpcNetwork.
-
setVpcNetwork
public AlloyDbSettings.Builder setVpcNetwork(String value)
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];
- Parameters:
value
- The vpcNetwork to set.- Returns:
- This builder for chaining.
-
clearVpcNetwork
public AlloyDbSettings.Builder clearVpcNetwork()
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];
- Returns:
- This builder for chaining.
-
setVpcNetworkBytes
public AlloyDbSettings.Builder setVpcNetworkBytes(com.google.protobuf.ByteString value)
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];
- Parameters:
value
- The bytes for vpcNetwork to set.- Returns:
- This builder for chaining.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:AlloyDbSettingsOrBuilder
Labels for the AlloyDB cluster created by DMS. An object containing a list of 'key', 'value' pairs.
map<string, string> labels = 3;
- Specified by:
getLabelsCount
in interfaceAlloyDbSettingsOrBuilder
-
containsLabels
public 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;
- Specified by:
containsLabels
in interfaceAlloyDbSettingsOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceAlloyDbSettingsOrBuilder
-
getLabelsMap
public 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;
- Specified by:
getLabelsMap
in interfaceAlloyDbSettingsOrBuilder
-
getLabelsOrDefault
public 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;
- Specified by:
getLabelsOrDefault
in interfaceAlloyDbSettingsOrBuilder
-
getLabelsOrThrow
public 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;
- Specified by:
getLabelsOrThrow
in interfaceAlloyDbSettingsOrBuilder
-
clearLabels
public AlloyDbSettings.Builder clearLabels()
-
removeLabels
public AlloyDbSettings.Builder removeLabels(String key)
Labels for the AlloyDB cluster created by DMS. An object containing a list of 'key', 'value' pairs.
map<string, string> labels = 3;
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
public AlloyDbSettings.Builder putLabels(String key, String value)
Labels for the AlloyDB cluster created by DMS. An object containing a list of 'key', 'value' pairs.
map<string, string> labels = 3;
-
putAllLabels
public AlloyDbSettings.Builder putAllLabels(Map<String,String> values)
Labels for the AlloyDB cluster created by DMS. An object containing a list of 'key', 'value' pairs.
map<string, string> labels = 3;
-
hasPrimaryInstanceSettings
public boolean hasPrimaryInstanceSettings()
.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings primary_instance_settings = 4;
- Specified by:
hasPrimaryInstanceSettings
in interfaceAlloyDbSettingsOrBuilder
- Returns:
- Whether the primaryInstanceSettings field is set.
-
getPrimaryInstanceSettings
public AlloyDbSettings.PrimaryInstanceSettings getPrimaryInstanceSettings()
.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings primary_instance_settings = 4;
- Specified by:
getPrimaryInstanceSettings
in interfaceAlloyDbSettingsOrBuilder
- Returns:
- The primaryInstanceSettings.
-
setPrimaryInstanceSettings
public AlloyDbSettings.Builder setPrimaryInstanceSettings(AlloyDbSettings.PrimaryInstanceSettings value)
.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings primary_instance_settings = 4;
-
setPrimaryInstanceSettings
public AlloyDbSettings.Builder setPrimaryInstanceSettings(AlloyDbSettings.PrimaryInstanceSettings.Builder builderForValue)
.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings primary_instance_settings = 4;
-
mergePrimaryInstanceSettings
public AlloyDbSettings.Builder mergePrimaryInstanceSettings(AlloyDbSettings.PrimaryInstanceSettings value)
.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings primary_instance_settings = 4;
-
clearPrimaryInstanceSettings
public AlloyDbSettings.Builder clearPrimaryInstanceSettings()
.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings primary_instance_settings = 4;
-
getPrimaryInstanceSettingsBuilder
public AlloyDbSettings.PrimaryInstanceSettings.Builder getPrimaryInstanceSettingsBuilder()
.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings primary_instance_settings = 4;
-
getPrimaryInstanceSettingsOrBuilder
public AlloyDbSettings.PrimaryInstanceSettingsOrBuilder getPrimaryInstanceSettingsOrBuilder()
.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings primary_instance_settings = 4;
- Specified by:
getPrimaryInstanceSettingsOrBuilder
in interfaceAlloyDbSettingsOrBuilder
-
hasEncryptionConfig
public 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];
- Specified by:
hasEncryptionConfig
in interfaceAlloyDbSettingsOrBuilder
- Returns:
- Whether the encryptionConfig field is set.
-
getEncryptionConfig
public 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];
- Specified by:
getEncryptionConfig
in interfaceAlloyDbSettingsOrBuilder
- Returns:
- The encryptionConfig.
-
setEncryptionConfig
public AlloyDbSettings.Builder setEncryptionConfig(AlloyDbSettings.EncryptionConfig value)
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];
-
setEncryptionConfig
public AlloyDbSettings.Builder setEncryptionConfig(AlloyDbSettings.EncryptionConfig.Builder builderForValue)
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];
-
mergeEncryptionConfig
public AlloyDbSettings.Builder mergeEncryptionConfig(AlloyDbSettings.EncryptionConfig value)
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];
-
clearEncryptionConfig
public AlloyDbSettings.Builder clearEncryptionConfig()
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];
-
getEncryptionConfigBuilder
public AlloyDbSettings.EncryptionConfig.Builder getEncryptionConfigBuilder()
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
public 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];
- Specified by:
getEncryptionConfigOrBuilder
in interfaceAlloyDbSettingsOrBuilder
-
setUnknownFields
public final AlloyDbSettings.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSettings.Builder>
-
mergeUnknownFields
public final AlloyDbSettings.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSettings.Builder>
-
-