Class OracleConnectionProfile (2.48.0)

public final class OracleConnectionProfile extends GeneratedMessageV3 implements OracleConnectionProfileOrBuilder

Specifies connection parameters required specifically for Oracle databases.

Protobuf type google.cloud.clouddms.v1.OracleConnectionProfile

Static Fields

DATABASE_SERVICE_FIELD_NUMBER

public static final int DATABASE_SERVICE_FIELD_NUMBER
Field Value
Type Description
int

FORWARD_SSH_CONNECTIVITY_FIELD_NUMBER

public static final int FORWARD_SSH_CONNECTIVITY_FIELD_NUMBER
Field Value
Type Description
int

HOST_FIELD_NUMBER

public static final int HOST_FIELD_NUMBER
Field Value
Type Description
int

PASSWORD_FIELD_NUMBER

public static final int PASSWORD_FIELD_NUMBER
Field Value
Type Description
int

PASSWORD_SET_FIELD_NUMBER

public static final int PASSWORD_SET_FIELD_NUMBER
Field Value
Type Description
int

PORT_FIELD_NUMBER

public static final int PORT_FIELD_NUMBER
Field Value
Type Description
int

PRIVATE_CONNECTIVITY_FIELD_NUMBER

public static final int PRIVATE_CONNECTIVITY_FIELD_NUMBER
Field Value
Type Description
int

SSL_FIELD_NUMBER

public static final int SSL_FIELD_NUMBER
Field Value
Type Description
int

STATIC_SERVICE_IP_CONNECTIVITY_FIELD_NUMBER

public static final int STATIC_SERVICE_IP_CONNECTIVITY_FIELD_NUMBER
Field Value
Type Description
int

USERNAME_FIELD_NUMBER

public static final int USERNAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static OracleConnectionProfile getDefaultInstance()
Returns
Type Description
OracleConnectionProfile

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static OracleConnectionProfile.Builder newBuilder()
Returns
Type Description
OracleConnectionProfile.Builder

newBuilder(OracleConnectionProfile prototype)

public static OracleConnectionProfile.Builder newBuilder(OracleConnectionProfile prototype)
Parameter
Name Description
prototype OracleConnectionProfile
Returns
Type Description
OracleConnectionProfile.Builder

parseDelimitedFrom(InputStream input)

public static OracleConnectionProfile parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
OracleConnectionProfile
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OracleConnectionProfile parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OracleConnectionProfile
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static OracleConnectionProfile parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
OracleConnectionProfile
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static OracleConnectionProfile parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OracleConnectionProfile
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static OracleConnectionProfile parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
OracleConnectionProfile
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static OracleConnectionProfile parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OracleConnectionProfile
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static OracleConnectionProfile parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
OracleConnectionProfile
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static OracleConnectionProfile parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OracleConnectionProfile
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static OracleConnectionProfile parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
OracleConnectionProfile
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OracleConnectionProfile parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OracleConnectionProfile
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static OracleConnectionProfile parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
OracleConnectionProfile
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static OracleConnectionProfile parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OracleConnectionProfile
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<OracleConnectionProfile> parser()
Returns
Type Description
Parser<OracleConnectionProfile>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getConnectivityCase()

public OracleConnectionProfile.ConnectivityCase getConnectivityCase()
Returns
Type Description
OracleConnectionProfile.ConnectivityCase

getDatabaseService()

public String getDatabaseService()

Required. Database service for the Oracle connection.

string database_service = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The databaseService.

getDatabaseServiceBytes()

public ByteString getDatabaseServiceBytes()

Required. Database service for the Oracle connection.

string database_service = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for databaseService.

getDefaultInstanceForType()

public OracleConnectionProfile getDefaultInstanceForType()
Returns
Type Description
OracleConnectionProfile

getForwardSshConnectivity()

public ForwardSshTunnelConnectivity getForwardSshConnectivity()

Forward SSH tunnel connectivity.

.google.cloud.clouddms.v1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 101;

Returns
Type Description
ForwardSshTunnelConnectivity

The forwardSshConnectivity.

getForwardSshConnectivityOrBuilder()

public ForwardSshTunnelConnectivityOrBuilder getForwardSshConnectivityOrBuilder()

Forward SSH tunnel connectivity.

.google.cloud.clouddms.v1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 101;

Returns
Type Description
ForwardSshTunnelConnectivityOrBuilder

getHost()

public String getHost()

Required. The IP or hostname of the source Oracle database.

string host = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The host.

getHostBytes()

public ByteString getHostBytes()

Required. The IP or hostname of the source Oracle database.

string host = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for host.

getParserForType()

public Parser<OracleConnectionProfile> getParserForType()
Returns
Type Description
Parser<OracleConnectionProfile>
Overrides

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

Returns
Type Description
String

The password.

getPasswordBytes()

public 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];

Returns
Type Description
ByteString

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

Returns
Type Description
boolean

The passwordSet.

getPort()

public int getPort()

Required. The network port of the source Oracle database.

int32 port = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The port.

getPrivateConnectivity()

public PrivateConnectivity getPrivateConnectivity()

Private connectivity.

.google.cloud.clouddms.v1.PrivateConnectivity private_connectivity = 102;

Returns
Type Description
PrivateConnectivity

The privateConnectivity.

getPrivateConnectivityOrBuilder()

public PrivateConnectivityOrBuilder getPrivateConnectivityOrBuilder()

Private connectivity.

.google.cloud.clouddms.v1.PrivateConnectivity private_connectivity = 102;

Returns
Type Description
PrivateConnectivityOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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;

Returns
Type Description
SslConfig

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;

Returns
Type Description
SslConfigOrBuilder

getStaticServiceIpConnectivity()

public StaticServiceIpConnectivity getStaticServiceIpConnectivity()

Static Service IP connectivity.

.google.cloud.clouddms.v1.StaticServiceIpConnectivity static_service_ip_connectivity = 100;

Returns
Type Description
StaticServiceIpConnectivity

The staticServiceIpConnectivity.

getStaticServiceIpConnectivityOrBuilder()

public StaticServiceIpConnectivityOrBuilder getStaticServiceIpConnectivityOrBuilder()

Static Service IP connectivity.

.google.cloud.clouddms.v1.StaticServiceIpConnectivity static_service_ip_connectivity = 100;

Returns
Type Description
StaticServiceIpConnectivityOrBuilder

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

Returns
Type Description
String

The username.

getUsernameBytes()

public 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];

Returns
Type Description
ByteString

The bytes for username.

hasForwardSshConnectivity()

public boolean hasForwardSshConnectivity()

Forward SSH tunnel connectivity.

.google.cloud.clouddms.v1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 101;

Returns
Type Description
boolean

Whether the forwardSshConnectivity field is set.

hasPrivateConnectivity()

public boolean hasPrivateConnectivity()

Private connectivity.

.google.cloud.clouddms.v1.PrivateConnectivity private_connectivity = 102;

Returns
Type Description
boolean

Whether the privateConnectivity field is set.

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;

Returns
Type Description
boolean

Whether the ssl field is set.

hasStaticServiceIpConnectivity()

public boolean hasStaticServiceIpConnectivity()

Static Service IP connectivity.

.google.cloud.clouddms.v1.StaticServiceIpConnectivity static_service_ip_connectivity = 100;

Returns
Type Description
boolean

Whether the staticServiceIpConnectivity field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public OracleConnectionProfile.Builder newBuilderForType()
Returns
Type Description
OracleConnectionProfile.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected OracleConnectionProfile.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
OracleConnectionProfile.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public OracleConnectionProfile.Builder toBuilder()
Returns
Type Description
OracleConnectionProfile.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException