Class DiscoverConnectionProfileRequest.Builder (1.26.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DiscoverConnectionProfileRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DiscoverConnectionProfileRequest.Builder
Overrides

build()

public DiscoverConnectionProfileRequest build()
Returns
TypeDescription
DiscoverConnectionProfileRequest

buildPartial()

public DiscoverConnectionProfileRequest buildPartial()
Returns
TypeDescription
DiscoverConnectionProfileRequest

clear()

public DiscoverConnectionProfileRequest.Builder clear()
Returns
TypeDescription
DiscoverConnectionProfileRequest.Builder
Overrides

clearConnectionProfile()

public DiscoverConnectionProfileRequest.Builder clearConnectionProfile()

An ad-hoc connection profile configuration.

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

Returns
TypeDescription
DiscoverConnectionProfileRequest.Builder

clearConnectionProfileName()

public DiscoverConnectionProfileRequest.Builder clearConnectionProfileName()

A reference to an existing connection profile.

string connection_profile_name = 201;

Returns
TypeDescription
DiscoverConnectionProfileRequest.Builder

This builder for chaining.

clearDataObject()

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

clearField(Descriptors.FieldDescriptor field)

public DiscoverConnectionProfileRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
DiscoverConnectionProfileRequest.Builder

This builder for chaining.

clearHierarchy()

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

clearHierarchyDepth()

public DiscoverConnectionProfileRequest.Builder clearHierarchyDepth()

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

int32 hierarchy_depth = 4;

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

clearOneof(Descriptors.OneofDescriptor oneof)

public DiscoverConnectionProfileRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
DiscoverConnectionProfileRequest.Builder

clearTarget()

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

clone()

public DiscoverConnectionProfileRequest.Builder clone()
Returns
TypeDescription
DiscoverConnectionProfileRequest.Builder
Overrides

getConnectionProfile()

public ConnectionProfile getConnectionProfile()

An ad-hoc connection profile configuration.

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

Returns
TypeDescription
ConnectionProfile

The connectionProfile.

getConnectionProfileBuilder()

public ConnectionProfile.Builder getConnectionProfileBuilder()

An ad-hoc connection profile configuration.

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

Returns
TypeDescription
ConnectionProfile.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
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.

getMysqlRdbmsBuilder()

public MysqlRdbms.Builder getMysqlRdbmsBuilder()

MySQL RDBMS to enrich with child data objects and metadata.

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

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

getOracleRdbmsBuilder()

public OracleRdbms.Builder getOracleRdbmsBuilder()

Oracle RDBMS to enrich with child data objects and metadata.

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

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

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.

getPostgresqlRdbmsBuilder()

public PostgresqlRdbms.Builder getPostgresqlRdbmsBuilder()

PostgreSQL RDBMS to enrich with child data objects and metadata.

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

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

getTargetCase()

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

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueConnectionProfile
Returns
TypeDescription
DiscoverConnectionProfileRequest.Builder

mergeFrom(DiscoverConnectionProfileRequest other)

public DiscoverConnectionProfileRequest.Builder mergeFrom(DiscoverConnectionProfileRequest other)
Parameter
NameDescription
otherDiscoverConnectionProfileRequest
Returns
TypeDescription
DiscoverConnectionProfileRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DiscoverConnectionProfileRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DiscoverConnectionProfileRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DiscoverConnectionProfileRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueMysqlRdbms
Returns
TypeDescription
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
NameDescription
valueOracleRdbms
Returns
TypeDescription
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
NameDescription
valuePostgresqlRdbms
Returns
TypeDescription
DiscoverConnectionProfileRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DiscoverConnectionProfileRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueConnectionProfile
Returns
TypeDescription
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
NameDescription
builderForValueConnectionProfile.Builder
Returns
TypeDescription
DiscoverConnectionProfileRequest.Builder

setConnectionProfileName(String value)

public DiscoverConnectionProfileRequest.Builder setConnectionProfileName(String value)

A reference to an existing connection profile.

string connection_profile_name = 201;

Parameter
NameDescription
valueString

The connectionProfileName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for connectionProfileName to set.

Returns
TypeDescription
DiscoverConnectionProfileRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public DiscoverConnectionProfileRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueboolean

The fullHierarchy to set.

Returns
TypeDescription
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
NameDescription
valueint

The hierarchyDepth to set.

Returns
TypeDescription
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
NameDescription
valueMysqlRdbms
Returns
TypeDescription
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
NameDescription
builderForValueMysqlRdbms.Builder
Returns
TypeDescription
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
NameDescription
valueOracleRdbms
Returns
TypeDescription
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
NameDescription
builderForValueOracleRdbms.Builder
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
valuePostgresqlRdbms
Returns
TypeDescription
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
NameDescription
builderForValuePostgresqlRdbms.Builder
Returns
TypeDescription
DiscoverConnectionProfileRequest.Builder

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

public DiscoverConnectionProfileRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DiscoverConnectionProfileRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DiscoverConnectionProfileRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DiscoverConnectionProfileRequest.Builder
Overrides