Class GoldengateMongodbConnectionProperties (0.42.0)

public final class GoldengateMongodbConnectionProperties extends GeneratedMessage implements GoldengateMongodbConnectionPropertiesOrBuilder

The properties of GoldengateMongodbConnection.

Protobuf type google.cloud.oracledatabase.v1.GoldengateMongodbConnectionProperties

Inheritance

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

Static Fields

CONNECTION_STRING_FIELD_NUMBER

public static final int CONNECTION_STRING_FIELD_NUMBER
Field Value
Type Description
int

DATABASE_ID_FIELD_NUMBER

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

SECURITY_PROTOCOL_FIELD_NUMBER

public static final int SECURITY_PROTOCOL_FIELD_NUMBER
Field Value
Type Description
int

TECHNOLOGY_TYPE_FIELD_NUMBER

public static final int TECHNOLOGY_TYPE_FIELD_NUMBER
Field Value
Type Description
int

TLS_CA_FILE_FIELD_NUMBER

public static final int TLS_CA_FILE_FIELD_NUMBER
Field Value
Type Description
int

TLS_CERTIFICATE_KEY_FILE_FIELD_NUMBER

public static final int TLS_CERTIFICATE_KEY_FILE_FIELD_NUMBER
Field Value
Type Description
int

TLS_CERTIFICATE_KEY_FILE_PASSWORD_FIELD_NUMBER

public static final int TLS_CERTIFICATE_KEY_FILE_PASSWORD_FIELD_NUMBER
Field Value
Type Description
int

TLS_CERTIFICATE_KEY_FILE_PASSWORD_SECRET_VERSION_FIELD_NUMBER

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

getDescriptor()

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

newBuilder()

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

newBuilder(GoldengateMongodbConnectionProperties prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getConnectionPasswordOptionsCase()

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

getConnectionString()

public String getConnectionString()

Optional. MongoDB connection string. e.g.: 'mongodb://mongodb0.example.com:27017/recordsrecords'

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

Returns
Type Description
String

The connectionString.

getConnectionStringBytes()

public ByteString getConnectionStringBytes()

Optional. MongoDB connection string. e.g.: 'mongodb://mongodb0.example.com:27017/recordsrecords'

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

Returns
Type Description
ByteString

The bytes for connectionString.

getDatabaseId()

public String getDatabaseId()

Optional. The OCID of the Oracle Autonomous Json Database.

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

Returns
Type Description
String

The databaseId.

getDatabaseIdBytes()

public ByteString getDatabaseIdBytes()

Optional. The OCID of the Oracle Autonomous Json Database.

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

Returns
Type Description
ByteString

The bytes for databaseId.

getDefaultInstanceForType()

public GoldengateMongodbConnectionProperties getDefaultInstanceForType()
Returns
Type Description
GoldengateMongodbConnectionProperties

getParserForType()

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

getPassword()

public String getPassword()

Optional. Input only. The password Oracle Goldengate uses to connect the Mongodb connection 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 to connect the Mongodb connection 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 to connect the Mongodb connection. Format: projects/{project}/secrets/{secret}/versions/{version}.

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

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

Returns
Type Description
ByteString

The bytes for passwordSecretVersion.

getSecurityProtocol()

public GoldengateMongodbConnectionProperties.MongodbSecurityProtocol getSecurityProtocol()

Optional. Security Type for MongoDB.

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

Returns
Type Description
GoldengateMongodbConnectionProperties.MongodbSecurityProtocol

The securityProtocol.

getSecurityProtocolValue()

public int getSecurityProtocolValue()

Optional. Security Type for MongoDB.

.google.cloud.oracledatabase.v1.GoldengateMongodbConnectionProperties.MongodbSecurityProtocol 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

getTechnologyType()

public String getTechnologyType()

Optional. The technology type of MongodbConnection.

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

Returns
Type Description
String

The technologyType.

getTechnologyTypeBytes()

public ByteString getTechnologyTypeBytes()

Optional. The technology type of MongodbConnection.

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

Returns
Type Description
ByteString

The bytes for technologyType.

getTlsCaFile()

public String getTlsCaFile()

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

string tls_ca_file = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The tlsCaFile.

getTlsCaFileBytes()

public ByteString getTlsCaFileBytes()

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

string tls_ca_file = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for tlsCaFile.

getTlsCertificateKeyFile()

public String getTlsCertificateKeyFile()

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

string tls_certificate_key_file = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The tlsCertificateKeyFile.

getTlsCertificateKeyFileBytes()

public ByteString getTlsCertificateKeyFileBytes()

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

string tls_certificate_key_file = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for tlsCertificateKeyFile.

getTlsCertificateKeyFilePassword()

public String getTlsCertificateKeyFilePassword()

Optional. Input only. The Client Certificate key file password in plain text.

string tls_certificate_key_file_password = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
String

The tlsCertificateKeyFilePassword.

getTlsCertificateKeyFilePasswordBytes()

public ByteString getTlsCertificateKeyFilePasswordBytes()

Optional. Input only. The Client Certificate key file password in plain text.

string tls_certificate_key_file_password = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
ByteString

The bytes for tlsCertificateKeyFilePassword.

getTlsCertificateKeyFilePasswordOptionsCase()

public GoldengateMongodbConnectionProperties.TlsCertificateKeyFilePasswordOptionsCase getTlsCertificateKeyFilePasswordOptionsCase()
Returns
Type Description
GoldengateMongodbConnectionProperties.TlsCertificateKeyFilePasswordOptionsCase

getTlsCertificateKeyFilePasswordSecretVersion()

public String getTlsCertificateKeyFilePasswordSecretVersion()

Optional. Input only. The resource name of a secret version in Secret Manager which contains the Client Certificate key file password in Secret Manager. Format: projects/{project}/secrets/{secret}/versions/{version}.

string tls_certificate_key_file_password_secret_version = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The tlsCertificateKeyFilePasswordSecretVersion.

getTlsCertificateKeyFilePasswordSecretVersionBytes()

public ByteString getTlsCertificateKeyFilePasswordSecretVersionBytes()

Optional. Input only. The resource name of a secret version in Secret Manager which contains the Client Certificate key file password in Secret Manager. Format: projects/{project}/secrets/{secret}/versions/{version}.

string tls_certificate_key_file_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 tlsCertificateKeyFilePasswordSecretVersion.

getUsername()

public String getUsername()

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

string username = 3 [(.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 database.

string username = 3 [(.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 the Mongodb connection 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 to connect the Mongodb connection. Format: projects/{project}/secrets/{secret}/versions/{version}.

string password_secret_version = 12 [(.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.

hasTlsCertificateKeyFilePassword()

public boolean hasTlsCertificateKeyFilePassword()

Optional. Input only. The Client Certificate key file password in plain text.

string tls_certificate_key_file_password = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
boolean

Whether the tlsCertificateKeyFilePassword field is set.

hasTlsCertificateKeyFilePasswordSecretVersion()

public boolean hasTlsCertificateKeyFilePasswordSecretVersion()

Optional. Input only. The resource name of a secret version in Secret Manager which contains the Client Certificate key file password in Secret Manager. Format: projects/{project}/secrets/{secret}/versions/{version}.

string tls_certificate_key_file_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 tlsCertificateKeyFilePasswordSecretVersion 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 GoldengateMongodbConnectionProperties.Builder newBuilderForType()
Returns
Type Description
GoldengateMongodbConnectionProperties.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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