- 2.53.0 (latest)
- 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 CloudSqlConnectionProfile.Builder extends GeneratedMessageV3.Builder<CloudSqlConnectionProfile.Builder> implements CloudSqlConnectionProfileOrBuilder
Specifies required connection parameters, and, optionally, the parameters required to create a Cloud SQL destination database instance.
Protobuf type google.cloud.clouddms.v1.CloudSqlConnectionProfile
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CloudSqlConnectionProfile.BuilderImplements
CloudSqlConnectionProfileOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CloudSqlConnectionProfile.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CloudSqlConnectionProfile.Builder |
build()
public CloudSqlConnectionProfile build()
Returns | |
---|---|
Type | Description |
CloudSqlConnectionProfile |
buildPartial()
public CloudSqlConnectionProfile buildPartial()
Returns | |
---|---|
Type | Description |
CloudSqlConnectionProfile |
clear()
public CloudSqlConnectionProfile.Builder clear()
Returns | |
---|---|
Type | Description |
CloudSqlConnectionProfile.Builder |
clearAdditionalPublicIp()
public CloudSqlConnectionProfile.Builder clearAdditionalPublicIp()
Output only. The Cloud SQL database instance's additional (outgoing) public IP. Used when the Cloud SQL database availability type is REGIONAL (i.e. multiple zones / highly available).
string additional_public_ip = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
CloudSqlConnectionProfile.Builder |
This builder for chaining. |
clearCloudSqlId()
public CloudSqlConnectionProfile.Builder clearCloudSqlId()
Output only. The Cloud SQL instance ID that this connection profile is associated with.
string cloud_sql_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
CloudSqlConnectionProfile.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public CloudSqlConnectionProfile.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
CloudSqlConnectionProfile.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CloudSqlConnectionProfile.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
CloudSqlConnectionProfile.Builder |
clearPrivateIp()
public CloudSqlConnectionProfile.Builder clearPrivateIp()
Output only. The Cloud SQL database instance's private IP.
string private_ip = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
CloudSqlConnectionProfile.Builder |
This builder for chaining. |
clearPublicIp()
public CloudSqlConnectionProfile.Builder clearPublicIp()
Output only. The Cloud SQL database instance's public IP.
string public_ip = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
CloudSqlConnectionProfile.Builder |
This builder for chaining. |
clearSettings()
public CloudSqlConnectionProfile.Builder clearSettings()
Immutable. Metadata used to create the destination Cloud SQL database.
.google.cloud.clouddms.v1.CloudSqlSettings settings = 2 [(.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
CloudSqlConnectionProfile.Builder |
clone()
public CloudSqlConnectionProfile.Builder clone()
Returns | |
---|---|
Type | Description |
CloudSqlConnectionProfile.Builder |
getAdditionalPublicIp()
public String getAdditionalPublicIp()
Output only. The Cloud SQL database instance's additional (outgoing) public IP. Used when the Cloud SQL database availability type is REGIONAL (i.e. multiple zones / highly available).
string additional_public_ip = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The additionalPublicIp. |
getAdditionalPublicIpBytes()
public ByteString getAdditionalPublicIpBytes()
Output only. The Cloud SQL database instance's additional (outgoing) public IP. Used when the Cloud SQL database availability type is REGIONAL (i.e. multiple zones / highly available).
string additional_public_ip = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for additionalPublicIp. |
getCloudSqlId()
public String getCloudSqlId()
Output only. The Cloud SQL instance ID that this connection profile is associated with.
string cloud_sql_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The cloudSqlId. |
getCloudSqlIdBytes()
public ByteString getCloudSqlIdBytes()
Output only. The Cloud SQL instance ID that this connection profile is associated with.
string cloud_sql_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for cloudSqlId. |
getDefaultInstanceForType()
public CloudSqlConnectionProfile getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CloudSqlConnectionProfile |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getPrivateIp()
public String getPrivateIp()
Output only. The Cloud SQL database instance's private IP.
string private_ip = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The privateIp. |
getPrivateIpBytes()
public ByteString getPrivateIpBytes()
Output only. The Cloud SQL database instance's private IP.
string private_ip = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for privateIp. |
getPublicIp()
public String getPublicIp()
Output only. The Cloud SQL database instance's public IP.
string public_ip = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The publicIp. |
getPublicIpBytes()
public ByteString getPublicIpBytes()
Output only. The Cloud SQL database instance's public IP.
string public_ip = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for publicIp. |
getSettings()
public CloudSqlSettings getSettings()
Immutable. Metadata used to create the destination Cloud SQL database.
.google.cloud.clouddms.v1.CloudSqlSettings settings = 2 [(.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
CloudSqlSettings |
The settings. |
getSettingsBuilder()
public CloudSqlSettings.Builder getSettingsBuilder()
Immutable. Metadata used to create the destination Cloud SQL database.
.google.cloud.clouddms.v1.CloudSqlSettings settings = 2 [(.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
CloudSqlSettings.Builder |
getSettingsOrBuilder()
public CloudSqlSettingsOrBuilder getSettingsOrBuilder()
Immutable. Metadata used to create the destination Cloud SQL database.
.google.cloud.clouddms.v1.CloudSqlSettings settings = 2 [(.google.api.field_behavior) = IMMUTABLE];
Returns | |
---|---|
Type | Description |
CloudSqlSettingsOrBuilder |
hasSettings()
public boolean hasSettings()
Immutable. Metadata used to create the destination Cloud SQL database.
.google.cloud.clouddms.v1.CloudSqlSettings 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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CloudSqlConnectionProfile other)
public CloudSqlConnectionProfile.Builder mergeFrom(CloudSqlConnectionProfile other)
Parameter | |
---|---|
Name | Description |
other |
CloudSqlConnectionProfile |
Returns | |
---|---|
Type | Description |
CloudSqlConnectionProfile.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CloudSqlConnectionProfile.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CloudSqlConnectionProfile.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CloudSqlConnectionProfile.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
CloudSqlConnectionProfile.Builder |
mergeSettings(CloudSqlSettings value)
public CloudSqlConnectionProfile.Builder mergeSettings(CloudSqlSettings value)
Immutable. Metadata used to create the destination Cloud SQL database.
.google.cloud.clouddms.v1.CloudSqlSettings settings = 2 [(.google.api.field_behavior) = IMMUTABLE];
Parameter | |
---|---|
Name | Description |
value |
CloudSqlSettings |
Returns | |
---|---|
Type | Description |
CloudSqlConnectionProfile.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CloudSqlConnectionProfile.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CloudSqlConnectionProfile.Builder |
setAdditionalPublicIp(String value)
public CloudSqlConnectionProfile.Builder setAdditionalPublicIp(String value)
Output only. The Cloud SQL database instance's additional (outgoing) public IP. Used when the Cloud SQL database availability type is REGIONAL (i.e. multiple zones / highly available).
string additional_public_ip = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The additionalPublicIp to set. |
Returns | |
---|---|
Type | Description |
CloudSqlConnectionProfile.Builder |
This builder for chaining. |
setAdditionalPublicIpBytes(ByteString value)
public CloudSqlConnectionProfile.Builder setAdditionalPublicIpBytes(ByteString value)
Output only. The Cloud SQL database instance's additional (outgoing) public IP. Used when the Cloud SQL database availability type is REGIONAL (i.e. multiple zones / highly available).
string additional_public_ip = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for additionalPublicIp to set. |
Returns | |
---|---|
Type | Description |
CloudSqlConnectionProfile.Builder |
This builder for chaining. |
setCloudSqlId(String value)
public CloudSqlConnectionProfile.Builder setCloudSqlId(String value)
Output only. The Cloud SQL instance ID that this connection profile is associated with.
string cloud_sql_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The cloudSqlId to set. |
Returns | |
---|---|
Type | Description |
CloudSqlConnectionProfile.Builder |
This builder for chaining. |
setCloudSqlIdBytes(ByteString value)
public CloudSqlConnectionProfile.Builder setCloudSqlIdBytes(ByteString value)
Output only. The Cloud SQL instance ID that this connection profile is associated with.
string cloud_sql_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for cloudSqlId to set. |
Returns | |
---|---|
Type | Description |
CloudSqlConnectionProfile.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public CloudSqlConnectionProfile.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CloudSqlConnectionProfile.Builder |
setPrivateIp(String value)
public CloudSqlConnectionProfile.Builder setPrivateIp(String value)
Output only. The Cloud SQL database instance's private IP.
string private_ip = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The privateIp to set. |
Returns | |
---|---|
Type | Description |
CloudSqlConnectionProfile.Builder |
This builder for chaining. |
setPrivateIpBytes(ByteString value)
public CloudSqlConnectionProfile.Builder setPrivateIpBytes(ByteString value)
Output only. The Cloud SQL database instance's private IP.
string private_ip = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for privateIp to set. |
Returns | |
---|---|
Type | Description |
CloudSqlConnectionProfile.Builder |
This builder for chaining. |
setPublicIp(String value)
public CloudSqlConnectionProfile.Builder setPublicIp(String value)
Output only. The Cloud SQL database instance's public IP.
string public_ip = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The publicIp to set. |
Returns | |
---|---|
Type | Description |
CloudSqlConnectionProfile.Builder |
This builder for chaining. |
setPublicIpBytes(ByteString value)
public CloudSqlConnectionProfile.Builder setPublicIpBytes(ByteString value)
Output only. The Cloud SQL database instance's public IP.
string public_ip = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for publicIp to set. |
Returns | |
---|---|
Type | Description |
CloudSqlConnectionProfile.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CloudSqlConnectionProfile.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
CloudSqlConnectionProfile.Builder |
setSettings(CloudSqlSettings value)
public CloudSqlConnectionProfile.Builder setSettings(CloudSqlSettings value)
Immutable. Metadata used to create the destination Cloud SQL database.
.google.cloud.clouddms.v1.CloudSqlSettings settings = 2 [(.google.api.field_behavior) = IMMUTABLE];
Parameter | |
---|---|
Name | Description |
value |
CloudSqlSettings |
Returns | |
---|---|
Type | Description |
CloudSqlConnectionProfile.Builder |
setSettings(CloudSqlSettings.Builder builderForValue)
public CloudSqlConnectionProfile.Builder setSettings(CloudSqlSettings.Builder builderForValue)
Immutable. Metadata used to create the destination Cloud SQL database.
.google.cloud.clouddms.v1.CloudSqlSettings settings = 2 [(.google.api.field_behavior) = IMMUTABLE];
Parameter | |
---|---|
Name | Description |
builderForValue |
CloudSqlSettings.Builder |
Returns | |
---|---|
Type | Description |
CloudSqlConnectionProfile.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CloudSqlConnectionProfile.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CloudSqlConnectionProfile.Builder |