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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SourceObjectIdentifier.MysqlObjectIdentifier.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public SourceObjectIdentifier.MysqlObjectIdentifier build()
Returns
buildPartial()
public SourceObjectIdentifier.MysqlObjectIdentifier buildPartial()
Returns
clear()
public SourceObjectIdentifier.MysqlObjectIdentifier.Builder clear()
Returns
Overrides
clearDatabase()
public SourceObjectIdentifier.MysqlObjectIdentifier.Builder clearDatabase()
Required. The database name.
string database = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearField(Descriptors.FieldDescriptor field)
public SourceObjectIdentifier.MysqlObjectIdentifier.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SourceObjectIdentifier.MysqlObjectIdentifier.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearTable()
public SourceObjectIdentifier.MysqlObjectIdentifier.Builder clearTable()
Required. The table name.
string table = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public SourceObjectIdentifier.MysqlObjectIdentifier.Builder clone()
Returns
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
getDefaultInstanceForType()
public SourceObjectIdentifier.MysqlObjectIdentifier getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(SourceObjectIdentifier.MysqlObjectIdentifier other)
public SourceObjectIdentifier.MysqlObjectIdentifier.Builder mergeFrom(SourceObjectIdentifier.MysqlObjectIdentifier other)
Parameter
Returns
public SourceObjectIdentifier.MysqlObjectIdentifier.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SourceObjectIdentifier.MysqlObjectIdentifier.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SourceObjectIdentifier.MysqlObjectIdentifier.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
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
setField(Descriptors.FieldDescriptor field, Object value)
public SourceObjectIdentifier.MysqlObjectIdentifier.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SourceObjectIdentifier.MysqlObjectIdentifier.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
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
setUnknownFields(UnknownFieldSet unknownFields)
public final SourceObjectIdentifier.MysqlObjectIdentifier.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides