Class DatabaseConnectionStringProfile (0.2.0)

public final class DatabaseConnectionStringProfile extends GeneratedMessageV3 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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > DatabaseConnectionStringProfile

Static Fields

CONSUMER_GROUP_FIELD_NUMBER

public static final int CONSUMER_GROUP_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

HOST_FORMAT_FIELD_NUMBER

public static final int HOST_FORMAT_FIELD_NUMBER
Field Value
Type Description
int

IS_REGIONAL_FIELD_NUMBER

public static final int IS_REGIONAL_FIELD_NUMBER
Field Value
Type Description
int

PROTOCOL_FIELD_NUMBER

public static final int PROTOCOL_FIELD_NUMBER
Field Value
Type Description
int

SESSION_MODE_FIELD_NUMBER

public static final int SESSION_MODE_FIELD_NUMBER
Field Value
Type Description
int

SYNTAX_FORMAT_FIELD_NUMBER

public static final int SYNTAX_FORMAT_FIELD_NUMBER
Field Value
Type Description
int

TLS_AUTHENTICATION_FIELD_NUMBER

public static final int TLS_AUTHENTICATION_FIELD_NUMBER
Field Value
Type Description
int

VALUE_FIELD_NUMBER

public static final int VALUE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DatabaseConnectionStringProfile getDefaultInstance()
Returns
Type Description
DatabaseConnectionStringProfile

getDescriptor()

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

newBuilder()

public static DatabaseConnectionStringProfile.Builder newBuilder()
Returns
Type Description
DatabaseConnectionStringProfile.Builder

newBuilder(DatabaseConnectionStringProfile prototype)

public static DatabaseConnectionStringProfile.Builder newBuilder(DatabaseConnectionStringProfile prototype)
Parameter
Name Description
prototype DatabaseConnectionStringProfile
Returns
Type Description
DatabaseConnectionStringProfile.Builder

parseDelimitedFrom(InputStream input)

public static DatabaseConnectionStringProfile parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DatabaseConnectionStringProfile
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DatabaseConnectionStringProfile parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatabaseConnectionStringProfile
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DatabaseConnectionStringProfile parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DatabaseConnectionStringProfile
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DatabaseConnectionStringProfile parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatabaseConnectionStringProfile
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DatabaseConnectionStringProfile parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DatabaseConnectionStringProfile
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DatabaseConnectionStringProfile parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatabaseConnectionStringProfile
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DatabaseConnectionStringProfile parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DatabaseConnectionStringProfile
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DatabaseConnectionStringProfile parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatabaseConnectionStringProfile
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DatabaseConnectionStringProfile parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DatabaseConnectionStringProfile
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DatabaseConnectionStringProfile parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatabaseConnectionStringProfile
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DatabaseConnectionStringProfile parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DatabaseConnectionStringProfile
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DatabaseConnectionStringProfile parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatabaseConnectionStringProfile
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DatabaseConnectionStringProfile> parser()
Returns
Type Description
Parser<DatabaseConnectionStringProfile>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

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.

getParserForType()

public Parser<DatabaseConnectionStringProfile> getParserForType()
Returns
Type Description
Parser<DatabaseConnectionStringProfile>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DatabaseConnectionStringProfile.Builder newBuilderForType()
Returns
Type Description
DatabaseConnectionStringProfile.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DatabaseConnectionStringProfile.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DatabaseConnectionStringProfile.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public DatabaseConnectionStringProfile.Builder toBuilder()
Returns
Type Description
DatabaseConnectionStringProfile.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException