Class AlloyDbConnectionProfile.Builder (2.82.0)

public static final class AlloyDbConnectionProfile.Builder extends GeneratedMessage.Builder<AlloyDbConnectionProfile.Builder> implements AlloyDbConnectionProfileOrBuilder

Specifies required connection parameters, and the parameters required to create an AlloyDB destination cluster.

Protobuf type google.cloud.clouddms.v1.AlloyDbConnectionProfile

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public AlloyDbConnectionProfile build()
Returns
Type Description
AlloyDbConnectionProfile

buildPartial()

public AlloyDbConnectionProfile buildPartial()
Returns
Type Description
AlloyDbConnectionProfile

clear()

public AlloyDbConnectionProfile.Builder clear()
Returns
Type Description
AlloyDbConnectionProfile.Builder
Overrides

clearClusterId()

public AlloyDbConnectionProfile.Builder clearClusterId()

Required. The AlloyDB cluster ID that this connection profile is associated with.

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

Returns
Type Description
AlloyDbConnectionProfile.Builder

This builder for chaining.

clearSettings()

public AlloyDbConnectionProfile.Builder clearSettings()

Immutable. Metadata used to create the destination AlloyDB cluster.

.google.cloud.clouddms.v1.AlloyDbSettings settings = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
AlloyDbConnectionProfile.Builder

getClusterId()

public String getClusterId()

Required. The AlloyDB cluster ID that this connection profile is associated with.

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

Returns
Type Description
String

The clusterId.

getClusterIdBytes()

public ByteString getClusterIdBytes()

Required. The AlloyDB cluster ID that this connection profile is associated with.

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

Returns
Type Description
ByteString

The bytes for clusterId.

getDefaultInstanceForType()

public AlloyDbConnectionProfile getDefaultInstanceForType()
Returns
Type Description
AlloyDbConnectionProfile

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getSettings()

public AlloyDbSettings getSettings()

Immutable. Metadata used to create the destination AlloyDB cluster.

.google.cloud.clouddms.v1.AlloyDbSettings settings = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
AlloyDbSettings

The settings.

getSettingsBuilder()

public AlloyDbSettings.Builder getSettingsBuilder()

Immutable. Metadata used to create the destination AlloyDB cluster.

.google.cloud.clouddms.v1.AlloyDbSettings settings = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
AlloyDbSettings.Builder

getSettingsOrBuilder()

public AlloyDbSettingsOrBuilder getSettingsOrBuilder()

Immutable. Metadata used to create the destination AlloyDB cluster.

.google.cloud.clouddms.v1.AlloyDbSettings settings = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
AlloyDbSettingsOrBuilder

hasSettings()

public boolean hasSettings()

Immutable. Metadata used to create the destination AlloyDB cluster.

.google.cloud.clouddms.v1.AlloyDbSettings settings = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
boolean

Whether the settings field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AlloyDbConnectionProfile other)

public AlloyDbConnectionProfile.Builder mergeFrom(AlloyDbConnectionProfile other)
Parameter
Name Description
other AlloyDbConnectionProfile
Returns
Type Description
AlloyDbConnectionProfile.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AlloyDbConnectionProfile.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AlloyDbConnectionProfile.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AlloyDbConnectionProfile.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AlloyDbConnectionProfile.Builder
Overrides

mergeSettings(AlloyDbSettings value)

public AlloyDbConnectionProfile.Builder mergeSettings(AlloyDbSettings value)

Immutable. Metadata used to create the destination AlloyDB cluster.

.google.cloud.clouddms.v1.AlloyDbSettings settings = 2 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value AlloyDbSettings
Returns
Type Description
AlloyDbConnectionProfile.Builder

setClusterId(String value)

public AlloyDbConnectionProfile.Builder setClusterId(String value)

Required. The AlloyDB cluster ID that this connection profile is associated with.

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

Parameter
Name Description
value String

The clusterId to set.

Returns
Type Description
AlloyDbConnectionProfile.Builder

This builder for chaining.

setClusterIdBytes(ByteString value)

public AlloyDbConnectionProfile.Builder setClusterIdBytes(ByteString value)

Required. The AlloyDB cluster ID that this connection profile is associated with.

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

Parameter
Name Description
value ByteString

The bytes for clusterId to set.

Returns
Type Description
AlloyDbConnectionProfile.Builder

This builder for chaining.

setSettings(AlloyDbSettings value)

public AlloyDbConnectionProfile.Builder setSettings(AlloyDbSettings value)

Immutable. Metadata used to create the destination AlloyDB cluster.

.google.cloud.clouddms.v1.AlloyDbSettings settings = 2 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value AlloyDbSettings
Returns
Type Description
AlloyDbConnectionProfile.Builder

setSettings(AlloyDbSettings.Builder builderForValue)

public AlloyDbConnectionProfile.Builder setSettings(AlloyDbSettings.Builder builderForValue)

Immutable. Metadata used to create the destination AlloyDB cluster.

.google.cloud.clouddms.v1.AlloyDbSettings settings = 2 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
builderForValue AlloyDbSettings.Builder
Returns
Type Description
AlloyDbConnectionProfile.Builder