Class OracleAsmConfig.Builder (1.54.0)

public static final class OracleAsmConfig.Builder extends GeneratedMessageV3.Builder<OracleAsmConfig.Builder> implements OracleAsmConfigOrBuilder

Configuration for Oracle Automatic Storage Management (ASM) connection.

Protobuf type google.cloud.datastream.v1.OracleAsmConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public OracleAsmConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
OracleAsmConfig.Builder
Overrides

build()

public OracleAsmConfig build()
Returns
Type Description
OracleAsmConfig

buildPartial()

public OracleAsmConfig buildPartial()
Returns
Type Description
OracleAsmConfig

clear()

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

clearAsmService()

public OracleAsmConfig.Builder clearAsmService()

Required. ASM service name for the Oracle ASM connection.

string asm_service = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
OracleAsmConfig.Builder

This builder for chaining.

clearConnectionAttributes()

public OracleAsmConfig.Builder clearConnectionAttributes()
Returns
Type Description
OracleAsmConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public OracleAsmConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
OracleAsmConfig.Builder
Overrides

clearHostname()

public OracleAsmConfig.Builder clearHostname()

Required. Hostname for the Oracle ASM connection.

string hostname = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
OracleAsmConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public OracleAsmConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
OracleAsmConfig.Builder
Overrides

clearOracleSslConfig()

public OracleAsmConfig.Builder clearOracleSslConfig()

Optional. SSL configuration for the Oracle connection.

.google.cloud.datastream.v1.OracleSslConfig oracle_ssl_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
OracleAsmConfig.Builder

clearPassword()

public OracleAsmConfig.Builder clearPassword()

Required. Password for the Oracle ASM connection.

string password = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
OracleAsmConfig.Builder

This builder for chaining.

clearPort()

public OracleAsmConfig.Builder clearPort()

Required. Port for the Oracle ASM connection.

int32 port = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
OracleAsmConfig.Builder

This builder for chaining.

clearUsername()

public OracleAsmConfig.Builder clearUsername()

Required. Username for the Oracle ASM connection.

string username = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
OracleAsmConfig.Builder

This builder for chaining.

clone()

public OracleAsmConfig.Builder clone()
Returns
Type Description
OracleAsmConfig.Builder
Overrides

containsConnectionAttributes(String key)

public boolean containsConnectionAttributes(String key)

Optional. Connection string attributes

map<string, string> connection_attributes = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getAsmService()

public String getAsmService()

Required. ASM service name for the Oracle ASM connection.

string asm_service = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The asmService.

getAsmServiceBytes()

public ByteString getAsmServiceBytes()

Required. ASM service name for the Oracle ASM connection.

string asm_service = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for asmService.

getConnectionAttributes() (deprecated)

public Map<String,String> getConnectionAttributes()
Returns
Type Description
Map<String,String>

getConnectionAttributesCount()

public int getConnectionAttributesCount()

Optional. Connection string attributes

map<string, string> connection_attributes = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getConnectionAttributesMap()

public Map<String,String> getConnectionAttributesMap()

Optional. Connection string attributes

map<string, string> connection_attributes = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getConnectionAttributesOrDefault(String key, String defaultValue)

public String getConnectionAttributesOrDefault(String key, String defaultValue)

Optional. Connection string attributes

map<string, string> connection_attributes = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getConnectionAttributesOrThrow(String key)

public String getConnectionAttributesOrThrow(String key)

Optional. Connection string attributes

map<string, string> connection_attributes = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

getDefaultInstanceForType()

public OracleAsmConfig getDefaultInstanceForType()
Returns
Type Description
OracleAsmConfig

getDescriptorForType()

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

getHostname()

public String getHostname()

Required. Hostname for the Oracle ASM connection.

string hostname = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The hostname.

getHostnameBytes()

public ByteString getHostnameBytes()

Required. Hostname for the Oracle ASM connection.

string hostname = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for hostname.

getMutableConnectionAttributes() (deprecated)

public Map<String,String> getMutableConnectionAttributes()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getOracleSslConfig()

public OracleSslConfig getOracleSslConfig()

Optional. SSL configuration for the Oracle connection.

.google.cloud.datastream.v1.OracleSslConfig oracle_ssl_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
OracleSslConfig

The oracleSslConfig.

getOracleSslConfigBuilder()

public OracleSslConfig.Builder getOracleSslConfigBuilder()

Optional. SSL configuration for the Oracle connection.

.google.cloud.datastream.v1.OracleSslConfig oracle_ssl_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
OracleSslConfig.Builder

getOracleSslConfigOrBuilder()

public OracleSslConfigOrBuilder getOracleSslConfigOrBuilder()

Optional. SSL configuration for the Oracle connection.

.google.cloud.datastream.v1.OracleSslConfig oracle_ssl_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
OracleSslConfigOrBuilder

getPassword()

public String getPassword()

Required. Password for the Oracle ASM connection.

string password = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The password.

getPasswordBytes()

public ByteString getPasswordBytes()

Required. Password for the Oracle ASM connection.

string password = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for password.

getPort()

public int getPort()

Required. Port for the Oracle ASM connection.

int32 port = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The port.

getUsername()

public String getUsername()

Required. Username for the Oracle ASM connection.

string username = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The username.

getUsernameBytes()

public ByteString getUsernameBytes()

Required. Username for the Oracle ASM connection.

string username = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for username.

hasOracleSslConfig()

public boolean hasOracleSslConfig()

Optional. SSL configuration for the Oracle connection.

.google.cloud.datastream.v1.OracleSslConfig oracle_ssl_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the oracleSslConfig field is set.

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(OracleAsmConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeOracleSslConfig(OracleSslConfig value)

public OracleAsmConfig.Builder mergeOracleSslConfig(OracleSslConfig value)

Optional. SSL configuration for the Oracle connection.

.google.cloud.datastream.v1.OracleSslConfig oracle_ssl_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value OracleSslConfig
Returns
Type Description
OracleAsmConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final OracleAsmConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
OracleAsmConfig.Builder
Overrides

putAllConnectionAttributes(Map<String,String> values)

public OracleAsmConfig.Builder putAllConnectionAttributes(Map<String,String> values)

Optional. Connection string attributes

map<string, string> connection_attributes = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Map<String,String>
Returns
Type Description
OracleAsmConfig.Builder

putConnectionAttributes(String key, String value)

public OracleAsmConfig.Builder putConnectionAttributes(String key, String value)

Optional. Connection string attributes

map<string, string> connection_attributes = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
value String
Returns
Type Description
OracleAsmConfig.Builder

removeConnectionAttributes(String key)

public OracleAsmConfig.Builder removeConnectionAttributes(String key)

Optional. Connection string attributes

map<string, string> connection_attributes = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
OracleAsmConfig.Builder

setAsmService(String value)

public OracleAsmConfig.Builder setAsmService(String value)

Required. ASM service name for the Oracle ASM connection.

string asm_service = 5 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The asmService to set.

Returns
Type Description
OracleAsmConfig.Builder

This builder for chaining.

setAsmServiceBytes(ByteString value)

public OracleAsmConfig.Builder setAsmServiceBytes(ByteString value)

Required. ASM service name for the Oracle ASM connection.

string asm_service = 5 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for asmService to set.

Returns
Type Description
OracleAsmConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public OracleAsmConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
OracleAsmConfig.Builder
Overrides

setHostname(String value)

public OracleAsmConfig.Builder setHostname(String value)

Required. Hostname for the Oracle ASM connection.

string hostname = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The hostname to set.

Returns
Type Description
OracleAsmConfig.Builder

This builder for chaining.

setHostnameBytes(ByteString value)

public OracleAsmConfig.Builder setHostnameBytes(ByteString value)

Required. Hostname for the Oracle ASM connection.

string hostname = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for hostname to set.

Returns
Type Description
OracleAsmConfig.Builder

This builder for chaining.

setOracleSslConfig(OracleSslConfig value)

public OracleAsmConfig.Builder setOracleSslConfig(OracleSslConfig value)

Optional. SSL configuration for the Oracle connection.

.google.cloud.datastream.v1.OracleSslConfig oracle_ssl_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value OracleSslConfig
Returns
Type Description
OracleAsmConfig.Builder

setOracleSslConfig(OracleSslConfig.Builder builderForValue)

public OracleAsmConfig.Builder setOracleSslConfig(OracleSslConfig.Builder builderForValue)

Optional. SSL configuration for the Oracle connection.

.google.cloud.datastream.v1.OracleSslConfig oracle_ssl_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue OracleSslConfig.Builder
Returns
Type Description
OracleAsmConfig.Builder

setPassword(String value)

public OracleAsmConfig.Builder setPassword(String value)

Required. Password for the Oracle ASM connection.

string password = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The password to set.

Returns
Type Description
OracleAsmConfig.Builder

This builder for chaining.

setPasswordBytes(ByteString value)

public OracleAsmConfig.Builder setPasswordBytes(ByteString value)

Required. Password for the Oracle ASM connection.

string password = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for password to set.

Returns
Type Description
OracleAsmConfig.Builder

This builder for chaining.

setPort(int value)

public OracleAsmConfig.Builder setPort(int value)

Required. Port for the Oracle ASM connection.

int32 port = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

The port to set.

Returns
Type Description
OracleAsmConfig.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public OracleAsmConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
OracleAsmConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final OracleAsmConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
OracleAsmConfig.Builder
Overrides

setUsername(String value)

public OracleAsmConfig.Builder setUsername(String value)

Required. Username for the Oracle ASM connection.

string username = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The username to set.

Returns
Type Description
OracleAsmConfig.Builder

This builder for chaining.

setUsernameBytes(ByteString value)

public OracleAsmConfig.Builder setUsernameBytes(ByteString value)

Required. Username for the Oracle ASM connection.

string username = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for username to set.

Returns
Type Description
OracleAsmConfig.Builder

This builder for chaining.