Class SourceObjectIdentifier.MysqlObjectIdentifier.Builder (1.17.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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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
Overrides

build()

public SourceObjectIdentifier.MysqlObjectIdentifier build()

buildPartial()

public SourceObjectIdentifier.MysqlObjectIdentifier buildPartial()

clear()

public SourceObjectIdentifier.MysqlObjectIdentifier.Builder clear()
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
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SourceObjectIdentifier.MysqlObjectIdentifier.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
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()
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()

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)

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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