Class SourceConfig.Builder (1.40.0)

public static final class SourceConfig.Builder extends GeneratedMessageV3.Builder<SourceConfig.Builder> implements SourceConfigOrBuilder

The configuration of the stream source.

Protobuf type google.cloud.datastream.v1alpha1.SourceConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SourceConfig build()
Returns
TypeDescription
SourceConfig

buildPartial()

public SourceConfig buildPartial()
Returns
TypeDescription
SourceConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

public SourceConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SourceConfig.Builder
Overrides

clearMysqlSourceConfig()

public SourceConfig.Builder clearMysqlSourceConfig()

MySQL data source configuration

.google.cloud.datastream.v1alpha1.MysqlSourceConfig mysql_source_config = 101;

Returns
TypeDescription
SourceConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public SourceConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SourceConfig.Builder
Overrides

clearOracleSourceConfig()

public SourceConfig.Builder clearOracleSourceConfig()

Oracle data source configuration

.google.cloud.datastream.v1alpha1.OracleSourceConfig oracle_source_config = 100;

Returns
TypeDescription
SourceConfig.Builder

clearSourceConnectionProfileName()

public SourceConfig.Builder clearSourceConnectionProfileName()

Required. Source connection profile identifier.

string source_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
SourceConfig.Builder

This builder for chaining.

clearSourceStreamConfig()

public SourceConfig.Builder clearSourceStreamConfig()
Returns
TypeDescription
SourceConfig.Builder

clone()

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

getDefaultInstanceForType()

public SourceConfig getDefaultInstanceForType()
Returns
TypeDescription
SourceConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMysqlSourceConfig()

public MysqlSourceConfig getMysqlSourceConfig()

MySQL data source configuration

.google.cloud.datastream.v1alpha1.MysqlSourceConfig mysql_source_config = 101;

Returns
TypeDescription
MysqlSourceConfig

The mysqlSourceConfig.

getMysqlSourceConfigBuilder()

public MysqlSourceConfig.Builder getMysqlSourceConfigBuilder()

MySQL data source configuration

.google.cloud.datastream.v1alpha1.MysqlSourceConfig mysql_source_config = 101;

Returns
TypeDescription
MysqlSourceConfig.Builder

getMysqlSourceConfigOrBuilder()

public MysqlSourceConfigOrBuilder getMysqlSourceConfigOrBuilder()

MySQL data source configuration

.google.cloud.datastream.v1alpha1.MysqlSourceConfig mysql_source_config = 101;

Returns
TypeDescription
MysqlSourceConfigOrBuilder

getOracleSourceConfig()

public OracleSourceConfig getOracleSourceConfig()

Oracle data source configuration

.google.cloud.datastream.v1alpha1.OracleSourceConfig oracle_source_config = 100;

Returns
TypeDescription
OracleSourceConfig

The oracleSourceConfig.

getOracleSourceConfigBuilder()

public OracleSourceConfig.Builder getOracleSourceConfigBuilder()

Oracle data source configuration

.google.cloud.datastream.v1alpha1.OracleSourceConfig oracle_source_config = 100;

Returns
TypeDescription
OracleSourceConfig.Builder

getOracleSourceConfigOrBuilder()

public OracleSourceConfigOrBuilder getOracleSourceConfigOrBuilder()

Oracle data source configuration

.google.cloud.datastream.v1alpha1.OracleSourceConfig oracle_source_config = 100;

Returns
TypeDescription
OracleSourceConfigOrBuilder

getSourceConnectionProfileName()

public String getSourceConnectionProfileName()

Required. Source connection profile identifier.

string source_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The sourceConnectionProfileName.

getSourceConnectionProfileNameBytes()

public ByteString getSourceConnectionProfileNameBytes()

Required. Source connection profile identifier.

string source_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for sourceConnectionProfileName.

getSourceStreamConfigCase()

public SourceConfig.SourceStreamConfigCase getSourceStreamConfigCase()
Returns
TypeDescription
SourceConfig.SourceStreamConfigCase

hasMysqlSourceConfig()

public boolean hasMysqlSourceConfig()

MySQL data source configuration

.google.cloud.datastream.v1alpha1.MysqlSourceConfig mysql_source_config = 101;

Returns
TypeDescription
boolean

Whether the mysqlSourceConfig field is set.

hasOracleSourceConfig()

public boolean hasOracleSourceConfig()

Oracle data source configuration

.google.cloud.datastream.v1alpha1.OracleSourceConfig oracle_source_config = 100;

Returns
TypeDescription
boolean

Whether the oracleSourceConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SourceConfig other)

public SourceConfig.Builder mergeFrom(SourceConfig other)
Parameter
NameDescription
otherSourceConfig
Returns
TypeDescription
SourceConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public SourceConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SourceConfig.Builder
Overrides

mergeMysqlSourceConfig(MysqlSourceConfig value)

public SourceConfig.Builder mergeMysqlSourceConfig(MysqlSourceConfig value)

MySQL data source configuration

.google.cloud.datastream.v1alpha1.MysqlSourceConfig mysql_source_config = 101;

Parameter
NameDescription
valueMysqlSourceConfig
Returns
TypeDescription
SourceConfig.Builder

mergeOracleSourceConfig(OracleSourceConfig value)

public SourceConfig.Builder mergeOracleSourceConfig(OracleSourceConfig value)

Oracle data source configuration

.google.cloud.datastream.v1alpha1.OracleSourceConfig oracle_source_config = 100;

Parameter
NameDescription
valueOracleSourceConfig
Returns
TypeDescription
SourceConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SourceConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SourceConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setMysqlSourceConfig(MysqlSourceConfig value)

public SourceConfig.Builder setMysqlSourceConfig(MysqlSourceConfig value)

MySQL data source configuration

.google.cloud.datastream.v1alpha1.MysqlSourceConfig mysql_source_config = 101;

Parameter
NameDescription
valueMysqlSourceConfig
Returns
TypeDescription
SourceConfig.Builder

setMysqlSourceConfig(MysqlSourceConfig.Builder builderForValue)

public SourceConfig.Builder setMysqlSourceConfig(MysqlSourceConfig.Builder builderForValue)

MySQL data source configuration

.google.cloud.datastream.v1alpha1.MysqlSourceConfig mysql_source_config = 101;

Parameter
NameDescription
builderForValueMysqlSourceConfig.Builder
Returns
TypeDescription
SourceConfig.Builder

setOracleSourceConfig(OracleSourceConfig value)

public SourceConfig.Builder setOracleSourceConfig(OracleSourceConfig value)

Oracle data source configuration

.google.cloud.datastream.v1alpha1.OracleSourceConfig oracle_source_config = 100;

Parameter
NameDescription
valueOracleSourceConfig
Returns
TypeDescription
SourceConfig.Builder

setOracleSourceConfig(OracleSourceConfig.Builder builderForValue)

public SourceConfig.Builder setOracleSourceConfig(OracleSourceConfig.Builder builderForValue)

Oracle data source configuration

.google.cloud.datastream.v1alpha1.OracleSourceConfig oracle_source_config = 100;

Parameter
NameDescription
builderForValueOracleSourceConfig.Builder
Returns
TypeDescription
SourceConfig.Builder

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

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

setSourceConnectionProfileName(String value)

public SourceConfig.Builder setSourceConnectionProfileName(String value)

Required. Source connection profile identifier.

string source_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The sourceConnectionProfileName to set.

Returns
TypeDescription
SourceConfig.Builder

This builder for chaining.

setSourceConnectionProfileNameBytes(ByteString value)

public SourceConfig.Builder setSourceConnectionProfileNameBytes(ByteString value)

Required. Source connection profile identifier.

string source_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for sourceConnectionProfileName to set.

Returns
TypeDescription
SourceConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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