Class ConnectionProfile.Builder

  • All Implemented Interfaces:
    ConnectionProfileOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    ConnectionProfile

    public static final class ConnectionProfile.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<ConnectionProfile.Builder>
    implements ConnectionProfileOrBuilder
     A connection profile definition.
     
    Protobuf type google.cloud.clouddms.v1.ConnectionProfile
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionProfile.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionProfile.Builder>
      • internalGetFieldAccessorTable

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

        public ConnectionProfile.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionProfile.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<ConnectionProfile.Builder>
      • getDefaultInstanceForType

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

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

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

        public ConnectionProfile.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionProfile.Builder>
      • setField

        public ConnectionProfile.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                  Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionProfile.Builder>
      • clearField

        public ConnectionProfile.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionProfile.Builder>
      • clearOneof

        public ConnectionProfile.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionProfile.Builder>
      • setRepeatedField

        public ConnectionProfile.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<ConnectionProfile.Builder>
      • addRepeatedField

        public ConnectionProfile.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                          Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionProfile.Builder>
      • mergeFrom

        public ConnectionProfile.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ConnectionProfile.Builder>
      • isInitialized

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

        public ConnectionProfile.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<ConnectionProfile.Builder>
        Throws:
        IOException
      • getName

        public String getName()
         The name of this connection profile resource in the form of
         projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}.
         
        string name = 1;
        Specified by:
        getName in interface ConnectionProfileOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         The name of this connection profile resource in the form of
         projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}.
         
        string name = 1;
        Specified by:
        getNameBytes in interface ConnectionProfileOrBuilder
        Returns:
        The bytes for name.
      • setName

        public ConnectionProfile.Builder setName​(String value)
         The name of this connection profile resource in the form of
         projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}.
         
        string name = 1;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public ConnectionProfile.Builder clearName()
         The name of this connection profile resource in the form of
         projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}.
         
        string name = 1;
        Returns:
        This builder for chaining.
      • setNameBytes

        public ConnectionProfile.Builder setNameBytes​(com.google.protobuf.ByteString value)
         The name of this connection profile resource in the form of
         projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}.
         
        string name = 1;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • hasCreateTime

        public boolean hasCreateTime()
         Output only. The timestamp when the resource was created.
         A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
         Example: "2014-10-02T15:01:23.045123456Z".
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasCreateTime in interface ConnectionProfileOrBuilder
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        public com.google.protobuf.Timestamp getCreateTime()
         Output only. The timestamp when the resource was created.
         A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
         Example: "2014-10-02T15:01:23.045123456Z".
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTime in interface ConnectionProfileOrBuilder
        Returns:
        The createTime.
      • setCreateTime

        public ConnectionProfile.Builder setCreateTime​(com.google.protobuf.Timestamp value)
         Output only. The timestamp when the resource was created.
         A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
         Example: "2014-10-02T15:01:23.045123456Z".
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setCreateTime

        public ConnectionProfile.Builder setCreateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. The timestamp when the resource was created.
         A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
         Example: "2014-10-02T15:01:23.045123456Z".
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeCreateTime

        public ConnectionProfile.Builder mergeCreateTime​(com.google.protobuf.Timestamp value)
         Output only. The timestamp when the resource was created.
         A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
         Example: "2014-10-02T15:01:23.045123456Z".
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearCreateTime

        public ConnectionProfile.Builder clearCreateTime()
         Output only. The timestamp when the resource was created.
         A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
         Example: "2014-10-02T15:01:23.045123456Z".
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getCreateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
         Output only. The timestamp when the resource was created.
         A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
         Example: "2014-10-02T15:01:23.045123456Z".
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getCreateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         Output only. The timestamp when the resource was created.
         A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
         Example: "2014-10-02T15:01:23.045123456Z".
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTimeOrBuilder in interface ConnectionProfileOrBuilder
      • hasUpdateTime

        public boolean hasUpdateTime()
         Output only. The timestamp when the resource was last updated.
         A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
         Example: "2014-10-02T15:01:23.045123456Z".
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasUpdateTime in interface ConnectionProfileOrBuilder
        Returns:
        Whether the updateTime field is set.
      • getUpdateTime

        public com.google.protobuf.Timestamp getUpdateTime()
         Output only. The timestamp when the resource was last updated.
         A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
         Example: "2014-10-02T15:01:23.045123456Z".
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTime in interface ConnectionProfileOrBuilder
        Returns:
        The updateTime.
      • setUpdateTime

        public ConnectionProfile.Builder setUpdateTime​(com.google.protobuf.Timestamp value)
         Output only. The timestamp when the resource was last updated.
         A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
         Example: "2014-10-02T15:01:23.045123456Z".
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setUpdateTime

        public ConnectionProfile.Builder setUpdateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. The timestamp when the resource was last updated.
         A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
         Example: "2014-10-02T15:01:23.045123456Z".
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeUpdateTime

        public ConnectionProfile.Builder mergeUpdateTime​(com.google.protobuf.Timestamp value)
         Output only. The timestamp when the resource was last updated.
         A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
         Example: "2014-10-02T15:01:23.045123456Z".
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearUpdateTime

        public ConnectionProfile.Builder clearUpdateTime()
         Output only. The timestamp when the resource was last updated.
         A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
         Example: "2014-10-02T15:01:23.045123456Z".
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getUpdateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
         Output only. The timestamp when the resource was last updated.
         A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
         Example: "2014-10-02T15:01:23.045123456Z".
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getUpdateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
         Output only. The timestamp when the resource was last updated.
         A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
         Example: "2014-10-02T15:01:23.045123456Z".
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTimeOrBuilder in interface ConnectionProfileOrBuilder
      • getLabelsCount

        public int getLabelsCount()
        Description copied from interface: ConnectionProfileOrBuilder
         The resource labels for connection profile to use to annotate any related
         underlying resources such as Compute Engine VMs. An object containing a
         list of "key": "value" pairs.
        
         Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.
         
        map<string, string> labels = 4;
        Specified by:
        getLabelsCount in interface ConnectionProfileOrBuilder
      • containsLabels

        public boolean containsLabels​(String key)
         The resource labels for connection profile to use to annotate any related
         underlying resources such as Compute Engine VMs. An object containing a
         list of "key": "value" pairs.
        
         Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.
         
        map<string, string> labels = 4;
        Specified by:
        containsLabels in interface ConnectionProfileOrBuilder
      • getLabelsMap

        public Map<String,​String> getLabelsMap()
         The resource labels for connection profile to use to annotate any related
         underlying resources such as Compute Engine VMs. An object containing a
         list of "key": "value" pairs.
        
         Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.
         
        map<string, string> labels = 4;
        Specified by:
        getLabelsMap in interface ConnectionProfileOrBuilder
      • getLabelsOrDefault

        public String getLabelsOrDefault​(String key,
                                         String defaultValue)
         The resource labels for connection profile to use to annotate any related
         underlying resources such as Compute Engine VMs. An object containing a
         list of "key": "value" pairs.
        
         Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.
         
        map<string, string> labels = 4;
        Specified by:
        getLabelsOrDefault in interface ConnectionProfileOrBuilder
      • getLabelsOrThrow

        public String getLabelsOrThrow​(String key)
         The resource labels for connection profile to use to annotate any related
         underlying resources such as Compute Engine VMs. An object containing a
         list of "key": "value" pairs.
        
         Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.
         
        map<string, string> labels = 4;
        Specified by:
        getLabelsOrThrow in interface ConnectionProfileOrBuilder
      • removeLabels

        public ConnectionProfile.Builder removeLabels​(String key)
         The resource labels for connection profile to use to annotate any related
         underlying resources such as Compute Engine VMs. An object containing a
         list of "key": "value" pairs.
        
         Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.
         
        map<string, string> labels = 4;
      • getMutableLabels

        @Deprecated
        public Map<String,​String> getMutableLabels()
        Deprecated.
        Use alternate mutation accessors instead.
      • putLabels

        public ConnectionProfile.Builder putLabels​(String key,
                                                   String value)
         The resource labels for connection profile to use to annotate any related
         underlying resources such as Compute Engine VMs. An object containing a
         list of "key": "value" pairs.
        
         Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.
         
        map<string, string> labels = 4;
      • putAllLabels

        public ConnectionProfile.Builder putAllLabels​(Map<String,​String> values)
         The resource labels for connection profile to use to annotate any related
         underlying resources such as Compute Engine VMs. An object containing a
         list of "key": "value" pairs.
        
         Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.
         
        map<string, string> labels = 4;
      • getStateValue

        public int getStateValue()
         The current connection profile state (e.g. DRAFT, READY, or FAILED).
         
        .google.cloud.clouddms.v1.ConnectionProfile.State state = 5;
        Specified by:
        getStateValue in interface ConnectionProfileOrBuilder
        Returns:
        The enum numeric value on the wire for state.
      • setStateValue

        public ConnectionProfile.Builder setStateValue​(int value)
         The current connection profile state (e.g. DRAFT, READY, or FAILED).
         
        .google.cloud.clouddms.v1.ConnectionProfile.State state = 5;
        Parameters:
        value - The enum numeric value on the wire for state to set.
        Returns:
        This builder for chaining.
      • setState

        public ConnectionProfile.Builder setState​(ConnectionProfile.State value)
         The current connection profile state (e.g. DRAFT, READY, or FAILED).
         
        .google.cloud.clouddms.v1.ConnectionProfile.State state = 5;
        Parameters:
        value - The state to set.
        Returns:
        This builder for chaining.
      • clearState

        public ConnectionProfile.Builder clearState()
         The current connection profile state (e.g. DRAFT, READY, or FAILED).
         
        .google.cloud.clouddms.v1.ConnectionProfile.State state = 5;
        Returns:
        This builder for chaining.
      • getDisplayNameBytes

        public com.google.protobuf.ByteString getDisplayNameBytes()
         The connection profile display name.
         
        string display_name = 6;
        Specified by:
        getDisplayNameBytes in interface ConnectionProfileOrBuilder
        Returns:
        The bytes for displayName.
      • setDisplayName

        public ConnectionProfile.Builder setDisplayName​(String value)
         The connection profile display name.
         
        string display_name = 6;
        Parameters:
        value - The displayName to set.
        Returns:
        This builder for chaining.
      • clearDisplayName

        public ConnectionProfile.Builder clearDisplayName()
         The connection profile display name.
         
        string display_name = 6;
        Returns:
        This builder for chaining.
      • setDisplayNameBytes

        public ConnectionProfile.Builder setDisplayNameBytes​(com.google.protobuf.ByteString value)
         The connection profile display name.
         
        string display_name = 6;
        Parameters:
        value - The bytes for displayName to set.
        Returns:
        This builder for chaining.
      • hasMysql

        public boolean hasMysql()
         A MySQL database connection profile.
         
        .google.cloud.clouddms.v1.MySqlConnectionProfile mysql = 100;
        Specified by:
        hasMysql in interface ConnectionProfileOrBuilder
        Returns:
        Whether the mysql field is set.
      • clearMysql

        public ConnectionProfile.Builder clearMysql()
         A MySQL database connection profile.
         
        .google.cloud.clouddms.v1.MySqlConnectionProfile mysql = 100;
      • getMysqlBuilder

        public MySqlConnectionProfile.Builder getMysqlBuilder()
         A MySQL database connection profile.
         
        .google.cloud.clouddms.v1.MySqlConnectionProfile mysql = 100;
      • hasPostgresql

        public boolean hasPostgresql()
         A PostgreSQL database connection profile.
         
        .google.cloud.clouddms.v1.PostgreSqlConnectionProfile postgresql = 101;
        Specified by:
        hasPostgresql in interface ConnectionProfileOrBuilder
        Returns:
        Whether the postgresql field is set.
      • clearPostgresql

        public ConnectionProfile.Builder clearPostgresql()
         A PostgreSQL database connection profile.
         
        .google.cloud.clouddms.v1.PostgreSqlConnectionProfile postgresql = 101;
      • getPostgresqlBuilder

        public PostgreSqlConnectionProfile.Builder getPostgresqlBuilder()
         A PostgreSQL database connection profile.
         
        .google.cloud.clouddms.v1.PostgreSqlConnectionProfile postgresql = 101;
      • hasOracle

        public boolean hasOracle()
         An Oracle database connection profile.
         
        .google.cloud.clouddms.v1.OracleConnectionProfile oracle = 104;
        Specified by:
        hasOracle in interface ConnectionProfileOrBuilder
        Returns:
        Whether the oracle field is set.
      • clearOracle

        public ConnectionProfile.Builder clearOracle()
         An Oracle database connection profile.
         
        .google.cloud.clouddms.v1.OracleConnectionProfile oracle = 104;
      • getOracleBuilder

        public OracleConnectionProfile.Builder getOracleBuilder()
         An Oracle database connection profile.
         
        .google.cloud.clouddms.v1.OracleConnectionProfile oracle = 104;
      • hasCloudsql

        public boolean hasCloudsql()
         A CloudSQL database connection profile.
         
        .google.cloud.clouddms.v1.CloudSqlConnectionProfile cloudsql = 102;
        Specified by:
        hasCloudsql in interface ConnectionProfileOrBuilder
        Returns:
        Whether the cloudsql field is set.
      • clearCloudsql

        public ConnectionProfile.Builder clearCloudsql()
         A CloudSQL database connection profile.
         
        .google.cloud.clouddms.v1.CloudSqlConnectionProfile cloudsql = 102;
      • getCloudsqlBuilder

        public CloudSqlConnectionProfile.Builder getCloudsqlBuilder()
         A CloudSQL database connection profile.
         
        .google.cloud.clouddms.v1.CloudSqlConnectionProfile cloudsql = 102;
      • hasAlloydb

        public boolean hasAlloydb()
         An AlloyDB cluster connection profile.
         
        .google.cloud.clouddms.v1.AlloyDbConnectionProfile alloydb = 105;
        Specified by:
        hasAlloydb in interface ConnectionProfileOrBuilder
        Returns:
        Whether the alloydb field is set.
      • clearAlloydb

        public ConnectionProfile.Builder clearAlloydb()
         An AlloyDB cluster connection profile.
         
        .google.cloud.clouddms.v1.AlloyDbConnectionProfile alloydb = 105;
      • getAlloydbBuilder

        public AlloyDbConnectionProfile.Builder getAlloydbBuilder()
         An AlloyDB cluster connection profile.
         
        .google.cloud.clouddms.v1.AlloyDbConnectionProfile alloydb = 105;
      • hasError

        public boolean hasError()
         Output only. The error details in case of state FAILED.
         
        .google.rpc.Status error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasError in interface ConnectionProfileOrBuilder
        Returns:
        Whether the error field is set.
      • getError

        public com.google.rpc.Status getError()
         Output only. The error details in case of state FAILED.
         
        .google.rpc.Status error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getError in interface ConnectionProfileOrBuilder
        Returns:
        The error.
      • setError

        public ConnectionProfile.Builder setError​(com.google.rpc.Status value)
         Output only. The error details in case of state FAILED.
         
        .google.rpc.Status error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setError

        public ConnectionProfile.Builder setError​(com.google.rpc.Status.Builder builderForValue)
         Output only. The error details in case of state FAILED.
         
        .google.rpc.Status error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeError

        public ConnectionProfile.Builder mergeError​(com.google.rpc.Status value)
         Output only. The error details in case of state FAILED.
         
        .google.rpc.Status error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearError

        public ConnectionProfile.Builder clearError()
         Output only. The error details in case of state FAILED.
         
        .google.rpc.Status error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getErrorBuilder

        public com.google.rpc.Status.Builder getErrorBuilder()
         Output only. The error details in case of state FAILED.
         
        .google.rpc.Status error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getErrorOrBuilder

        public com.google.rpc.StatusOrBuilder getErrorOrBuilder()
         Output only. The error details in case of state FAILED.
         
        .google.rpc.Status error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getErrorOrBuilder in interface ConnectionProfileOrBuilder
      • getProviderValue

        public int getProviderValue()
         The database provider.
         
        .google.cloud.clouddms.v1.DatabaseProvider provider = 8;
        Specified by:
        getProviderValue in interface ConnectionProfileOrBuilder
        Returns:
        The enum numeric value on the wire for provider.
      • setProviderValue

        public ConnectionProfile.Builder setProviderValue​(int value)
         The database provider.
         
        .google.cloud.clouddms.v1.DatabaseProvider provider = 8;
        Parameters:
        value - The enum numeric value on the wire for provider to set.
        Returns:
        This builder for chaining.
      • setProvider

        public ConnectionProfile.Builder setProvider​(DatabaseProvider value)
         The database provider.
         
        .google.cloud.clouddms.v1.DatabaseProvider provider = 8;
        Parameters:
        value - The provider to set.
        Returns:
        This builder for chaining.
      • clearProvider

        public ConnectionProfile.Builder clearProvider()
         The database provider.
         
        .google.cloud.clouddms.v1.DatabaseProvider provider = 8;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final ConnectionProfile.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<ConnectionProfile.Builder>
      • mergeUnknownFields

        public final ConnectionProfile.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<ConnectionProfile.Builder>