Class SourceObjectIdentifier (1.54.0)

public final class SourceObjectIdentifier extends GeneratedMessageV3 implements SourceObjectIdentifierOrBuilder

Represents an identifier of an object in the data source.

Protobuf type google.cloud.datastream.v1.SourceObjectIdentifier

Static Fields

MYSQL_IDENTIFIER_FIELD_NUMBER

public static final int MYSQL_IDENTIFIER_FIELD_NUMBER
Field Value
Type Description
int

ORACLE_IDENTIFIER_FIELD_NUMBER

public static final int ORACLE_IDENTIFIER_FIELD_NUMBER
Field Value
Type Description
int

POSTGRESQL_IDENTIFIER_FIELD_NUMBER

public static final int POSTGRESQL_IDENTIFIER_FIELD_NUMBER
Field Value
Type Description
int

SQL_SERVER_IDENTIFIER_FIELD_NUMBER

public static final int SQL_SERVER_IDENTIFIER_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SourceObjectIdentifier getDefaultInstance()
Returns
Type Description
SourceObjectIdentifier

getDescriptor()

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

newBuilder()

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

newBuilder(SourceObjectIdentifier prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public SourceObjectIdentifier getDefaultInstanceForType()
Returns
Type Description
SourceObjectIdentifier

getMysqlIdentifier()

public SourceObjectIdentifier.MysqlObjectIdentifier getMysqlIdentifier()

Mysql data source object identifier.

.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier mysql_identifier = 2;

Returns
Type Description
SourceObjectIdentifier.MysqlObjectIdentifier

The mysqlIdentifier.

getMysqlIdentifierOrBuilder()

public SourceObjectIdentifier.MysqlObjectIdentifierOrBuilder getMysqlIdentifierOrBuilder()

Mysql data source object identifier.

.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier mysql_identifier = 2;

Returns
Type Description
SourceObjectIdentifier.MysqlObjectIdentifierOrBuilder

getOracleIdentifier()

public SourceObjectIdentifier.OracleObjectIdentifier getOracleIdentifier()

Oracle data source object identifier.

.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier oracle_identifier = 1;

Returns
Type Description
SourceObjectIdentifier.OracleObjectIdentifier

The oracleIdentifier.

getOracleIdentifierOrBuilder()

public SourceObjectIdentifier.OracleObjectIdentifierOrBuilder getOracleIdentifierOrBuilder()

Oracle data source object identifier.

.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier oracle_identifier = 1;

Returns
Type Description
SourceObjectIdentifier.OracleObjectIdentifierOrBuilder

getParserForType()

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

getPostgresqlIdentifier()

public SourceObjectIdentifier.PostgresqlObjectIdentifier getPostgresqlIdentifier()

PostgreSQL data source object identifier.

.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier postgresql_identifier = 3;

Returns
Type Description
SourceObjectIdentifier.PostgresqlObjectIdentifier

The postgresqlIdentifier.

getPostgresqlIdentifierOrBuilder()

public SourceObjectIdentifier.PostgresqlObjectIdentifierOrBuilder getPostgresqlIdentifierOrBuilder()

PostgreSQL data source object identifier.

.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier postgresql_identifier = 3;

Returns
Type Description
SourceObjectIdentifier.PostgresqlObjectIdentifierOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSourceIdentifierCase()

public SourceObjectIdentifier.SourceIdentifierCase getSourceIdentifierCase()
Returns
Type Description
SourceObjectIdentifier.SourceIdentifierCase

getSqlServerIdentifier()

public SourceObjectIdentifier.SqlServerObjectIdentifier getSqlServerIdentifier()

SQLServer data source object identifier.

.google.cloud.datastream.v1.SourceObjectIdentifier.SqlServerObjectIdentifier sql_server_identifier = 4;

Returns
Type Description
SourceObjectIdentifier.SqlServerObjectIdentifier

The sqlServerIdentifier.

getSqlServerIdentifierOrBuilder()

public SourceObjectIdentifier.SqlServerObjectIdentifierOrBuilder getSqlServerIdentifierOrBuilder()

SQLServer data source object identifier.

.google.cloud.datastream.v1.SourceObjectIdentifier.SqlServerObjectIdentifier sql_server_identifier = 4;

Returns
Type Description
SourceObjectIdentifier.SqlServerObjectIdentifierOrBuilder

hasMysqlIdentifier()

public boolean hasMysqlIdentifier()

Mysql data source object identifier.

.google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier mysql_identifier = 2;

Returns
Type Description
boolean

Whether the mysqlIdentifier field is set.

hasOracleIdentifier()

public boolean hasOracleIdentifier()

Oracle data source object identifier.

.google.cloud.datastream.v1.SourceObjectIdentifier.OracleObjectIdentifier oracle_identifier = 1;

Returns
Type Description
boolean

Whether the oracleIdentifier field is set.

hasPostgresqlIdentifier()

public boolean hasPostgresqlIdentifier()

PostgreSQL data source object identifier.

.google.cloud.datastream.v1.SourceObjectIdentifier.PostgresqlObjectIdentifier postgresql_identifier = 3;

Returns
Type Description
boolean

Whether the postgresqlIdentifier field is set.

hasSqlServerIdentifier()

public boolean hasSqlServerIdentifier()

SQLServer data source object identifier.

.google.cloud.datastream.v1.SourceObjectIdentifier.SqlServerObjectIdentifier sql_server_identifier = 4;

Returns
Type Description
boolean

Whether the sqlServerIdentifier 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 SourceObjectIdentifier.Builder newBuilderForType()
Returns
Type Description
SourceObjectIdentifier.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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