Class GoldengateAmazonRedshiftConnectionProperties (0.42.0)

public final class GoldengateAmazonRedshiftConnectionProperties extends GeneratedMessage implements GoldengateAmazonRedshiftConnectionPropertiesOrBuilder

The properties of GoldengateAmazonRedshiftConnection.

Protobuf type google.cloud.oracledatabase.v1.GoldengateAmazonRedshiftConnectionProperties

Inheritance

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

Static Fields

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

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

getDescriptor()

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

newBuilder()

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

newBuilder(GoldengateAmazonRedshiftConnectionProperties prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getConnectionPasswordOptionsCase()

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

getConnectionUrl()

public String getConnectionUrl()

Optional. Connection URL. e.g.: 'jdbc:redshift://aws-redshift-instance.aaaaaaaaaaaa.us-east-2.redshift.amazonaws.com:5439/mydb'

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

Returns
Type Description
String

The connectionUrl.

getConnectionUrlBytes()

public ByteString getConnectionUrlBytes()

Optional. Connection URL. e.g.: 'jdbc:redshift://aws-redshift-instance.aaaaaaaaaaaa.us-east-2.redshift.amazonaws.com:5439/mydb'

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

Returns
Type Description
ByteString

The bytes for connectionUrl.

getDefaultInstanceForType()

public GoldengateAmazonRedshiftConnectionProperties getDefaultInstanceForType()
Returns
Type Description
GoldengateAmazonRedshiftConnectionProperties

getParserForType()

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

getPassword()

public String getPassword()

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

string password = 5 [(.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 Amazon Redshift connection in plain text.

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

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

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

Returns
Type Description
ByteString

The bytes for passwordSecretVersion.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTechnologyType()

public String getTechnologyType()

Optional. The technology type of AmazonRedshiftConnection.

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

Returns
Type Description
String

The technologyType.

getTechnologyTypeBytes()

public ByteString getTechnologyTypeBytes()

Optional. The technology type of AmazonRedshiftConnection.

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 = 3 [(.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 = 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 for Amazon Redshift connection in plain text.

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

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

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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