Class OracleConnectionProfile.Builder (2.18.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public OracleConnectionProfile.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
OracleConnectionProfile.Builder
Overrides

build()

public OracleConnectionProfile build()
Returns
TypeDescription
OracleConnectionProfile

buildPartial()

public OracleConnectionProfile buildPartial()
Returns
TypeDescription
OracleConnectionProfile

clear()

public OracleConnectionProfile.Builder clear()
Returns
TypeDescription
OracleConnectionProfile.Builder
Overrides

clearConnectivity()

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

clearDatabaseService()

public OracleConnectionProfile.Builder clearDatabaseService()

Required. Database service for the Oracle connection.

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

Returns
TypeDescription
OracleConnectionProfile.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public OracleConnectionProfile.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
OracleConnectionProfile.Builder
Overrides

clearForwardSshConnectivity()

public OracleConnectionProfile.Builder clearForwardSshConnectivity()

Forward SSH tunnel connectivity.

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

Returns
TypeDescription
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
TypeDescription
OracleConnectionProfile.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public OracleConnectionProfile.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
OracleConnectionProfile.Builder

This builder for chaining.

clearPrivateConnectivity()

public OracleConnectionProfile.Builder clearPrivateConnectivity()

Private connectivity.

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

Returns
TypeDescription
OracleConnectionProfile.Builder

clearStaticServiceIpConnectivity()

public OracleConnectionProfile.Builder clearStaticServiceIpConnectivity()

Static Service IP connectivity.

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

Returns
TypeDescription
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
TypeDescription
OracleConnectionProfile.Builder

This builder for chaining.

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getForwardSshConnectivity()

public ForwardSshTunnelConnectivity getForwardSshConnectivity()

Forward SSH tunnel connectivity.

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

Returns
TypeDescription
ForwardSshTunnelConnectivity

The forwardSshConnectivity.

getForwardSshConnectivityBuilder()

public ForwardSshTunnelConnectivity.Builder getForwardSshConnectivityBuilder()

Forward SSH tunnel connectivity.

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

Returns
TypeDescription
ForwardSshTunnelConnectivity.Builder

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.

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.

getPrivateConnectivityBuilder()

public PrivateConnectivity.Builder getPrivateConnectivityBuilder()

Private connectivity.

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

Returns
TypeDescription
PrivateConnectivity.Builder

getPrivateConnectivityOrBuilder()

public PrivateConnectivityOrBuilder getPrivateConnectivityOrBuilder()

Private connectivity.

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

Returns
TypeDescription
PrivateConnectivityOrBuilder

getStaticServiceIpConnectivity()

public StaticServiceIpConnectivity getStaticServiceIpConnectivity()

Static Service IP connectivity.

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

Returns
TypeDescription
StaticServiceIpConnectivity

The staticServiceIpConnectivity.

getStaticServiceIpConnectivityBuilder()

public StaticServiceIpConnectivity.Builder getStaticServiceIpConnectivityBuilder()

Static Service IP connectivity.

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

Returns
TypeDescription
StaticServiceIpConnectivity.Builder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueForwardSshTunnelConnectivity
Returns
TypeDescription
OracleConnectionProfile.Builder

mergeFrom(OracleConnectionProfile other)

public OracleConnectionProfile.Builder mergeFrom(OracleConnectionProfile other)
Parameter
NameDescription
otherOracleConnectionProfile
Returns
TypeDescription
OracleConnectionProfile.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public OracleConnectionProfile.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OracleConnectionProfile.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public OracleConnectionProfile.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
OracleConnectionProfile.Builder
Overrides

mergePrivateConnectivity(PrivateConnectivity value)

public OracleConnectionProfile.Builder mergePrivateConnectivity(PrivateConnectivity value)

Private connectivity.

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

Parameter
NameDescription
valuePrivateConnectivity
Returns
TypeDescription
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
NameDescription
valueStaticServiceIpConnectivity
Returns
TypeDescription
OracleConnectionProfile.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final OracleConnectionProfile.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The databaseService to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for databaseService to set.

Returns
TypeDescription
OracleConnectionProfile.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public OracleConnectionProfile.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueForwardSshTunnelConnectivity
Returns
TypeDescription
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
NameDescription
builderForValueForwardSshTunnelConnectivity.Builder
Returns
TypeDescription
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
NameDescription
valueString

The host to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for host to set.

Returns
TypeDescription
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
NameDescription
valueString

The password to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for password to set.

Returns
TypeDescription
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
NameDescription
valueboolean

The passwordSet to set.

Returns
TypeDescription
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
NameDescription
valueint

The port to set.

Returns
TypeDescription
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
NameDescription
valuePrivateConnectivity
Returns
TypeDescription
OracleConnectionProfile.Builder

setPrivateConnectivity(PrivateConnectivity.Builder builderForValue)

public OracleConnectionProfile.Builder setPrivateConnectivity(PrivateConnectivity.Builder builderForValue)

Private connectivity.

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

Parameter
NameDescription
builderForValuePrivateConnectivity.Builder
Returns
TypeDescription
OracleConnectionProfile.Builder

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

public OracleConnectionProfile.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
OracleConnectionProfile.Builder
Overrides

setStaticServiceIpConnectivity(StaticServiceIpConnectivity value)

public OracleConnectionProfile.Builder setStaticServiceIpConnectivity(StaticServiceIpConnectivity value)

Static Service IP connectivity.

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

Parameter
NameDescription
valueStaticServiceIpConnectivity
Returns
TypeDescription
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
NameDescription
builderForValueStaticServiceIpConnectivity.Builder
Returns
TypeDescription
OracleConnectionProfile.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final OracleConnectionProfile.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The username to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for username to set.

Returns
TypeDescription
OracleConnectionProfile.Builder

This builder for chaining.