Class OracleConnectionProfile.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<OracleConnectionProfile.Builder>
      • clear

        public OracleConnectionProfile.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<OracleConnectionProfile.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<OracleConnectionProfile.Builder>
      • getDefaultInstanceForType

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

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

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

        public OracleConnectionProfile.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<OracleConnectionProfile.Builder>
      • clearField

        public OracleConnectionProfile.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<OracleConnectionProfile.Builder>
      • clearOneof

        public OracleConnectionProfile.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<OracleConnectionProfile.Builder>
      • setRepeatedField

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

        public OracleConnectionProfile.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<OracleConnectionProfile.Builder>
      • isInitialized

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

        public OracleConnectionProfile.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<OracleConnectionProfile.Builder>
        Throws:
        IOException
      • getHost

        public String getHost()
         Required. The IP or hostname of the source Oracle database.
         
        string host = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getHost in interface OracleConnectionProfileOrBuilder
        Returns:
        The host.
      • getHostBytes

        public com.google.protobuf.ByteString getHostBytes()
         Required. The IP or hostname of the source Oracle database.
         
        string host = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getHostBytes in interface OracleConnectionProfileOrBuilder
        Returns:
        The bytes for host.
      • setHost

        public OracleConnectionProfile.Builder setHost​(String value)
         Required. The IP or hostname of the source Oracle database.
         
        string host = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The host to set.
        Returns:
        This builder for chaining.
      • clearHost

        public OracleConnectionProfile.Builder clearHost()
         Required. The IP or hostname of the source Oracle database.
         
        string host = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setHostBytes

        public OracleConnectionProfile.Builder setHostBytes​(com.google.protobuf.ByteString value)
         Required. The IP or hostname of the source Oracle database.
         
        string host = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for host to set.
        Returns:
        This builder for chaining.
      • getPort

        public int getPort()
         Required. The network port of the source Oracle database.
         
        int32 port = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getPort in interface OracleConnectionProfileOrBuilder
        Returns:
        The port.
      • setPort

        public OracleConnectionProfile.Builder setPort​(int value)
         Required. The network port of the source Oracle database.
         
        int32 port = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The port to set.
        Returns:
        This builder for chaining.
      • clearPort

        public OracleConnectionProfile.Builder clearPort()
         Required. The network port of the source Oracle database.
         
        int32 port = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • getUsername

        public String getUsername()
         Required. The username that Database Migration Service will use to connect
         to the database. The value is encrypted when stored in Database Migration
         Service.
         
        string username = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getUsername in interface OracleConnectionProfileOrBuilder
        Returns:
        The username.
      • getUsernameBytes

        public com.google.protobuf.ByteString getUsernameBytes()
         Required. The username that Database Migration Service will use to connect
         to the database. The value is encrypted when stored in Database Migration
         Service.
         
        string username = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getUsernameBytes in interface OracleConnectionProfileOrBuilder
        Returns:
        The bytes for username.
      • setUsername

        public OracleConnectionProfile.Builder setUsername​(String value)
         Required. The username that Database Migration Service will use to connect
         to the database. The value is encrypted when stored in Database Migration
         Service.
         
        string username = 3 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The username to set.
        Returns:
        This builder for chaining.
      • clearUsername

        public OracleConnectionProfile.Builder clearUsername()
         Required. The username that Database Migration Service will use to connect
         to the database. The value is encrypted when stored in Database Migration
         Service.
         
        string username = 3 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setUsernameBytes

        public OracleConnectionProfile.Builder setUsernameBytes​(com.google.protobuf.ByteString value)
         Required. The username that Database Migration Service will use to connect
         to the database. The value is encrypted when stored in Database Migration
         Service.
         
        string username = 3 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for username to set.
        Returns:
        This builder for chaining.
      • getPassword

        public String getPassword()
         Required. Input only. The password for the user that Database Migration
         Service will be using to connect to the database. This field is not
         returned on request, and the value is encrypted when stored in Database
         Migration Service.
         
        string password = 4 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];
        Specified by:
        getPassword in interface OracleConnectionProfileOrBuilder
        Returns:
        The password.
      • getPasswordBytes

        public com.google.protobuf.ByteString getPasswordBytes()
         Required. Input only. The password for the user that Database Migration
         Service will be using to connect to the database. This field is not
         returned on request, and the value is encrypted when stored in Database
         Migration Service.
         
        string password = 4 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];
        Specified by:
        getPasswordBytes in interface OracleConnectionProfileOrBuilder
        Returns:
        The bytes for password.
      • setPassword

        public OracleConnectionProfile.Builder setPassword​(String value)
         Required. Input only. The password for the user that Database Migration
         Service will be using to connect to the database. This field is not
         returned on request, and the value is encrypted when stored in Database
         Migration Service.
         
        string password = 4 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The password to set.
        Returns:
        This builder for chaining.
      • clearPassword

        public OracleConnectionProfile.Builder clearPassword()
         Required. Input only. The password for the user that Database Migration
         Service will be using to connect to the database. This field is not
         returned on request, and the value is encrypted when stored in Database
         Migration Service.
         
        string password = 4 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setPasswordBytes

        public OracleConnectionProfile.Builder setPasswordBytes​(com.google.protobuf.ByteString value)
         Required. Input only. The password for the user that Database Migration
         Service will be using to connect to the database. This field is not
         returned on request, and the value is encrypted when stored in Database
         Migration Service.
         
        string password = 4 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for password to set.
        Returns:
        This builder for chaining.
      • getPasswordSet

        public boolean getPasswordSet()
         Output only. Indicates whether a new password is included in the request.
         
        bool password_set = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPasswordSet in interface OracleConnectionProfileOrBuilder
        Returns:
        The passwordSet.
      • setPasswordSet

        public OracleConnectionProfile.Builder setPasswordSet​(boolean value)
         Output only. Indicates whether a new password is included in the request.
         
        bool password_set = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The passwordSet to set.
        Returns:
        This builder for chaining.
      • clearPasswordSet

        public OracleConnectionProfile.Builder clearPasswordSet()
         Output only. Indicates whether a new password is included in the request.
         
        bool password_set = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getDatabaseService

        public String getDatabaseService()
         Required. Database service for the Oracle connection.
         
        string database_service = 6 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getDatabaseService in interface OracleConnectionProfileOrBuilder
        Returns:
        The databaseService.
      • getDatabaseServiceBytes

        public com.google.protobuf.ByteString getDatabaseServiceBytes()
         Required. Database service for the Oracle connection.
         
        string database_service = 6 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getDatabaseServiceBytes in interface OracleConnectionProfileOrBuilder
        Returns:
        The bytes for databaseService.
      • setDatabaseService

        public OracleConnectionProfile.Builder setDatabaseService​(String value)
         Required. Database service for the Oracle connection.
         
        string database_service = 6 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The databaseService to set.
        Returns:
        This builder for chaining.
      • clearDatabaseService

        public OracleConnectionProfile.Builder clearDatabaseService()
         Required. Database service for the Oracle connection.
         
        string database_service = 6 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setDatabaseServiceBytes

        public OracleConnectionProfile.Builder setDatabaseServiceBytes​(com.google.protobuf.ByteString value)
         Required. Database service for the Oracle connection.
         
        string database_service = 6 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for databaseService to set.
        Returns:
        This builder for chaining.
      • hasSsl

        public boolean hasSsl()
         SSL configuration for the connection to the source Oracle database.
        
          * Only `SERVER_ONLY` configuration is supported for Oracle SSL.
          * SSL is supported for Oracle versions 12 and above.
         
        .google.cloud.clouddms.v1.SslConfig ssl = 7;
        Specified by:
        hasSsl in interface OracleConnectionProfileOrBuilder
        Returns:
        Whether the ssl field is set.
      • getSsl

        public SslConfig getSsl()
         SSL configuration for the connection to the source Oracle database.
        
          * Only `SERVER_ONLY` configuration is supported for Oracle SSL.
          * SSL is supported for Oracle versions 12 and above.
         
        .google.cloud.clouddms.v1.SslConfig ssl = 7;
        Specified by:
        getSsl in interface OracleConnectionProfileOrBuilder
        Returns:
        The ssl.
      • setSsl

        public OracleConnectionProfile.Builder setSsl​(SslConfig value)
         SSL configuration for the connection to the source Oracle database.
        
          * Only `SERVER_ONLY` configuration is supported for Oracle SSL.
          * SSL is supported for Oracle versions 12 and above.
         
        .google.cloud.clouddms.v1.SslConfig ssl = 7;
      • setSsl

        public OracleConnectionProfile.Builder setSsl​(SslConfig.Builder builderForValue)
         SSL configuration for the connection to the source Oracle database.
        
          * Only `SERVER_ONLY` configuration is supported for Oracle SSL.
          * SSL is supported for Oracle versions 12 and above.
         
        .google.cloud.clouddms.v1.SslConfig ssl = 7;
      • mergeSsl

        public OracleConnectionProfile.Builder mergeSsl​(SslConfig value)
         SSL configuration for the connection to the source Oracle database.
        
          * Only `SERVER_ONLY` configuration is supported for Oracle SSL.
          * SSL is supported for Oracle versions 12 and above.
         
        .google.cloud.clouddms.v1.SslConfig ssl = 7;
      • clearSsl

        public OracleConnectionProfile.Builder clearSsl()
         SSL configuration for the connection to the source Oracle database.
        
          * Only `SERVER_ONLY` configuration is supported for Oracle SSL.
          * SSL is supported for Oracle versions 12 and above.
         
        .google.cloud.clouddms.v1.SslConfig ssl = 7;
      • getSslBuilder

        public SslConfig.Builder getSslBuilder()
         SSL configuration for the connection to the source Oracle database.
        
          * Only `SERVER_ONLY` configuration is supported for Oracle SSL.
          * SSL is supported for Oracle versions 12 and above.
         
        .google.cloud.clouddms.v1.SslConfig ssl = 7;
      • getSslOrBuilder

        public SslConfigOrBuilder getSslOrBuilder()
         SSL configuration for the connection to the source Oracle database.
        
          * Only `SERVER_ONLY` configuration is supported for Oracle SSL.
          * SSL is supported for Oracle versions 12 and above.
         
        .google.cloud.clouddms.v1.SslConfig ssl = 7;
        Specified by:
        getSslOrBuilder in interface OracleConnectionProfileOrBuilder
      • hasStaticServiceIpConnectivity

        public boolean hasStaticServiceIpConnectivity()
         Static Service IP connectivity.
         
        .google.cloud.clouddms.v1.StaticServiceIpConnectivity static_service_ip_connectivity = 100;
        Specified by:
        hasStaticServiceIpConnectivity in interface OracleConnectionProfileOrBuilder
        Returns:
        Whether the staticServiceIpConnectivity field is set.
      • clearStaticServiceIpConnectivity

        public OracleConnectionProfile.Builder clearStaticServiceIpConnectivity()
         Static Service IP connectivity.
         
        .google.cloud.clouddms.v1.StaticServiceIpConnectivity static_service_ip_connectivity = 100;
      • getStaticServiceIpConnectivityBuilder

        public StaticServiceIpConnectivity.Builder getStaticServiceIpConnectivityBuilder()
         Static Service IP connectivity.
         
        .google.cloud.clouddms.v1.StaticServiceIpConnectivity static_service_ip_connectivity = 100;
      • hasForwardSshConnectivity

        public boolean hasForwardSshConnectivity()
         Forward SSH tunnel connectivity.
         
        .google.cloud.clouddms.v1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 101;
        Specified by:
        hasForwardSshConnectivity in interface OracleConnectionProfileOrBuilder
        Returns:
        Whether the forwardSshConnectivity field is set.
      • clearForwardSshConnectivity

        public OracleConnectionProfile.Builder clearForwardSshConnectivity()
         Forward SSH tunnel connectivity.
         
        .google.cloud.clouddms.v1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 101;
      • getForwardSshConnectivityBuilder

        public ForwardSshTunnelConnectivity.Builder getForwardSshConnectivityBuilder()
         Forward SSH tunnel connectivity.
         
        .google.cloud.clouddms.v1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 101;
      • hasPrivateConnectivity

        public boolean hasPrivateConnectivity()
         Private connectivity.
         
        .google.cloud.clouddms.v1.PrivateConnectivity private_connectivity = 102;
        Specified by:
        hasPrivateConnectivity in interface OracleConnectionProfileOrBuilder
        Returns:
        Whether the privateConnectivity field is set.
      • clearPrivateConnectivity

        public OracleConnectionProfile.Builder clearPrivateConnectivity()
         Private connectivity.
         
        .google.cloud.clouddms.v1.PrivateConnectivity private_connectivity = 102;
      • getPrivateConnectivityBuilder

        public PrivateConnectivity.Builder getPrivateConnectivityBuilder()
         Private connectivity.
         
        .google.cloud.clouddms.v1.PrivateConnectivity private_connectivity = 102;
      • setUnknownFields

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

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