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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SourceObjectIdentifier.MysqlObjectIdentifier build()
Returns
TypeDescription
SourceObjectIdentifier.MysqlObjectIdentifier

buildPartial()

public SourceObjectIdentifier.MysqlObjectIdentifier buildPartial()
Returns
TypeDescription
SourceObjectIdentifier.MysqlObjectIdentifier

clear()

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

clearDatabase()

public SourceObjectIdentifier.MysqlObjectIdentifier.Builder clearDatabase()

Required. The database name.

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

Returns
TypeDescription
SourceObjectIdentifier.MysqlObjectIdentifier.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTable()

public SourceObjectIdentifier.MysqlObjectIdentifier.Builder clearTable()

Required. The table name.

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

Returns
TypeDescription
SourceObjectIdentifier.MysqlObjectIdentifier.Builder

This builder for chaining.

clone()

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

getDatabase()

public String getDatabase()

Required. The database name.

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

Returns
TypeDescription
String

The database.

getDatabaseBytes()

public ByteString getDatabaseBytes()

Required. The database name.

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

Returns
TypeDescription
ByteString

The bytes for database.

getDefaultInstanceForType()

public SourceObjectIdentifier.MysqlObjectIdentifier getDefaultInstanceForType()
Returns
TypeDescription
SourceObjectIdentifier.MysqlObjectIdentifier

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getTable()

public String getTable()

Required. The table name.

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

Returns
TypeDescription
String

The table.

getTableBytes()

public ByteString getTableBytes()

Required. The table name.

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

Returns
TypeDescription
ByteString

The bytes for table.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SourceObjectIdentifier.MysqlObjectIdentifier other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public SourceObjectIdentifier.MysqlObjectIdentifier.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SourceObjectIdentifier.MysqlObjectIdentifier.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SourceObjectIdentifier.MysqlObjectIdentifier.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The database to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for database to set.

Returns
TypeDescription
SourceObjectIdentifier.MysqlObjectIdentifier.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The table to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for table to set.

Returns
TypeDescription
SourceObjectIdentifier.MysqlObjectIdentifier.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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