Class PostgreSqlConnectionProfile.Builder (2.23.0)

public static final class PostgreSqlConnectionProfile.Builder extends GeneratedMessageV3.Builder<PostgreSqlConnectionProfile.Builder> implements PostgreSqlConnectionProfileOrBuilder

Specifies connection parameters required specifically for PostgreSQL databases.

Protobuf type google.cloud.clouddms.v1.PostgreSqlConnectionProfile

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PostgreSqlConnectionProfile.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PostgreSqlConnectionProfile.Builder
Overrides

build()

public PostgreSqlConnectionProfile build()
Returns
TypeDescription
PostgreSqlConnectionProfile

buildPartial()

public PostgreSqlConnectionProfile buildPartial()
Returns
TypeDescription
PostgreSqlConnectionProfile

clear()

public PostgreSqlConnectionProfile.Builder clear()
Returns
TypeDescription
PostgreSqlConnectionProfile.Builder
Overrides

clearCloudSqlId()

public PostgreSqlConnectionProfile.Builder clearCloudSqlId()

If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.

string cloud_sql_id = 7;

Returns
TypeDescription
PostgreSqlConnectionProfile.Builder

This builder for chaining.

clearConnectivity()

public PostgreSqlConnectionProfile.Builder clearConnectivity()
Returns
TypeDescription
PostgreSqlConnectionProfile.Builder

clearField(Descriptors.FieldDescriptor field)

public PostgreSqlConnectionProfile.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
PostgreSqlConnectionProfile.Builder
Overrides

clearHost()

public PostgreSqlConnectionProfile.Builder clearHost()

Required. The IP or hostname of the source PostgreSQL database.

string host = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
PostgreSqlConnectionProfile.Builder

This builder for chaining.

clearNetworkArchitecture()

public PostgreSqlConnectionProfile.Builder clearNetworkArchitecture()

Output only. If the source is a Cloud SQL database, this field indicates the network architecture it's associated with.

.google.cloud.clouddms.v1.NetworkArchitecture network_architecture = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
PostgreSqlConnectionProfile.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public PostgreSqlConnectionProfile.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
PostgreSqlConnectionProfile.Builder
Overrides

clearPassword()

public PostgreSqlConnectionProfile.Builder clearPassword()

Required. Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service.

string password = 4 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
PostgreSqlConnectionProfile.Builder

This builder for chaining.

clearPasswordSet()

public PostgreSqlConnectionProfile.Builder clearPasswordSet()

Output only. Indicates If this connection profile password is stored.

bool password_set = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
PostgreSqlConnectionProfile.Builder

This builder for chaining.

clearPort()

public PostgreSqlConnectionProfile.Builder clearPort()

Required. The network port of the source PostgreSQL database.

int32 port = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
PostgreSqlConnectionProfile.Builder

This builder for chaining.

clearPrivateServiceConnectConnectivity()

public PostgreSqlConnectionProfile.Builder clearPrivateServiceConnectConnectivity()

Private service connect connectivity.

.google.cloud.clouddms.v1.PrivateServiceConnectConnectivity private_service_connect_connectivity = 101;

Returns
TypeDescription
PostgreSqlConnectionProfile.Builder

clearSsl()

public PostgreSqlConnectionProfile.Builder clearSsl()

SSL configuration for the destination to connect to the source database.

.google.cloud.clouddms.v1.SslConfig ssl = 6;

Returns
TypeDescription
PostgreSqlConnectionProfile.Builder

clearStaticIpConnectivity()

public PostgreSqlConnectionProfile.Builder clearStaticIpConnectivity()

Static ip connectivity data (default, no additional details needed).

.google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 100;

Returns
TypeDescription
PostgreSqlConnectionProfile.Builder

clearUsername()

public PostgreSqlConnectionProfile.Builder clearUsername()

Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.

string username = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
PostgreSqlConnectionProfile.Builder

This builder for chaining.

clone()

public PostgreSqlConnectionProfile.Builder clone()
Returns
TypeDescription
PostgreSqlConnectionProfile.Builder
Overrides

getCloudSqlId()

public String getCloudSqlId()

If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.

string cloud_sql_id = 7;

Returns
TypeDescription
String

The cloudSqlId.

getCloudSqlIdBytes()

public ByteString getCloudSqlIdBytes()

If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.

string cloud_sql_id = 7;

Returns
TypeDescription
ByteString

The bytes for cloudSqlId.

getConnectivityCase()

public PostgreSqlConnectionProfile.ConnectivityCase getConnectivityCase()
Returns
TypeDescription
PostgreSqlConnectionProfile.ConnectivityCase

getDefaultInstanceForType()

public PostgreSqlConnectionProfile getDefaultInstanceForType()
Returns
TypeDescription
PostgreSqlConnectionProfile

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getHost()

public String getHost()

Required. The IP or hostname of the source PostgreSQL database.

string host = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The host.

getHostBytes()

public ByteString getHostBytes()

Required. The IP or hostname of the source PostgreSQL database.

string host = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for host.

getNetworkArchitecture()

public NetworkArchitecture getNetworkArchitecture()

Output only. If the source is a Cloud SQL database, this field indicates the network architecture it's associated with.

.google.cloud.clouddms.v1.NetworkArchitecture network_architecture = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
NetworkArchitecture

The networkArchitecture.

getNetworkArchitectureValue()

public int getNetworkArchitectureValue()

Output only. If the source is a Cloud SQL database, this field indicates the network architecture it's associated with.

.google.cloud.clouddms.v1.NetworkArchitecture network_architecture = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for networkArchitecture.

getPassword()

public String getPassword()

Required. Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service.

string password = 4 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The password.

getPasswordBytes()

public ByteString getPasswordBytes()

Required. Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service.

string password = 4 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for password.

getPasswordSet()

public boolean getPasswordSet()

Output only. Indicates If this connection profile password is stored.

bool password_set = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

The passwordSet.

getPort()

public int getPort()

Required. The network port of the source PostgreSQL database.

int32 port = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The port.

getPrivateServiceConnectConnectivity()

public PrivateServiceConnectConnectivity getPrivateServiceConnectConnectivity()

Private service connect connectivity.

.google.cloud.clouddms.v1.PrivateServiceConnectConnectivity private_service_connect_connectivity = 101;

Returns
TypeDescription
PrivateServiceConnectConnectivity

The privateServiceConnectConnectivity.

getPrivateServiceConnectConnectivityBuilder()

public PrivateServiceConnectConnectivity.Builder getPrivateServiceConnectConnectivityBuilder()

Private service connect connectivity.

.google.cloud.clouddms.v1.PrivateServiceConnectConnectivity private_service_connect_connectivity = 101;

Returns
TypeDescription
PrivateServiceConnectConnectivity.Builder

getPrivateServiceConnectConnectivityOrBuilder()

public PrivateServiceConnectConnectivityOrBuilder getPrivateServiceConnectConnectivityOrBuilder()

Private service connect connectivity.

.google.cloud.clouddms.v1.PrivateServiceConnectConnectivity private_service_connect_connectivity = 101;

Returns
TypeDescription
PrivateServiceConnectConnectivityOrBuilder

getSsl()

public SslConfig getSsl()

SSL configuration for the destination to connect to the source database.

.google.cloud.clouddms.v1.SslConfig ssl = 6;

Returns
TypeDescription
SslConfig

The ssl.

getSslBuilder()

public SslConfig.Builder getSslBuilder()

SSL configuration for the destination to connect to the source database.

.google.cloud.clouddms.v1.SslConfig ssl = 6;

Returns
TypeDescription
SslConfig.Builder

getSslOrBuilder()

public SslConfigOrBuilder getSslOrBuilder()

SSL configuration for the destination to connect to the source database.

.google.cloud.clouddms.v1.SslConfig ssl = 6;

Returns
TypeDescription
SslConfigOrBuilder

getStaticIpConnectivity()

public StaticIpConnectivity getStaticIpConnectivity()

Static ip connectivity data (default, no additional details needed).

.google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 100;

Returns
TypeDescription
StaticIpConnectivity

The staticIpConnectivity.

getStaticIpConnectivityBuilder()

public StaticIpConnectivity.Builder getStaticIpConnectivityBuilder()

Static ip connectivity data (default, no additional details needed).

.google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 100;

Returns
TypeDescription
StaticIpConnectivity.Builder

getStaticIpConnectivityOrBuilder()

public StaticIpConnectivityOrBuilder getStaticIpConnectivityOrBuilder()

Static ip connectivity data (default, no additional details needed).

.google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 100;

Returns
TypeDescription
StaticIpConnectivityOrBuilder

getUsername()

public String getUsername()

Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.

string username = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The username.

getUsernameBytes()

public ByteString getUsernameBytes()

Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.

string username = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for username.

hasPrivateServiceConnectConnectivity()

public boolean hasPrivateServiceConnectConnectivity()

Private service connect connectivity.

.google.cloud.clouddms.v1.PrivateServiceConnectConnectivity private_service_connect_connectivity = 101;

Returns
TypeDescription
boolean

Whether the privateServiceConnectConnectivity field is set.

hasSsl()

public boolean hasSsl()

SSL configuration for the destination to connect to the source database.

.google.cloud.clouddms.v1.SslConfig ssl = 6;

Returns
TypeDescription
boolean

Whether the ssl field is set.

hasStaticIpConnectivity()

public boolean hasStaticIpConnectivity()

Static ip connectivity data (default, no additional details needed).

.google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 100;

Returns
TypeDescription
boolean

Whether the staticIpConnectivity field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PostgreSqlConnectionProfile other)

public PostgreSqlConnectionProfile.Builder mergeFrom(PostgreSqlConnectionProfile other)
Parameter
NameDescription
otherPostgreSqlConnectionProfile
Returns
TypeDescription
PostgreSqlConnectionProfile.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PostgreSqlConnectionProfile.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PostgreSqlConnectionProfile.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public PostgreSqlConnectionProfile.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
PostgreSqlConnectionProfile.Builder
Overrides

mergePrivateServiceConnectConnectivity(PrivateServiceConnectConnectivity value)

public PostgreSqlConnectionProfile.Builder mergePrivateServiceConnectConnectivity(PrivateServiceConnectConnectivity value)

Private service connect connectivity.

.google.cloud.clouddms.v1.PrivateServiceConnectConnectivity private_service_connect_connectivity = 101;

Parameter
NameDescription
valuePrivateServiceConnectConnectivity
Returns
TypeDescription
PostgreSqlConnectionProfile.Builder

mergeSsl(SslConfig value)

public PostgreSqlConnectionProfile.Builder mergeSsl(SslConfig value)

SSL configuration for the destination to connect to the source database.

.google.cloud.clouddms.v1.SslConfig ssl = 6;

Parameter
NameDescription
valueSslConfig
Returns
TypeDescription
PostgreSqlConnectionProfile.Builder

mergeStaticIpConnectivity(StaticIpConnectivity value)

public PostgreSqlConnectionProfile.Builder mergeStaticIpConnectivity(StaticIpConnectivity value)

Static ip connectivity data (default, no additional details needed).

.google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 100;

Parameter
NameDescription
valueStaticIpConnectivity
Returns
TypeDescription
PostgreSqlConnectionProfile.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PostgreSqlConnectionProfile.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PostgreSqlConnectionProfile.Builder
Overrides

setCloudSqlId(String value)

public PostgreSqlConnectionProfile.Builder setCloudSqlId(String value)

If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.

string cloud_sql_id = 7;

Parameter
NameDescription
valueString

The cloudSqlId to set.

Returns
TypeDescription
PostgreSqlConnectionProfile.Builder

This builder for chaining.

setCloudSqlIdBytes(ByteString value)

public PostgreSqlConnectionProfile.Builder setCloudSqlIdBytes(ByteString value)

If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.

string cloud_sql_id = 7;

Parameter
NameDescription
valueByteString

The bytes for cloudSqlId to set.

Returns
TypeDescription
PostgreSqlConnectionProfile.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public PostgreSqlConnectionProfile.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PostgreSqlConnectionProfile.Builder
Overrides

setHost(String value)

public PostgreSqlConnectionProfile.Builder setHost(String value)

Required. The IP or hostname of the source PostgreSQL database.

string host = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The host to set.

Returns
TypeDescription
PostgreSqlConnectionProfile.Builder

This builder for chaining.

setHostBytes(ByteString value)

public PostgreSqlConnectionProfile.Builder setHostBytes(ByteString value)

Required. The IP or hostname of the source PostgreSQL database.

string host = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for host to set.

Returns
TypeDescription
PostgreSqlConnectionProfile.Builder

This builder for chaining.

setNetworkArchitecture(NetworkArchitecture value)

public PostgreSqlConnectionProfile.Builder setNetworkArchitecture(NetworkArchitecture value)

Output only. If the source is a Cloud SQL database, this field indicates the network architecture it's associated with.

.google.cloud.clouddms.v1.NetworkArchitecture network_architecture = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueNetworkArchitecture

The networkArchitecture to set.

Returns
TypeDescription
PostgreSqlConnectionProfile.Builder

This builder for chaining.

setNetworkArchitectureValue(int value)

public PostgreSqlConnectionProfile.Builder setNetworkArchitectureValue(int value)

Output only. If the source is a Cloud SQL database, this field indicates the network architecture it's associated with.

.google.cloud.clouddms.v1.NetworkArchitecture network_architecture = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueint

The enum numeric value on the wire for networkArchitecture to set.

Returns
TypeDescription
PostgreSqlConnectionProfile.Builder

This builder for chaining.

setPassword(String value)

public PostgreSqlConnectionProfile.Builder setPassword(String value)

Required. Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service.

string password = 4 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The password to set.

Returns
TypeDescription
PostgreSqlConnectionProfile.Builder

This builder for chaining.

setPasswordBytes(ByteString value)

public PostgreSqlConnectionProfile.Builder setPasswordBytes(ByteString value)

Required. Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service.

string password = 4 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for password to set.

Returns
TypeDescription
PostgreSqlConnectionProfile.Builder

This builder for chaining.

setPasswordSet(boolean value)

public PostgreSqlConnectionProfile.Builder setPasswordSet(boolean value)

Output only. Indicates If this connection profile password is stored.

bool password_set = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueboolean

The passwordSet to set.

Returns
TypeDescription
PostgreSqlConnectionProfile.Builder

This builder for chaining.

setPort(int value)

public PostgreSqlConnectionProfile.Builder setPort(int value)

Required. The network port of the source PostgreSQL database.

int32 port = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueint

The port to set.

Returns
TypeDescription
PostgreSqlConnectionProfile.Builder

This builder for chaining.

setPrivateServiceConnectConnectivity(PrivateServiceConnectConnectivity value)

public PostgreSqlConnectionProfile.Builder setPrivateServiceConnectConnectivity(PrivateServiceConnectConnectivity value)

Private service connect connectivity.

.google.cloud.clouddms.v1.PrivateServiceConnectConnectivity private_service_connect_connectivity = 101;

Parameter
NameDescription
valuePrivateServiceConnectConnectivity
Returns
TypeDescription
PostgreSqlConnectionProfile.Builder

setPrivateServiceConnectConnectivity(PrivateServiceConnectConnectivity.Builder builderForValue)

public PostgreSqlConnectionProfile.Builder setPrivateServiceConnectConnectivity(PrivateServiceConnectConnectivity.Builder builderForValue)

Private service connect connectivity.

.google.cloud.clouddms.v1.PrivateServiceConnectConnectivity private_service_connect_connectivity = 101;

Parameter
NameDescription
builderForValuePrivateServiceConnectConnectivity.Builder
Returns
TypeDescription
PostgreSqlConnectionProfile.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PostgreSqlConnectionProfile.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PostgreSqlConnectionProfile.Builder
Overrides

setSsl(SslConfig value)

public PostgreSqlConnectionProfile.Builder setSsl(SslConfig value)

SSL configuration for the destination to connect to the source database.

.google.cloud.clouddms.v1.SslConfig ssl = 6;

Parameter
NameDescription
valueSslConfig
Returns
TypeDescription
PostgreSqlConnectionProfile.Builder

setSsl(SslConfig.Builder builderForValue)

public PostgreSqlConnectionProfile.Builder setSsl(SslConfig.Builder builderForValue)

SSL configuration for the destination to connect to the source database.

.google.cloud.clouddms.v1.SslConfig ssl = 6;

Parameter
NameDescription
builderForValueSslConfig.Builder
Returns
TypeDescription
PostgreSqlConnectionProfile.Builder

setStaticIpConnectivity(StaticIpConnectivity value)

public PostgreSqlConnectionProfile.Builder setStaticIpConnectivity(StaticIpConnectivity value)

Static ip connectivity data (default, no additional details needed).

.google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 100;

Parameter
NameDescription
valueStaticIpConnectivity
Returns
TypeDescription
PostgreSqlConnectionProfile.Builder

setStaticIpConnectivity(StaticIpConnectivity.Builder builderForValue)

public PostgreSqlConnectionProfile.Builder setStaticIpConnectivity(StaticIpConnectivity.Builder builderForValue)

Static ip connectivity data (default, no additional details needed).

.google.cloud.clouddms.v1.StaticIpConnectivity static_ip_connectivity = 100;

Parameter
NameDescription
builderForValueStaticIpConnectivity.Builder
Returns
TypeDescription
PostgreSqlConnectionProfile.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final PostgreSqlConnectionProfile.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PostgreSqlConnectionProfile.Builder
Overrides

setUsername(String value)

public PostgreSqlConnectionProfile.Builder setUsername(String value)

Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.

string username = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The username to set.

Returns
TypeDescription
PostgreSqlConnectionProfile.Builder

This builder for chaining.

setUsernameBytes(ByteString value)

public PostgreSqlConnectionProfile.Builder setUsernameBytes(ByteString value)

Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.

string username = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for username to set.

Returns
TypeDescription
PostgreSqlConnectionProfile.Builder

This builder for chaining.