Send feedback
Class SourceConfig.Builder (0.4.2)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.4.2 keyboard_arrow_down
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
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.v1alpha1.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.v1alpha1.OracleSourceConfig oracle_source_config = 100;
Returns
clearSourceConnectionProfileName()
public SourceConfig . Builder clearSourceConnectionProfileName ()
Required. Source connection profile identifier.
string source_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED];
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.v1alpha1.MysqlSourceConfig mysql_source_config = 101;
Returns
getMysqlSourceConfigBuilder()
public MysqlSourceConfig . Builder getMysqlSourceConfigBuilder ()
MySQL data source configuration
.google.cloud.datastream.v1alpha1.MysqlSourceConfig mysql_source_config = 101;
Returns
getMysqlSourceConfigOrBuilder()
public MysqlSourceConfigOrBuilder getMysqlSourceConfigOrBuilder ()
MySQL data source configuration
.google.cloud.datastream.v1alpha1.MysqlSourceConfig mysql_source_config = 101;
Returns
getOracleSourceConfig()
public OracleSourceConfig getOracleSourceConfig ()
Oracle data source configuration
.google.cloud.datastream.v1alpha1.OracleSourceConfig oracle_source_config = 100;
Returns
getOracleSourceConfigBuilder()
public OracleSourceConfig . Builder getOracleSourceConfigBuilder ()
Oracle data source configuration
.google.cloud.datastream.v1alpha1.OracleSourceConfig oracle_source_config = 100;
Returns
getOracleSourceConfigOrBuilder()
public OracleSourceConfigOrBuilder getOracleSourceConfigOrBuilder ()
Oracle data source configuration
.google.cloud.datastream.v1alpha1.OracleSourceConfig oracle_source_config = 100;
Returns
getSourceConnectionProfileName()
public String getSourceConnectionProfileName ()
Required. Source connection profile identifier.
string source_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type Description String The sourceConnectionProfileName.
getSourceConnectionProfileNameBytes()
public ByteString getSourceConnectionProfileNameBytes ()
Required. Source connection profile identifier.
string source_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type Description ByteString The bytes for sourceConnectionProfileName.
getSourceStreamConfigCase()
public SourceConfig . SourceStreamConfigCase getSourceStreamConfigCase ()
Returns
hasMysqlSourceConfig()
public boolean hasMysqlSourceConfig ()
MySQL data source configuration
.google.cloud.datastream.v1alpha1.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.v1alpha1.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.v1alpha1.MysqlSourceConfig mysql_source_config = 101;
Parameter
Returns
mergeOracleSourceConfig(OracleSourceConfig value)
public SourceConfig . Builder mergeOracleSourceConfig ( OracleSourceConfig value )
Oracle data source configuration
.google.cloud.datastream.v1alpha1.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.v1alpha1.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.v1alpha1.MysqlSourceConfig mysql_source_config = 101;
Parameter
Returns
setOracleSourceConfig(OracleSourceConfig value)
public SourceConfig . Builder setOracleSourceConfig ( OracleSourceConfig value )
Oracle data source configuration
.google.cloud.datastream.v1alpha1.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.v1alpha1.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
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
Name Description value String
The sourceConnectionProfileName to set.
Returns
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
Name Description value ByteString
The bytes for sourceConnectionProfileName to set.
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final SourceConfig . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]