Class SourceConfig (0.16.0)

public final class SourceConfig extends GeneratedMessageV3 implements SourceConfigOrBuilder

The configuration of the stream source.

Protobuf type google.events.cloud.datastream.v1.SourceConfig

Static Fields

MYSQL_SOURCE_CONFIG_FIELD_NUMBER

public static final int MYSQL_SOURCE_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

ORACLE_SOURCE_CONFIG_FIELD_NUMBER

public static final int ORACLE_SOURCE_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

POSTGRESQL_SOURCE_CONFIG_FIELD_NUMBER

public static final int POSTGRESQL_SOURCE_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

SOURCE_CONNECTION_PROFILE_FIELD_NUMBER

public static final int SOURCE_CONNECTION_PROFILE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SourceConfig getDefaultInstance()
Returns
Type Description
SourceConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static SourceConfig.Builder newBuilder()
Returns
Type Description
SourceConfig.Builder

newBuilder(SourceConfig prototype)

public static SourceConfig.Builder newBuilder(SourceConfig prototype)
Parameter
Name Description
prototype SourceConfig
Returns
Type Description
SourceConfig.Builder

parseDelimitedFrom(InputStream input)

public static SourceConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SourceConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SourceConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SourceConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SourceConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SourceConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SourceConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SourceConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SourceConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SourceConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SourceConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SourceConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SourceConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SourceConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SourceConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SourceConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SourceConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SourceConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SourceConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SourceConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SourceConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SourceConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SourceConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SourceConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SourceConfig> parser()
Returns
Type Description
Parser<SourceConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public SourceConfig getDefaultInstanceForType()
Returns
Type Description
SourceConfig

getMysqlSourceConfig()

public MysqlSourceConfig getMysqlSourceConfig()

MySQL data source configuration.

.google.events.cloud.datastream.v1.MysqlSourceConfig mysql_source_config = 101;

Returns
Type Description
MysqlSourceConfig

The mysqlSourceConfig.

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.

getOracleSourceConfigOrBuilder()

public OracleSourceConfigOrBuilder getOracleSourceConfigOrBuilder()

Oracle data source configuration.

.google.events.cloud.datastream.v1.OracleSourceConfig oracle_source_config = 100;

Returns
Type Description
OracleSourceConfigOrBuilder

getParserForType()

public Parser<SourceConfig> getParserForType()
Returns
Type Description
Parser<SourceConfig>
Overrides

getPostgresqlSourceConfig()

public PostgresqlSourceConfig getPostgresqlSourceConfig()

PostgreSQL data source configuration.

.google.events.cloud.datastream.v1.PostgresqlSourceConfig postgresql_source_config = 102;

Returns
Type Description
PostgresqlSourceConfig

The postgresqlSourceConfig.

getPostgresqlSourceConfigOrBuilder()

public PostgresqlSourceConfigOrBuilder getPostgresqlSourceConfigOrBuilder()

PostgreSQL data source configuration.

.google.events.cloud.datastream.v1.PostgresqlSourceConfig postgresql_source_config = 102;

Returns
Type Description
PostgresqlSourceConfigOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SourceConfig.Builder newBuilderForType()
Returns
Type Description
SourceConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SourceConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SourceConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public SourceConfig.Builder toBuilder()
Returns
Type Description
SourceConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException