public static final class SourceConfig.Builder extends GeneratedMessageV3.Builder<SourceConfig.Builder> implements SourceConfigOrBuilder
The configuration of the stream source.
Protobuf type google.events.cloud.datastream.v1.SourceConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SourceConfig.BuilderImplements
SourceConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SourceConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SourceConfig.Builder |
build()
public SourceConfig build()
Returns | |
---|---|
Type | Description |
SourceConfig |
buildPartial()
public SourceConfig buildPartial()
Returns | |
---|---|
Type | Description |
SourceConfig |
clear()
public SourceConfig.Builder clear()
Returns | |
---|---|
Type | Description |
SourceConfig.Builder |
clearField(Descriptors.FieldDescriptor field)
public SourceConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
SourceConfig.Builder |
clearMysqlSourceConfig()
public SourceConfig.Builder clearMysqlSourceConfig()
MySQL data source configuration.
.google.events.cloud.datastream.v1.MysqlSourceConfig mysql_source_config = 101;
Returns | |
---|---|
Type | Description |
SourceConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public SourceConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
SourceConfig.Builder |
clearOracleSourceConfig()
public SourceConfig.Builder clearOracleSourceConfig()
Oracle data source configuration.
.google.events.cloud.datastream.v1.OracleSourceConfig oracle_source_config = 100;
Returns | |
---|---|
Type | Description |
SourceConfig.Builder |
clearPostgresqlSourceConfig()
public SourceConfig.Builder clearPostgresqlSourceConfig()
PostgreSQL data source configuration.
.google.events.cloud.datastream.v1.PostgresqlSourceConfig postgresql_source_config = 102;
Returns | |
---|---|
Type | Description |
SourceConfig.Builder |
clearSourceConnectionProfile()
public SourceConfig.Builder clearSourceConnectionProfile()
Required. Source connection profile resoource.
Format: projects/{project}/locations/{location}/connectionProfiles/{name}
string source_connection_profile = 1;
Returns | |
---|---|
Type | Description |
SourceConfig.Builder |
This builder for chaining. |
clearSourceStreamConfig()
public SourceConfig.Builder clearSourceStreamConfig()
Returns | |
---|---|
Type | Description |
SourceConfig.Builder |
clone()
public SourceConfig.Builder clone()
Returns | |
---|---|
Type | Description |
SourceConfig.Builder |
getDefaultInstanceForType()
public SourceConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
SourceConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getMysqlSourceConfig()
public MysqlSourceConfig getMysqlSourceConfig()
MySQL data source configuration.
.google.events.cloud.datastream.v1.MysqlSourceConfig mysql_source_config = 101;
Returns | |
---|---|
Type | Description |
MysqlSourceConfig |
The mysqlSourceConfig. |
getMysqlSourceConfigBuilder()
public MysqlSourceConfig.Builder getMysqlSourceConfigBuilder()
MySQL data source configuration.
.google.events.cloud.datastream.v1.MysqlSourceConfig mysql_source_config = 101;
Returns | |
---|---|
Type | Description |
MysqlSourceConfig.Builder |
getMysqlSourceConfigOrBuilder()
public MysqlSourceConfigOrBuilder getMysqlSourceConfigOrBuilder()
MySQL data source configuration.
.google.events.cloud.datastream.v1.MysqlSourceConfig mysql_source_config = 101;
Returns | |
---|---|
Type | Description |
MysqlSourceConfigOrBuilder |
getOracleSourceConfig()
public OracleSourceConfig getOracleSourceConfig()
Oracle data source configuration.
.google.events.cloud.datastream.v1.OracleSourceConfig oracle_source_config = 100;
Returns | |
---|---|
Type | Description |
OracleSourceConfig |
The oracleSourceConfig. |
getOracleSourceConfigBuilder()
public OracleSourceConfig.Builder getOracleSourceConfigBuilder()
Oracle data source configuration.
.google.events.cloud.datastream.v1.OracleSourceConfig oracle_source_config = 100;
Returns | |
---|---|
Type | Description |
OracleSourceConfig.Builder |
getOracleSourceConfigOrBuilder()
public OracleSourceConfigOrBuilder getOracleSourceConfigOrBuilder()
Oracle data source configuration.
.google.events.cloud.datastream.v1.OracleSourceConfig oracle_source_config = 100;
Returns | |
---|---|
Type | Description |
OracleSourceConfigOrBuilder |
getPostgresqlSourceConfig()
public PostgresqlSourceConfig getPostgresqlSourceConfig()
PostgreSQL data source configuration.
.google.events.cloud.datastream.v1.PostgresqlSourceConfig postgresql_source_config = 102;
Returns | |
---|---|
Type | Description |
PostgresqlSourceConfig |
The postgresqlSourceConfig. |
getPostgresqlSourceConfigBuilder()
public PostgresqlSourceConfig.Builder getPostgresqlSourceConfigBuilder()
PostgreSQL data source configuration.
.google.events.cloud.datastream.v1.PostgresqlSourceConfig postgresql_source_config = 102;
Returns | |
---|---|
Type | Description |
PostgresqlSourceConfig.Builder |
getPostgresqlSourceConfigOrBuilder()
public PostgresqlSourceConfigOrBuilder getPostgresqlSourceConfigOrBuilder()
PostgreSQL data source configuration.
.google.events.cloud.datastream.v1.PostgresqlSourceConfig postgresql_source_config = 102;
Returns | |
---|---|
Type | Description |
PostgresqlSourceConfigOrBuilder |
getSourceConnectionProfile()
public String getSourceConnectionProfile()
Required. Source connection profile resoource.
Format: projects/{project}/locations/{location}/connectionProfiles/{name}
string source_connection_profile = 1;
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;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for sourceConnectionProfile. |
getSourceStreamConfigCase()
public SourceConfig.SourceStreamConfigCase getSourceStreamConfigCase()
Returns | |
---|---|
Type | Description |
SourceConfig.SourceStreamConfigCase |
hasMysqlSourceConfig()
public boolean hasMysqlSourceConfig()
MySQL data source configuration.
.google.events.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.events.cloud.datastream.v1.OracleSourceConfig oracle_source_config = 100;
Returns | |
---|---|
Type | Description |
boolean |
Whether the oracleSourceConfig field is set. |
hasPostgresqlSourceConfig()
public boolean hasPostgresqlSourceConfig()
PostgreSQL data source configuration.
.google.events.cloud.datastream.v1.PostgresqlSourceConfig postgresql_source_config = 102;
Returns | |
---|---|
Type | Description |
boolean |
Whether the postgresqlSourceConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(SourceConfig other)
public SourceConfig.Builder mergeFrom(SourceConfig other)
Parameter | |
---|---|
Name | Description |
other |
SourceConfig |
Returns | |
---|---|
Type | Description |
SourceConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SourceConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SourceConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public SourceConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
SourceConfig.Builder |
mergeMysqlSourceConfig(MysqlSourceConfig value)
public SourceConfig.Builder mergeMysqlSourceConfig(MysqlSourceConfig value)
MySQL data source configuration.
.google.events.cloud.datastream.v1.MysqlSourceConfig mysql_source_config = 101;
Parameter | |
---|---|
Name | Description |
value |
MysqlSourceConfig |
Returns | |
---|---|
Type | Description |
SourceConfig.Builder |
mergeOracleSourceConfig(OracleSourceConfig value)
public SourceConfig.Builder mergeOracleSourceConfig(OracleSourceConfig value)
Oracle data source configuration.
.google.events.cloud.datastream.v1.OracleSourceConfig oracle_source_config = 100;
Parameter | |
---|---|
Name | Description |
value |
OracleSourceConfig |
Returns | |
---|---|
Type | Description |
SourceConfig.Builder |
mergePostgresqlSourceConfig(PostgresqlSourceConfig value)
public SourceConfig.Builder mergePostgresqlSourceConfig(PostgresqlSourceConfig value)
PostgreSQL data source configuration.
.google.events.cloud.datastream.v1.PostgresqlSourceConfig postgresql_source_config = 102;
Parameter | |
---|---|
Name | Description |
value |
PostgresqlSourceConfig |
Returns | |
---|---|
Type | Description |
SourceConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SourceConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SourceConfig.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public SourceConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SourceConfig.Builder |
setMysqlSourceConfig(MysqlSourceConfig value)
public SourceConfig.Builder setMysqlSourceConfig(MysqlSourceConfig value)
MySQL data source configuration.
.google.events.cloud.datastream.v1.MysqlSourceConfig mysql_source_config = 101;
Parameter | |
---|---|
Name | Description |
value |
MysqlSourceConfig |
Returns | |
---|---|
Type | Description |
SourceConfig.Builder |
setMysqlSourceConfig(MysqlSourceConfig.Builder builderForValue)
public SourceConfig.Builder setMysqlSourceConfig(MysqlSourceConfig.Builder builderForValue)
MySQL data source configuration.
.google.events.cloud.datastream.v1.MysqlSourceConfig mysql_source_config = 101;
Parameter | |
---|---|
Name | Description |
builderForValue |
MysqlSourceConfig.Builder |
Returns | |
---|---|
Type | Description |
SourceConfig.Builder |
setOracleSourceConfig(OracleSourceConfig value)
public SourceConfig.Builder setOracleSourceConfig(OracleSourceConfig value)
Oracle data source configuration.
.google.events.cloud.datastream.v1.OracleSourceConfig oracle_source_config = 100;
Parameter | |
---|---|
Name | Description |
value |
OracleSourceConfig |
Returns | |
---|---|
Type | Description |
SourceConfig.Builder |
setOracleSourceConfig(OracleSourceConfig.Builder builderForValue)
public SourceConfig.Builder setOracleSourceConfig(OracleSourceConfig.Builder builderForValue)
Oracle data source configuration.
.google.events.cloud.datastream.v1.OracleSourceConfig oracle_source_config = 100;
Parameter | |
---|---|
Name | Description |
builderForValue |
OracleSourceConfig.Builder |
Returns | |
---|---|
Type | Description |
SourceConfig.Builder |
setPostgresqlSourceConfig(PostgresqlSourceConfig value)
public SourceConfig.Builder setPostgresqlSourceConfig(PostgresqlSourceConfig value)
PostgreSQL data source configuration.
.google.events.cloud.datastream.v1.PostgresqlSourceConfig postgresql_source_config = 102;
Parameter | |
---|---|
Name | Description |
value |
PostgresqlSourceConfig |
Returns | |
---|---|
Type | Description |
SourceConfig.Builder |
setPostgresqlSourceConfig(PostgresqlSourceConfig.Builder builderForValue)
public SourceConfig.Builder setPostgresqlSourceConfig(PostgresqlSourceConfig.Builder builderForValue)
PostgreSQL data source configuration.
.google.events.cloud.datastream.v1.PostgresqlSourceConfig postgresql_source_config = 102;
Parameter | |
---|---|
Name | Description |
builderForValue |
PostgresqlSourceConfig.Builder |
Returns | |
---|---|
Type | Description |
SourceConfig.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SourceConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
SourceConfig.Builder |
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;
Parameter | |
---|---|
Name | Description |
value |
String The sourceConnectionProfile to set. |
Returns | |
---|---|
Type | Description |
SourceConfig.Builder |
This builder for chaining. |
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for sourceConnectionProfile to set. |
Returns | |
---|---|
Type | Description |
SourceConfig.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final SourceConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SourceConfig.Builder |