Class DiscoverConnectionProfileRequest.Builder (1.46.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.v1alpha1.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 ConnectionProfile configuration.

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

Returns
Type Description
DiscoverConnectionProfileRequest.Builder

clearConnectionProfileName()

public DiscoverConnectionProfileRequest.Builder clearConnectionProfileName()

A reference to an existing ConnectionProfile.

string connection_profile_name = 201;

Returns
Type Description
DiscoverConnectionProfileRequest.Builder

This builder for chaining.

clearDataObject()

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

clearDepth()

public DiscoverConnectionProfileRequest.Builder clearDepth()
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

clearMysqlRdbms()

public DiscoverConnectionProfileRequest.Builder clearMysqlRdbms()

MySQL RDBMS to enrich with child data objects and metadata.

.google.cloud.datastream.v1alpha1.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.v1alpha1.OracleRdbms oracle_rdbms = 100;

Returns
Type Description
DiscoverConnectionProfileRequest.Builder

clearParent()

public DiscoverConnectionProfileRequest.Builder clearParent()

Required. The parent resource of the ConnectionProfile 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.

clearRecursionDepth()

public DiscoverConnectionProfileRequest.Builder clearRecursionDepth()

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

int32 recursion_depth = 4;

Returns
Type Description
DiscoverConnectionProfileRequest.Builder

This builder for chaining.

clearRecursive()

public DiscoverConnectionProfileRequest.Builder clearRecursive()

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

bool recursive = 3;

Returns
Type Description
DiscoverConnectionProfileRequest.Builder

This builder for chaining.

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 ConnectionProfile configuration.

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

Returns
Type Description
ConnectionProfile

The connectionProfile.

getConnectionProfileBuilder()

public ConnectionProfile.Builder getConnectionProfileBuilder()

An ad-hoc ConnectionProfile configuration.

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

Returns
Type Description
ConnectionProfile.Builder

getConnectionProfileName()

public String getConnectionProfileName()

A reference to an existing ConnectionProfile.

string connection_profile_name = 201;

Returns
Type Description
String

The connectionProfileName.

getConnectionProfileNameBytes()

public ByteString getConnectionProfileNameBytes()

A reference to an existing ConnectionProfile.

string connection_profile_name = 201;

Returns
Type Description
ByteString

The bytes for connectionProfileName.

getConnectionProfileOrBuilder()

public ConnectionProfileOrBuilder getConnectionProfileOrBuilder()

An ad-hoc ConnectionProfile configuration.

.google.cloud.datastream.v1alpha1.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

getDepthCase()

public DiscoverConnectionProfileRequest.DepthCase getDepthCase()
Returns
Type Description
DiscoverConnectionProfileRequest.DepthCase

getDescriptorForType()

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

getMysqlRdbms()

public MysqlRdbms getMysqlRdbms()

MySQL RDBMS to enrich with child data objects and metadata.

.google.cloud.datastream.v1alpha1.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.v1alpha1.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.v1alpha1.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.v1alpha1.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.v1alpha1.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.v1alpha1.OracleRdbms oracle_rdbms = 100;

Returns
Type Description
OracleRdbmsOrBuilder

getParent()

public String getParent()

Required. The parent resource of the ConnectionProfile 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 ConnectionProfile 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.

getRecursionDepth()

public int getRecursionDepth()

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

int32 recursion_depth = 4;

Returns
Type Description
int

The recursionDepth.

getRecursive()

public boolean getRecursive()

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

bool recursive = 3;

Returns
Type Description
boolean

The recursive.

getTargetCase()

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

hasConnectionProfile()

public boolean hasConnectionProfile()

An ad-hoc ConnectionProfile configuration.

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

Returns
Type Description
boolean

Whether the connectionProfile field is set.

hasConnectionProfileName()

public boolean hasConnectionProfileName()

A reference to an existing ConnectionProfile.

string connection_profile_name = 201;

Returns
Type Description
boolean

Whether the connectionProfileName field is set.

hasMysqlRdbms()

public boolean hasMysqlRdbms()

MySQL RDBMS to enrich with child data objects and metadata.

.google.cloud.datastream.v1alpha1.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.v1alpha1.OracleRdbms oracle_rdbms = 100;

Returns
Type Description
boolean

Whether the oracleRdbms field is set.

hasRecursionDepth()

public boolean hasRecursionDepth()

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

int32 recursion_depth = 4;

Returns
Type Description
boolean

Whether the recursionDepth field is set.

hasRecursive()

public boolean hasRecursive()

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

bool recursive = 3;

Returns
Type Description
boolean

Whether the recursive 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 ConnectionProfile configuration.

.google.cloud.datastream.v1alpha1.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.v1alpha1.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.v1alpha1.OracleRdbms oracle_rdbms = 100;

Parameter
Name Description
value OracleRdbms
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 ConnectionProfile configuration.

.google.cloud.datastream.v1alpha1.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 ConnectionProfile configuration.

.google.cloud.datastream.v1alpha1.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 ConnectionProfile.

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 ConnectionProfile.

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

setMysqlRdbms(MysqlRdbms value)

public DiscoverConnectionProfileRequest.Builder setMysqlRdbms(MysqlRdbms value)

MySQL RDBMS to enrich with child data objects and metadata.

.google.cloud.datastream.v1alpha1.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.v1alpha1.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.v1alpha1.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.v1alpha1.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 ConnectionProfile 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 ConnectionProfile 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.

setRecursionDepth(int value)

public DiscoverConnectionProfileRequest.Builder setRecursionDepth(int value)

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

int32 recursion_depth = 4;

Parameter
Name Description
value int

The recursionDepth to set.

Returns
Type Description
DiscoverConnectionProfileRequest.Builder

This builder for chaining.

setRecursive(boolean value)

public DiscoverConnectionProfileRequest.Builder setRecursive(boolean value)

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

bool recursive = 3;

Parameter
Name Description
value boolean

The recursive to set.

Returns
Type Description
DiscoverConnectionProfileRequest.Builder

This builder for chaining.

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