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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AlloyDbConnectionProfile.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AlloyDbConnectionProfile build()
buildPartial()
public AlloyDbConnectionProfile buildPartial()
clear()
public AlloyDbConnectionProfile.Builder clear()
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];
clearField(Descriptors.FieldDescriptor field)
public AlloyDbConnectionProfile.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AlloyDbConnectionProfile.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
clone()
public AlloyDbConnectionProfile.Builder clone()
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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];
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(AlloyDbConnectionProfile other)
public AlloyDbConnectionProfile.Builder mergeFrom(AlloyDbConnectionProfile other)
public AlloyDbConnectionProfile.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AlloyDbConnectionProfile.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AlloyDbConnectionProfile.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public AlloyDbConnectionProfile.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AlloyDbConnectionProfile.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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];
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];
setUnknownFields(UnknownFieldSet unknownFields)
public final AlloyDbConnectionProfile.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides