public static final class OracleProfile.Builder extends GeneratedMessageV3.Builder<OracleProfile.Builder> implements OracleProfileOrBuilder
Oracle database profile.
Protobuf type google.cloud.datastream.v1alpha1.OracleProfile
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > OracleProfile.BuilderImplements
OracleProfileOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public OracleProfile.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
OracleProfile.Builder |
build()
public OracleProfile build()
Type | Description |
OracleProfile |
buildPartial()
public OracleProfile buildPartial()
Type | Description |
OracleProfile |
clear()
public OracleProfile.Builder clear()
Type | Description |
OracleProfile.Builder |
clearConnectionAttributes()
public OracleProfile.Builder clearConnectionAttributes()
Type | Description |
OracleProfile.Builder |
clearDatabaseService()
public OracleProfile.Builder clearDatabaseService()
Required. Database for the Oracle connection.
string database_service = 5 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
OracleProfile.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public OracleProfile.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
OracleProfile.Builder |
clearHostname()
public OracleProfile.Builder clearHostname()
Required. Hostname for the Oracle connection.
string hostname = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
OracleProfile.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public OracleProfile.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
OracleProfile.Builder |
clearPassword()
public OracleProfile.Builder clearPassword()
Required. Password for the Oracle connection.
string password = 4 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
OracleProfile.Builder | This builder for chaining. |
clearPort()
public OracleProfile.Builder clearPort()
Port for the Oracle connection, default value is 1521.
int32 port = 2;
Type | Description |
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];
Type | Description |
OracleProfile.Builder | This builder for chaining. |
clone()
public OracleProfile.Builder clone()
Type | Description |
OracleProfile.Builder |
containsConnectionAttributes(String key)
public boolean containsConnectionAttributes(String key)
Connection string attributes
map<string, string> connection_attributes = 6;
Name | Description |
key | String |
Type | Description |
boolean |
getConnectionAttributes()
public Map<String,String> getConnectionAttributes()
Use #getConnectionAttributesMap() instead.
Type | Description |
Map<String,String> |
getConnectionAttributesCount()
public int getConnectionAttributesCount()
Connection string attributes
map<string, string> connection_attributes = 6;
Type | Description |
int |
getConnectionAttributesMap()
public Map<String,String> getConnectionAttributesMap()
Connection string attributes
map<string, string> connection_attributes = 6;
Type | Description |
Map<String,String> |
getConnectionAttributesOrDefault(String key, String defaultValue)
public String getConnectionAttributesOrDefault(String key, String defaultValue)
Connection string attributes
map<string, string> connection_attributes = 6;
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getConnectionAttributesOrThrow(String key)
public String getConnectionAttributesOrThrow(String key)
Connection string attributes
map<string, string> connection_attributes = 6;
Name | Description |
key | String |
Type | Description |
String |
getDatabaseService()
public String getDatabaseService()
Required. Database for the Oracle connection.
string database_service = 5 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The databaseService. |
getDatabaseServiceBytes()
public ByteString getDatabaseServiceBytes()
Required. Database for the Oracle connection.
string database_service = 5 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for databaseService. |
getDefaultInstanceForType()
public OracleProfile getDefaultInstanceForType()
Type | Description |
OracleProfile |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getHostname()
public String getHostname()
Required. Hostname for the Oracle connection.
string hostname = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The hostname. |
getHostnameBytes()
public ByteString getHostnameBytes()
Required. Hostname for the Oracle connection.
string hostname = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for hostname. |
getMutableConnectionAttributes()
public Map<String,String> getMutableConnectionAttributes()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
getPassword()
public String getPassword()
Required. Password for the Oracle connection.
string password = 4 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The password. |
getPasswordBytes()
public ByteString getPasswordBytes()
Required. Password for the Oracle connection.
string password = 4 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for password. |
getPort()
public int getPort()
Port for the Oracle connection, default value is 1521.
int32 port = 2;
Type | Description |
int | The port. |
getUsername()
public String getUsername()
Required. Username for the Oracle connection.
string username = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The username. |
getUsernameBytes()
public ByteString getUsernameBytes()
Required. Username for the Oracle connection.
string username = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for username. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(OracleProfile other)
public OracleProfile.Builder mergeFrom(OracleProfile other)
Name | Description |
other | OracleProfile |
Type | Description |
OracleProfile.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public OracleProfile.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
OracleProfile.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public OracleProfile.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
OracleProfile.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final OracleProfile.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
OracleProfile.Builder |
putAllConnectionAttributes(Map<String,String> values)
public OracleProfile.Builder putAllConnectionAttributes(Map<String,String> values)
Connection string attributes
map<string, string> connection_attributes = 6;
Name | Description |
values | Map<String,String> |
Type | Description |
OracleProfile.Builder |
putConnectionAttributes(String key, String value)
public OracleProfile.Builder putConnectionAttributes(String key, String value)
Connection string attributes
map<string, string> connection_attributes = 6;
Name | Description |
key | String |
value | String |
Type | Description |
OracleProfile.Builder |
removeConnectionAttributes(String key)
public OracleProfile.Builder removeConnectionAttributes(String key)
Connection string attributes
map<string, string> connection_attributes = 6;
Name | Description |
key | String |
Type | Description |
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];
Name | Description |
value | String The databaseService to set. |
Type | Description |
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];
Name | Description |
value | ByteString The bytes for databaseService to set. |
Type | Description |
OracleProfile.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public OracleProfile.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
OracleProfile.Builder |
setHostname(String value)
public OracleProfile.Builder setHostname(String value)
Required. Hostname for the Oracle connection.
string hostname = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The hostname to set. |
Type | Description |
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];
Name | Description |
value | ByteString The bytes for hostname to set. |
Type | Description |
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];
Name | Description |
value | String The password to set. |
Type | Description |
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];
Name | Description |
value | ByteString The bytes for password to set. |
Type | Description |
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;
Name | Description |
value | int The port to set. |
Type | Description |
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)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
OracleProfile.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final OracleProfile.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
OracleProfile.Builder |
setUsername(String value)
public OracleProfile.Builder setUsername(String value)
Required. Username for the Oracle connection.
string username = 3 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The username to set. |
Type | Description |
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];
Name | Description |
value | ByteString The bytes for username to set. |
Type | Description |
OracleProfile.Builder | This builder for chaining. |