Class OracleProfile (1.54.0)

public final class OracleProfile extends GeneratedMessageV3 implements OracleProfileOrBuilder

Oracle database profile. Next ID: 10.

Protobuf type google.cloud.datastream.v1.OracleProfile

Static Fields

CONNECTION_ATTRIBUTES_FIELD_NUMBER

public static final int CONNECTION_ATTRIBUTES_FIELD_NUMBER
Field Value
Type Description
int

DATABASE_SERVICE_FIELD_NUMBER

public static final int DATABASE_SERVICE_FIELD_NUMBER
Field Value
Type Description
int

HOSTNAME_FIELD_NUMBER

public static final int HOSTNAME_FIELD_NUMBER
Field Value
Type Description
int

ORACLE_ASM_CONFIG_FIELD_NUMBER

public static final int ORACLE_ASM_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

ORACLE_SSL_CONFIG_FIELD_NUMBER

public static final int ORACLE_SSL_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

PASSWORD_FIELD_NUMBER

public static final int PASSWORD_FIELD_NUMBER
Field Value
Type Description
int

PORT_FIELD_NUMBER

public static final int PORT_FIELD_NUMBER
Field Value
Type Description
int

SECRET_MANAGER_STORED_PASSWORD_FIELD_NUMBER

public static final int SECRET_MANAGER_STORED_PASSWORD_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 OracleProfile getDefaultInstance()
Returns
Type Description
OracleProfile

getDescriptor()

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

newBuilder()

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

newBuilder(OracleProfile prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

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

equals(Object obj)

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

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

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.

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.

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.

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

getParserForType()

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

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

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.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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