Class DiscoverConnectionProfileRequest.Builder (1.43.0)

public static final class DiscoverConnectionProfileRequest.Builder extends GeneratedMessageV3.Builder<DiscoverConnectionProfileRequest.Builder> implements DiscoverConnectionProfileRequestOrBuilder

Request message for 'discover' ConnectionProfile request.

Protobuf type google.cloud.datastream.v1.DiscoverConnectionProfileRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DiscoverConnectionProfileRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DiscoverConnectionProfileRequest.Builder
Overrides

build()

public DiscoverConnectionProfileRequest build()
Returns
Type Description
DiscoverConnectionProfileRequest

buildPartial()

public DiscoverConnectionProfileRequest buildPartial()
Returns
Type Description
DiscoverConnectionProfileRequest

clear()

public DiscoverConnectionProfileRequest.Builder clear()
Returns
Type Description
DiscoverConnectionProfileRequest.Builder
Overrides

clearConnectionProfile()

public DiscoverConnectionProfileRequest.Builder clearConnectionProfile()

An ad-hoc connection profile configuration.

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

Returns
Type Description
DiscoverConnectionProfileRequest.Builder

clearConnectionProfileName()

public DiscoverConnectionProfileRequest.Builder clearConnectionProfileName()

A reference to an existing connection profile.

string connection_profile_name = 201;

Returns
Type Description
DiscoverConnectionProfileRequest.Builder

This builder for chaining.

clearDataObject()

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

clearField(Descriptors.FieldDescriptor field)

public DiscoverConnectionProfileRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DiscoverConnectionProfileRequest.Builder
Overrides

clearFullHierarchy()

public DiscoverConnectionProfileRequest.Builder clearFullHierarchy()

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

bool full_hierarchy = 3;

Returns
Type Description
DiscoverConnectionProfileRequest.Builder

This builder for chaining.

clearHierarchy()

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

clearHierarchyDepth()

public DiscoverConnectionProfileRequest.Builder clearHierarchyDepth()

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

int32 hierarchy_depth = 4;

Returns
Type Description
DiscoverConnectionProfileRequest.Builder

This builder for chaining.

clearMysqlRdbms()

public DiscoverConnectionProfileRequest.Builder clearMysqlRdbms()

MySQL RDBMS to enrich with child data objects and metadata.

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

Returns
Type Description
DiscoverConnectionProfileRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public DiscoverConnectionProfileRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DiscoverConnectionProfileRequest.Builder
Overrides

clearOracleRdbms()

public DiscoverConnectionProfileRequest.Builder clearOracleRdbms()

Oracle RDBMS to enrich with child data objects and metadata.

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

Returns
Type Description
DiscoverConnectionProfileRequest.Builder

clearParent()

public DiscoverConnectionProfileRequest.Builder clearParent()

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
DiscoverConnectionProfileRequest.Builder

This builder for chaining.

clearPostgresqlRdbms()

public DiscoverConnectionProfileRequest.Builder clearPostgresqlRdbms()

PostgreSQL RDBMS to enrich with child data objects and metadata.

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

Returns
Type Description
DiscoverConnectionProfileRequest.Builder

clearTarget()

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

clone()

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

getConnectionProfileBuilder()

public ConnectionProfile.Builder getConnectionProfileBuilder()

An ad-hoc connection profile configuration.

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

Returns
Type Description
ConnectionProfile.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getMysqlRdbmsBuilder()

public MysqlRdbms.Builder getMysqlRdbmsBuilder()

MySQL RDBMS to enrich with child data objects and metadata.

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

Returns
Type Description
MysqlRdbms.Builder

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.

getOracleRdbmsBuilder()

public OracleRdbms.Builder getOracleRdbmsBuilder()

Oracle RDBMS to enrich with child data objects and metadata.

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

Returns
Type Description
OracleRdbms.Builder

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.

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.

getPostgresqlRdbmsBuilder()

public PostgresqlRdbms.Builder getPostgresqlRdbmsBuilder()

PostgreSQL RDBMS to enrich with child data objects and metadata.

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

Returns
Type Description
PostgresqlRdbms.Builder

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

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeConnectionProfile(ConnectionProfile value)

public DiscoverConnectionProfileRequest.Builder mergeConnectionProfile(ConnectionProfile value)

An ad-hoc connection profile configuration.

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

Parameter
Name Description
value ConnectionProfile
Returns
Type Description
DiscoverConnectionProfileRequest.Builder

mergeFrom(DiscoverConnectionProfileRequest other)

public DiscoverConnectionProfileRequest.Builder mergeFrom(DiscoverConnectionProfileRequest other)
Parameter
Name Description
other DiscoverConnectionProfileRequest
Returns
Type Description
DiscoverConnectionProfileRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DiscoverConnectionProfileRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DiscoverConnectionProfileRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DiscoverConnectionProfileRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DiscoverConnectionProfileRequest.Builder
Overrides

mergeMysqlRdbms(MysqlRdbms value)

public DiscoverConnectionProfileRequest.Builder mergeMysqlRdbms(MysqlRdbms value)

MySQL RDBMS to enrich with child data objects and metadata.

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

Parameter
Name Description
value MysqlRdbms
Returns
Type Description
DiscoverConnectionProfileRequest.Builder

mergeOracleRdbms(OracleRdbms value)

public DiscoverConnectionProfileRequest.Builder mergeOracleRdbms(OracleRdbms value)

Oracle RDBMS to enrich with child data objects and metadata.

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

Parameter
Name Description
value OracleRdbms
Returns
Type Description
DiscoverConnectionProfileRequest.Builder

mergePostgresqlRdbms(PostgresqlRdbms value)

public DiscoverConnectionProfileRequest.Builder mergePostgresqlRdbms(PostgresqlRdbms value)

PostgreSQL RDBMS to enrich with child data objects and metadata.

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

Parameter
Name Description
value PostgresqlRdbms
Returns
Type Description
DiscoverConnectionProfileRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DiscoverConnectionProfileRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DiscoverConnectionProfileRequest.Builder
Overrides

setConnectionProfile(ConnectionProfile value)

public DiscoverConnectionProfileRequest.Builder setConnectionProfile(ConnectionProfile value)

An ad-hoc connection profile configuration.

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

Parameter
Name Description
value ConnectionProfile
Returns
Type Description
DiscoverConnectionProfileRequest.Builder

setConnectionProfile(ConnectionProfile.Builder builderForValue)

public DiscoverConnectionProfileRequest.Builder setConnectionProfile(ConnectionProfile.Builder builderForValue)

An ad-hoc connection profile configuration.

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

Parameter
Name Description
builderForValue ConnectionProfile.Builder
Returns
Type Description
DiscoverConnectionProfileRequest.Builder

setConnectionProfileName(String value)

public DiscoverConnectionProfileRequest.Builder setConnectionProfileName(String value)

A reference to an existing connection profile.

string connection_profile_name = 201;

Parameter
Name Description
value String

The connectionProfileName to set.

Returns
Type Description
DiscoverConnectionProfileRequest.Builder

This builder for chaining.

setConnectionProfileNameBytes(ByteString value)

public DiscoverConnectionProfileRequest.Builder setConnectionProfileNameBytes(ByteString value)

A reference to an existing connection profile.

string connection_profile_name = 201;

Parameter
Name Description
value ByteString

The bytes for connectionProfileName to set.

Returns
Type Description
DiscoverConnectionProfileRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public DiscoverConnectionProfileRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DiscoverConnectionProfileRequest.Builder
Overrides

setFullHierarchy(boolean value)

public DiscoverConnectionProfileRequest.Builder setFullHierarchy(boolean value)

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

bool full_hierarchy = 3;

Parameter
Name Description
value boolean

The fullHierarchy to set.

Returns
Type Description
DiscoverConnectionProfileRequest.Builder

This builder for chaining.

setHierarchyDepth(int value)

public DiscoverConnectionProfileRequest.Builder setHierarchyDepth(int value)

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

int32 hierarchy_depth = 4;

Parameter
Name Description
value int

The hierarchyDepth to set.

Returns
Type Description
DiscoverConnectionProfileRequest.Builder

This builder for chaining.

setMysqlRdbms(MysqlRdbms value)

public DiscoverConnectionProfileRequest.Builder setMysqlRdbms(MysqlRdbms value)

MySQL RDBMS to enrich with child data objects and metadata.

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

Parameter
Name Description
value MysqlRdbms
Returns
Type Description
DiscoverConnectionProfileRequest.Builder

setMysqlRdbms(MysqlRdbms.Builder builderForValue)

public DiscoverConnectionProfileRequest.Builder setMysqlRdbms(MysqlRdbms.Builder builderForValue)

MySQL RDBMS to enrich with child data objects and metadata.

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

Parameter
Name Description
builderForValue MysqlRdbms.Builder
Returns
Type Description
DiscoverConnectionProfileRequest.Builder

setOracleRdbms(OracleRdbms value)

public DiscoverConnectionProfileRequest.Builder setOracleRdbms(OracleRdbms value)

Oracle RDBMS to enrich with child data objects and metadata.

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

Parameter
Name Description
value OracleRdbms
Returns
Type Description
DiscoverConnectionProfileRequest.Builder

setOracleRdbms(OracleRdbms.Builder builderForValue)

public DiscoverConnectionProfileRequest.Builder setOracleRdbms(OracleRdbms.Builder builderForValue)

Oracle RDBMS to enrich with child data objects and metadata.

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

Parameter
Name Description
builderForValue OracleRdbms.Builder
Returns
Type Description
DiscoverConnectionProfileRequest.Builder

setParent(String value)

public DiscoverConnectionProfileRequest.Builder setParent(String value)

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) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
DiscoverConnectionProfileRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public DiscoverConnectionProfileRequest.Builder setParentBytes(ByteString value)

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) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
DiscoverConnectionProfileRequest.Builder

This builder for chaining.

setPostgresqlRdbms(PostgresqlRdbms value)

public DiscoverConnectionProfileRequest.Builder setPostgresqlRdbms(PostgresqlRdbms value)

PostgreSQL RDBMS to enrich with child data objects and metadata.

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

Parameter
Name Description
value PostgresqlRdbms
Returns
Type Description
DiscoverConnectionProfileRequest.Builder

setPostgresqlRdbms(PostgresqlRdbms.Builder builderForValue)

public DiscoverConnectionProfileRequest.Builder setPostgresqlRdbms(PostgresqlRdbms.Builder builderForValue)

PostgreSQL RDBMS to enrich with child data objects and metadata.

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

Parameter
Name Description
builderForValue PostgresqlRdbms.Builder
Returns
Type Description
DiscoverConnectionProfileRequest.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DiscoverConnectionProfileRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DiscoverConnectionProfileRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DiscoverConnectionProfileRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DiscoverConnectionProfileRequest.Builder
Overrides