public static final class CloudSqlConnectionProfile.Builder extends com.google.protobuf.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.CloudSqlConnectionProfilegetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CloudSqlConnectionProfile.Builder>public CloudSqlConnectionProfile.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CloudSqlConnectionProfile.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CloudSqlConnectionProfile.Builder>public CloudSqlConnectionProfile getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CloudSqlConnectionProfile build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CloudSqlConnectionProfile buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CloudSqlConnectionProfile.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CloudSqlConnectionProfile.Builder>public CloudSqlConnectionProfile.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CloudSqlConnectionProfile.Builder>public CloudSqlConnectionProfile.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CloudSqlConnectionProfile.Builder>public CloudSqlConnectionProfile.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CloudSqlConnectionProfile.Builder>public CloudSqlConnectionProfile.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CloudSqlConnectionProfile.Builder>public CloudSqlConnectionProfile.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CloudSqlConnectionProfile.Builder>public CloudSqlConnectionProfile.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CloudSqlConnectionProfile.Builder>public CloudSqlConnectionProfile.Builder mergeFrom(CloudSqlConnectionProfile other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CloudSqlConnectionProfile.Builder>public CloudSqlConnectionProfile.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CloudSqlConnectionProfile.Builder>IOExceptionpublic 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];getCloudSqlId in interface CloudSqlConnectionProfileOrBuilderpublic com.google.protobuf.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];getCloudSqlIdBytes in interface CloudSqlConnectionProfileOrBuilderpublic 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];value - The cloudSqlId to set.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];public CloudSqlConnectionProfile.Builder setCloudSqlIdBytes(com.google.protobuf.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];value - The bytes for cloudSqlId to set.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];
hasSettings in interface CloudSqlConnectionProfileOrBuilderpublic CloudSqlSettings getSettings()
Immutable. Metadata used to create the destination Cloud SQL database.
.google.cloud.clouddms.v1.CloudSqlSettings settings = 2 [(.google.api.field_behavior) = IMMUTABLE];
getSettings in interface CloudSqlConnectionProfileOrBuilderpublic 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];
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];
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];
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];
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];
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];
getSettingsOrBuilder in interface CloudSqlConnectionProfileOrBuilderpublic String getPrivateIp()
Output only. The Cloud SQL database instance's private IP.
string private_ip = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getPrivateIp in interface CloudSqlConnectionProfileOrBuilderpublic com.google.protobuf.ByteString getPrivateIpBytes()
Output only. The Cloud SQL database instance's private IP.
string private_ip = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getPrivateIpBytes in interface CloudSqlConnectionProfileOrBuilderpublic 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];value - The privateIp to set.public CloudSqlConnectionProfile.Builder clearPrivateIp()
Output only. The Cloud SQL database instance's private IP.
string private_ip = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];public CloudSqlConnectionProfile.Builder setPrivateIpBytes(com.google.protobuf.ByteString value)
Output only. The Cloud SQL database instance's private IP.
string private_ip = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for privateIp to set.public String getPublicIp()
Output only. The Cloud SQL database instance's public IP.
string public_ip = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];getPublicIp in interface CloudSqlConnectionProfileOrBuilderpublic com.google.protobuf.ByteString getPublicIpBytes()
Output only. The Cloud SQL database instance's public IP.
string public_ip = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];getPublicIpBytes in interface CloudSqlConnectionProfileOrBuilderpublic 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];value - The publicIp to set.public CloudSqlConnectionProfile.Builder clearPublicIp()
Output only. The Cloud SQL database instance's public IP.
string public_ip = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];public CloudSqlConnectionProfile.Builder setPublicIpBytes(com.google.protobuf.ByteString value)
Output only. The Cloud SQL database instance's public IP.
string public_ip = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for publicIp to set.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];getAdditionalPublicIp in interface CloudSqlConnectionProfileOrBuilderpublic com.google.protobuf.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];getAdditionalPublicIpBytes in interface CloudSqlConnectionProfileOrBuilderpublic 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];value - The additionalPublicIp to set.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];public CloudSqlConnectionProfile.Builder setAdditionalPublicIpBytes(com.google.protobuf.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];value - The bytes for additionalPublicIp to set.public final CloudSqlConnectionProfile.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CloudSqlConnectionProfile.Builder>public final CloudSqlConnectionProfile.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CloudSqlConnectionProfile.Builder>Copyright © 2024 Google LLC. All rights reserved.