Class OracleProfile.Builder (1.54.0)

public static final class OracleProfile.Builder extends GeneratedMessageV3.Builder<OracleProfile.Builder> implements OracleProfileOrBuilder

Oracle database profile. Next ID: 10.

Protobuf type google.cloud.datastream.v1.OracleProfile

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public OracleProfile build()
Returns
Type Description
OracleProfile

buildPartial()

public OracleProfile buildPartial()
Returns
Type Description
OracleProfile

clear()

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

clearConnectionAttributes()

public OracleProfile.Builder clearConnectionAttributes()
Returns
Type Description
OracleProfile.Builder

clearDatabaseService()

public OracleProfile.Builder clearDatabaseService()

Required. Database for the Oracle connection.

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

Returns
Type Description
OracleProfile.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearHostname()

public OracleProfile.Builder clearHostname()

Required. Hostname for the Oracle connection.

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

Returns
Type Description
OracleProfile.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOracleAsmConfig()

public OracleProfile.Builder clearOracleAsmConfig()

Optional. Configuration for Oracle ASM connection.

.google.cloud.datastream.v1.OracleAsmConfig oracle_asm_config = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
OracleProfile.Builder

clearOracleSslConfig()

public OracleProfile.Builder clearOracleSslConfig()

Optional. SSL configuration for the Oracle connection.

.google.cloud.datastream.v1.OracleSslConfig oracle_ssl_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
OracleProfile.Builder

clearPassword()

public OracleProfile.Builder clearPassword()

Optional. Password for the Oracle connection. Mutually exclusive with the secret_manager_stored_password field.

string password = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
OracleProfile.Builder

This builder for chaining.

clearPort()

public OracleProfile.Builder clearPort()

Port for the Oracle connection, default value is 1521.

int32 port = 2;

Returns
Type Description
OracleProfile.Builder

This builder for chaining.

clearSecretManagerStoredPassword()

public OracleProfile.Builder clearSecretManagerStoredPassword()

Optional. A reference to a Secret Manager resource name storing the Oracle connection password. Mutually exclusive with the password field.

string secret_manager_stored_password = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
OracleProfile.Builder

This builder for chaining.

clearUsername()

public OracleProfile.Builder clearUsername()

Required. Username for the Oracle connection.

string username = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
OracleProfile.Builder

This builder for chaining.

clone()

public OracleProfile.Builder clone()
Returns
Type Description
OracleProfile.Builder
Overrides

containsConnectionAttributes(String key)

public boolean containsConnectionAttributes(String key)

Connection string attributes

map<string, string> connection_attributes = 6;

Parameter
Name Description
key String
Returns
Type Description
boolean

getConnectionAttributes() (deprecated)

public Map<String,String> getConnectionAttributes()
Returns
Type Description
Map<String,String>

getConnectionAttributesCount()

public int getConnectionAttributesCount()

Connection string attributes

map<string, string> connection_attributes = 6;

Returns
Type Description
int

getConnectionAttributesMap()

public Map<String,String> getConnectionAttributesMap()

Connection string attributes

map<string, string> connection_attributes = 6;

Returns
Type Description
Map<String,String>

getConnectionAttributesOrDefault(String key, String defaultValue)

public String getConnectionAttributesOrDefault(String key, String defaultValue)

Connection string attributes

map<string, string> connection_attributes = 6;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getConnectionAttributesOrThrow(String key)

public String getConnectionAttributesOrThrow(String key)

Connection string attributes

map<string, string> connection_attributes = 6;

Parameter
Name Description
key String
Returns
Type Description
String

getDatabaseService()

public String getDatabaseService()

Required. Database for the Oracle connection.

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

Returns
Type Description
String

The databaseService.

getDatabaseServiceBytes()

public ByteString getDatabaseServiceBytes()

Required. Database for the Oracle connection.

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

Returns
Type Description
ByteString

The bytes for databaseService.

getDefaultInstanceForType()

public OracleProfile getDefaultInstanceForType()
Returns
Type Description
OracleProfile

getDescriptorForType()

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

getHostname()

public String getHostname()

Required. Hostname for the Oracle connection.

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

Returns
Type Description
String

The hostname.

getHostnameBytes()

public ByteString getHostnameBytes()

Required. Hostname for the Oracle connection.

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

Returns
Type Description
ByteString

The bytes for hostname.

getMutableConnectionAttributes() (deprecated)

public Map<String,String> getMutableConnectionAttributes()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getOracleAsmConfig()

public OracleAsmConfig getOracleAsmConfig()

Optional. Configuration for Oracle ASM connection.

.google.cloud.datastream.v1.OracleAsmConfig oracle_asm_config = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
OracleAsmConfig

The oracleAsmConfig.

getOracleAsmConfigBuilder()

public OracleAsmConfig.Builder getOracleAsmConfigBuilder()

Optional. Configuration for Oracle ASM connection.

.google.cloud.datastream.v1.OracleAsmConfig oracle_asm_config = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
OracleAsmConfig.Builder

getOracleAsmConfigOrBuilder()

public OracleAsmConfigOrBuilder getOracleAsmConfigOrBuilder()

Optional. Configuration for Oracle ASM connection.

.google.cloud.datastream.v1.OracleAsmConfig oracle_asm_config = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
OracleAsmConfigOrBuilder

getOracleSslConfig()

public OracleSslConfig getOracleSslConfig()

Optional. SSL configuration for the Oracle connection.

.google.cloud.datastream.v1.OracleSslConfig oracle_ssl_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
OracleSslConfig

The oracleSslConfig.

getOracleSslConfigBuilder()

public OracleSslConfig.Builder getOracleSslConfigBuilder()

Optional. SSL configuration for the Oracle connection.

.google.cloud.datastream.v1.OracleSslConfig oracle_ssl_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
OracleSslConfig.Builder

getOracleSslConfigOrBuilder()

public OracleSslConfigOrBuilder getOracleSslConfigOrBuilder()

Optional. SSL configuration for the Oracle connection.

.google.cloud.datastream.v1.OracleSslConfig oracle_ssl_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
OracleSslConfigOrBuilder

getPassword()

public String getPassword()

Optional. Password for the Oracle connection. Mutually exclusive with the secret_manager_stored_password field.

string password = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The password.

getPasswordBytes()

public ByteString getPasswordBytes()

Optional. Password for the Oracle connection. Mutually exclusive with the secret_manager_stored_password field.

string password = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for password.

getPort()

public int getPort()

Port for the Oracle connection, default value is 1521.

int32 port = 2;

Returns
Type Description
int

The port.

getSecretManagerStoredPassword()

public String getSecretManagerStoredPassword()

Optional. A reference to a Secret Manager resource name storing the Oracle connection password. Mutually exclusive with the password field.

string secret_manager_stored_password = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The secretManagerStoredPassword.

getSecretManagerStoredPasswordBytes()

public ByteString getSecretManagerStoredPasswordBytes()

Optional. A reference to a Secret Manager resource name storing the Oracle connection password. Mutually exclusive with the password field.

string secret_manager_stored_password = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for secretManagerStoredPassword.

getUsername()

public String getUsername()

Required. Username for the Oracle connection.

string username = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The username.

getUsernameBytes()

public ByteString getUsernameBytes()

Required. Username for the Oracle connection.

string username = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for username.

hasOracleAsmConfig()

public boolean hasOracleAsmConfig()

Optional. Configuration for Oracle ASM connection.

.google.cloud.datastream.v1.OracleAsmConfig oracle_asm_config = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the oracleAsmConfig field is set.

hasOracleSslConfig()

public boolean hasOracleSslConfig()

Optional. SSL configuration for the Oracle connection.

.google.cloud.datastream.v1.OracleSslConfig oracle_ssl_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the oracleSslConfig field is set.

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(OracleProfile other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeOracleAsmConfig(OracleAsmConfig value)

public OracleProfile.Builder mergeOracleAsmConfig(OracleAsmConfig value)

Optional. Configuration for Oracle ASM connection.

.google.cloud.datastream.v1.OracleAsmConfig oracle_asm_config = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value OracleAsmConfig
Returns
Type Description
OracleProfile.Builder

mergeOracleSslConfig(OracleSslConfig value)

public OracleProfile.Builder mergeOracleSslConfig(OracleSslConfig value)

Optional. SSL configuration for the Oracle connection.

.google.cloud.datastream.v1.OracleSslConfig oracle_ssl_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value OracleSslConfig
Returns
Type Description
OracleProfile.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

putAllConnectionAttributes(Map<String,String> values)

public OracleProfile.Builder putAllConnectionAttributes(Map<String,String> values)

Connection string attributes

map<string, string> connection_attributes = 6;

Parameter
Name Description
values Map<String,String>
Returns
Type Description
OracleProfile.Builder

putConnectionAttributes(String key, String value)

public OracleProfile.Builder putConnectionAttributes(String key, String value)

Connection string attributes

map<string, string> connection_attributes = 6;

Parameters
Name Description
key String
value String
Returns
Type Description
OracleProfile.Builder

removeConnectionAttributes(String key)

public OracleProfile.Builder removeConnectionAttributes(String key)

Connection string attributes

map<string, string> connection_attributes = 6;

Parameter
Name Description
key String
Returns
Type Description
OracleProfile.Builder

setDatabaseService(String value)

public OracleProfile.Builder setDatabaseService(String value)

Required. Database for the Oracle connection.

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

Parameter
Name Description
value String

The databaseService to set.

Returns
Type Description
OracleProfile.Builder

This builder for chaining.

setDatabaseServiceBytes(ByteString value)

public OracleProfile.Builder setDatabaseServiceBytes(ByteString value)

Required. Database for the Oracle connection.

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

Parameter
Name Description
value ByteString

The bytes for databaseService to set.

Returns
Type Description
OracleProfile.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setHostname(String value)

public OracleProfile.Builder setHostname(String value)

Required. Hostname for the Oracle connection.

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

Parameter
Name Description
value String

The hostname to set.

Returns
Type Description
OracleProfile.Builder

This builder for chaining.

setHostnameBytes(ByteString value)

public OracleProfile.Builder setHostnameBytes(ByteString value)

Required. Hostname for the Oracle connection.

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

Parameter
Name Description
value ByteString

The bytes for hostname to set.

Returns
Type Description
OracleProfile.Builder

This builder for chaining.

setOracleAsmConfig(OracleAsmConfig value)

public OracleProfile.Builder setOracleAsmConfig(OracleAsmConfig value)

Optional. Configuration for Oracle ASM connection.

.google.cloud.datastream.v1.OracleAsmConfig oracle_asm_config = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value OracleAsmConfig
Returns
Type Description
OracleProfile.Builder

setOracleAsmConfig(OracleAsmConfig.Builder builderForValue)

public OracleProfile.Builder setOracleAsmConfig(OracleAsmConfig.Builder builderForValue)

Optional. Configuration for Oracle ASM connection.

.google.cloud.datastream.v1.OracleAsmConfig oracle_asm_config = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue OracleAsmConfig.Builder
Returns
Type Description
OracleProfile.Builder

setOracleSslConfig(OracleSslConfig value)

public OracleProfile.Builder setOracleSslConfig(OracleSslConfig value)

Optional. SSL configuration for the Oracle connection.

.google.cloud.datastream.v1.OracleSslConfig oracle_ssl_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value OracleSslConfig
Returns
Type Description
OracleProfile.Builder

setOracleSslConfig(OracleSslConfig.Builder builderForValue)

public OracleProfile.Builder setOracleSslConfig(OracleSslConfig.Builder builderForValue)

Optional. SSL configuration for the Oracle connection.

.google.cloud.datastream.v1.OracleSslConfig oracle_ssl_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue OracleSslConfig.Builder
Returns
Type Description
OracleProfile.Builder

setPassword(String value)

public OracleProfile.Builder setPassword(String value)

Optional. Password for the Oracle connection. Mutually exclusive with the secret_manager_stored_password field.

string password = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The password to set.

Returns
Type Description
OracleProfile.Builder

This builder for chaining.

setPasswordBytes(ByteString value)

public OracleProfile.Builder setPasswordBytes(ByteString value)

Optional. Password for the Oracle connection. Mutually exclusive with the secret_manager_stored_password field.

string password = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for password to set.

Returns
Type Description
OracleProfile.Builder

This builder for chaining.

setPort(int value)

public OracleProfile.Builder setPort(int value)

Port for the Oracle connection, default value is 1521.

int32 port = 2;

Parameter
Name Description
value int

The port to set.

Returns
Type Description
OracleProfile.Builder

This builder for chaining.

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

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

setSecretManagerStoredPassword(String value)

public OracleProfile.Builder setSecretManagerStoredPassword(String value)

Optional. A reference to a Secret Manager resource name storing the Oracle connection password. Mutually exclusive with the password field.

string secret_manager_stored_password = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The secretManagerStoredPassword to set.

Returns
Type Description
OracleProfile.Builder

This builder for chaining.

setSecretManagerStoredPasswordBytes(ByteString value)

public OracleProfile.Builder setSecretManagerStoredPasswordBytes(ByteString value)

Optional. A reference to a Secret Manager resource name storing the Oracle connection password. Mutually exclusive with the password field.

string secret_manager_stored_password = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for secretManagerStoredPassword to set.

Returns
Type Description
OracleProfile.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setUsername(String value)

public OracleProfile.Builder setUsername(String value)

Required. Username for the Oracle connection.

string username = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The username to set.

Returns
Type Description
OracleProfile.Builder

This builder for chaining.

setUsernameBytes(ByteString value)

public OracleProfile.Builder setUsernameBytes(ByteString value)

Required. Username for the Oracle connection.

string username = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for username to set.

Returns
Type Description
OracleProfile.Builder

This builder for chaining.