Class GoldengateOracleConnectionProperties (0.42.0)

public final class GoldengateOracleConnectionProperties extends GeneratedMessage implements GoldengateOracleConnectionPropertiesOrBuilder

The properties of Goldengate Oracle Database Connection.

Protobuf type google.cloud.oracledatabase.v1.GoldengateOracleConnectionProperties

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > GoldengateOracleConnectionProperties

Static Fields

AUTHENTICATION_MODE_FIELD_NUMBER

public static final int AUTHENTICATION_MODE_FIELD_NUMBER
Field Value
Type Description
int

CONNECTION_STRING_FIELD_NUMBER

public static final int CONNECTION_STRING_FIELD_NUMBER
Field Value
Type Description
int

GCP_ORACLE_DATABASE_ID_FIELD_NUMBER

public static final int GCP_ORACLE_DATABASE_ID_FIELD_NUMBER
Field Value
Type Description
int

PASSWORD_FIELD_NUMBER

public static final int PASSWORD_FIELD_NUMBER
Field Value
Type Description
int

PASSWORD_SECRET_VERSION_FIELD_NUMBER

public static final int PASSWORD_SECRET_VERSION_FIELD_NUMBER
Field Value
Type Description
int

SESSION_MODE_FIELD_NUMBER

public static final int SESSION_MODE_FIELD_NUMBER
Field Value
Type Description
int

TECHNOLOGY_TYPE_FIELD_NUMBER

public static final int TECHNOLOGY_TYPE_FIELD_NUMBER
Field Value
Type Description
int

USERNAME_FIELD_NUMBER

public static final int USERNAME_FIELD_NUMBER
Field Value
Type Description
int

WALLET_FILE_FIELD_NUMBER

public static final int WALLET_FILE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GoldengateOracleConnectionProperties getDefaultInstance()
Returns
Type Description
GoldengateOracleConnectionProperties

getDescriptor()

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

newBuilder()

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

newBuilder(GoldengateOracleConnectionProperties prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAuthenticationMode()

public GoldengateOracleConnectionProperties.OracleAuthenticationMode getAuthenticationMode()

Optional. Authentication mode.

.google.cloud.oracledatabase.v1.GoldengateOracleConnectionProperties.OracleAuthenticationMode authentication_mode = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GoldengateOracleConnectionProperties.OracleAuthenticationMode

The authenticationMode.

getAuthenticationModeValue()

public int getAuthenticationModeValue()

Optional. Authentication mode.

.google.cloud.oracledatabase.v1.GoldengateOracleConnectionProperties.OracleAuthenticationMode authentication_mode = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for authenticationMode.

getConnectionPasswordOptionsCase()

public GoldengateOracleConnectionProperties.ConnectionPasswordOptionsCase getConnectionPasswordOptionsCase()
Returns
Type Description
GoldengateOracleConnectionProperties.ConnectionPasswordOptionsCase

getConnectionString()

public String getConnectionString()

Optional. Connect descriptor or Easy Connect Naming method used to connect to a database.

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

Returns
Type Description
String

The connectionString.

getConnectionStringBytes()

public ByteString getConnectionStringBytes()

Optional. Connect descriptor or Easy Connect Naming method used to connect to a database.

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

Returns
Type Description
ByteString

The bytes for connectionString.

getDefaultInstanceForType()

public GoldengateOracleConnectionProperties getDefaultInstanceForType()
Returns
Type Description
GoldengateOracleConnectionProperties

getGcpOracleDatabaseId()

public String getGcpOracleDatabaseId()

Optional. Autonomous AI Database instance id of database in Oracle Database @ Google Cloud. If gcp_oracle_database_id is provided, connection_string must be empty. Format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}

string gcp_oracle_database_id = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The gcpOracleDatabaseId.

getGcpOracleDatabaseIdBytes()

public ByteString getGcpOracleDatabaseIdBytes()

Optional. Autonomous AI Database instance id of database in Oracle Database @ Google Cloud. If gcp_oracle_database_id is provided, connection_string must be empty. Format: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}

string gcp_oracle_database_id = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for gcpOracleDatabaseId.

getParserForType()

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

getPassword()

public String getPassword()

Optional. Input only. The password Oracle Goldengate uses in plain text.

string password = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
String

The password.

getPasswordBytes()

public ByteString getPasswordBytes()

Optional. Input only. The password Oracle Goldengate uses in plain text.

string password = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
ByteString

The bytes for password.

getPasswordSecretVersion()

public String getPasswordSecretVersion()

Optional. Input only. The resource name of a secret version in Secret Manager which contains the password Oracle Goldengate uses. Format: projects/{project}/secrets/{secret}/versions/{version}.

string password_secret_version = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The passwordSecretVersion.

getPasswordSecretVersionBytes()

public ByteString getPasswordSecretVersionBytes()

Optional. Input only. The resource name of a secret version in Secret Manager which contains the password Oracle Goldengate uses. Format: projects/{project}/secrets/{secret}/versions/{version}.

string password_secret_version = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for passwordSecretVersion.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSessionMode()

public GoldengateOracleConnectionProperties.SessionMode getSessionMode()

Optional. The mode of the database connection session to be established by the data client.

.google.cloud.oracledatabase.v1.GoldengateOracleConnectionProperties.SessionMode session_mode = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GoldengateOracleConnectionProperties.SessionMode

The sessionMode.

getSessionModeValue()

public int getSessionModeValue()

Optional. The mode of the database connection session to be established by the data client.

.google.cloud.oracledatabase.v1.GoldengateOracleConnectionProperties.SessionMode session_mode = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for sessionMode.

getTechnologyType()

public String getTechnologyType()

Optional. The technology type.

string technology_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The technologyType.

getTechnologyTypeBytes()

public ByteString getTechnologyTypeBytes()

Optional. The technology type.

string technology_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for technologyType.

getUsername()

public String getUsername()

Optional. The username Oracle Goldengate uses to connect.

string username = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The username.

getUsernameBytes()

public ByteString getUsernameBytes()

Optional. The username Oracle Goldengate uses to connect.

string username = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for username.

getWalletFile()

public String getWalletFile()

Optional. The wallet contents Oracle Goldengate uses to make connections to a database. This attribute is expected to be base64 encoded.

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

Returns
Type Description
String

The walletFile.

getWalletFileBytes()

public ByteString getWalletFileBytes()

Optional. The wallet contents Oracle Goldengate uses to make connections to a database. This attribute is expected to be base64 encoded.

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

Returns
Type Description
ByteString

The bytes for walletFile.

hasPassword()

public boolean hasPassword()

Optional. Input only. The password Oracle Goldengate uses in plain text.

string password = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
boolean

Whether the password field is set.

hasPasswordSecretVersion()

public boolean hasPasswordSecretVersion()

Optional. Input only. The resource name of a secret version in Secret Manager which contains the password Oracle Goldengate uses. Format: projects/{project}/secrets/{secret}/versions/{version}.

string password_secret_version = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the passwordSecretVersion field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(AbstractMessage.BuilderParent parent)

protected GoldengateOracleConnectionProperties.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GoldengateOracleConnectionProperties.Builder
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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