Class OracleProfile (1.34.0)

public final class OracleProfile extends GeneratedMessageV3 implements OracleProfileOrBuilder

Oracle database profile.

Protobuf type google.cloud.datastream.v1alpha1.OracleProfile

Static Fields

CONNECTION_ATTRIBUTES_FIELD_NUMBER

public static final int CONNECTION_ATTRIBUTES_FIELD_NUMBER
Field Value
TypeDescription
int

DATABASE_SERVICE_FIELD_NUMBER

public static final int DATABASE_SERVICE_FIELD_NUMBER
Field Value
TypeDescription
int

HOSTNAME_FIELD_NUMBER

public static final int HOSTNAME_FIELD_NUMBER
Field Value
TypeDescription
int

PASSWORD_FIELD_NUMBER

public static final int PASSWORD_FIELD_NUMBER
Field Value
TypeDescription
int

PORT_FIELD_NUMBER

public static final int PORT_FIELD_NUMBER
Field Value
TypeDescription
int

USERNAME_FIELD_NUMBER

public static final int USERNAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static OracleProfile getDefaultInstance()
Returns
TypeDescription
OracleProfile

getDescriptor()

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

newBuilder()

public static OracleProfile.Builder newBuilder()
Returns
TypeDescription
OracleProfile.Builder

newBuilder(OracleProfile prototype)

public static OracleProfile.Builder newBuilder(OracleProfile prototype)
Parameter
NameDescription
prototypeOracleProfile
Returns
TypeDescription
OracleProfile.Builder

parseDelimitedFrom(InputStream input)

public static OracleProfile parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
OracleProfile
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OracleProfile parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OracleProfile
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static OracleProfile parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
OracleProfile
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static OracleProfile parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OracleProfile
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static OracleProfile parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
OracleProfile
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static OracleProfile parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OracleProfile
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static OracleProfile parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
OracleProfile
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static OracleProfile parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OracleProfile
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static OracleProfile parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
OracleProfile
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OracleProfile parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OracleProfile
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static OracleProfile parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
OracleProfile
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static OracleProfile parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OracleProfile
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<OracleProfile> parser()
Returns
TypeDescription
Parser<OracleProfile>

Methods

containsConnectionAttributes(String key)

public boolean containsConnectionAttributes(String key)

Connection string attributes

map<string, string> connection_attributes = 6;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getConnectionAttributes() (deprecated)

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

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.

getParserForType()

public Parser<OracleProfile> getParserForType()
Returns
TypeDescription
Parser<OracleProfile>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected OracleProfile.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
OracleProfile.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException