public static final class SourceConfig.Builder extends GeneratedMessageV3.Builder<SourceConfig.Builder> implements SourceConfigOrBuilder
The configuration of the stream source.
Protobuf type google.cloud.datastream.v1.SourceConfig
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SourceConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public SourceConfig build()
Returns
buildPartial()
public SourceConfig buildPartial()
Returns
clear()
public SourceConfig.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public SourceConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearMysqlSourceConfig()
public SourceConfig.Builder clearMysqlSourceConfig()
MySQL data source configuration
.google.cloud.datastream.v1.MysqlSourceConfig mysql_source_config = 101;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public SourceConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearOracleSourceConfig()
public SourceConfig.Builder clearOracleSourceConfig()
Oracle data source configuration
.google.cloud.datastream.v1.OracleSourceConfig oracle_source_config = 100;
Returns
clearSourceConnectionProfile()
public SourceConfig.Builder clearSourceConnectionProfile()
Required. Source connection profile resoource.
Format: projects/{project}/locations/{location}/connectionProfiles/{name}
string source_connection_profile = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
clearSourceStreamConfig()
public SourceConfig.Builder clearSourceStreamConfig()
Returns
clone()
public SourceConfig.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public SourceConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getMysqlSourceConfig()
public MysqlSourceConfig getMysqlSourceConfig()
MySQL data source configuration
.google.cloud.datastream.v1.MysqlSourceConfig mysql_source_config = 101;
Returns
getMysqlSourceConfigBuilder()
public MysqlSourceConfig.Builder getMysqlSourceConfigBuilder()
MySQL data source configuration
.google.cloud.datastream.v1.MysqlSourceConfig mysql_source_config = 101;
Returns
getMysqlSourceConfigOrBuilder()
public MysqlSourceConfigOrBuilder getMysqlSourceConfigOrBuilder()
MySQL data source configuration
.google.cloud.datastream.v1.MysqlSourceConfig mysql_source_config = 101;
Returns
getOracleSourceConfig()
public OracleSourceConfig getOracleSourceConfig()
Oracle data source configuration
.google.cloud.datastream.v1.OracleSourceConfig oracle_source_config = 100;
Returns
getOracleSourceConfigBuilder()
public OracleSourceConfig.Builder getOracleSourceConfigBuilder()
Oracle data source configuration
.google.cloud.datastream.v1.OracleSourceConfig oracle_source_config = 100;
Returns
getOracleSourceConfigOrBuilder()
public OracleSourceConfigOrBuilder getOracleSourceConfigOrBuilder()
Oracle data source configuration
.google.cloud.datastream.v1.OracleSourceConfig oracle_source_config = 100;
Returns
getSourceConnectionProfile()
public String getSourceConnectionProfile()
Required. Source connection profile resoource.
Format: projects/{project}/locations/{location}/connectionProfiles/{name}
string source_connection_profile = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The sourceConnectionProfile.
|
getSourceConnectionProfileBytes()
public ByteString getSourceConnectionProfileBytes()
Required. Source connection profile resoource.
Format: projects/{project}/locations/{location}/connectionProfiles/{name}
string source_connection_profile = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
ByteString | The bytes for sourceConnectionProfile.
|
getSourceStreamConfigCase()
public SourceConfig.SourceStreamConfigCase getSourceStreamConfigCase()
Returns
hasMysqlSourceConfig()
public boolean hasMysqlSourceConfig()
MySQL data source configuration
.google.cloud.datastream.v1.MysqlSourceConfig mysql_source_config = 101;
Returns
Type | Description |
boolean | Whether the mysqlSourceConfig field is set.
|
hasOracleSourceConfig()
public boolean hasOracleSourceConfig()
Oracle data source configuration
.google.cloud.datastream.v1.OracleSourceConfig oracle_source_config = 100;
Returns
Type | Description |
boolean | Whether the oracleSourceConfig field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(SourceConfig other)
public SourceConfig.Builder mergeFrom(SourceConfig other)
Parameter
Returns
public SourceConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SourceConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeMysqlSourceConfig(MysqlSourceConfig value)
public SourceConfig.Builder mergeMysqlSourceConfig(MysqlSourceConfig value)
MySQL data source configuration
.google.cloud.datastream.v1.MysqlSourceConfig mysql_source_config = 101;
Parameter
Returns
mergeOracleSourceConfig(OracleSourceConfig value)
public SourceConfig.Builder mergeOracleSourceConfig(OracleSourceConfig value)
Oracle data source configuration
.google.cloud.datastream.v1.OracleSourceConfig oracle_source_config = 100;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SourceConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SourceConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setMysqlSourceConfig(MysqlSourceConfig value)
public SourceConfig.Builder setMysqlSourceConfig(MysqlSourceConfig value)
MySQL data source configuration
.google.cloud.datastream.v1.MysqlSourceConfig mysql_source_config = 101;
Parameter
Returns
setMysqlSourceConfig(MysqlSourceConfig.Builder builderForValue)
public SourceConfig.Builder setMysqlSourceConfig(MysqlSourceConfig.Builder builderForValue)
MySQL data source configuration
.google.cloud.datastream.v1.MysqlSourceConfig mysql_source_config = 101;
Parameter
Returns
setOracleSourceConfig(OracleSourceConfig value)
public SourceConfig.Builder setOracleSourceConfig(OracleSourceConfig value)
Oracle data source configuration
.google.cloud.datastream.v1.OracleSourceConfig oracle_source_config = 100;
Parameter
Returns
setOracleSourceConfig(OracleSourceConfig.Builder builderForValue)
public SourceConfig.Builder setOracleSourceConfig(OracleSourceConfig.Builder builderForValue)
Oracle data source configuration
.google.cloud.datastream.v1.OracleSourceConfig oracle_source_config = 100;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SourceConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setSourceConnectionProfile(String value)
public SourceConfig.Builder setSourceConnectionProfile(String value)
Required. Source connection profile resoource.
Format: projects/{project}/locations/{location}/connectionProfiles/{name}
string source_connection_profile = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The sourceConnectionProfile to set.
|
Returns
setSourceConnectionProfileBytes(ByteString value)
public SourceConfig.Builder setSourceConnectionProfileBytes(ByteString value)
Required. Source connection profile resoource.
Format: projects/{project}/locations/{location}/connectionProfiles/{name}
string source_connection_profile = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for sourceConnectionProfile to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final SourceConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides