Class SourceObjectIdentifier.MysqlObjectIdentifier.Builder (1.45.0)

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

Mysql data source object identifier.

Protobuf type google.cloud.datastream.v1.SourceObjectIdentifier.MysqlObjectIdentifier

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SourceObjectIdentifier.MysqlObjectIdentifier build()
Returns
Type Description
SourceObjectIdentifier.MysqlObjectIdentifier

buildPartial()

public SourceObjectIdentifier.MysqlObjectIdentifier buildPartial()
Returns
Type Description
SourceObjectIdentifier.MysqlObjectIdentifier

clear()

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

clearDatabase()

public SourceObjectIdentifier.MysqlObjectIdentifier.Builder clearDatabase()

Required. The database name.

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

Returns
Type Description
SourceObjectIdentifier.MysqlObjectIdentifier.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTable()

public SourceObjectIdentifier.MysqlObjectIdentifier.Builder clearTable()

Required. The table name.

string table = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SourceObjectIdentifier.MysqlObjectIdentifier.Builder

This builder for chaining.

clone()

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

getDatabase()

public String getDatabase()

Required. The database name.

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

Returns
Type Description
String

The database.

getDatabaseBytes()

public ByteString getDatabaseBytes()

Required. The database name.

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

Returns
Type Description
ByteString

The bytes for database.

getDefaultInstanceForType()

public SourceObjectIdentifier.MysqlObjectIdentifier getDefaultInstanceForType()
Returns
Type Description
SourceObjectIdentifier.MysqlObjectIdentifier

getDescriptorForType()

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

getTable()

public String getTable()

Required. The table name.

string table = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The table.

getTableBytes()

public ByteString getTableBytes()

Required. The table name.

string table = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for table.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SourceObjectIdentifier.MysqlObjectIdentifier other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDatabase(String value)

public SourceObjectIdentifier.MysqlObjectIdentifier.Builder setDatabase(String value)

Required. The database name.

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

Parameter
Name Description
value String

The database to set.

Returns
Type Description
SourceObjectIdentifier.MysqlObjectIdentifier.Builder

This builder for chaining.

setDatabaseBytes(ByteString value)

public SourceObjectIdentifier.MysqlObjectIdentifier.Builder setDatabaseBytes(ByteString value)

Required. The database name.

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

Parameter
Name Description
value ByteString

The bytes for database to set.

Returns
Type Description
SourceObjectIdentifier.MysqlObjectIdentifier.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setTable(String value)

public SourceObjectIdentifier.MysqlObjectIdentifier.Builder setTable(String value)

Required. The table name.

string table = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The table to set.

Returns
Type Description
SourceObjectIdentifier.MysqlObjectIdentifier.Builder

This builder for chaining.

setTableBytes(ByteString value)

public SourceObjectIdentifier.MysqlObjectIdentifier.Builder setTableBytes(ByteString value)

Required. The table name.

string table = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for table to set.

Returns
Type Description
SourceObjectIdentifier.MysqlObjectIdentifier.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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