Class DiscoverConnectionProfileRequest (1.54.0)

public final class DiscoverConnectionProfileRequest extends GeneratedMessageV3 implements DiscoverConnectionProfileRequestOrBuilder

Request message for 'discover' ConnectionProfile request.

Protobuf type google.cloud.datastream.v1.DiscoverConnectionProfileRequest

Inheritance

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

Static Fields

CONNECTION_PROFILE_FIELD_NUMBER

public static final int CONNECTION_PROFILE_FIELD_NUMBER
Field Value
Type Description
int

CONNECTION_PROFILE_NAME_FIELD_NUMBER

public static final int CONNECTION_PROFILE_NAME_FIELD_NUMBER
Field Value
Type Description
int

FULL_HIERARCHY_FIELD_NUMBER

public static final int FULL_HIERARCHY_FIELD_NUMBER
Field Value
Type Description
int

HIERARCHY_DEPTH_FIELD_NUMBER

public static final int HIERARCHY_DEPTH_FIELD_NUMBER
Field Value
Type Description
int

MYSQL_RDBMS_FIELD_NUMBER

public static final int MYSQL_RDBMS_FIELD_NUMBER
Field Value
Type Description
int

ORACLE_RDBMS_FIELD_NUMBER

public static final int ORACLE_RDBMS_FIELD_NUMBER
Field Value
Type Description
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

POSTGRESQL_RDBMS_FIELD_NUMBER

public static final int POSTGRESQL_RDBMS_FIELD_NUMBER
Field Value
Type Description
int

SQL_SERVER_RDBMS_FIELD_NUMBER

public static final int SQL_SERVER_RDBMS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DiscoverConnectionProfileRequest getDefaultInstance()
Returns
Type Description
DiscoverConnectionProfileRequest

getDescriptor()

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

newBuilder()

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

newBuilder(DiscoverConnectionProfileRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getConnectionProfile()

public ConnectionProfile getConnectionProfile()

An ad-hoc connection profile configuration.

.google.cloud.datastream.v1.ConnectionProfile connection_profile = 200;

Returns
Type Description
ConnectionProfile

The connectionProfile.

getConnectionProfileName()

public String getConnectionProfileName()

A reference to an existing connection profile.

string connection_profile_name = 201;

Returns
Type Description
String

The connectionProfileName.

getConnectionProfileNameBytes()

public ByteString getConnectionProfileNameBytes()

A reference to an existing connection profile.

string connection_profile_name = 201;

Returns
Type Description
ByteString

The bytes for connectionProfileName.

getConnectionProfileOrBuilder()

public ConnectionProfileOrBuilder getConnectionProfileOrBuilder()

An ad-hoc connection profile configuration.

.google.cloud.datastream.v1.ConnectionProfile connection_profile = 200;

Returns
Type Description
ConnectionProfileOrBuilder

getDataObjectCase()

public DiscoverConnectionProfileRequest.DataObjectCase getDataObjectCase()
Returns
Type Description
DiscoverConnectionProfileRequest.DataObjectCase

getDefaultInstanceForType()

public DiscoverConnectionProfileRequest getDefaultInstanceForType()
Returns
Type Description
DiscoverConnectionProfileRequest

getFullHierarchy()

public boolean getFullHierarchy()

Whether to retrieve the full hierarchy of data objects (TRUE) or only the current level (FALSE).

bool full_hierarchy = 3;

Returns
Type Description
boolean

The fullHierarchy.

getHierarchyCase()

public DiscoverConnectionProfileRequest.HierarchyCase getHierarchyCase()
Returns
Type Description
DiscoverConnectionProfileRequest.HierarchyCase

getHierarchyDepth()

public int getHierarchyDepth()

The number of hierarchy levels below the current level to be retrieved.

int32 hierarchy_depth = 4;

Returns
Type Description
int

The hierarchyDepth.

getMysqlRdbms()

public MysqlRdbms getMysqlRdbms()

MySQL RDBMS to enrich with child data objects and metadata.

.google.cloud.datastream.v1.MysqlRdbms mysql_rdbms = 101;

Returns
Type Description
MysqlRdbms

The mysqlRdbms.

getMysqlRdbmsOrBuilder()

public MysqlRdbmsOrBuilder getMysqlRdbmsOrBuilder()

MySQL RDBMS to enrich with child data objects and metadata.

.google.cloud.datastream.v1.MysqlRdbms mysql_rdbms = 101;

Returns
Type Description
MysqlRdbmsOrBuilder

getOracleRdbms()

public OracleRdbms getOracleRdbms()

Oracle RDBMS to enrich with child data objects and metadata.

.google.cloud.datastream.v1.OracleRdbms oracle_rdbms = 100;

Returns
Type Description
OracleRdbms

The oracleRdbms.

getOracleRdbmsOrBuilder()

public OracleRdbmsOrBuilder getOracleRdbmsOrBuilder()

Oracle RDBMS to enrich with child data objects and metadata.

.google.cloud.datastream.v1.OracleRdbms oracle_rdbms = 100;

Returns
Type Description
OracleRdbmsOrBuilder

getParent()

public String getParent()

Required. The parent resource of the connection profile type. Must be in the format projects/*/locations/*.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent resource of the connection profile type. Must be in the format projects/*/locations/*.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getParserForType()

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

getPostgresqlRdbms()

public PostgresqlRdbms getPostgresqlRdbms()

PostgreSQL RDBMS to enrich with child data objects and metadata.

.google.cloud.datastream.v1.PostgresqlRdbms postgresql_rdbms = 102;

Returns
Type Description
PostgresqlRdbms

The postgresqlRdbms.

getPostgresqlRdbmsOrBuilder()

public PostgresqlRdbmsOrBuilder getPostgresqlRdbmsOrBuilder()

PostgreSQL RDBMS to enrich with child data objects and metadata.

.google.cloud.datastream.v1.PostgresqlRdbms postgresql_rdbms = 102;

Returns
Type Description
PostgresqlRdbmsOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSqlServerRdbms()

public SqlServerRdbms getSqlServerRdbms()

SQLServer RDBMS to enrich with child data objects and metadata.

.google.cloud.datastream.v1.SqlServerRdbms sql_server_rdbms = 103;

Returns
Type Description
SqlServerRdbms

The sqlServerRdbms.

getSqlServerRdbmsOrBuilder()

public SqlServerRdbmsOrBuilder getSqlServerRdbmsOrBuilder()

SQLServer RDBMS to enrich with child data objects and metadata.

.google.cloud.datastream.v1.SqlServerRdbms sql_server_rdbms = 103;

Returns
Type Description
SqlServerRdbmsOrBuilder

getTargetCase()

public DiscoverConnectionProfileRequest.TargetCase getTargetCase()
Returns
Type Description
DiscoverConnectionProfileRequest.TargetCase

hasConnectionProfile()

public boolean hasConnectionProfile()

An ad-hoc connection profile configuration.

.google.cloud.datastream.v1.ConnectionProfile connection_profile = 200;

Returns
Type Description
boolean

Whether the connectionProfile field is set.

hasConnectionProfileName()

public boolean hasConnectionProfileName()

A reference to an existing connection profile.

string connection_profile_name = 201;

Returns
Type Description
boolean

Whether the connectionProfileName field is set.

hasFullHierarchy()

public boolean hasFullHierarchy()

Whether to retrieve the full hierarchy of data objects (TRUE) or only the current level (FALSE).

bool full_hierarchy = 3;

Returns
Type Description
boolean

Whether the fullHierarchy field is set.

hasHierarchyDepth()

public boolean hasHierarchyDepth()

The number of hierarchy levels below the current level to be retrieved.

int32 hierarchy_depth = 4;

Returns
Type Description
boolean

Whether the hierarchyDepth field is set.

hasMysqlRdbms()

public boolean hasMysqlRdbms()

MySQL RDBMS to enrich with child data objects and metadata.

.google.cloud.datastream.v1.MysqlRdbms mysql_rdbms = 101;

Returns
Type Description
boolean

Whether the mysqlRdbms field is set.

hasOracleRdbms()

public boolean hasOracleRdbms()

Oracle RDBMS to enrich with child data objects and metadata.

.google.cloud.datastream.v1.OracleRdbms oracle_rdbms = 100;

Returns
Type Description
boolean

Whether the oracleRdbms field is set.

hasPostgresqlRdbms()

public boolean hasPostgresqlRdbms()

PostgreSQL RDBMS to enrich with child data objects and metadata.

.google.cloud.datastream.v1.PostgresqlRdbms postgresql_rdbms = 102;

Returns
Type Description
boolean

Whether the postgresqlRdbms field is set.

hasSqlServerRdbms()

public boolean hasSqlServerRdbms()

SQLServer RDBMS to enrich with child data objects and metadata.

.google.cloud.datastream.v1.SqlServerRdbms sql_server_rdbms = 103;

Returns
Type Description
boolean

Whether the sqlServerRdbms field is set.

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 DiscoverConnectionProfileRequest.Builder newBuilderForType()
Returns
Type Description
DiscoverConnectionProfileRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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