Class OracleProfile.Builder (1.14.0)

public static final class OracleProfile.Builder extends GeneratedMessageV3.Builder<OracleProfile.Builder> implements OracleProfileOrBuilder

Oracle database profile.

Protobuf type google.cloud.datastream.v1.OracleProfile

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public OracleProfile.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
OracleProfile.Builder
Overrides

build()

public OracleProfile build()
Returns
TypeDescription
OracleProfile

buildPartial()

public OracleProfile buildPartial()
Returns
TypeDescription
OracleProfile

clear()

public OracleProfile.Builder clear()
Returns
TypeDescription
OracleProfile.Builder
Overrides

clearConnectionAttributes()

public OracleProfile.Builder clearConnectionAttributes()
Returns
TypeDescription
OracleProfile.Builder

clearDatabaseService()

public OracleProfile.Builder clearDatabaseService()

Required. Database for the Oracle connection.

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

Returns
TypeDescription
OracleProfile.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public OracleProfile.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
OracleProfile.Builder
Overrides

clearHostname()

public OracleProfile.Builder clearHostname()

Required. Hostname for the Oracle connection.

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

Returns
TypeDescription
OracleProfile.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public OracleProfile.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
OracleProfile.Builder
Overrides

clearPassword()

public OracleProfile.Builder clearPassword()

Required. Password for the Oracle connection.

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

Returns
TypeDescription
OracleProfile.Builder

This builder for chaining.

clearPort()

public OracleProfile.Builder clearPort()

Port for the Oracle connection, default value is 1521.

int32 port = 2;

Returns
TypeDescription
OracleProfile.Builder

This builder for chaining.

clearUsername()

public OracleProfile.Builder clearUsername()

Required. Username for the Oracle connection.

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

Returns
TypeDescription
OracleProfile.Builder

This builder for chaining.

clone()

public OracleProfile.Builder clone()
Returns
TypeDescription
OracleProfile.Builder
Overrides

containsConnectionAttributes(String key)

public boolean containsConnectionAttributes(String key)

Connection string attributes

map<string, string> connection_attributes = 6;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getConnectionAttributes()

public Map<String,String> getConnectionAttributes()
Returns
TypeDescription
Map<String,String>

getConnectionAttributesCount()

public int getConnectionAttributesCount()

Connection string attributes

map<string, string> connection_attributes = 6;

Returns
TypeDescription
int

getConnectionAttributesMap()

public Map<String,String> getConnectionAttributesMap()

Connection string attributes

map<string, string> connection_attributes = 6;

Returns
TypeDescription
Map<String,String>

getConnectionAttributesOrDefault(String key, String defaultValue)

public String getConnectionAttributesOrDefault(String key, String defaultValue)

Connection string attributes

map<string, string> connection_attributes = 6;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getConnectionAttributesOrThrow(String key)

public String getConnectionAttributesOrThrow(String key)

Connection string attributes

map<string, string> connection_attributes = 6;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getDatabaseService()

public String getDatabaseService()

Required. Database for the Oracle connection.

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

Returns
TypeDescription
String

The databaseService.

getDatabaseServiceBytes()

public ByteString getDatabaseServiceBytes()

Required. Database for the Oracle connection.

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

Returns
TypeDescription
ByteString

The bytes for databaseService.

getDefaultInstanceForType()

public OracleProfile getDefaultInstanceForType()
Returns
TypeDescription
OracleProfile

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getHostname()

public String getHostname()

Required. Hostname for the Oracle connection.

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

Returns
TypeDescription
String

The hostname.

getHostnameBytes()

public ByteString getHostnameBytes()

Required. Hostname for the Oracle connection.

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

Returns
TypeDescription
ByteString

The bytes for hostname.

getMutableConnectionAttributes()

public Map<String,String> getMutableConnectionAttributes()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getPassword()

public String getPassword()

Required. Password for the Oracle connection.

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

Returns
TypeDescription
String

The password.

getPasswordBytes()

public ByteString getPasswordBytes()

Required. Password for the Oracle connection.

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

Returns
TypeDescription
ByteString

The bytes for password.

getPort()

public int getPort()

Port for the Oracle connection, default value is 1521.

int32 port = 2;

Returns
TypeDescription
int

The port.

getUsername()

public String getUsername()

Required. Username for the Oracle connection.

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

Returns
TypeDescription
String

The username.

getUsernameBytes()

public ByteString getUsernameBytes()

Required. Username for the Oracle connection.

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

Returns
TypeDescription
ByteString

The bytes for username.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(OracleProfile other)

public OracleProfile.Builder mergeFrom(OracleProfile other)
Parameter
NameDescription
otherOracleProfile
Returns
TypeDescription
OracleProfile.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public OracleProfile.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OracleProfile.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public OracleProfile.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
OracleProfile.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final OracleProfile.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
OracleProfile.Builder
Overrides

putAllConnectionAttributes(Map<String,String> values)

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

Connection string attributes

map<string, string> connection_attributes = 6;

Parameter
NameDescription
valuesMap<String,String>
Returns
TypeDescription
OracleProfile.Builder

putConnectionAttributes(String key, String value)

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

Connection string attributes

map<string, string> connection_attributes = 6;

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
OracleProfile.Builder

removeConnectionAttributes(String key)

public OracleProfile.Builder removeConnectionAttributes(String key)

Connection string attributes

map<string, string> connection_attributes = 6;

Parameter
NameDescription
keyString
Returns
TypeDescription
OracleProfile.Builder

setDatabaseService(String value)

public OracleProfile.Builder setDatabaseService(String value)

Required. Database for the Oracle connection.

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

Parameter
NameDescription
valueString

The databaseService to set.

Returns
TypeDescription
OracleProfile.Builder

This builder for chaining.

setDatabaseServiceBytes(ByteString value)

public OracleProfile.Builder setDatabaseServiceBytes(ByteString value)

Required. Database for the Oracle connection.

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

Parameter
NameDescription
valueByteString

The bytes for databaseService to set.

Returns
TypeDescription
OracleProfile.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public OracleProfile.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
OracleProfile.Builder
Overrides

setHostname(String value)

public OracleProfile.Builder setHostname(String value)

Required. Hostname for the Oracle connection.

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

Parameter
NameDescription
valueString

The hostname to set.

Returns
TypeDescription
OracleProfile.Builder

This builder for chaining.

setHostnameBytes(ByteString value)

public OracleProfile.Builder setHostnameBytes(ByteString value)

Required. Hostname for the Oracle connection.

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

Parameter
NameDescription
valueByteString

The bytes for hostname to set.

Returns
TypeDescription
OracleProfile.Builder

This builder for chaining.

setPassword(String value)

public OracleProfile.Builder setPassword(String value)

Required. Password for the Oracle connection.

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

Parameter
NameDescription
valueString

The password to set.

Returns
TypeDescription
OracleProfile.Builder

This builder for chaining.

setPasswordBytes(ByteString value)

public OracleProfile.Builder setPasswordBytes(ByteString value)

Required. Password for the Oracle connection.

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

Parameter
NameDescription
valueByteString

The bytes for password to set.

Returns
TypeDescription
OracleProfile.Builder

This builder for chaining.

setPort(int value)

public OracleProfile.Builder setPort(int value)

Port for the Oracle connection, default value is 1521.

int32 port = 2;

Parameter
NameDescription
valueint

The port to set.

Returns
TypeDescription
OracleProfile.Builder

This builder for chaining.

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

public OracleProfile.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
OracleProfile.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final OracleProfile.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
OracleProfile.Builder
Overrides

setUsername(String value)

public OracleProfile.Builder setUsername(String value)

Required. Username for the Oracle connection.

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

Parameter
NameDescription
valueString

The username to set.

Returns
TypeDescription
OracleProfile.Builder

This builder for chaining.

setUsernameBytes(ByteString value)

public OracleProfile.Builder setUsernameBytes(ByteString value)

Required. Username for the Oracle connection.

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

Parameter
NameDescription
valueByteString

The bytes for username to set.

Returns
TypeDescription
OracleProfile.Builder

This builder for chaining.