Class GoldengateDb2ConnectionProperties (0.42.0)

public final class GoldengateDb2ConnectionProperties extends GeneratedMessage implements GoldengateDb2ConnectionPropertiesOrBuilder

The properties of GoldengateDb2Connection.

Protobuf type google.cloud.oracledatabase.v1.GoldengateDb2ConnectionProperties

Inheritance

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

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

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_CLIENT_KEYSTASH_FILE_FIELD_NUMBER

public static final int SSL_CLIENT_KEYSTASH_FILE_FIELD_NUMBER
Field Value
Type Description
int

SSL_CLIENT_KEYSTOREDB_FILE_FIELD_NUMBER

public static final int SSL_CLIENT_KEYSTOREDB_FILE_FIELD_NUMBER
Field Value
Type Description
int

SSL_SERVER_CERTIFICATE_FILE_FIELD_NUMBER

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

getDescriptor()

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

newBuilder()

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

newBuilder(GoldengateDb2ConnectionProperties prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

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 = 8 [(.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 = 8 [(.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 = 8 [(.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 = 8 [(.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 = 8 [(.google.api.field_behavior) = OPTIONAL];

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

getConnectionPasswordOptionsCase()

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

getDatabase()

public String getDatabase()

Optional. The name of the database.

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

Returns
Type Description
String

The database.

getDatabaseBytes()

public ByteString getDatabaseBytes()

Optional. The name of the database.

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

Returns
Type Description
ByteString

The bytes for database.

getDefaultInstanceForType()

public GoldengateDb2ConnectionProperties getDefaultInstanceForType()
Returns
Type Description
GoldengateDb2ConnectionProperties

getHost()

public String getHost()

Optional. The name or address of a host.

string host = 2 [(.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 = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for host.

getParserForType()

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

getPassword()

public String getPassword()

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

string password = 12 [(.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 for Db2 connection in plain text.

string password = 12 [(.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 for Db2 connection. Format: projects/{project}/secrets/{secret}/versions/{version}.

string password_secret_version = 13 [(.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 for Db2 connection. Format: projects/{project}/secrets/{secret}/versions/{version}.

string password_secret_version = 13 [(.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 = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The port.

getSecurityProtocol()

public GoldengateDb2ConnectionProperties.Db2SecurityProtocol getSecurityProtocol()

Optional. Security protocol for the DB2 database.

.google.cloud.oracledatabase.v1.GoldengateDb2ConnectionProperties.Db2SecurityProtocol security_protocol = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GoldengateDb2ConnectionProperties.Db2SecurityProtocol

The securityProtocol.

getSecurityProtocolValue()

public int getSecurityProtocolValue()

Optional. Security protocol for the DB2 database.

.google.cloud.oracledatabase.v1.GoldengateDb2ConnectionProperties.Db2SecurityProtocol security_protocol = 6 [(.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

getSslClientKeystashFile()

public String getSslClientKeystashFile()

Optional. The keystash file which contains the encrypted password to the key database file. Not supported for IBM Db2 for i.

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

Returns
Type Description
String

The sslClientKeystashFile.

getSslClientKeystashFileBytes()

public ByteString getSslClientKeystashFileBytes()

Optional. The keystash file which contains the encrypted password to the key database file. Not supported for IBM Db2 for i.

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

Returns
Type Description
ByteString

The bytes for sslClientKeystashFile.

getSslClientKeystoredbFile()

public String getSslClientKeystoredbFile()

Optional. The keystore file created at the client containing the server certificate / CA root certificate. Not supported for IBM Db2 for i.

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

Returns
Type Description
String

The sslClientKeystoredbFile.

getSslClientKeystoredbFileBytes()

public ByteString getSslClientKeystoredbFileBytes()

Optional. The keystore file created at the client containing the server certificate / CA root certificate. Not supported for IBM Db2 for i.

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

Returns
Type Description
ByteString

The bytes for sslClientKeystoredbFile.

getSslServerCertificateFile()

public String getSslServerCertificateFile()

Optional. The file which contains the self-signed server certificate / Certificate Authority (CA) certificate.

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

Returns
Type Description
String

The sslServerCertificateFile.

getSslServerCertificateFileBytes()

public ByteString getSslServerCertificateFileBytes()

Optional. The file which contains the self-signed server certificate / Certificate Authority (CA) certificate.

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

Returns
Type Description
ByteString

The bytes for sslServerCertificateFile.

getTechnologyType()

public String getTechnologyType()

Optional. The technology type of Db2Connection.

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

Returns
Type Description
String

The technologyType.

getTechnologyTypeBytes()

public ByteString getTechnologyTypeBytes()

Optional. The technology type of Db2Connection.

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 to the DB2 database.

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

Returns
Type Description
String

The username.

getUsernameBytes()

public ByteString getUsernameBytes()

Optional. The username Oracle Goldengate uses to connect to the DB2 database.

string username = 5 [(.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 for Db2 connection in plain text.

string password = 12 [(.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 for Db2 connection. Format: projects/{project}/secrets/{secret}/versions/{version}.

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

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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