Class CloudSqlConnectionProfile.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CloudSqlConnectionProfile.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CloudSqlConnectionProfile.Builder>
      • getDefaultInstanceForType

        public CloudSqlConnectionProfile getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public CloudSqlConnectionProfile build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public CloudSqlConnectionProfile buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setRepeatedField

        public CloudSqlConnectionProfile.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                  int index,
                                                                  Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CloudSqlConnectionProfile.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CloudSqlConnectionProfile.Builder>
      • mergeFrom

        public CloudSqlConnectionProfile.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                    throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CloudSqlConnectionProfile.Builder>
        Throws:
        IOException
      • 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];
        Specified by:
        getCloudSqlId in interface CloudSqlConnectionProfileOrBuilder
        Returns:
        The cloudSqlId.
      • getCloudSqlIdBytes

        public 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];
        Specified by:
        getCloudSqlIdBytes in interface CloudSqlConnectionProfileOrBuilder
        Returns:
        The bytes for cloudSqlId.
      • setCloudSqlId

        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];
        Parameters:
        value - The cloudSqlId to set.
        Returns:
        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:
        This builder for chaining.
      • setCloudSqlIdBytes

        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];
        Parameters:
        value - The bytes for cloudSqlId to set.
        Returns:
        This builder for chaining.
      • 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];
        Specified by:
        hasSettings in interface CloudSqlConnectionProfileOrBuilder
        Returns:
        Whether the settings field is set.
      • 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];
        Specified by:
        getSettings in interface CloudSqlConnectionProfileOrBuilder
        Returns:
        The settings.
      • setSettings

        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];
      • setSettings

        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];
      • mergeSettings

        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];
      • 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];
      • 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];
      • getPrivateIp

        public String getPrivateIp()
         Output only. The Cloud SQL database instance's private IP.
         
        string private_ip = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPrivateIp in interface CloudSqlConnectionProfileOrBuilder
        Returns:
        The privateIp.
      • getPrivateIpBytes

        public 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];
        Specified by:
        getPrivateIpBytes in interface CloudSqlConnectionProfileOrBuilder
        Returns:
        The bytes for privateIp.
      • setPrivateIp

        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];
        Parameters:
        value - The privateIp to set.
        Returns:
        This builder for chaining.
      • 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:
        This builder for chaining.
      • setPrivateIpBytes

        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];
        Parameters:
        value - The bytes for privateIp to set.
        Returns:
        This builder for chaining.
      • getPublicIp

        public String getPublicIp()
         Output only. The Cloud SQL database instance's public IP.
         
        string public_ip = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPublicIp in interface CloudSqlConnectionProfileOrBuilder
        Returns:
        The publicIp.
      • getPublicIpBytes

        public 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];
        Specified by:
        getPublicIpBytes in interface CloudSqlConnectionProfileOrBuilder
        Returns:
        The bytes for publicIp.
      • setPublicIp

        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];
        Parameters:
        value - The publicIp to set.
        Returns:
        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:
        This builder for chaining.
      • setPublicIpBytes

        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];
        Parameters:
        value - The bytes for publicIp to set.
        Returns:
        This builder for chaining.
      • 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];
        Specified by:
        getAdditionalPublicIp in interface CloudSqlConnectionProfileOrBuilder
        Returns:
        The additionalPublicIp.
      • getAdditionalPublicIpBytes

        public 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];
        Specified by:
        getAdditionalPublicIpBytes in interface CloudSqlConnectionProfileOrBuilder
        Returns:
        The bytes for additionalPublicIp.
      • setAdditionalPublicIp

        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];
        Parameters:
        value - The additionalPublicIp to set.
        Returns:
        This builder for chaining.
      • 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:
        This builder for chaining.
      • setAdditionalPublicIpBytes

        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];
        Parameters:
        value - The bytes for additionalPublicIp to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final CloudSqlConnectionProfile.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CloudSqlConnectionProfile.Builder>
      • mergeUnknownFields

        public final CloudSqlConnectionProfile.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CloudSqlConnectionProfile.Builder>