Class SourceObjectIdentifier (1.1.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
TypeDescription
int

ORACLE_IDENTIFIER_FIELD_NUMBER

public static final int ORACLE_IDENTIFIER_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SourceObjectIdentifier getDefaultInstance()
Returns
TypeDescription
SourceObjectIdentifier

getDescriptor()

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

newBuilder()

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

newBuilder(SourceObjectIdentifier prototype)

public static SourceObjectIdentifier.Builder newBuilder(SourceObjectIdentifier prototype)
Parameter
NameDescription
prototypeSourceObjectIdentifier
Returns
TypeDescription
SourceObjectIdentifier.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public SourceObjectIdentifier getDefaultInstanceForType()
Returns
TypeDescription
SourceObjectIdentifier

getMysqlIdentifier()

public SourceObjectIdentifier.MysqlObjectIdentifier getMysqlIdentifier()

Mysql data source object identifier.

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

Returns
TypeDescription
SourceObjectIdentifier.MysqlObjectIdentifier

The mysqlIdentifier.

getMysqlIdentifierOrBuilder()

public SourceObjectIdentifier.MysqlObjectIdentifierOrBuilder getMysqlIdentifierOrBuilder()

Mysql data source object identifier.

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

Returns
TypeDescription
SourceObjectIdentifier.MysqlObjectIdentifierOrBuilder

getOracleIdentifier()

public SourceObjectIdentifier.OracleObjectIdentifier getOracleIdentifier()

Oracle data source object identifier.

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

Returns
TypeDescription
SourceObjectIdentifier.OracleObjectIdentifier

The oracleIdentifier.

getOracleIdentifierOrBuilder()

public SourceObjectIdentifier.OracleObjectIdentifierOrBuilder getOracleIdentifierOrBuilder()

Oracle data source object identifier.

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

Returns
TypeDescription
SourceObjectIdentifier.OracleObjectIdentifierOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSourceIdentifierCase()

public SourceObjectIdentifier.SourceIdentifierCase getSourceIdentifierCase()
Returns
TypeDescription
SourceObjectIdentifier.SourceIdentifierCase

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasMysqlIdentifier()

public boolean hasMysqlIdentifier()

Mysql data source object identifier.

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

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

Whether the oracleIdentifier 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 SourceObjectIdentifier.Builder newBuilderForType()
Returns
TypeDescription
SourceObjectIdentifier.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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