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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
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