Class DatabaseConnectionStringProfile.Builder (0.3.0)

public static final class DatabaseConnectionStringProfile.Builder extends GeneratedMessageV3.Builder<DatabaseConnectionStringProfile.Builder> implements DatabaseConnectionStringProfileOrBuilder

The connection string profile to allow clients to group. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/DatabaseConnectionStringProfile

Protobuf type google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DatabaseConnectionStringProfile build()
Returns
Type Description
DatabaseConnectionStringProfile

buildPartial()

public DatabaseConnectionStringProfile buildPartial()
Returns
Type Description
DatabaseConnectionStringProfile

clear()

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

clearConsumerGroup()

public DatabaseConnectionStringProfile.Builder clearConsumerGroup()

Output only. The current consumer group being used by the connection.

.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.ConsumerGroup consumer_group = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DatabaseConnectionStringProfile.Builder

This builder for chaining.

clearDisplayName()

public DatabaseConnectionStringProfile.Builder clearDisplayName()

Output only. The display name for the database connection.

string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DatabaseConnectionStringProfile.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearHostFormat()

public DatabaseConnectionStringProfile.Builder clearHostFormat()

Output only. The host name format being currently used in connection string.

.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.HostFormat host_format = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DatabaseConnectionStringProfile.Builder

This builder for chaining.

clearIsRegional()

public DatabaseConnectionStringProfile.Builder clearIsRegional()

Output only. This field indicates if the connection string is regional and is only applicable for cross-region Data Guard.

bool is_regional = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DatabaseConnectionStringProfile.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProtocol()

public DatabaseConnectionStringProfile.Builder clearProtocol()

Output only. The protocol being used by the connection.

.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.Protocol protocol = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DatabaseConnectionStringProfile.Builder

This builder for chaining.

clearSessionMode()

public DatabaseConnectionStringProfile.Builder clearSessionMode()

Output only. The current session mode of the connection.

.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.SessionMode session_mode = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DatabaseConnectionStringProfile.Builder

This builder for chaining.

clearSyntaxFormat()

public DatabaseConnectionStringProfile.Builder clearSyntaxFormat()

Output only. The syntax of the connection string.

.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.SyntaxFormat syntax_format = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DatabaseConnectionStringProfile.Builder

This builder for chaining.

clearTlsAuthentication()

public DatabaseConnectionStringProfile.Builder clearTlsAuthentication()

Output only. This field indicates the TLS authentication type of the connection.

.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.TLSAuthentication tls_authentication = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DatabaseConnectionStringProfile.Builder

This builder for chaining.

clearValue()

public DatabaseConnectionStringProfile.Builder clearValue()

Output only. The value of the connection string.

string value = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DatabaseConnectionStringProfile.Builder

This builder for chaining.

clone()

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

getConsumerGroup()

public DatabaseConnectionStringProfile.ConsumerGroup getConsumerGroup()

Output only. The current consumer group being used by the connection.

.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.ConsumerGroup consumer_group = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DatabaseConnectionStringProfile.ConsumerGroup

The consumerGroup.

getConsumerGroupValue()

public int getConsumerGroupValue()

Output only. The current consumer group being used by the connection.

.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.ConsumerGroup consumer_group = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for consumerGroup.

getDefaultInstanceForType()

public DatabaseConnectionStringProfile getDefaultInstanceForType()
Returns
Type Description
DatabaseConnectionStringProfile

getDescriptorForType()

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

getDisplayName()

public String getDisplayName()

Output only. The display name for the database connection.

string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Output only. The display name for the database connection.

string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for displayName.

getHostFormat()

public DatabaseConnectionStringProfile.HostFormat getHostFormat()

Output only. The host name format being currently used in connection string.

.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.HostFormat host_format = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DatabaseConnectionStringProfile.HostFormat

The hostFormat.

getHostFormatValue()

public int getHostFormatValue()

Output only. The host name format being currently used in connection string.

.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.HostFormat host_format = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for hostFormat.

getIsRegional()

public boolean getIsRegional()

Output only. This field indicates if the connection string is regional and is only applicable for cross-region Data Guard.

bool is_regional = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The isRegional.

getProtocol()

public DatabaseConnectionStringProfile.Protocol getProtocol()

Output only. The protocol being used by the connection.

.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.Protocol protocol = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DatabaseConnectionStringProfile.Protocol

The protocol.

getProtocolValue()

public int getProtocolValue()

Output only. The protocol being used by the connection.

.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.Protocol protocol = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for protocol.

getSessionMode()

public DatabaseConnectionStringProfile.SessionMode getSessionMode()

Output only. The current session mode of the connection.

.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.SessionMode session_mode = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DatabaseConnectionStringProfile.SessionMode

The sessionMode.

getSessionModeValue()

public int getSessionModeValue()

Output only. The current session mode of the connection.

.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.SessionMode session_mode = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for sessionMode.

getSyntaxFormat()

public DatabaseConnectionStringProfile.SyntaxFormat getSyntaxFormat()

Output only. The syntax of the connection string.

.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.SyntaxFormat syntax_format = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DatabaseConnectionStringProfile.SyntaxFormat

The syntaxFormat.

getSyntaxFormatValue()

public int getSyntaxFormatValue()

Output only. The syntax of the connection string.

.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.SyntaxFormat syntax_format = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for syntaxFormat.

getTlsAuthentication()

public DatabaseConnectionStringProfile.TLSAuthentication getTlsAuthentication()

Output only. This field indicates the TLS authentication type of the connection.

.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.TLSAuthentication tls_authentication = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DatabaseConnectionStringProfile.TLSAuthentication

The tlsAuthentication.

getTlsAuthenticationValue()

public int getTlsAuthenticationValue()

Output only. This field indicates the TLS authentication type of the connection.

.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.TLSAuthentication tls_authentication = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for tlsAuthentication.

getValue()

public String getValue()

Output only. The value of the connection string.

string value = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The value.

getValueBytes()

public ByteString getValueBytes()

Output only. The value of the connection string.

string value = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for value.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DatabaseConnectionStringProfile other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setConsumerGroup(DatabaseConnectionStringProfile.ConsumerGroup value)

public DatabaseConnectionStringProfile.Builder setConsumerGroup(DatabaseConnectionStringProfile.ConsumerGroup value)

Output only. The current consumer group being used by the connection.

.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.ConsumerGroup consumer_group = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value DatabaseConnectionStringProfile.ConsumerGroup

The consumerGroup to set.

Returns
Type Description
DatabaseConnectionStringProfile.Builder

This builder for chaining.

setConsumerGroupValue(int value)

public DatabaseConnectionStringProfile.Builder setConsumerGroupValue(int value)

Output only. The current consumer group being used by the connection.

.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.ConsumerGroup consumer_group = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

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

Returns
Type Description
DatabaseConnectionStringProfile.Builder

This builder for chaining.

setDisplayName(String value)

public DatabaseConnectionStringProfile.Builder setDisplayName(String value)

Output only. The display name for the database connection.

string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
DatabaseConnectionStringProfile.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public DatabaseConnectionStringProfile.Builder setDisplayNameBytes(ByteString value)

Output only. The display name for the database connection.

string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
DatabaseConnectionStringProfile.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setHostFormat(DatabaseConnectionStringProfile.HostFormat value)

public DatabaseConnectionStringProfile.Builder setHostFormat(DatabaseConnectionStringProfile.HostFormat value)

Output only. The host name format being currently used in connection string.

.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.HostFormat host_format = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value DatabaseConnectionStringProfile.HostFormat

The hostFormat to set.

Returns
Type Description
DatabaseConnectionStringProfile.Builder

This builder for chaining.

setHostFormatValue(int value)

public DatabaseConnectionStringProfile.Builder setHostFormatValue(int value)

Output only. The host name format being currently used in connection string.

.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.HostFormat host_format = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

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

Returns
Type Description
DatabaseConnectionStringProfile.Builder

This builder for chaining.

setIsRegional(boolean value)

public DatabaseConnectionStringProfile.Builder setIsRegional(boolean value)

Output only. This field indicates if the connection string is regional and is only applicable for cross-region Data Guard.

bool is_regional = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value boolean

The isRegional to set.

Returns
Type Description
DatabaseConnectionStringProfile.Builder

This builder for chaining.

setProtocol(DatabaseConnectionStringProfile.Protocol value)

public DatabaseConnectionStringProfile.Builder setProtocol(DatabaseConnectionStringProfile.Protocol value)

Output only. The protocol being used by the connection.

.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.Protocol protocol = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value DatabaseConnectionStringProfile.Protocol

The protocol to set.

Returns
Type Description
DatabaseConnectionStringProfile.Builder

This builder for chaining.

setProtocolValue(int value)

public DatabaseConnectionStringProfile.Builder setProtocolValue(int value)

Output only. The protocol being used by the connection.

.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.Protocol protocol = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

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

Returns
Type Description
DatabaseConnectionStringProfile.Builder

This builder for chaining.

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

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

setSessionMode(DatabaseConnectionStringProfile.SessionMode value)

public DatabaseConnectionStringProfile.Builder setSessionMode(DatabaseConnectionStringProfile.SessionMode value)

Output only. The current session mode of the connection.

.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.SessionMode session_mode = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value DatabaseConnectionStringProfile.SessionMode

The sessionMode to set.

Returns
Type Description
DatabaseConnectionStringProfile.Builder

This builder for chaining.

setSessionModeValue(int value)

public DatabaseConnectionStringProfile.Builder setSessionModeValue(int value)

Output only. The current session mode of the connection.

.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.SessionMode session_mode = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

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

Returns
Type Description
DatabaseConnectionStringProfile.Builder

This builder for chaining.

setSyntaxFormat(DatabaseConnectionStringProfile.SyntaxFormat value)

public DatabaseConnectionStringProfile.Builder setSyntaxFormat(DatabaseConnectionStringProfile.SyntaxFormat value)

Output only. The syntax of the connection string.

.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.SyntaxFormat syntax_format = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value DatabaseConnectionStringProfile.SyntaxFormat

The syntaxFormat to set.

Returns
Type Description
DatabaseConnectionStringProfile.Builder

This builder for chaining.

setSyntaxFormatValue(int value)

public DatabaseConnectionStringProfile.Builder setSyntaxFormatValue(int value)

Output only. The syntax of the connection string.

.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.SyntaxFormat syntax_format = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

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

Returns
Type Description
DatabaseConnectionStringProfile.Builder

This builder for chaining.

setTlsAuthentication(DatabaseConnectionStringProfile.TLSAuthentication value)

public DatabaseConnectionStringProfile.Builder setTlsAuthentication(DatabaseConnectionStringProfile.TLSAuthentication value)

Output only. This field indicates the TLS authentication type of the connection.

.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.TLSAuthentication tls_authentication = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value DatabaseConnectionStringProfile.TLSAuthentication

The tlsAuthentication to set.

Returns
Type Description
DatabaseConnectionStringProfile.Builder

This builder for chaining.

setTlsAuthenticationValue(int value)

public DatabaseConnectionStringProfile.Builder setTlsAuthenticationValue(int value)

Output only. This field indicates the TLS authentication type of the connection.

.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.TLSAuthentication tls_authentication = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

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

Returns
Type Description
DatabaseConnectionStringProfile.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setValue(String value)

public DatabaseConnectionStringProfile.Builder setValue(String value)

Output only. The value of the connection string.

string value = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The value to set.

Returns
Type Description
DatabaseConnectionStringProfile.Builder

This builder for chaining.

setValueBytes(ByteString value)

public DatabaseConnectionStringProfile.Builder setValueBytes(ByteString value)

Output only. The value of the connection string.

string value = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for value to set.

Returns
Type Description
DatabaseConnectionStringProfile.Builder

This builder for chaining.