Package com.google.cloud.clouddms.v1
Class OracleConnectionProfile
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.clouddms.v1.OracleConnectionProfile
-
- All Implemented Interfaces:
OracleConnectionProfileOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class OracleConnectionProfile extends com.google.protobuf.GeneratedMessageV3 implements OracleConnectionProfileOrBuilder
Specifies connection parameters required specifically for Oracle databases.
Protobuf typegoogle.cloud.clouddms.v1.OracleConnectionProfile
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OracleConnectionProfile.Builder
Specifies connection parameters required specifically for Oracle databases.static class
OracleConnectionProfile.ConnectivityCase
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
DATABASE_SERVICE_FIELD_NUMBER
static int
FORWARD_SSH_CONNECTIVITY_FIELD_NUMBER
static int
HOST_FIELD_NUMBER
static int
PASSWORD_FIELD_NUMBER
static int
PASSWORD_SET_FIELD_NUMBER
static int
PORT_FIELD_NUMBER
static int
PRIVATE_CONNECTIVITY_FIELD_NUMBER
static int
SSL_FIELD_NUMBER
static int
STATIC_SERVICE_IP_CONNECTIVITY_FIELD_NUMBER
static int
USERNAME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
OracleConnectionProfile.ConnectivityCase
getConnectivityCase()
String
getDatabaseService()
Required.com.google.protobuf.ByteString
getDatabaseServiceBytes()
Required.static OracleConnectionProfile
getDefaultInstance()
OracleConnectionProfile
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
ForwardSshTunnelConnectivity
getForwardSshConnectivity()
Forward SSH tunnel connectivity.ForwardSshTunnelConnectivityOrBuilder
getForwardSshConnectivityOrBuilder()
Forward SSH tunnel connectivity.String
getHost()
Required.com.google.protobuf.ByteString
getHostBytes()
Required.com.google.protobuf.Parser<OracleConnectionProfile>
getParserForType()
String
getPassword()
Required.com.google.protobuf.ByteString
getPasswordBytes()
Required.boolean
getPasswordSet()
Output only.int
getPort()
Required.PrivateConnectivity
getPrivateConnectivity()
Private connectivity.PrivateConnectivityOrBuilder
getPrivateConnectivityOrBuilder()
Private connectivity.int
getSerializedSize()
SslConfig
getSsl()
SSL configuration for the connection to the source Oracle database.SslConfigOrBuilder
getSslOrBuilder()
SSL configuration for the connection to the source Oracle database.StaticServiceIpConnectivity
getStaticServiceIpConnectivity()
Static Service IP connectivity.StaticServiceIpConnectivityOrBuilder
getStaticServiceIpConnectivityOrBuilder()
Static Service IP connectivity.String
getUsername()
Required.com.google.protobuf.ByteString
getUsernameBytes()
Required.boolean
hasForwardSshConnectivity()
Forward SSH tunnel connectivity.int
hashCode()
boolean
hasPrivateConnectivity()
Private connectivity.boolean
hasSsl()
SSL configuration for the connection to the source Oracle database.boolean
hasStaticServiceIpConnectivity()
Static Service IP connectivity.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static OracleConnectionProfile.Builder
newBuilder()
static OracleConnectionProfile.Builder
newBuilder(OracleConnectionProfile prototype)
OracleConnectionProfile.Builder
newBuilderForType()
protected OracleConnectionProfile.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static OracleConnectionProfile
parseDelimitedFrom(InputStream input)
static OracleConnectionProfile
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static OracleConnectionProfile
parseFrom(byte[] data)
static OracleConnectionProfile
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static OracleConnectionProfile
parseFrom(com.google.protobuf.ByteString data)
static OracleConnectionProfile
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static OracleConnectionProfile
parseFrom(com.google.protobuf.CodedInputStream input)
static OracleConnectionProfile
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static OracleConnectionProfile
parseFrom(InputStream input)
static OracleConnectionProfile
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static OracleConnectionProfile
parseFrom(ByteBuffer data)
static OracleConnectionProfile
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<OracleConnectionProfile>
parser()
OracleConnectionProfile.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
HOST_FIELD_NUMBER
public static final int HOST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PORT_FIELD_NUMBER
public static final int PORT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
USERNAME_FIELD_NUMBER
public static final int USERNAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PASSWORD_FIELD_NUMBER
public static final int PASSWORD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PASSWORD_SET_FIELD_NUMBER
public static final int PASSWORD_SET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATABASE_SERVICE_FIELD_NUMBER
public static final int DATABASE_SERVICE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SSL_FIELD_NUMBER
public static final int SSL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATIC_SERVICE_IP_CONNECTIVITY_FIELD_NUMBER
public static final int STATIC_SERVICE_IP_CONNECTIVITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FORWARD_SSH_CONNECTIVITY_FIELD_NUMBER
public static final int FORWARD_SSH_CONNECTIVITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRIVATE_CONNECTIVITY_FIELD_NUMBER
public static final int PRIVATE_CONNECTIVITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getConnectivityCase
public OracleConnectionProfile.ConnectivityCase getConnectivityCase()
- Specified by:
getConnectivityCase
in interfaceOracleConnectionProfileOrBuilder
-
getHost
public String getHost()
Required. The IP or hostname of the source Oracle database.
string host = 1 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getHost
in interfaceOracleConnectionProfileOrBuilder
- Returns:
- The host.
-
getHostBytes
public com.google.protobuf.ByteString getHostBytes()
Required. The IP or hostname of the source Oracle database.
string host = 1 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getHostBytes
in interfaceOracleConnectionProfileOrBuilder
- Returns:
- The bytes for host.
-
getPort
public int getPort()
Required. The network port of the source Oracle database.
int32 port = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getPort
in interfaceOracleConnectionProfileOrBuilder
- Returns:
- The port.
-
getUsername
public String getUsername()
Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.
string username = 3 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getUsername
in interfaceOracleConnectionProfileOrBuilder
- Returns:
- The username.
-
getUsernameBytes
public com.google.protobuf.ByteString getUsernameBytes()
Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.
string username = 3 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getUsernameBytes
in interfaceOracleConnectionProfileOrBuilder
- Returns:
- The bytes for username.
-
getPassword
public String getPassword()
Required. Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service.
string password = 4 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];
- Specified by:
getPassword
in interfaceOracleConnectionProfileOrBuilder
- Returns:
- The password.
-
getPasswordBytes
public com.google.protobuf.ByteString getPasswordBytes()
Required. Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service.
string password = 4 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];
- Specified by:
getPasswordBytes
in interfaceOracleConnectionProfileOrBuilder
- Returns:
- The bytes for password.
-
getPasswordSet
public boolean getPasswordSet()
Output only. Indicates whether a new password is included in the request.
bool password_set = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getPasswordSet
in interfaceOracleConnectionProfileOrBuilder
- Returns:
- The passwordSet.
-
getDatabaseService
public String getDatabaseService()
Required. Database service for the Oracle connection.
string database_service = 6 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getDatabaseService
in interfaceOracleConnectionProfileOrBuilder
- Returns:
- The databaseService.
-
getDatabaseServiceBytes
public com.google.protobuf.ByteString getDatabaseServiceBytes()
Required. Database service for the Oracle connection.
string database_service = 6 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getDatabaseServiceBytes
in interfaceOracleConnectionProfileOrBuilder
- Returns:
- The bytes for databaseService.
-
hasSsl
public boolean hasSsl()
SSL configuration for the connection to the source Oracle database. * Only `SERVER_ONLY` configuration is supported for Oracle SSL. * SSL is supported for Oracle versions 12 and above.
.google.cloud.clouddms.v1.SslConfig ssl = 7;
- Specified by:
hasSsl
in interfaceOracleConnectionProfileOrBuilder
- Returns:
- Whether the ssl field is set.
-
getSsl
public SslConfig getSsl()
SSL configuration for the connection to the source Oracle database. * Only `SERVER_ONLY` configuration is supported for Oracle SSL. * SSL is supported for Oracle versions 12 and above.
.google.cloud.clouddms.v1.SslConfig ssl = 7;
- Specified by:
getSsl
in interfaceOracleConnectionProfileOrBuilder
- Returns:
- The ssl.
-
getSslOrBuilder
public SslConfigOrBuilder getSslOrBuilder()
SSL configuration for the connection to the source Oracle database. * Only `SERVER_ONLY` configuration is supported for Oracle SSL. * SSL is supported for Oracle versions 12 and above.
.google.cloud.clouddms.v1.SslConfig ssl = 7;
- Specified by:
getSslOrBuilder
in interfaceOracleConnectionProfileOrBuilder
-
hasStaticServiceIpConnectivity
public boolean hasStaticServiceIpConnectivity()
Static Service IP connectivity.
.google.cloud.clouddms.v1.StaticServiceIpConnectivity static_service_ip_connectivity = 100;
- Specified by:
hasStaticServiceIpConnectivity
in interfaceOracleConnectionProfileOrBuilder
- Returns:
- Whether the staticServiceIpConnectivity field is set.
-
getStaticServiceIpConnectivity
public StaticServiceIpConnectivity getStaticServiceIpConnectivity()
Static Service IP connectivity.
.google.cloud.clouddms.v1.StaticServiceIpConnectivity static_service_ip_connectivity = 100;
- Specified by:
getStaticServiceIpConnectivity
in interfaceOracleConnectionProfileOrBuilder
- Returns:
- The staticServiceIpConnectivity.
-
getStaticServiceIpConnectivityOrBuilder
public StaticServiceIpConnectivityOrBuilder getStaticServiceIpConnectivityOrBuilder()
Static Service IP connectivity.
.google.cloud.clouddms.v1.StaticServiceIpConnectivity static_service_ip_connectivity = 100;
- Specified by:
getStaticServiceIpConnectivityOrBuilder
in interfaceOracleConnectionProfileOrBuilder
-
hasForwardSshConnectivity
public boolean hasForwardSshConnectivity()
Forward SSH tunnel connectivity.
.google.cloud.clouddms.v1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 101;
- Specified by:
hasForwardSshConnectivity
in interfaceOracleConnectionProfileOrBuilder
- Returns:
- Whether the forwardSshConnectivity field is set.
-
getForwardSshConnectivity
public ForwardSshTunnelConnectivity getForwardSshConnectivity()
Forward SSH tunnel connectivity.
.google.cloud.clouddms.v1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 101;
- Specified by:
getForwardSshConnectivity
in interfaceOracleConnectionProfileOrBuilder
- Returns:
- The forwardSshConnectivity.
-
getForwardSshConnectivityOrBuilder
public ForwardSshTunnelConnectivityOrBuilder getForwardSshConnectivityOrBuilder()
Forward SSH tunnel connectivity.
.google.cloud.clouddms.v1.ForwardSshTunnelConnectivity forward_ssh_connectivity = 101;
- Specified by:
getForwardSshConnectivityOrBuilder
in interfaceOracleConnectionProfileOrBuilder
-
hasPrivateConnectivity
public boolean hasPrivateConnectivity()
Private connectivity.
.google.cloud.clouddms.v1.PrivateConnectivity private_connectivity = 102;
- Specified by:
hasPrivateConnectivity
in interfaceOracleConnectionProfileOrBuilder
- Returns:
- Whether the privateConnectivity field is set.
-
getPrivateConnectivity
public PrivateConnectivity getPrivateConnectivity()
Private connectivity.
.google.cloud.clouddms.v1.PrivateConnectivity private_connectivity = 102;
- Specified by:
getPrivateConnectivity
in interfaceOracleConnectionProfileOrBuilder
- Returns:
- The privateConnectivity.
-
getPrivateConnectivityOrBuilder
public PrivateConnectivityOrBuilder getPrivateConnectivityOrBuilder()
Private connectivity.
.google.cloud.clouddms.v1.PrivateConnectivity private_connectivity = 102;
- Specified by:
getPrivateConnectivityOrBuilder
in interfaceOracleConnectionProfileOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static OracleConnectionProfile parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OracleConnectionProfile parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OracleConnectionProfile parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OracleConnectionProfile parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OracleConnectionProfile parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OracleConnectionProfile parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OracleConnectionProfile parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OracleConnectionProfile parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OracleConnectionProfile parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OracleConnectionProfile parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static OracleConnectionProfile parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OracleConnectionProfile parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public OracleConnectionProfile.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static OracleConnectionProfile.Builder newBuilder()
-
newBuilder
public static OracleConnectionProfile.Builder newBuilder(OracleConnectionProfile prototype)
-
toBuilder
public OracleConnectionProfile.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected OracleConnectionProfile.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static OracleConnectionProfile getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<OracleConnectionProfile> parser()
-
getParserForType
public com.google.protobuf.Parser<OracleConnectionProfile> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public OracleConnectionProfile getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-