Class AlloyDbConnectionProfile.Builder (2.54.0)

public static final class AlloyDbConnectionProfile.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AlloyDbConnectionProfile.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AlloyDbConnectionProfile.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public AlloyDbConnectionProfile.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AlloyDbConnectionProfile.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AlloyDbConnectionProfile.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AlloyDbConnectionProfile.Builder
Overrides

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AlloyDbConnectionProfile.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AlloyDbConnectionProfile.Builder
Overrides

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.

setField(Descriptors.FieldDescriptor field, Object value)

public AlloyDbConnectionProfile.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AlloyDbConnectionProfile.Builder
Overrides

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

public AlloyDbConnectionProfile.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AlloyDbConnectionProfile.Builder
Overrides

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

setUnknownFields(UnknownFieldSet unknownFields)

public final AlloyDbConnectionProfile.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AlloyDbConnectionProfile.Builder
Overrides