Class GoldengateSnowflakeConnectionProperties (0.42.0)

public final class GoldengateSnowflakeConnectionProperties extends GeneratedMessage implements GoldengateSnowflakeConnectionPropertiesOrBuilder

The properties of GoldengateSnowflakeConnection.

Protobuf type google.cloud.oracledatabase.v1.GoldengateSnowflakeConnectionProperties

Inheritance

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

Static Fields

AUTHENTICATION_TYPE_FIELD_NUMBER

public static final int AUTHENTICATION_TYPE_FIELD_NUMBER
Field Value
Type Description
int

CONNECTION_URL_FIELD_NUMBER

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

PRIVATE_KEY_FILE_FIELD_NUMBER

public static final int PRIVATE_KEY_FILE_FIELD_NUMBER
Field Value
Type Description
int

PRIVATE_KEY_PASSPHRASE_SECRET_FIELD_NUMBER

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

getDescriptor()

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

newBuilder()

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

newBuilder(GoldengateSnowflakeConnectionProperties prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAuthenticationType()

public GoldengateSnowflakeConnectionProperties.AuthenticationType getAuthenticationType()

Optional. Used authentication mechanism to access Snowflake.

.google.cloud.oracledatabase.v1.GoldengateSnowflakeConnectionProperties.AuthenticationType authentication_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GoldengateSnowflakeConnectionProperties.AuthenticationType

The authenticationType.

getAuthenticationTypeValue()

public int getAuthenticationTypeValue()

Optional. Used authentication mechanism to access Snowflake.

.google.cloud.oracledatabase.v1.GoldengateSnowflakeConnectionProperties.AuthenticationType authentication_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for authenticationType.

getConnectionPasswordOptionsCase()

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

getConnectionUrl()

public String getConnectionUrl()

Optional. JDBC connection URL. e.g.: 'jdbc❄️//<account_name>.snowflakecomputing.com/?warehouse=<warehouse-name>&db=<db-name>'

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

Returns
Type Description
String

The connectionUrl.

getConnectionUrlBytes()

public ByteString getConnectionUrlBytes()

Optional. JDBC connection URL. e.g.: 'jdbc❄️//<account_name>.snowflakecomputing.com/?warehouse=<warehouse-name>&db=<db-name>'

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

Returns
Type Description
ByteString

The bytes for connectionUrl.

getDefaultInstanceForType()

public GoldengateSnowflakeConnectionProperties getDefaultInstanceForType()
Returns
Type Description
GoldengateSnowflakeConnectionProperties

getParserForType()

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

getPassword()

public String getPassword()

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

string password = 8 [(.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 Snowflake platform in plain text.

string password = 8 [(.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 Snowflake platform. Format: projects/{project}/secrets/{secret}/versions/{version}.

string password_secret_version = 9 [(.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 Snowflake platform. Format: projects/{project}/secrets/{secret}/versions/{version}.

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

Returns
Type Description
ByteString

The bytes for passwordSecretVersion.

getPrivateKeyFile()

public String getPrivateKeyFile()

Optional. The content of private key file in PEM format.

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

Returns
Type Description
String

The privateKeyFile.

getPrivateKeyFileBytes()

public ByteString getPrivateKeyFileBytes()

Optional. The content of private key file in PEM format.

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

Returns
Type Description
ByteString

The bytes for privateKeyFile.

getPrivateKeyPassphraseSecret()

public String getPrivateKeyPassphraseSecret()

Optional. Password if the private key file is encrypted.

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

Returns
Type Description
String

The privateKeyPassphraseSecret.

getPrivateKeyPassphraseSecretBytes()

public ByteString getPrivateKeyPassphraseSecretBytes()

Optional. Password if the private key file is encrypted.

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

Returns
Type Description
ByteString

The bytes for privateKeyPassphraseSecret.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTechnologyType()

public String getTechnologyType()

Optional. The technology type of SnowflakeConnection.

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

Returns
Type Description
String

The technologyType.

getTechnologyTypeBytes()

public ByteString getTechnologyTypeBytes()

Optional. The technology type of SnowflakeConnection.

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 Snowflake.

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

Returns
Type Description
String

The username.

getUsernameBytes()

public ByteString getUsernameBytes()

Optional. The username Oracle Goldengate uses to connect to Snowflake.

string username = 4 [(.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 Snowflake platform in plain text.

string password = 8 [(.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 Snowflake platform. Format: projects/{project}/secrets/{secret}/versions/{version}.

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

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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