Class GoldengateMicrosoftSqlserverConnectionProperties (0.42.0)

public final class GoldengateMicrosoftSqlserverConnectionProperties extends GeneratedMessage implements GoldengateMicrosoftSqlserverConnectionPropertiesOrBuilder

The properties of GoldengateMicrosoftSqlserverConnection.

Protobuf type google.cloud.oracledatabase.v1.GoldengateMicrosoftSqlserverConnectionProperties

Inheritance

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

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

SERVER_CERTIFICATE_VALIDATION_REQUIRED_FIELD_NUMBER

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

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 GoldengateMicrosoftSqlserverConnectionProperties getDefaultInstance()
Returns
Type Description
GoldengateMicrosoftSqlserverConnectionProperties

getDescriptor()

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

newBuilder()

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

newBuilder(GoldengateMicrosoftSqlserverConnectionProperties prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

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

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

getConnectionPasswordOptionsCase()

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

getDatabase()

public String getDatabase()

Optional. The name of the database.

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

Returns
Type Description
String

The database.

getDatabaseBytes()

public ByteString getDatabaseBytes()

Optional. The name of the database.

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

Returns
Type Description
ByteString

The bytes for database.

getDefaultInstanceForType()

public GoldengateMicrosoftSqlserverConnectionProperties getDefaultInstanceForType()
Returns
Type Description
GoldengateMicrosoftSqlserverConnectionProperties

getHost()

public String getHost()

Optional. The name or address of a host.

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

Returns
Type Description
ByteString

The bytes for host.

getParserForType()

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

getPassword()

public String getPassword()

Optional. Input only. The password Oracle Goldengate uses for Microsoft SQL Server connection in plain text.

string password = 11 [(.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 Microsoft SQL Server connection in plain text.

string password = 11 [(.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 Microsoft SQL Server 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 for Microsoft SQL Server 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.

getPort()

public int getPort()

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

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

Returns
Type Description
int

The port.

getSecurityProtocol()

public GoldengateMicrosoftSqlserverConnectionProperties.MicrosoftSqlserverSecurityProtocol getSecurityProtocol()

Optional. Security Type for Microsoft SQL Server.

.google.cloud.oracledatabase.v1.GoldengateMicrosoftSqlserverConnectionProperties.MicrosoftSqlserverSecurityProtocol security_protocol = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GoldengateMicrosoftSqlserverConnectionProperties.MicrosoftSqlserverSecurityProtocol

The securityProtocol.

getSecurityProtocolValue()

public int getSecurityProtocolValue()

Optional. Security Type for Microsoft SQL Server.

.google.cloud.oracledatabase.v1.GoldengateMicrosoftSqlserverConnectionProperties.MicrosoftSqlserverSecurityProtocol security_protocol = 8 [(.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

getServerCertificateValidationRequired()

public boolean getServerCertificateValidationRequired()

Optional. If set to true, the driver validates the certificate that is sent by the database server.

bool server_certificate_validation_required = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The serverCertificateValidationRequired.

getSslCaFile()

public String getSslCaFile()

Optional. Database Certificate - The base64 encoded content of a .pem or .crt file containing the server public key (for 1-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-way SSL).

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

Returns
Type Description
ByteString

The bytes for sslCaFile.

getTechnologyType()

public String getTechnologyType()

Optional. The technology type of MicrosoftSqlserverConnection.

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

Returns
Type Description
String

The technologyType.

getTechnologyTypeBytes()

public ByteString getTechnologyTypeBytes()

Optional. The technology type of MicrosoftSqlserverConnection.

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 Microsoft SQL Server.

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 Microsoft SQL Server.

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 Microsoft SQL Server connection in plain text.

string password = 11 [(.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 Microsoft SQL Server 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.

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 GoldengateMicrosoftSqlserverConnectionProperties.Builder newBuilderForType()
Returns
Type Description
GoldengateMicrosoftSqlserverConnectionProperties.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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