Class OracleConnectionProfile

  • All Implemented Interfaces:
    OracleConnectionProfileOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class OracleConnectionProfile
    extends com.google.protobuf.GeneratedMessageV3
    implements OracleConnectionProfileOrBuilder
     Specifies connection parameters required specifically for Oracle
     databases.
     
    Protobuf type google.cloud.clouddms.v1.OracleConnectionProfile
    See Also:
    Serialized Form
    • Field Detail

      • PASSWORD_SET_FIELD_NUMBER

        public static final int PASSWORD_SET_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DATABASE_SERVICE_FIELD_NUMBER

        public static final int DATABASE_SERVICE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • STATIC_SERVICE_IP_CONNECTIVITY_FIELD_NUMBER

        public static final int STATIC_SERVICE_IP_CONNECTIVITY_FIELD_NUMBER
        See Also:
        Constant Field Values
      • FORWARD_SSH_CONNECTIVITY_FIELD_NUMBER

        public static final int FORWARD_SSH_CONNECTIVITY_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PRIVATE_CONNECTIVITY_FIELD_NUMBER

        public static final int PRIVATE_CONNECTIVITY_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • 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
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static OracleConnectionProfile parseFrom​(ByteBuffer data)
                                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static OracleConnectionProfile parseFrom​(ByteBuffer data,
                                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static OracleConnectionProfile parseFrom​(com.google.protobuf.ByteString data)
                                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static OracleConnectionProfile parseFrom​(com.google.protobuf.ByteString data,
                                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static OracleConnectionProfile parseFrom​(byte[] data)
                                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static OracleConnectionProfile parseFrom​(byte[] data,
                                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

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

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

        protected OracleConnectionProfile.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<OracleConnectionProfile> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

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