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

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

Returns
TypeDescription
DiscoverConnectionProfileRequest.Builder

clearConnectionProfileName()

public DiscoverConnectionProfileRequest.Builder clearConnectionProfileName()

A reference to an existing ConnectionProfile.

string connection_profile_name = 201;

Returns
TypeDescription
DiscoverConnectionProfileRequest.Builder

This builder for chaining.

clearDataObject()

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

clearDepth()

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

clearField(Descriptors.FieldDescriptor field)

public DiscoverConnectionProfileRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
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.v1alpha1.OracleRdbms oracle_rdbms = 100;

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

This builder for chaining.

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

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

Returns
TypeDescription
ConnectionProfile

The connectionProfile.

getConnectionProfileBuilder()

public ConnectionProfile.Builder getConnectionProfileBuilder()

An ad-hoc ConnectionProfile configuration.

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

Returns
TypeDescription
ConnectionProfile.Builder

getConnectionProfileName()

public String getConnectionProfileName()

A reference to an existing ConnectionProfile.

string connection_profile_name = 201;

Returns
TypeDescription
String

The connectionProfileName.

getConnectionProfileNameBytes()

public ByteString getConnectionProfileNameBytes()

A reference to an existing ConnectionProfile.

string connection_profile_name = 201;

Returns
TypeDescription
ByteString

The bytes for connectionProfileName.

getConnectionProfileOrBuilder()

public ConnectionProfileOrBuilder getConnectionProfileOrBuilder()

An ad-hoc ConnectionProfile configuration.

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

Returns
TypeDescription
ConnectionProfileOrBuilder

getDataObjectCase()

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

getDefaultInstanceForType()

public DiscoverConnectionProfileRequest getDefaultInstanceForType()
Returns
TypeDescription
DiscoverConnectionProfileRequest

getDepthCase()

public DiscoverConnectionProfileRequest.DepthCase getDepthCase()
Returns
TypeDescription
DiscoverConnectionProfileRequest.DepthCase

getDescriptorForType()

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

getOracleRdbms()

public OracleRdbms getOracleRdbms()

Oracle RDBMS to enrich with child data objects and metadata.

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

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

The recursive.

getTargetCase()

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

hasConnectionProfile()

public boolean hasConnectionProfile()

An ad-hoc ConnectionProfile configuration.

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

Returns
TypeDescription
boolean

Whether the connectionProfile field is set.

hasConnectionProfileName()

public boolean hasConnectionProfileName()

A reference to an existing ConnectionProfile.

string connection_profile_name = 201;

Returns
TypeDescription
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
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.v1alpha1.OracleRdbms oracle_rdbms = 100;

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

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

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

Parameter
NameDescription
valueOracleRdbms
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 ConnectionProfile configuration.

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

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

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

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

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

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

The recursionDepth to set.

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

The recursive to set.

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