Class SourceConfig (1.29.0)

public final class SourceConfig extends GeneratedMessageV3 implements SourceConfigOrBuilder

The configuration of the stream source.

Protobuf type google.cloud.datastream.v1alpha1.SourceConfig

Static Fields

MYSQL_SOURCE_CONFIG_FIELD_NUMBER

public static final int MYSQL_SOURCE_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

ORACLE_SOURCE_CONFIG_FIELD_NUMBER

public static final int ORACLE_SOURCE_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

SOURCE_CONNECTION_PROFILE_NAME_FIELD_NUMBER

public static final int SOURCE_CONNECTION_PROFILE_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SourceConfig getDefaultInstance()
Returns
TypeDescription
SourceConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static SourceConfig.Builder newBuilder()
Returns
TypeDescription
SourceConfig.Builder

newBuilder(SourceConfig prototype)

public static SourceConfig.Builder newBuilder(SourceConfig prototype)
Parameter
NameDescription
prototypeSourceConfig
Returns
TypeDescription
SourceConfig.Builder

parseDelimitedFrom(InputStream input)

public static SourceConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SourceConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SourceConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SourceConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SourceConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SourceConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SourceConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SourceConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SourceConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SourceConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SourceConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SourceConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SourceConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SourceConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SourceConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SourceConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SourceConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SourceConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SourceConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SourceConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SourceConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SourceConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SourceConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SourceConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SourceConfig> parser()
Returns
TypeDescription
Parser<SourceConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public SourceConfig getDefaultInstanceForType()
Returns
TypeDescription
SourceConfig

getMysqlSourceConfig()

public MysqlSourceConfig getMysqlSourceConfig()

MySQL data source configuration

.google.cloud.datastream.v1alpha1.MysqlSourceConfig mysql_source_config = 101;

Returns
TypeDescription
MysqlSourceConfig

The mysqlSourceConfig.

getMysqlSourceConfigOrBuilder()

public MysqlSourceConfigOrBuilder getMysqlSourceConfigOrBuilder()

MySQL data source configuration

.google.cloud.datastream.v1alpha1.MysqlSourceConfig mysql_source_config = 101;

Returns
TypeDescription
MysqlSourceConfigOrBuilder

getOracleSourceConfig()

public OracleSourceConfig getOracleSourceConfig()

Oracle data source configuration

.google.cloud.datastream.v1alpha1.OracleSourceConfig oracle_source_config = 100;

Returns
TypeDescription
OracleSourceConfig

The oracleSourceConfig.

getOracleSourceConfigOrBuilder()

public OracleSourceConfigOrBuilder getOracleSourceConfigOrBuilder()

Oracle data source configuration

.google.cloud.datastream.v1alpha1.OracleSourceConfig oracle_source_config = 100;

Returns
TypeDescription
OracleSourceConfigOrBuilder

getParserForType()

public Parser<SourceConfig> getParserForType()
Returns
TypeDescription
Parser<SourceConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSourceConnectionProfileName()

public String getSourceConnectionProfileName()

Required. Source connection profile identifier.

string source_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The sourceConnectionProfileName.

getSourceConnectionProfileNameBytes()

public ByteString getSourceConnectionProfileNameBytes()

Required. Source connection profile identifier.

string source_connection_profile_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for sourceConnectionProfileName.

getSourceStreamConfigCase()

public SourceConfig.SourceStreamConfigCase getSourceStreamConfigCase()
Returns
TypeDescription
SourceConfig.SourceStreamConfigCase

hasMysqlSourceConfig()

public boolean hasMysqlSourceConfig()

MySQL data source configuration

.google.cloud.datastream.v1alpha1.MysqlSourceConfig mysql_source_config = 101;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the oracleSourceConfig field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SourceConfig.Builder newBuilderForType()
Returns
TypeDescription
SourceConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SourceConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SourceConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SourceConfig.Builder toBuilder()
Returns
TypeDescription
SourceConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException