Package com.google.cloud.clouddms.v1
Interface AlloyDbSettingsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AlloyDbSettings
,AlloyDbSettings.Builder
public interface AlloyDbSettingsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsLabels(String key)
Labels for the AlloyDB cluster created by DMS.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.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;
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;
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasInitialUser
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];
- Returns:
- Whether the initialUser field is set.
-
getInitialUser
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];
- Returns:
- The initialUser.
-
getInitialUserOrBuilder
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];
-
getVpcNetwork
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];
- Returns:
- The vpcNetwork.
-
getVpcNetworkBytes
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];
- Returns:
- The bytes for vpcNetwork.
-
getLabelsCount
int getLabelsCount()
Labels for the AlloyDB cluster created by DMS. An object containing a list of 'key', 'value' pairs.
map<string, string> labels = 3;
-
containsLabels
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;
-
getLabels
@Deprecated Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.
-
getLabelsMap
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;
-
getLabelsOrDefault
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;
-
getLabelsOrThrow
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;
-
hasPrimaryInstanceSettings
boolean hasPrimaryInstanceSettings()
.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings primary_instance_settings = 4;
- Returns:
- Whether the primaryInstanceSettings field is set.
-
getPrimaryInstanceSettings
AlloyDbSettings.PrimaryInstanceSettings getPrimaryInstanceSettings()
.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings primary_instance_settings = 4;
- Returns:
- The primaryInstanceSettings.
-
getPrimaryInstanceSettingsOrBuilder
AlloyDbSettings.PrimaryInstanceSettingsOrBuilder getPrimaryInstanceSettingsOrBuilder()
.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings primary_instance_settings = 4;
-
hasEncryptionConfig
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];
- Returns:
- Whether the encryptionConfig field is set.
-
getEncryptionConfig
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];
- Returns:
- The encryptionConfig.
-
getEncryptionConfigOrBuilder
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];
-
-