- 1.53.0 (latest)
- 1.52.0
- 1.51.0
- 1.50.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.2
- 1.1.1
- 1.0.0
- 0.4.2
public static final class SourceConfig.Builder extends GeneratedMessageV3.Builder<SourceConfig.Builder> implements SourceConfigOrBuilder
The 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()
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.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.cloud.datastream.v1.OracleSourceConfig oracle_source_config = 100;
Returns | |
---|---|
Type | Description |
SourceConfig.Builder |
clearPostgresqlSourceConfig()
public SourceConfig.Builder clearPostgresqlSourceConfig()
PostgreSQL data source configuration.
.google.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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
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.cloud.datastream.v1.MysqlSourceConfig mysql_source_config = 101;
Returns | |
---|---|
Type | Description |
MysqlSourceConfig |
The mysqlSourceConfig. |
getMysqlSourceConfigBuilder()
public MysqlSourceConfig.Builder getMysqlSourceConfigBuilder()
MySQL data source configuration.
.google.cloud.datastream.v1.MysqlSourceConfig mysql_source_config = 101;
Returns | |
---|---|
Type | Description |
MysqlSourceConfig.Builder |
getMysqlSourceConfigOrBuilder()
public MysqlSourceConfigOrBuilder getMysqlSourceConfigOrBuilder()
MySQL data source configuration.
.google.cloud.datastream.v1.MysqlSourceConfig mysql_source_config = 101;
Returns | |
---|---|
Type | Description |
MysqlSourceConfigOrBuilder |
getOracleSourceConfig()
public OracleSourceConfig getOracleSourceConfig()
Oracle data source configuration.
.google.cloud.datastream.v1.OracleSourceConfig oracle_source_config = 100;
Returns | |
---|---|
Type | Description |
OracleSourceConfig |
The oracleSourceConfig. |
getOracleSourceConfigBuilder()
public OracleSourceConfig.Builder getOracleSourceConfigBuilder()
Oracle data source configuration.
.google.cloud.datastream.v1.OracleSourceConfig oracle_source_config = 100;
Returns | |
---|---|
Type | Description |
OracleSourceConfig.Builder |
getOracleSourceConfigOrBuilder()
public OracleSourceConfigOrBuilder getOracleSourceConfigOrBuilder()
Oracle data source configuration.
.google.cloud.datastream.v1.OracleSourceConfig oracle_source_config = 100;
Returns | |
---|---|
Type | Description |
OracleSourceConfigOrBuilder |
getPostgresqlSourceConfig()
public PostgresqlSourceConfig getPostgresqlSourceConfig()
PostgreSQL data source configuration.
.google.cloud.datastream.v1.PostgresqlSourceConfig postgresql_source_config = 102;
Returns | |
---|---|
Type | Description |
PostgresqlSourceConfig |
The postgresqlSourceConfig. |
getPostgresqlSourceConfigBuilder()
public PostgresqlSourceConfig.Builder getPostgresqlSourceConfigBuilder()
PostgreSQL data source configuration.
.google.cloud.datastream.v1.PostgresqlSourceConfig postgresql_source_config = 102;
Returns | |
---|---|
Type | Description |
PostgresqlSourceConfig.Builder |
getPostgresqlSourceConfigOrBuilder()
public PostgresqlSourceConfigOrBuilder getPostgresqlSourceConfigOrBuilder()
PostgreSQL data source configuration.
.google.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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
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.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.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.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.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.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.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.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.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.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.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.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.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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
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 |