- 2.84.0 (latest)
- 2.82.0
- 2.81.0
- 2.80.0
- 2.79.0
- 2.77.0
- 2.75.0
- 2.74.0
- 2.73.0
- 2.72.0
- 2.71.0
- 2.69.0
- 2.67.0
- 2.66.0
- 2.63.0
- 2.62.0
- 2.61.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.8
- 2.1.9
public static final class AlloyDbSettings.Builder extends GeneratedMessage.Builder<AlloyDbSettings.Builder> implements AlloyDbSettingsOrBuilderSettings for creating an AlloyDB cluster.
Protobuf type google.cloud.clouddms.v1.AlloyDbSettings
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AlloyDbSettings.BuilderImplements
AlloyDbSettingsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public AlloyDbSettings build()| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings |
|
buildPartial()
public AlloyDbSettings buildPartial()| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings |
|
clear()
public AlloyDbSettings.Builder clear()| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.Builder |
|
clearLabels()
public AlloyDbSettings.Builder clearLabels()| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.Builder |
|
clearPrimaryInstanceSettings()
public AlloyDbSettings.Builder clearPrimaryInstanceSettings()
.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings primary_instance_settings = 4;
| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.Builder |
|
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 | |
|---|---|
| Type | Description |
AlloyDbSettings.Builder |
This builder for chaining. |
containsLabels(String key)
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;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public AlloyDbSettings getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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];
| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.EncryptionConfig |
The encryptionConfig. |
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];
| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.EncryptionConfig.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.EncryptionConfigOrBuilder |
|
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];
| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.UserPassword |
The initialUser. |
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];
| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.UserPassword.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.UserPasswordOrBuilder |
|
getLabels() (deprecated)
public Map<String,String> getLabels()Use #getLabelsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsCount()
public int getLabelsCount()Labels for the AlloyDB cluster created by DMS. An object containing a list of 'key', 'value' pairs.
map<string, string> labels = 3;
| Returns | |
|---|---|
| Type | Description |
int |
|
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;
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsOrDefault(String key, String defaultValue)
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;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getLabelsOrThrow(String key)
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;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getMutableLabels() (deprecated)
public Map<String,String> getMutableLabels()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getPrimaryInstanceSettings()
public AlloyDbSettings.PrimaryInstanceSettings getPrimaryInstanceSettings()
.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings primary_instance_settings = 4;
| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.PrimaryInstanceSettings |
The primaryInstanceSettings. |
getPrimaryInstanceSettingsBuilder()
public AlloyDbSettings.PrimaryInstanceSettings.Builder getPrimaryInstanceSettingsBuilder()
.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings primary_instance_settings = 4;
| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.PrimaryInstanceSettings.Builder |
|
getPrimaryInstanceSettingsOrBuilder()
public AlloyDbSettings.PrimaryInstanceSettingsOrBuilder getPrimaryInstanceSettingsOrBuilder()
.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings primary_instance_settings = 4;
| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.PrimaryInstanceSettingsOrBuilder |
|
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];
| Returns | |
|---|---|
| Type | Description |
String |
The vpcNetwork. |
getVpcNetworkBytes()
public 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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for vpcNetwork. |
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];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the encryptionConfig field is set. |
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];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the initialUser field is set. |
hasPrimaryInstanceSettings()
public boolean hasPrimaryInstanceSettings()
.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings primary_instance_settings = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the primaryInstanceSettings field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeEncryptionConfig(AlloyDbSettings.EncryptionConfig value)
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];
| Parameter | |
|---|---|
| Name | Description |
value |
AlloyDbSettings.EncryptionConfig |
| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.Builder |
|
mergeFrom(AlloyDbSettings other)
public AlloyDbSettings.Builder mergeFrom(AlloyDbSettings other)| Parameter | |
|---|---|
| Name | Description |
other |
AlloyDbSettings |
| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AlloyDbSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AlloyDbSettings.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.Builder |
|
mergeInitialUser(AlloyDbSettings.UserPassword value)
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];
| Parameter | |
|---|---|
| Name | Description |
value |
AlloyDbSettings.UserPassword |
| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.Builder |
|
mergePrimaryInstanceSettings(AlloyDbSettings.PrimaryInstanceSettings value)
public AlloyDbSettings.Builder mergePrimaryInstanceSettings(AlloyDbSettings.PrimaryInstanceSettings value)
.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings primary_instance_settings = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
AlloyDbSettings.PrimaryInstanceSettings |
| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.Builder |
|
putAllLabels(Map<String,String> values)
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;
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.Builder |
|
putLabels(String key, String value)
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;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
String |
| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.Builder |
|
removeLabels(String key)
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;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.Builder |
|
setEncryptionConfig(AlloyDbSettings.EncryptionConfig value)
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];
| Parameter | |
|---|---|
| Name | Description |
value |
AlloyDbSettings.EncryptionConfig |
| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.Builder |
|
setEncryptionConfig(AlloyDbSettings.EncryptionConfig.Builder builderForValue)
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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AlloyDbSettings.EncryptionConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.Builder |
|
setInitialUser(AlloyDbSettings.UserPassword value)
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];
| Parameter | |
|---|---|
| Name | Description |
value |
AlloyDbSettings.UserPassword |
| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.Builder |
|
setInitialUser(AlloyDbSettings.UserPassword.Builder builderForValue)
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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AlloyDbSettings.UserPassword.Builder |
| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.Builder |
|
setPrimaryInstanceSettings(AlloyDbSettings.PrimaryInstanceSettings value)
public AlloyDbSettings.Builder setPrimaryInstanceSettings(AlloyDbSettings.PrimaryInstanceSettings value)
.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings primary_instance_settings = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
AlloyDbSettings.PrimaryInstanceSettings |
| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.Builder |
|
setPrimaryInstanceSettings(AlloyDbSettings.PrimaryInstanceSettings.Builder builderForValue)
public AlloyDbSettings.Builder setPrimaryInstanceSettings(AlloyDbSettings.PrimaryInstanceSettings.Builder builderForValue)
.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings primary_instance_settings = 4;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AlloyDbSettings.PrimaryInstanceSettings.Builder |
| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.Builder |
|
setVpcNetwork(String value)
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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe vpcNetwork to set. |
| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.Builder |
This builder for chaining. |
setVpcNetworkBytes(ByteString value)
public AlloyDbSettings.Builder setVpcNetworkBytes(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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for vpcNetwork to set. |
| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.Builder |
This builder for chaining. |