Class SourceObjectIdentifier.Builder (1.50.0)

public static final class SourceObjectIdentifier.Builder extends GeneratedMessageV3.Builder<SourceObjectIdentifier.Builder> implements SourceObjectIdentifierOrBuilder

Represents an identifier of an object in the data source.

Protobuf type google.cloud.datastream.v1.SourceObjectIdentifier

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SourceObjectIdentifier.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SourceObjectIdentifier.Builder
Overrides

build()

public SourceObjectIdentifier build()
Returns
Type Description
SourceObjectIdentifier

buildPartial()

public SourceObjectIdentifier buildPartial()
Returns
Type Description
SourceObjectIdentifier

clear()

public SourceObjectIdentifier.Builder clear()
Returns
Type Description
SourceObjectIdentifier.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SourceObjectIdentifier.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SourceObjectIdentifier.Builder
Overrides

clearMysqlIdentifier()

public SourceObjectIdentifier.Builder clearMysqlIdentifier()

Mysql data source object identifier.

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

Returns
Type Description
SourceObjectIdentifier.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public SourceObjectIdentifier.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SourceObjectIdentifier.Builder
Overrides

clearOracleIdentifier()

public SourceObjectIdentifier.Builder clearOracleIdentifier()

Oracle data source object identifier.

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

Returns
Type Description
SourceObjectIdentifier.Builder

clearPostgresqlIdentifier()

public SourceObjectIdentifier.Builder clearPostgresqlIdentifier()

PostgreSQL data source object identifier.

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

Returns
Type Description
SourceObjectIdentifier.Builder

clearSourceIdentifier()

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

clone()

public SourceObjectIdentifier.Builder clone()
Returns
Type Description
SourceObjectIdentifier.Builder
Overrides

getDefaultInstanceForType()

public SourceObjectIdentifier getDefaultInstanceForType()
Returns
Type Description
SourceObjectIdentifier

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getMysqlIdentifierBuilder()

public SourceObjectIdentifier.MysqlObjectIdentifier.Builder getMysqlIdentifierBuilder()

Mysql data source object identifier.

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

Returns
Type Description
SourceObjectIdentifier.MysqlObjectIdentifier.Builder

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.

getOracleIdentifierBuilder()

public SourceObjectIdentifier.OracleObjectIdentifier.Builder getOracleIdentifierBuilder()

Oracle data source object identifier.

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

Returns
Type Description
SourceObjectIdentifier.OracleObjectIdentifier.Builder

getOracleIdentifierOrBuilder()

public SourceObjectIdentifier.OracleObjectIdentifierOrBuilder getOracleIdentifierOrBuilder()

Oracle data source object identifier.

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

Returns
Type Description
SourceObjectIdentifier.OracleObjectIdentifierOrBuilder

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.

getPostgresqlIdentifierBuilder()

public SourceObjectIdentifier.PostgresqlObjectIdentifier.Builder getPostgresqlIdentifierBuilder()

PostgreSQL data source object identifier.

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

Returns
Type Description
SourceObjectIdentifier.PostgresqlObjectIdentifier.Builder

getPostgresqlIdentifierOrBuilder()

public SourceObjectIdentifier.PostgresqlObjectIdentifierOrBuilder getPostgresqlIdentifierOrBuilder()

PostgreSQL data source object identifier.

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

Returns
Type Description
SourceObjectIdentifier.PostgresqlObjectIdentifierOrBuilder

getSourceIdentifierCase()

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

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SourceObjectIdentifier other)

public SourceObjectIdentifier.Builder mergeFrom(SourceObjectIdentifier other)
Parameter
Name Description
other SourceObjectIdentifier
Returns
Type Description
SourceObjectIdentifier.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SourceObjectIdentifier.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SourceObjectIdentifier.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SourceObjectIdentifier.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SourceObjectIdentifier.Builder
Overrides

mergeMysqlIdentifier(SourceObjectIdentifier.MysqlObjectIdentifier value)

public SourceObjectIdentifier.Builder mergeMysqlIdentifier(SourceObjectIdentifier.MysqlObjectIdentifier value)

Mysql data source object identifier.

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

Parameter
Name Description
value SourceObjectIdentifier.MysqlObjectIdentifier
Returns
Type Description
SourceObjectIdentifier.Builder

mergeOracleIdentifier(SourceObjectIdentifier.OracleObjectIdentifier value)

public SourceObjectIdentifier.Builder mergeOracleIdentifier(SourceObjectIdentifier.OracleObjectIdentifier value)

Oracle data source object identifier.

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

Parameter
Name Description
value SourceObjectIdentifier.OracleObjectIdentifier
Returns
Type Description
SourceObjectIdentifier.Builder

mergePostgresqlIdentifier(SourceObjectIdentifier.PostgresqlObjectIdentifier value)

public SourceObjectIdentifier.Builder mergePostgresqlIdentifier(SourceObjectIdentifier.PostgresqlObjectIdentifier value)

PostgreSQL data source object identifier.

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

Parameter
Name Description
value SourceObjectIdentifier.PostgresqlObjectIdentifier
Returns
Type Description
SourceObjectIdentifier.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SourceObjectIdentifier.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SourceObjectIdentifier.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SourceObjectIdentifier.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SourceObjectIdentifier.Builder
Overrides

setMysqlIdentifier(SourceObjectIdentifier.MysqlObjectIdentifier value)

public SourceObjectIdentifier.Builder setMysqlIdentifier(SourceObjectIdentifier.MysqlObjectIdentifier value)

Mysql data source object identifier.

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

Parameter
Name Description
value SourceObjectIdentifier.MysqlObjectIdentifier
Returns
Type Description
SourceObjectIdentifier.Builder

setMysqlIdentifier(SourceObjectIdentifier.MysqlObjectIdentifier.Builder builderForValue)

public SourceObjectIdentifier.Builder setMysqlIdentifier(SourceObjectIdentifier.MysqlObjectIdentifier.Builder builderForValue)

Mysql data source object identifier.

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

Parameter
Name Description
builderForValue SourceObjectIdentifier.MysqlObjectIdentifier.Builder
Returns
Type Description
SourceObjectIdentifier.Builder

setOracleIdentifier(SourceObjectIdentifier.OracleObjectIdentifier value)

public SourceObjectIdentifier.Builder setOracleIdentifier(SourceObjectIdentifier.OracleObjectIdentifier value)

Oracle data source object identifier.

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

Parameter
Name Description
value SourceObjectIdentifier.OracleObjectIdentifier
Returns
Type Description
SourceObjectIdentifier.Builder

setOracleIdentifier(SourceObjectIdentifier.OracleObjectIdentifier.Builder builderForValue)

public SourceObjectIdentifier.Builder setOracleIdentifier(SourceObjectIdentifier.OracleObjectIdentifier.Builder builderForValue)

Oracle data source object identifier.

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

Parameter
Name Description
builderForValue SourceObjectIdentifier.OracleObjectIdentifier.Builder
Returns
Type Description
SourceObjectIdentifier.Builder

setPostgresqlIdentifier(SourceObjectIdentifier.PostgresqlObjectIdentifier value)

public SourceObjectIdentifier.Builder setPostgresqlIdentifier(SourceObjectIdentifier.PostgresqlObjectIdentifier value)

PostgreSQL data source object identifier.

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

Parameter
Name Description
value SourceObjectIdentifier.PostgresqlObjectIdentifier
Returns
Type Description
SourceObjectIdentifier.Builder

setPostgresqlIdentifier(SourceObjectIdentifier.PostgresqlObjectIdentifier.Builder builderForValue)

public SourceObjectIdentifier.Builder setPostgresqlIdentifier(SourceObjectIdentifier.PostgresqlObjectIdentifier.Builder builderForValue)

PostgreSQL data source object identifier.

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

Parameter
Name Description
builderForValue SourceObjectIdentifier.PostgresqlObjectIdentifier.Builder
Returns
Type Description
SourceObjectIdentifier.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SourceObjectIdentifier.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SourceObjectIdentifier.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SourceObjectIdentifier.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SourceObjectIdentifier.Builder
Overrides