Class OracleConnectionProfile (2.19.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
TypeDescription
int

FORWARD_SSH_CONNECTIVITY_FIELD_NUMBER

public static final int FORWARD_SSH_CONNECTIVITY_FIELD_NUMBER
Field Value
TypeDescription
int

HOST_FIELD_NUMBER

public static final int HOST_FIELD_NUMBER
Field Value
TypeDescription
int

PASSWORD_FIELD_NUMBER

public static final int PASSWORD_FIELD_NUMBER
Field Value
TypeDescription
int

PASSWORD_SET_FIELD_NUMBER

public static final int PASSWORD_SET_FIELD_NUMBER
Field Value
TypeDescription
int

PORT_FIELD_NUMBER

public static final int PORT_FIELD_NUMBER
Field Value
TypeDescription
int

PRIVATE_CONNECTIVITY_FIELD_NUMBER

public static final int PRIVATE_CONNECTIVITY_FIELD_NUMBER
Field Value
TypeDescription
int

STATIC_SERVICE_IP_CONNECTIVITY_FIELD_NUMBER

public static final int STATIC_SERVICE_IP_CONNECTIVITY_FIELD_NUMBER
Field Value
TypeDescription
int

USERNAME_FIELD_NUMBER

public static final int USERNAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static OracleConnectionProfile getDefaultInstance()
Returns
TypeDescription
OracleConnectionProfile

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static OracleConnectionProfile.Builder newBuilder()
Returns
TypeDescription
OracleConnectionProfile.Builder

newBuilder(OracleConnectionProfile prototype)

public static OracleConnectionProfile.Builder newBuilder(OracleConnectionProfile prototype)
Parameter
NameDescription
prototypeOracleConnectionProfile
Returns
TypeDescription
OracleConnectionProfile.Builder

parseDelimitedFrom(InputStream input)

public static OracleConnectionProfile parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
OracleConnectionProfile
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OracleConnectionProfile parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OracleConnectionProfile
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static OracleConnectionProfile parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
OracleConnectionProfile
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static OracleConnectionProfile parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OracleConnectionProfile
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static OracleConnectionProfile parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
OracleConnectionProfile
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static OracleConnectionProfile parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OracleConnectionProfile
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static OracleConnectionProfile parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
OracleConnectionProfile
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static OracleConnectionProfile parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OracleConnectionProfile
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static OracleConnectionProfile parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
OracleConnectionProfile
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OracleConnectionProfile parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OracleConnectionProfile
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static OracleConnectionProfile parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
OracleConnectionProfile
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static OracleConnectionProfile parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OracleConnectionProfile
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<OracleConnectionProfile> parser()
Returns
TypeDescription
Parser<OracleConnectionProfile>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getConnectivityCase()

public OracleConnectionProfile.ConnectivityCase getConnectivityCase()
Returns
TypeDescription
OracleConnectionProfile.ConnectivityCase

getDatabaseService()

public String getDatabaseService()

Required. Database service for the Oracle connection.

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

Returns
TypeDescription
String

The databaseService.

getDatabaseServiceBytes()

public ByteString getDatabaseServiceBytes()

Required. Database service for the Oracle connection.

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

Returns
TypeDescription
ByteString

The bytes for databaseService.

getDefaultInstanceForType()

public OracleConnectionProfile getDefaultInstanceForType()
Returns
TypeDescription
OracleConnectionProfile

getForwardSshConnectivity()

public ForwardSshTunnelConnectivity getForwardSshConnectivity()

Forward SSH tunnel connectivity.

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

Returns
TypeDescription
ForwardSshTunnelConnectivity

The forwardSshConnectivity.

getForwardSshConnectivityOrBuilder()

public ForwardSshTunnelConnectivityOrBuilder getForwardSshConnectivityOrBuilder()

Forward SSH tunnel connectivity.

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

Returns
TypeDescription
ForwardSshTunnelConnectivityOrBuilder

getHost()

public String getHost()

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

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

Returns
TypeDescription
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
TypeDescription
ByteString

The bytes for host.

getParserForType()

public Parser<OracleConnectionProfile> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
int

The port.

getPrivateConnectivity()

public PrivateConnectivity getPrivateConnectivity()

Private connectivity.

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

Returns
TypeDescription
PrivateConnectivity

The privateConnectivity.

getPrivateConnectivityOrBuilder()

public PrivateConnectivityOrBuilder getPrivateConnectivityOrBuilder()

Private connectivity.

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

Returns
TypeDescription
PrivateConnectivityOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStaticServiceIpConnectivity()

public StaticServiceIpConnectivity getStaticServiceIpConnectivity()

Static Service IP connectivity.

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

Returns
TypeDescription
StaticServiceIpConnectivity

The staticServiceIpConnectivity.

getStaticServiceIpConnectivityOrBuilder()

public StaticServiceIpConnectivityOrBuilder getStaticServiceIpConnectivityOrBuilder()

Static Service IP connectivity.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for username.

hasForwardSshConnectivity()

public boolean hasForwardSshConnectivity()

Forward SSH tunnel connectivity.

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

Returns
TypeDescription
boolean

Whether the forwardSshConnectivity field is set.

hasPrivateConnectivity()

public boolean hasPrivateConnectivity()

Private connectivity.

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

Returns
TypeDescription
boolean

Whether the privateConnectivity field is set.

hasStaticServiceIpConnectivity()

public boolean hasStaticServiceIpConnectivity()

Static Service IP connectivity.

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

Returns
TypeDescription
boolean

Whether the staticServiceIpConnectivity field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public OracleConnectionProfile.Builder newBuilderForType()
Returns
TypeDescription
OracleConnectionProfile.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected OracleConnectionProfile.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
OracleConnectionProfile.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public OracleConnectionProfile.Builder toBuilder()
Returns
TypeDescription
OracleConnectionProfile.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException