Class SourceObjectIdentifier.Builder (1.39.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SourceObjectIdentifier.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SourceObjectIdentifier.Builder
Overrides

build()

public SourceObjectIdentifier build()
Returns
TypeDescription
SourceObjectIdentifier

buildPartial()

public SourceObjectIdentifier buildPartial()
Returns
TypeDescription
SourceObjectIdentifier

clear()

public SourceObjectIdentifier.Builder clear()
Returns
TypeDescription
SourceObjectIdentifier.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SourceObjectIdentifier.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SourceObjectIdentifier.Builder
Overrides

clearMysqlIdentifier()

public SourceObjectIdentifier.Builder clearMysqlIdentifier()

Mysql data source object identifier.

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

Returns
TypeDescription
SourceObjectIdentifier.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public SourceObjectIdentifier.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SourceObjectIdentifier.Builder
Overrides

clearOracleIdentifier()

public SourceObjectIdentifier.Builder clearOracleIdentifier()

Oracle data source object identifier.

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

Returns
TypeDescription
SourceObjectIdentifier.Builder

clearPostgresqlIdentifier()

public SourceObjectIdentifier.Builder clearPostgresqlIdentifier()

PostgreSQL data source object identifier.

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

Returns
TypeDescription
SourceObjectIdentifier.Builder

clearSourceIdentifier()

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

clone()

public SourceObjectIdentifier.Builder clone()
Returns
TypeDescription
SourceObjectIdentifier.Builder
Overrides

getDefaultInstanceForType()

public SourceObjectIdentifier getDefaultInstanceForType()
Returns
TypeDescription
SourceObjectIdentifier

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

getMysqlIdentifierBuilder()

public SourceObjectIdentifier.MysqlObjectIdentifier.Builder getMysqlIdentifierBuilder()

Mysql data source object identifier.

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

Returns
TypeDescription
SourceObjectIdentifier.MysqlObjectIdentifier.Builder

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.

getOracleIdentifierBuilder()

public SourceObjectIdentifier.OracleObjectIdentifier.Builder getOracleIdentifierBuilder()

Oracle data source object identifier.

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

Returns
TypeDescription
SourceObjectIdentifier.OracleObjectIdentifier.Builder

getOracleIdentifierOrBuilder()

public SourceObjectIdentifier.OracleObjectIdentifierOrBuilder getOracleIdentifierOrBuilder()

Oracle data source object identifier.

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

Returns
TypeDescription
SourceObjectIdentifier.OracleObjectIdentifierOrBuilder

getPostgresqlIdentifier()

public SourceObjectIdentifier.PostgresqlObjectIdentifier getPostgresqlIdentifier()

PostgreSQL data source object identifier.

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

Returns
TypeDescription
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
TypeDescription
SourceObjectIdentifier.PostgresqlObjectIdentifier.Builder

getPostgresqlIdentifierOrBuilder()

public SourceObjectIdentifier.PostgresqlObjectIdentifierOrBuilder getPostgresqlIdentifierOrBuilder()

PostgreSQL data source object identifier.

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

Returns
TypeDescription
SourceObjectIdentifier.PostgresqlObjectIdentifierOrBuilder

getSourceIdentifierCase()

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

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.

hasPostgresqlIdentifier()

public boolean hasPostgresqlIdentifier()

PostgreSQL data source object identifier.

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

Returns
TypeDescription
boolean

Whether the postgresqlIdentifier field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SourceObjectIdentifier other)

public SourceObjectIdentifier.Builder mergeFrom(SourceObjectIdentifier other)
Parameter
NameDescription
otherSourceObjectIdentifier
Returns
TypeDescription
SourceObjectIdentifier.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SourceObjectIdentifier.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SourceObjectIdentifier.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SourceObjectIdentifier.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueSourceObjectIdentifier.MysqlObjectIdentifier
Returns
TypeDescription
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
NameDescription
valueSourceObjectIdentifier.OracleObjectIdentifier
Returns
TypeDescription
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
NameDescription
valueSourceObjectIdentifier.PostgresqlObjectIdentifier
Returns
TypeDescription
SourceObjectIdentifier.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SourceObjectIdentifier.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SourceObjectIdentifier.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SourceObjectIdentifier.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueSourceObjectIdentifier.MysqlObjectIdentifier
Returns
TypeDescription
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
NameDescription
builderForValueSourceObjectIdentifier.MysqlObjectIdentifier.Builder
Returns
TypeDescription
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
NameDescription
valueSourceObjectIdentifier.OracleObjectIdentifier
Returns
TypeDescription
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
NameDescription
builderForValueSourceObjectIdentifier.OracleObjectIdentifier.Builder
Returns
TypeDescription
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
NameDescription
valueSourceObjectIdentifier.PostgresqlObjectIdentifier
Returns
TypeDescription
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
NameDescription
builderForValueSourceObjectIdentifier.PostgresqlObjectIdentifier.Builder
Returns
TypeDescription
SourceObjectIdentifier.Builder

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

public SourceObjectIdentifier.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SourceObjectIdentifier.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SourceObjectIdentifier.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SourceObjectIdentifier.Builder
Overrides