Class GoldengateMysqlConnectionProperties (0.42.0)

public final class GoldengateMysqlConnectionProperties extends GeneratedMessage implements GoldengateMysqlConnectionPropertiesOrBuilder

Properties of GoldengateMysqlConnection.

Protobuf type google.cloud.oracledatabase.v1.GoldengateMysqlConnectionProperties

Inheritance

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

Static Fields

ADDITIONAL_ATTRIBUTES_FIELD_NUMBER

public static final int ADDITIONAL_ATTRIBUTES_FIELD_NUMBER
Field Value
Type Description
int

DATABASE_FIELD_NUMBER

public static final int DATABASE_FIELD_NUMBER
Field Value
Type Description
int

DB_SYSTEM_ID_FIELD_NUMBER

public static final int DB_SYSTEM_ID_FIELD_NUMBER
Field Value
Type Description
int

HOST_FIELD_NUMBER

public static final int HOST_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

PORT_FIELD_NUMBER

public static final int PORT_FIELD_NUMBER
Field Value
Type Description
int

SECURITY_PROTOCOL_FIELD_NUMBER

public static final int SECURITY_PROTOCOL_FIELD_NUMBER
Field Value
Type Description
int

SSL_CA_FILE_FIELD_NUMBER

public static final int SSL_CA_FILE_FIELD_NUMBER
Field Value
Type Description
int

SSL_CERT_FILE_FIELD_NUMBER

public static final int SSL_CERT_FILE_FIELD_NUMBER
Field Value
Type Description
int

SSL_CRL_FILE_FIELD_NUMBER

public static final int SSL_CRL_FILE_FIELD_NUMBER
Field Value
Type Description
int

SSL_KEY_FILE_FIELD_NUMBER

public static final int SSL_KEY_FILE_FIELD_NUMBER
Field Value
Type Description
int

SSL_MODE_FIELD_NUMBER

public static final int SSL_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

Static Methods

getDefaultInstance()

public static GoldengateMysqlConnectionProperties getDefaultInstance()
Returns
Type Description
GoldengateMysqlConnectionProperties

getDescriptor()

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

newBuilder()

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

newBuilder(GoldengateMysqlConnectionProperties prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAdditionalAttributes(int index)

public NameValuePair getAdditionalAttributes(int index)

Optional. An array of name-value pair attribute entries. Used as additional parameters in connection string.

repeated .google.cloud.oracledatabase.v1.NameValuePair additional_attributes = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
NameValuePair

getAdditionalAttributesCount()

public int getAdditionalAttributesCount()

Optional. An array of name-value pair attribute entries. Used as additional parameters in connection string.

repeated .google.cloud.oracledatabase.v1.NameValuePair additional_attributes = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getAdditionalAttributesList()

public List<NameValuePair> getAdditionalAttributesList()

Optional. An array of name-value pair attribute entries. Used as additional parameters in connection string.

repeated .google.cloud.oracledatabase.v1.NameValuePair additional_attributes = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<NameValuePair>

getAdditionalAttributesOrBuilder(int index)

public NameValuePairOrBuilder getAdditionalAttributesOrBuilder(int index)

Optional. An array of name-value pair attribute entries. Used as additional parameters in connection string.

repeated .google.cloud.oracledatabase.v1.NameValuePair additional_attributes = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
NameValuePairOrBuilder

getAdditionalAttributesOrBuilderList()

public List<? extends NameValuePairOrBuilder> getAdditionalAttributesOrBuilderList()

Optional. An array of name-value pair attribute entries. Used as additional parameters in connection string.

repeated .google.cloud.oracledatabase.v1.NameValuePair additional_attributes = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.oracledatabase.v1.NameValuePairOrBuilder>

getConnectionPasswordOptionsCase()

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

getDatabase()

public String getDatabase()

Optional. The name of the database.

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

Returns
Type Description
String

The database.

getDatabaseBytes()

public ByteString getDatabaseBytes()

Optional. The name of the database.

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

Returns
Type Description
ByteString

The bytes for database.

getDbSystemId()

public String getDbSystemId()

Optional. The OCID of the database system being referenced.

string db_system_id = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The dbSystemId.

getDbSystemIdBytes()

public ByteString getDbSystemIdBytes()

Optional. The OCID of the database system being referenced.

string db_system_id = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for dbSystemId.

getDefaultInstanceForType()

public GoldengateMysqlConnectionProperties getDefaultInstanceForType()
Returns
Type Description
GoldengateMysqlConnectionProperties

getHost()

public String getHost()

Optional. The name or address of a host.

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

Returns
Type Description
String

The host.

getHostBytes()

public ByteString getHostBytes()

Optional. The name or address of a host.

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

Returns
Type Description
ByteString

The bytes for host.

getParserForType()

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

getPassword()

public String getPassword()

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

string password = 15 [(.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 to connect to MySQL in plain text.

string password = 15 [(.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 to connect to MySQL. Format: projects/{project}/secrets/{secret}/versions/{version}.

string password_secret_version = 16 [(.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 to connect to MySQL. Format: projects/{project}/secrets/{secret}/versions/{version}.

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

Returns
Type Description
ByteString

The bytes for passwordSecretVersion.

getPort()

public int getPort()

Optional. The port of an endpoint usually specified for a connection.

int32 port = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The port.

getSecurityProtocol()

public GoldengateMysqlConnectionProperties.MysqlSecurityProtocol getSecurityProtocol()

Optional. Security Type for MySQL.

.google.cloud.oracledatabase.v1.GoldengateMysqlConnectionProperties.MysqlSecurityProtocol security_protocol = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GoldengateMysqlConnectionProperties.MysqlSecurityProtocol

The securityProtocol.

getSecurityProtocolValue()

public int getSecurityProtocolValue()

Optional. Security Type for MySQL.

.google.cloud.oracledatabase.v1.GoldengateMysqlConnectionProperties.MysqlSecurityProtocol security_protocol = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for securityProtocol.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSslCaFile()

public String getSslCaFile()

Optional. Database Certificate - The base64 encoded content of a .pem or .crt file containing the server public key (for 1 and 2-way SSL).

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

Returns
Type Description
String

The sslCaFile.

getSslCaFileBytes()

public ByteString getSslCaFileBytes()

Optional. Database Certificate - The base64 encoded content of a .pem or .crt file containing the server public key (for 1 and 2-way SSL).

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

Returns
Type Description
ByteString

The bytes for sslCaFile.

getSslCertFile()

public String getSslCertFile()

Optional. Client Certificate - The base64 encoded content of a .pem or .crt file containing the client public key (for 2-way SSL).

string ssl_cert_file = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The sslCertFile.

getSslCertFileBytes()

public ByteString getSslCertFileBytes()

Optional. Client Certificate - The base64 encoded content of a .pem or .crt file containing the client public key (for 2-way SSL).

string ssl_cert_file = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for sslCertFile.

getSslCrlFile()

public String getSslCrlFile()

Optional. The base64 encoded list of certificates revoked by the trusted certificate authorities (Trusted CA).

string ssl_crl_file = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The sslCrlFile.

getSslCrlFileBytes()

public ByteString getSslCrlFileBytes()

Optional. The base64 encoded list of certificates revoked by the trusted certificate authorities (Trusted CA).

string ssl_crl_file = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for sslCrlFile.

getSslKeyFile()

public String getSslKeyFile()

Optional. Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL).

string ssl_key_file = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The sslKeyFile.

getSslKeyFileBytes()

public ByteString getSslKeyFileBytes()

Optional. Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL).

string ssl_key_file = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for sslKeyFile.

getSslMode()

public GoldengateMysqlConnectionProperties.SSLMode getSslMode()

Optional. SSL modes for MySQL.

.google.cloud.oracledatabase.v1.GoldengateMysqlConnectionProperties.SSLMode ssl_mode = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GoldengateMysqlConnectionProperties.SSLMode

The sslMode.

getSslModeValue()

public int getSslModeValue()

Optional. SSL modes for MySQL.

.google.cloud.oracledatabase.v1.GoldengateMysqlConnectionProperties.SSLMode ssl_mode = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for sslMode.

getTechnologyType()

public String getTechnologyType()

Optional. The technology type of MysqlConnection.

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

Returns
Type Description
String

The technologyType.

getTechnologyTypeBytes()

public ByteString getTechnologyTypeBytes()

Optional. The technology type of MysqlConnection.

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 the associated system of the given technology.

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 the associated system of the given technology.

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

Returns
Type Description
ByteString

The bytes for username.

hasPassword()

public boolean hasPassword()

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

string password = 15 [(.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 to connect to MySQL. Format: projects/{project}/secrets/{secret}/versions/{version}.

string password_secret_version = 16 [(.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 GoldengateMysqlConnectionProperties.Builder newBuilderForType()
Returns
Type Description
GoldengateMysqlConnectionProperties.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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