Class OracleConnectionProfile.Builder (2.45.0)

public static final class OracleConnectionProfile.Builder extends GeneratedMessageV3.Builder<OracleConnectionProfile.Builder> implements OracleConnectionProfileOrBuilder

Specifies connection parameters required specifically for Oracle databases.

Protobuf type google.cloud.clouddms.v1.OracleConnectionProfile

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public OracleConnectionProfile.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
OracleConnectionProfile.Builder
Overrides

build()

public OracleConnectionProfile build()
Returns
Type Description
OracleConnectionProfile

buildPartial()

public OracleConnectionProfile buildPartial()
Returns
Type Description
OracleConnectionProfile

clear()

public OracleConnectionProfile.Builder clear()
Returns
Type Description
OracleConnectionProfile.Builder
Overrides

clearConnectivity()

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

clearDatabaseService()

public OracleConnectionProfile.Builder clearDatabaseService()

Required. Database service for the Oracle connection.

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

Returns
Type Description
OracleConnectionProfile.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public OracleConnectionProfile.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
OracleConnectionProfile.Builder
Overrides

clearForwardSshConnectivity()

public OracleConnectionProfile.Builder clearForwardSshConnectivity()

Forward SSH tunnel connectivity.

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

Returns
Type Description
OracleConnectionProfile.Builder

clearHost()

public OracleConnectionProfile.Builder clearHost()

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

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

Returns
Type Description
OracleConnectionProfile.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public OracleConnectionProfile.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
OracleConnectionProfile.Builder
Overrides

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
Type Description
OracleConnectionProfile.Builder

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
Type Description
OracleConnectionProfile.Builder

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
Type Description
OracleConnectionProfile.Builder

This builder for chaining.

clearPrivateConnectivity()

public OracleConnectionProfile.Builder clearPrivateConnectivity()

Private connectivity.

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

Returns
Type Description
OracleConnectionProfile.Builder

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;

Returns
Type Description
OracleConnectionProfile.Builder

clearStaticServiceIpConnectivity()

public OracleConnectionProfile.Builder clearStaticServiceIpConnectivity()

Static Service IP connectivity.

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

Returns
Type Description
OracleConnectionProfile.Builder

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
Type Description
OracleConnectionProfile.Builder

This builder for chaining.

clone()

public OracleConnectionProfile.Builder clone()
Returns
Type Description
OracleConnectionProfile.Builder
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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getForwardSshConnectivity()

public ForwardSshTunnelConnectivity getForwardSshConnectivity()

Forward SSH tunnel connectivity.

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

Returns
Type Description
ForwardSshTunnelConnectivity

The forwardSshConnectivity.

getForwardSshConnectivityBuilder()

public ForwardSshTunnelConnectivity.Builder getForwardSshConnectivityBuilder()

Forward SSH tunnel connectivity.

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

Returns
Type Description
ForwardSshTunnelConnectivity.Builder

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.

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.

getPrivateConnectivityBuilder()

public PrivateConnectivity.Builder getPrivateConnectivityBuilder()

Private connectivity.

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

Returns
Type Description
PrivateConnectivity.Builder

getPrivateConnectivityOrBuilder()

public PrivateConnectivityOrBuilder getPrivateConnectivityOrBuilder()

Private connectivity.

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

Returns
Type Description
PrivateConnectivityOrBuilder

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.

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;

Returns
Type Description
SslConfig.Builder

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.

getStaticServiceIpConnectivityBuilder()

public StaticServiceIpConnectivity.Builder getStaticServiceIpConnectivityBuilder()

Static Service IP connectivity.

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

Returns
Type Description
StaticServiceIpConnectivity.Builder

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeForwardSshConnectivity(ForwardSshTunnelConnectivity value)

public OracleConnectionProfile.Builder mergeForwardSshConnectivity(ForwardSshTunnelConnectivity value)

Forward SSH tunnel connectivity.

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

Parameter
Name Description
value ForwardSshTunnelConnectivity
Returns
Type Description
OracleConnectionProfile.Builder

mergeFrom(OracleConnectionProfile other)

public OracleConnectionProfile.Builder mergeFrom(OracleConnectionProfile other)
Parameter
Name Description
other OracleConnectionProfile
Returns
Type Description
OracleConnectionProfile.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public OracleConnectionProfile.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OracleConnectionProfile.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public OracleConnectionProfile.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
OracleConnectionProfile.Builder
Overrides

mergePrivateConnectivity(PrivateConnectivity value)

public OracleConnectionProfile.Builder mergePrivateConnectivity(PrivateConnectivity value)

Private connectivity.

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

Parameter
Name Description
value PrivateConnectivity
Returns
Type Description
OracleConnectionProfile.Builder

mergeSsl(SslConfig value)

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;

Parameter
Name Description
value SslConfig
Returns
Type Description
OracleConnectionProfile.Builder

mergeStaticServiceIpConnectivity(StaticServiceIpConnectivity value)

public OracleConnectionProfile.Builder mergeStaticServiceIpConnectivity(StaticServiceIpConnectivity value)

Static Service IP connectivity.

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

Parameter
Name Description
value StaticServiceIpConnectivity
Returns
Type Description
OracleConnectionProfile.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final OracleConnectionProfile.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
OracleConnectionProfile.Builder
Overrides

setDatabaseService(String value)

public OracleConnectionProfile.Builder setDatabaseService(String value)

Required. Database service for the Oracle connection.

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

Parameter
Name Description
value String

The databaseService to set.

Returns
Type Description
OracleConnectionProfile.Builder

This builder for chaining.

setDatabaseServiceBytes(ByteString value)

public OracleConnectionProfile.Builder setDatabaseServiceBytes(ByteString value)

Required. Database service for the Oracle connection.

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

Parameter
Name Description
value ByteString

The bytes for databaseService to set.

Returns
Type Description
OracleConnectionProfile.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public OracleConnectionProfile.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
OracleConnectionProfile.Builder
Overrides

setForwardSshConnectivity(ForwardSshTunnelConnectivity value)

public OracleConnectionProfile.Builder setForwardSshConnectivity(ForwardSshTunnelConnectivity value)

Forward SSH tunnel connectivity.

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

Parameter
Name Description
value ForwardSshTunnelConnectivity
Returns
Type Description
OracleConnectionProfile.Builder

setForwardSshConnectivity(ForwardSshTunnelConnectivity.Builder builderForValue)

public OracleConnectionProfile.Builder setForwardSshConnectivity(ForwardSshTunnelConnectivity.Builder builderForValue)

Forward SSH tunnel connectivity.

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

Parameter
Name Description
builderForValue ForwardSshTunnelConnectivity.Builder
Returns
Type Description
OracleConnectionProfile.Builder

setHost(String value)

public OracleConnectionProfile.Builder setHost(String value)

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

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

Parameter
Name Description
value String

The host to set.

Returns
Type Description
OracleConnectionProfile.Builder

This builder for chaining.

setHostBytes(ByteString value)

public OracleConnectionProfile.Builder setHostBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for host to set.

Returns
Type Description
OracleConnectionProfile.Builder

This builder for chaining.

setPassword(String value)

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

Parameter
Name Description
value String

The password to set.

Returns
Type Description
OracleConnectionProfile.Builder

This builder for chaining.

setPasswordBytes(ByteString value)

public OracleConnectionProfile.Builder setPasswordBytes(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];

Parameter
Name Description
value ByteString

The bytes for password to set.

Returns
Type Description
OracleConnectionProfile.Builder

This builder for chaining.

setPasswordSet(boolean value)

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

Parameter
Name Description
value boolean

The passwordSet to set.

Returns
Type Description
OracleConnectionProfile.Builder

This builder for chaining.

setPort(int value)

public OracleConnectionProfile.Builder setPort(int value)

Required. The network port of the source Oracle database.

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

Parameter
Name Description
value int

The port to set.

Returns
Type Description
OracleConnectionProfile.Builder

This builder for chaining.

setPrivateConnectivity(PrivateConnectivity value)

public OracleConnectionProfile.Builder setPrivateConnectivity(PrivateConnectivity value)

Private connectivity.

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

Parameter
Name Description
value PrivateConnectivity
Returns
Type Description
OracleConnectionProfile.Builder

setPrivateConnectivity(PrivateConnectivity.Builder builderForValue)

public OracleConnectionProfile.Builder setPrivateConnectivity(PrivateConnectivity.Builder builderForValue)

Private connectivity.

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

Parameter
Name Description
builderForValue PrivateConnectivity.Builder
Returns
Type Description
OracleConnectionProfile.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public OracleConnectionProfile.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
OracleConnectionProfile.Builder
Overrides

setSsl(SslConfig value)

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;

Parameter
Name Description
value SslConfig
Returns
Type Description
OracleConnectionProfile.Builder

setSsl(SslConfig.Builder builderForValue)

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;

Parameter
Name Description
builderForValue SslConfig.Builder
Returns
Type Description
OracleConnectionProfile.Builder

setStaticServiceIpConnectivity(StaticServiceIpConnectivity value)

public OracleConnectionProfile.Builder setStaticServiceIpConnectivity(StaticServiceIpConnectivity value)

Static Service IP connectivity.

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

Parameter
Name Description
value StaticServiceIpConnectivity
Returns
Type Description
OracleConnectionProfile.Builder

setStaticServiceIpConnectivity(StaticServiceIpConnectivity.Builder builderForValue)

public OracleConnectionProfile.Builder setStaticServiceIpConnectivity(StaticServiceIpConnectivity.Builder builderForValue)

Static Service IP connectivity.

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

Parameter
Name Description
builderForValue StaticServiceIpConnectivity.Builder
Returns
Type Description
OracleConnectionProfile.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final OracleConnectionProfile.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
OracleConnectionProfile.Builder
Overrides

setUsername(String value)

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

Parameter
Name Description
value String

The username to set.

Returns
Type Description
OracleConnectionProfile.Builder

This builder for chaining.

setUsernameBytes(ByteString value)

public OracleConnectionProfile.Builder setUsernameBytes(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];

Parameter
Name Description
value ByteString

The bytes for username to set.

Returns
Type Description
OracleConnectionProfile.Builder

This builder for chaining.