Class OracleAsmConfig (1.54.0)

public final class OracleAsmConfig extends GeneratedMessageV3 implements OracleAsmConfigOrBuilder

Configuration for Oracle Automatic Storage Management (ASM) connection.

Protobuf type google.cloud.datastream.v1.OracleAsmConfig

Static Fields

ASM_SERVICE_FIELD_NUMBER

public static final int ASM_SERVICE_FIELD_NUMBER
Field Value
Type Description
int

CONNECTION_ATTRIBUTES_FIELD_NUMBER

public static final int CONNECTION_ATTRIBUTES_FIELD_NUMBER
Field Value
Type Description
int

HOSTNAME_FIELD_NUMBER

public static final int HOSTNAME_FIELD_NUMBER
Field Value
Type Description
int

ORACLE_SSL_CONFIG_FIELD_NUMBER

public static final int ORACLE_SSL_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

PASSWORD_FIELD_NUMBER

public static final int PASSWORD_FIELD_NUMBER
Field Value
Type Description
int

PORT_FIELD_NUMBER

public static final int PORT_FIELD_NUMBER
Field Value
Type Description
int

USERNAME_FIELD_NUMBER

public static final int USERNAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static OracleAsmConfig getDefaultInstance()
Returns
Type Description
OracleAsmConfig

getDescriptor()

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

newBuilder()

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

newBuilder(OracleAsmConfig prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

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

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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

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.

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.

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

getParserForType()

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

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

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.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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