Class GoldengateElasticsearchConnectionProperties.Builder (0.42.0)

public static final class GoldengateElasticsearchConnectionProperties.Builder extends GeneratedMessage.Builder<GoldengateElasticsearchConnectionProperties.Builder> implements GoldengateElasticsearchConnectionPropertiesOrBuilder

The properties of GoldengateElasticsearchConnection.

Protobuf type google.cloud.oracledatabase.v1.GoldengateElasticsearchConnectionProperties

Static Methods

getDescriptor()

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

Methods

build()

public GoldengateElasticsearchConnectionProperties build()
Returns
Type Description
GoldengateElasticsearchConnectionProperties

buildPartial()

public GoldengateElasticsearchConnectionProperties buildPartial()
Returns
Type Description
GoldengateElasticsearchConnectionProperties

clear()

public GoldengateElasticsearchConnectionProperties.Builder clear()
Returns
Type Description
GoldengateElasticsearchConnectionProperties.Builder
Overrides

clearAuthenticationType()

public GoldengateElasticsearchConnectionProperties.Builder clearAuthenticationType()

Optional. Authentication type for Elasticsearch.

.google.cloud.oracledatabase.v1.GoldengateElasticsearchConnectionProperties.ElasticsearchAuthenticationType authentication_type = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GoldengateElasticsearchConnectionProperties.Builder

This builder for chaining.

clearConnectionPasswordOptions()

public GoldengateElasticsearchConnectionProperties.Builder clearConnectionPasswordOptions()
Returns
Type Description
GoldengateElasticsearchConnectionProperties.Builder

clearFingerprint()

public GoldengateElasticsearchConnectionProperties.Builder clearFingerprint()

Optional. Fingerprint required by TLS security protocol. Eg.: '6152b2dfbff200f973c5074a5b91d06ab3b472c07c09a1ea57bb7fd406cdce9c'

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

Returns
Type Description
GoldengateElasticsearchConnectionProperties.Builder

This builder for chaining.

clearPassword()

public GoldengateElasticsearchConnectionProperties.Builder clearPassword()

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

string password = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
GoldengateElasticsearchConnectionProperties.Builder

This builder for chaining.

clearPasswordSecretVersion()

public GoldengateElasticsearchConnectionProperties.Builder clearPasswordSecretVersion()

Optional. Input only. The resource name of a secret version in Secret Manager which contains the password Oracle Goldengate uses for Elastic Search connection. 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
GoldengateElasticsearchConnectionProperties.Builder

This builder for chaining.

clearSecurityProtocol()

public GoldengateElasticsearchConnectionProperties.Builder clearSecurityProtocol()

Optional. Security protocol for Elasticsearch.

.google.cloud.oracledatabase.v1.GoldengateElasticsearchConnectionProperties.ElasticsearchSecurityProtocol security_protocol = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GoldengateElasticsearchConnectionProperties.Builder

This builder for chaining.

clearServers()

public GoldengateElasticsearchConnectionProperties.Builder clearServers()

Optional. Comma separated list of Elasticsearch server addresses, specified as host:port entries, where :port is optional. If port is not specified, it defaults to 9200. Example: "server1.example.com:4000,server2.example.com:4000"

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

Returns
Type Description
GoldengateElasticsearchConnectionProperties.Builder

This builder for chaining.

clearTechnologyType()

public GoldengateElasticsearchConnectionProperties.Builder clearTechnologyType()

Optional. The technology type of ElasticsearchConnection.

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

Returns
Type Description
GoldengateElasticsearchConnectionProperties.Builder

This builder for chaining.

clearUsername()

public GoldengateElasticsearchConnectionProperties.Builder clearUsername()

Optional. The username Oracle Goldengate uses to connect the associated system of the given technology.

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

Returns
Type Description
GoldengateElasticsearchConnectionProperties.Builder

This builder for chaining.

getAuthenticationType()

public GoldengateElasticsearchConnectionProperties.ElasticsearchAuthenticationType getAuthenticationType()

Optional. Authentication type for Elasticsearch.

.google.cloud.oracledatabase.v1.GoldengateElasticsearchConnectionProperties.ElasticsearchAuthenticationType authentication_type = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GoldengateElasticsearchConnectionProperties.ElasticsearchAuthenticationType

The authenticationType.

getAuthenticationTypeValue()

public int getAuthenticationTypeValue()

Optional. Authentication type for Elasticsearch.

.google.cloud.oracledatabase.v1.GoldengateElasticsearchConnectionProperties.ElasticsearchAuthenticationType authentication_type = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for authenticationType.

getConnectionPasswordOptionsCase()

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

getDefaultInstanceForType()

public GoldengateElasticsearchConnectionProperties getDefaultInstanceForType()
Returns
Type Description
GoldengateElasticsearchConnectionProperties

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFingerprint()

public String getFingerprint()

Optional. Fingerprint required by TLS security protocol. Eg.: '6152b2dfbff200f973c5074a5b91d06ab3b472c07c09a1ea57bb7fd406cdce9c'

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

Returns
Type Description
String

The fingerprint.

getFingerprintBytes()

public ByteString getFingerprintBytes()

Optional. Fingerprint required by TLS security protocol. Eg.: '6152b2dfbff200f973c5074a5b91d06ab3b472c07c09a1ea57bb7fd406cdce9c'

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

Returns
Type Description
ByteString

The bytes for fingerprint.

getPassword()

public String getPassword()

Optional. Input only. The password Oracle Goldengate uses for Elastic Search connection 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 for Elastic Search connection 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 for Elastic Search connection. 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 for Elastic Search connection. 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.

getSecurityProtocol()

public GoldengateElasticsearchConnectionProperties.ElasticsearchSecurityProtocol getSecurityProtocol()

Optional. Security protocol for Elasticsearch.

.google.cloud.oracledatabase.v1.GoldengateElasticsearchConnectionProperties.ElasticsearchSecurityProtocol security_protocol = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GoldengateElasticsearchConnectionProperties.ElasticsearchSecurityProtocol

The securityProtocol.

getSecurityProtocolValue()

public int getSecurityProtocolValue()

Optional. Security protocol for Elasticsearch.

.google.cloud.oracledatabase.v1.GoldengateElasticsearchConnectionProperties.ElasticsearchSecurityProtocol security_protocol = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for securityProtocol.

getServers()

public String getServers()

Optional. Comma separated list of Elasticsearch server addresses, specified as host:port entries, where :port is optional. If port is not specified, it defaults to 9200. Example: "server1.example.com:4000,server2.example.com:4000"

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

Returns
Type Description
String

The servers.

getServersBytes()

public ByteString getServersBytes()

Optional. Comma separated list of Elasticsearch server addresses, specified as host:port entries, where :port is optional. If port is not specified, it defaults to 9200. Example: "server1.example.com:4000,server2.example.com:4000"

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

Returns
Type Description
ByteString

The bytes for servers.

getTechnologyType()

public String getTechnologyType()

Optional. The technology type of ElasticsearchConnection.

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

Returns
Type Description
String

The technologyType.

getTechnologyTypeBytes()

public ByteString getTechnologyTypeBytes()

Optional. The technology type of ElasticsearchConnection.

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 = 5 [(.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 = 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 Elastic Search connection 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 for Elastic Search connection. 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.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GoldengateElasticsearchConnectionProperties other)

public GoldengateElasticsearchConnectionProperties.Builder mergeFrom(GoldengateElasticsearchConnectionProperties other)
Parameter
Name Description
other GoldengateElasticsearchConnectionProperties
Returns
Type Description
GoldengateElasticsearchConnectionProperties.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GoldengateElasticsearchConnectionProperties.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GoldengateElasticsearchConnectionProperties.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GoldengateElasticsearchConnectionProperties.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GoldengateElasticsearchConnectionProperties.Builder
Overrides

setAuthenticationType(GoldengateElasticsearchConnectionProperties.ElasticsearchAuthenticationType value)

public GoldengateElasticsearchConnectionProperties.Builder setAuthenticationType(GoldengateElasticsearchConnectionProperties.ElasticsearchAuthenticationType value)

Optional. Authentication type for Elasticsearch.

.google.cloud.oracledatabase.v1.GoldengateElasticsearchConnectionProperties.ElasticsearchAuthenticationType authentication_type = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value GoldengateElasticsearchConnectionProperties.ElasticsearchAuthenticationType

The authenticationType to set.

Returns
Type Description
GoldengateElasticsearchConnectionProperties.Builder

This builder for chaining.

setAuthenticationTypeValue(int value)

public GoldengateElasticsearchConnectionProperties.Builder setAuthenticationTypeValue(int value)

Optional. Authentication type for Elasticsearch.

.google.cloud.oracledatabase.v1.GoldengateElasticsearchConnectionProperties.ElasticsearchAuthenticationType authentication_type = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for authenticationType to set.

Returns
Type Description
GoldengateElasticsearchConnectionProperties.Builder

This builder for chaining.

setFingerprint(String value)

public GoldengateElasticsearchConnectionProperties.Builder setFingerprint(String value)

Optional. Fingerprint required by TLS security protocol. Eg.: '6152b2dfbff200f973c5074a5b91d06ab3b472c07c09a1ea57bb7fd406cdce9c'

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

Parameter
Name Description
value String

The fingerprint to set.

Returns
Type Description
GoldengateElasticsearchConnectionProperties.Builder

This builder for chaining.

setFingerprintBytes(ByteString value)

public GoldengateElasticsearchConnectionProperties.Builder setFingerprintBytes(ByteString value)

Optional. Fingerprint required by TLS security protocol. Eg.: '6152b2dfbff200f973c5074a5b91d06ab3b472c07c09a1ea57bb7fd406cdce9c'

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

Parameter
Name Description
value ByteString

The bytes for fingerprint to set.

Returns
Type Description
GoldengateElasticsearchConnectionProperties.Builder

This builder for chaining.

setPassword(String value)

public GoldengateElasticsearchConnectionProperties.Builder setPassword(String value)

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

string password = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];

Parameter
Name Description
value String

The password to set.

Returns
Type Description
GoldengateElasticsearchConnectionProperties.Builder

This builder for chaining.

setPasswordBytes(ByteString value)

public GoldengateElasticsearchConnectionProperties.Builder setPasswordBytes(ByteString value)

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

string password = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for password to set.

Returns
Type Description
GoldengateElasticsearchConnectionProperties.Builder

This builder for chaining.

setPasswordSecretVersion(String value)

public GoldengateElasticsearchConnectionProperties.Builder setPasswordSecretVersion(String value)

Optional. Input only. The resource name of a secret version in Secret Manager which contains the password Oracle Goldengate uses for Elastic Search connection. 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) = { ... }

Parameter
Name Description
value String

The passwordSecretVersion to set.

Returns
Type Description
GoldengateElasticsearchConnectionProperties.Builder

This builder for chaining.

setPasswordSecretVersionBytes(ByteString value)

public GoldengateElasticsearchConnectionProperties.Builder setPasswordSecretVersionBytes(ByteString value)

Optional. Input only. The resource name of a secret version in Secret Manager which contains the password Oracle Goldengate uses for Elastic Search connection. 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) = { ... }

Parameter
Name Description
value ByteString

The bytes for passwordSecretVersion to set.

Returns
Type Description
GoldengateElasticsearchConnectionProperties.Builder

This builder for chaining.

setSecurityProtocol(GoldengateElasticsearchConnectionProperties.ElasticsearchSecurityProtocol value)

public GoldengateElasticsearchConnectionProperties.Builder setSecurityProtocol(GoldengateElasticsearchConnectionProperties.ElasticsearchSecurityProtocol value)

Optional. Security protocol for Elasticsearch.

.google.cloud.oracledatabase.v1.GoldengateElasticsearchConnectionProperties.ElasticsearchSecurityProtocol security_protocol = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value GoldengateElasticsearchConnectionProperties.ElasticsearchSecurityProtocol

The securityProtocol to set.

Returns
Type Description
GoldengateElasticsearchConnectionProperties.Builder

This builder for chaining.

setSecurityProtocolValue(int value)

public GoldengateElasticsearchConnectionProperties.Builder setSecurityProtocolValue(int value)

Optional. Security protocol for Elasticsearch.

.google.cloud.oracledatabase.v1.GoldengateElasticsearchConnectionProperties.ElasticsearchSecurityProtocol security_protocol = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for securityProtocol to set.

Returns
Type Description
GoldengateElasticsearchConnectionProperties.Builder

This builder for chaining.

setServers(String value)

public GoldengateElasticsearchConnectionProperties.Builder setServers(String value)

Optional. Comma separated list of Elasticsearch server addresses, specified as host:port entries, where :port is optional. If port is not specified, it defaults to 9200. Example: "server1.example.com:4000,server2.example.com:4000"

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

Parameter
Name Description
value String

The servers to set.

Returns
Type Description
GoldengateElasticsearchConnectionProperties.Builder

This builder for chaining.

setServersBytes(ByteString value)

public GoldengateElasticsearchConnectionProperties.Builder setServersBytes(ByteString value)

Optional. Comma separated list of Elasticsearch server addresses, specified as host:port entries, where :port is optional. If port is not specified, it defaults to 9200. Example: "server1.example.com:4000,server2.example.com:4000"

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

Parameter
Name Description
value ByteString

The bytes for servers to set.

Returns
Type Description
GoldengateElasticsearchConnectionProperties.Builder

This builder for chaining.

setTechnologyType(String value)

public GoldengateElasticsearchConnectionProperties.Builder setTechnologyType(String value)

Optional. The technology type of ElasticsearchConnection.

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

Parameter
Name Description
value String

The technologyType to set.

Returns
Type Description
GoldengateElasticsearchConnectionProperties.Builder

This builder for chaining.

setTechnologyTypeBytes(ByteString value)

public GoldengateElasticsearchConnectionProperties.Builder setTechnologyTypeBytes(ByteString value)

Optional. The technology type of ElasticsearchConnection.

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

Parameter
Name Description
value ByteString

The bytes for technologyType to set.

Returns
Type Description
GoldengateElasticsearchConnectionProperties.Builder

This builder for chaining.

setUsername(String value)

public GoldengateElasticsearchConnectionProperties.Builder setUsername(String value)

Optional. The username Oracle Goldengate uses to connect the associated system of the given technology.

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

Parameter
Name Description
value String

The username to set.

Returns
Type Description
GoldengateElasticsearchConnectionProperties.Builder

This builder for chaining.

setUsernameBytes(ByteString value)

public GoldengateElasticsearchConnectionProperties.Builder setUsernameBytes(ByteString value)

Optional. The username Oracle Goldengate uses to connect the associated system of the given technology.

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

Parameter
Name Description
value ByteString

The bytes for username to set.

Returns
Type Description
GoldengateElasticsearchConnectionProperties.Builder

This builder for chaining.