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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SourceConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SourceConfig build()
buildPartial()
public SourceConfig buildPartial()
clear()
public SourceConfig.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public SourceConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMysqlSourceConfig()
public SourceConfig.Builder clearMysqlSourceConfig()
MySQL data source configuration
.google.cloud.datastream.v1alpha1.MysqlSourceConfig mysql_source_config = 101;
clearOneof(Descriptors.OneofDescriptor oneof)
public SourceConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearOracleSourceConfig()
public SourceConfig.Builder clearOracleSourceConfig()
Oracle data source configuration
.google.cloud.datastream.v1alpha1.OracleSourceConfig oracle_source_config = 100;
clearSourceConnectionProfileName()
public SourceConfig.Builder clearSourceConnectionProfileName()
Required. Source connection profile identifier.
string source_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED];
clearSourceStreamConfig()
public SourceConfig.Builder clearSourceStreamConfig()
clone()
public SourceConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public SourceConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMysqlSourceConfig()
public MysqlSourceConfig getMysqlSourceConfig()
MySQL data source configuration
.google.cloud.datastream.v1alpha1.MysqlSourceConfig mysql_source_config = 101;
getMysqlSourceConfigBuilder()
public MysqlSourceConfig.Builder getMysqlSourceConfigBuilder()
MySQL data source configuration
.google.cloud.datastream.v1alpha1.MysqlSourceConfig mysql_source_config = 101;
getMysqlSourceConfigOrBuilder()
public MysqlSourceConfigOrBuilder getMysqlSourceConfigOrBuilder()
MySQL data source configuration
.google.cloud.datastream.v1alpha1.MysqlSourceConfig mysql_source_config = 101;
getOracleSourceConfig()
public OracleSourceConfig getOracleSourceConfig()
Oracle data source configuration
.google.cloud.datastream.v1alpha1.OracleSourceConfig oracle_source_config = 100;
getOracleSourceConfigBuilder()
public OracleSourceConfig.Builder getOracleSourceConfigBuilder()
Oracle data source configuration
.google.cloud.datastream.v1alpha1.OracleSourceConfig oracle_source_config = 100;
getOracleSourceConfigOrBuilder()
public OracleSourceConfigOrBuilder getOracleSourceConfigOrBuilder()
Oracle data source configuration
.google.cloud.datastream.v1alpha1.OracleSourceConfig oracle_source_config = 100;
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()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SourceConfig other)
public SourceConfig.Builder mergeFrom(SourceConfig other)
public SourceConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SourceConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeMysqlSourceConfig(MysqlSourceConfig value)
public SourceConfig.Builder mergeMysqlSourceConfig(MysqlSourceConfig value)
MySQL data source configuration
.google.cloud.datastream.v1alpha1.MysqlSourceConfig mysql_source_config = 101;
mergeOracleSourceConfig(OracleSourceConfig value)
public SourceConfig.Builder mergeOracleSourceConfig(OracleSourceConfig value)
Oracle data source configuration
.google.cloud.datastream.v1alpha1.OracleSourceConfig oracle_source_config = 100;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SourceConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SourceConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setMysqlSourceConfig(MysqlSourceConfig value)
public SourceConfig.Builder setMysqlSourceConfig(MysqlSourceConfig value)
MySQL data source configuration
.google.cloud.datastream.v1alpha1.MysqlSourceConfig mysql_source_config = 101;
setMysqlSourceConfig(MysqlSourceConfig.Builder builderForValue)
public SourceConfig.Builder setMysqlSourceConfig(MysqlSourceConfig.Builder builderForValue)
MySQL data source configuration
.google.cloud.datastream.v1alpha1.MysqlSourceConfig mysql_source_config = 101;
setOracleSourceConfig(OracleSourceConfig value)
public SourceConfig.Builder setOracleSourceConfig(OracleSourceConfig value)
Oracle data source configuration
.google.cloud.datastream.v1alpha1.OracleSourceConfig oracle_source_config = 100;
setOracleSourceConfig(OracleSourceConfig.Builder builderForValue)
public SourceConfig.Builder setOracleSourceConfig(OracleSourceConfig.Builder builderForValue)
Oracle data source configuration
.google.cloud.datastream.v1alpha1.OracleSourceConfig oracle_source_config = 100;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SourceConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.
|
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final SourceConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides