Class DiscoverConnectionProfileRequest (1.6.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
TypeDescription
int

CONNECTION_PROFILE_NAME_FIELD_NUMBER

public static final int CONNECTION_PROFILE_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

FULL_HIERARCHY_FIELD_NUMBER

public static final int FULL_HIERARCHY_FIELD_NUMBER
Field Value
TypeDescription
int

HIERARCHY_DEPTH_FIELD_NUMBER

public static final int HIERARCHY_DEPTH_FIELD_NUMBER
Field Value
TypeDescription
int

MYSQL_RDBMS_FIELD_NUMBER

public static final int MYSQL_RDBMS_FIELD_NUMBER
Field Value
TypeDescription
int

ORACLE_RDBMS_FIELD_NUMBER

public static final int ORACLE_RDBMS_FIELD_NUMBER
Field Value
TypeDescription
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

POSTGRESQL_RDBMS_FIELD_NUMBER

public static final int POSTGRESQL_RDBMS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DiscoverConnectionProfileRequest getDefaultInstance()
Returns
TypeDescription
DiscoverConnectionProfileRequest

getDescriptor()

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

newBuilder()

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

newBuilder(DiscoverConnectionProfileRequest prototype)

public static DiscoverConnectionProfileRequest.Builder newBuilder(DiscoverConnectionProfileRequest prototype)
Parameter
NameDescription
prototypeDiscoverConnectionProfileRequest
Returns
TypeDescription
DiscoverConnectionProfileRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getConnectionProfile()

public ConnectionProfile getConnectionProfile()

An ad-hoc connection profile configuration.

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

Returns
TypeDescription
ConnectionProfile

The connectionProfile.

getConnectionProfileName()

public String getConnectionProfileName()

A reference to an existing connection profile.

string connection_profile_name = 201;

Returns
TypeDescription
String

The connectionProfileName.

getConnectionProfileNameBytes()

public ByteString getConnectionProfileNameBytes()

A reference to an existing connection profile.

string connection_profile_name = 201;

Returns
TypeDescription
ByteString

The bytes for connectionProfileName.

getConnectionProfileOrBuilder()

public ConnectionProfileOrBuilder getConnectionProfileOrBuilder()

An ad-hoc connection profile configuration.

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

Returns
TypeDescription
ConnectionProfileOrBuilder

getDataObjectCase()

public DiscoverConnectionProfileRequest.DataObjectCase getDataObjectCase()
Returns
TypeDescription
DiscoverConnectionProfileRequest.DataObjectCase

getDefaultInstanceForType()

public DiscoverConnectionProfileRequest getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
boolean

The fullHierarchy.

getHierarchyCase()

public DiscoverConnectionProfileRequest.HierarchyCase getHierarchyCase()
Returns
TypeDescription
DiscoverConnectionProfileRequest.HierarchyCase

getHierarchyDepth()

public int getHierarchyDepth()

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

int32 hierarchy_depth = 4;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
MysqlRdbmsOrBuilder

getOracleRdbms()

public OracleRdbms getOracleRdbms()

Oracle RDBMS to enrich with child data objects and metadata.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

getParserForType()

public Parser<DiscoverConnectionProfileRequest> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
PostgresqlRdbmsOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTargetCase()

public DiscoverConnectionProfileRequest.TargetCase getTargetCase()
Returns
TypeDescription
DiscoverConnectionProfileRequest.TargetCase

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasConnectionProfile()

public boolean hasConnectionProfile()

An ad-hoc connection profile configuration.

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

Returns
TypeDescription
boolean

Whether the connectionProfile field is set.

hasConnectionProfileName()

public boolean hasConnectionProfileName()

A reference to an existing connection profile.

string connection_profile_name = 201;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the postgresqlRdbms field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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