public static final class SourceConfig.Builder extends GeneratedMessageV3.Builder<SourceConfig.Builder> implements SourceConfigOrBuilderThe configuration of the stream source.
Protobuf type google.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()| Type | Description |
| Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SourceConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| SourceConfig.Builder |
build()
public SourceConfig build()| Type | Description |
| SourceConfig |
buildPartial()
public SourceConfig buildPartial()| Type | Description |
| SourceConfig |
clear()
public SourceConfig.Builder clear()| Type | Description |
| SourceConfig.Builder |
clearField(Descriptors.FieldDescriptor field)
public SourceConfig.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| SourceConfig.Builder |
clearMysqlSourceConfig()
public SourceConfig.Builder clearMysqlSourceConfig()MySQL data source configuration.
.google.cloud.datastream.v1.MysqlSourceConfig mysql_source_config = 101;
| Type | Description |
| SourceConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public SourceConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| SourceConfig.Builder |
clearOracleSourceConfig()
public SourceConfig.Builder clearOracleSourceConfig()Oracle data source configuration.
.google.cloud.datastream.v1.OracleSourceConfig oracle_source_config = 100;
| Type | Description |
| SourceConfig.Builder |
clearPostgresqlSourceConfig()
public SourceConfig.Builder clearPostgresqlSourceConfig()PostgreSQL data source configuration.
.google.cloud.datastream.v1.PostgresqlSourceConfig postgresql_source_config = 102;
| 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Type | Description |
| SourceConfig.Builder | This builder for chaining. |
clearSourceStreamConfig()
public SourceConfig.Builder clearSourceStreamConfig()| Type | Description |
| SourceConfig.Builder |
clone()
public SourceConfig.Builder clone()| Type | Description |
| SourceConfig.Builder |
getDefaultInstanceForType()
public SourceConfig getDefaultInstanceForType()| Type | Description |
| SourceConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getMysqlSourceConfig()
public MysqlSourceConfig getMysqlSourceConfig()MySQL data source configuration.
.google.cloud.datastream.v1.MysqlSourceConfig mysql_source_config = 101;
| Type | Description |
| MysqlSourceConfig | The mysqlSourceConfig. |
getMysqlSourceConfigBuilder()
public MysqlSourceConfig.Builder getMysqlSourceConfigBuilder()MySQL data source configuration.
.google.cloud.datastream.v1.MysqlSourceConfig mysql_source_config = 101;
| Type | Description |
| MysqlSourceConfig.Builder |
getMysqlSourceConfigOrBuilder()
public MysqlSourceConfigOrBuilder getMysqlSourceConfigOrBuilder()MySQL data source configuration.
.google.cloud.datastream.v1.MysqlSourceConfig mysql_source_config = 101;
| Type | Description |
| MysqlSourceConfigOrBuilder |
getOracleSourceConfig()
public OracleSourceConfig getOracleSourceConfig()Oracle data source configuration.
.google.cloud.datastream.v1.OracleSourceConfig oracle_source_config = 100;
| Type | Description |
| OracleSourceConfig | The oracleSourceConfig. |
getOracleSourceConfigBuilder()
public OracleSourceConfig.Builder getOracleSourceConfigBuilder()Oracle data source configuration.
.google.cloud.datastream.v1.OracleSourceConfig oracle_source_config = 100;
| Type | Description |
| OracleSourceConfig.Builder |
getOracleSourceConfigOrBuilder()
public OracleSourceConfigOrBuilder getOracleSourceConfigOrBuilder()Oracle data source configuration.
.google.cloud.datastream.v1.OracleSourceConfig oracle_source_config = 100;
| Type | Description |
| OracleSourceConfigOrBuilder |
getPostgresqlSourceConfig()
public PostgresqlSourceConfig getPostgresqlSourceConfig()PostgreSQL data source configuration.
.google.cloud.datastream.v1.PostgresqlSourceConfig postgresql_source_config = 102;
| Type | Description |
| PostgresqlSourceConfig | The postgresqlSourceConfig. |
getPostgresqlSourceConfigBuilder()
public PostgresqlSourceConfig.Builder getPostgresqlSourceConfigBuilder()PostgreSQL data source configuration.
.google.cloud.datastream.v1.PostgresqlSourceConfig postgresql_source_config = 102;
| Type | Description |
| PostgresqlSourceConfig.Builder |
getPostgresqlSourceConfigOrBuilder()
public PostgresqlSourceConfigOrBuilder getPostgresqlSourceConfigOrBuilder()PostgreSQL data source configuration.
.google.cloud.datastream.v1.PostgresqlSourceConfig postgresql_source_config = 102;
| Type | Description |
| PostgresqlSourceConfigOrBuilder |
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) = { ... }
| 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) = { ... }
| Type | Description |
| ByteString | The bytes for sourceConnectionProfile. |
getSourceStreamConfigCase()
public SourceConfig.SourceStreamConfigCase getSourceStreamConfigCase()| Type | Description |
| SourceConfig.SourceStreamConfigCase |
hasMysqlSourceConfig()
public boolean hasMysqlSourceConfig()MySQL data source configuration.
.google.cloud.datastream.v1.MysqlSourceConfig mysql_source_config = 101;
| 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;
| Type | Description |
| boolean | Whether the oracleSourceConfig field is set. |
hasPostgresqlSourceConfig()
public boolean hasPostgresqlSourceConfig()PostgreSQL data source configuration.
.google.cloud.datastream.v1.PostgresqlSourceConfig postgresql_source_config = 102;
| Type | Description |
| boolean | Whether the postgresqlSourceConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeFrom(SourceConfig other)
public SourceConfig.Builder mergeFrom(SourceConfig other)| Name | Description |
| other | SourceConfig |
| Type | Description |
| SourceConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SourceConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| SourceConfig.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public SourceConfig.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| SourceConfig.Builder |
mergeMysqlSourceConfig(MysqlSourceConfig value)
public SourceConfig.Builder mergeMysqlSourceConfig(MysqlSourceConfig value)MySQL data source configuration.
.google.cloud.datastream.v1.MysqlSourceConfig mysql_source_config = 101;
| Name | Description |
| value | MysqlSourceConfig |
| Type | Description |
| SourceConfig.Builder |
mergeOracleSourceConfig(OracleSourceConfig value)
public SourceConfig.Builder mergeOracleSourceConfig(OracleSourceConfig value)Oracle data source configuration.
.google.cloud.datastream.v1.OracleSourceConfig oracle_source_config = 100;
| Name | Description |
| value | OracleSourceConfig |
| Type | Description |
| SourceConfig.Builder |
mergePostgresqlSourceConfig(PostgresqlSourceConfig value)
public SourceConfig.Builder mergePostgresqlSourceConfig(PostgresqlSourceConfig value)PostgreSQL data source configuration.
.google.cloud.datastream.v1.PostgresqlSourceConfig postgresql_source_config = 102;
| Name | Description |
| value | PostgresqlSourceConfig |
| Type | Description |
| SourceConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SourceConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| SourceConfig.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public SourceConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| SourceConfig.Builder |
setMysqlSourceConfig(MysqlSourceConfig value)
public SourceConfig.Builder setMysqlSourceConfig(MysqlSourceConfig value)MySQL data source configuration.
.google.cloud.datastream.v1.MysqlSourceConfig mysql_source_config = 101;
| Name | Description |
| value | MysqlSourceConfig |
| Type | Description |
| SourceConfig.Builder |
setMysqlSourceConfig(MysqlSourceConfig.Builder builderForValue)
public SourceConfig.Builder setMysqlSourceConfig(MysqlSourceConfig.Builder builderForValue)MySQL data source configuration.
.google.cloud.datastream.v1.MysqlSourceConfig mysql_source_config = 101;
| Name | Description |
| builderForValue | MysqlSourceConfig.Builder |
| Type | Description |
| SourceConfig.Builder |
setOracleSourceConfig(OracleSourceConfig value)
public SourceConfig.Builder setOracleSourceConfig(OracleSourceConfig value)Oracle data source configuration.
.google.cloud.datastream.v1.OracleSourceConfig oracle_source_config = 100;
| Name | Description |
| value | OracleSourceConfig |
| Type | Description |
| SourceConfig.Builder |
setOracleSourceConfig(OracleSourceConfig.Builder builderForValue)
public SourceConfig.Builder setOracleSourceConfig(OracleSourceConfig.Builder builderForValue)Oracle data source configuration.
.google.cloud.datastream.v1.OracleSourceConfig oracle_source_config = 100;
| Name | Description |
| builderForValue | OracleSourceConfig.Builder |
| Type | Description |
| SourceConfig.Builder |
setPostgresqlSourceConfig(PostgresqlSourceConfig value)
public SourceConfig.Builder setPostgresqlSourceConfig(PostgresqlSourceConfig value)PostgreSQL data source configuration.
.google.cloud.datastream.v1.PostgresqlSourceConfig postgresql_source_config = 102;
| Name | Description |
| value | PostgresqlSourceConfig |
| Type | Description |
| SourceConfig.Builder |
setPostgresqlSourceConfig(PostgresqlSourceConfig.Builder builderForValue)
public SourceConfig.Builder setPostgresqlSourceConfig(PostgresqlSourceConfig.Builder builderForValue)PostgreSQL data source configuration.
.google.cloud.datastream.v1.PostgresqlSourceConfig postgresql_source_config = 102;
| Name | Description |
| builderForValue | PostgresqlSourceConfig.Builder |
| Type | Description |
| SourceConfig.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SourceConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Name | Description |
| value | StringThe sourceConnectionProfile to set. |
| 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Name | Description |
| value | ByteStringThe bytes for sourceConnectionProfile to set. |
| Type | Description |
| SourceConfig.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final SourceConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| SourceConfig.Builder |