public static final class MysqlColumn.Builder extends GeneratedMessageV3.Builder<MysqlColumn.Builder> implements MysqlColumnOrBuilderMySQL Column.
Protobuf type google.events.cloud.datastream.v1.MysqlColumn
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MysqlColumn.BuilderImplements
MysqlColumnOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MysqlColumn.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
MysqlColumn.Builder |
|
build()
public MysqlColumn build()| Returns | |
|---|---|
| Type | Description |
MysqlColumn |
|
buildPartial()
public MysqlColumn buildPartial()| Returns | |
|---|---|
| Type | Description |
MysqlColumn |
|
clear()
public MysqlColumn.Builder clear()| Returns | |
|---|---|
| Type | Description |
MysqlColumn.Builder |
|
clearCollation()
public MysqlColumn.Builder clearCollation()Column collation.
string collation = 4;
| Returns | |
|---|---|
| Type | Description |
MysqlColumn.Builder |
This builder for chaining. |
clearColumn()
public MysqlColumn.Builder clearColumn()Column name.
string column = 1;
| Returns | |
|---|---|
| Type | Description |
MysqlColumn.Builder |
This builder for chaining. |
clearDataType()
public MysqlColumn.Builder clearDataType()The MySQL data type. Full data types list can be found here: https://dev.mysql.com/doc/refman/8.0/en/data-types.html
string data_type = 2;
| Returns | |
|---|---|
| Type | Description |
MysqlColumn.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public MysqlColumn.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
MysqlColumn.Builder |
|
clearLength()
public MysqlColumn.Builder clearLength()Column length.
int32 length = 3;
| Returns | |
|---|---|
| Type | Description |
MysqlColumn.Builder |
This builder for chaining. |
clearNullable()
public MysqlColumn.Builder clearNullable()Whether or not the column can accept a null value.
bool nullable = 6;
| Returns | |
|---|---|
| Type | Description |
MysqlColumn.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public MysqlColumn.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
MysqlColumn.Builder |
|
clearOrdinalPosition()
public MysqlColumn.Builder clearOrdinalPosition()The ordinal position of the column in the table.
int32 ordinal_position = 7;
| Returns | |
|---|---|
| Type | Description |
MysqlColumn.Builder |
This builder for chaining. |
clearPrimaryKey()
public MysqlColumn.Builder clearPrimaryKey()Whether or not the column represents a primary key.
bool primary_key = 5;
| Returns | |
|---|---|
| Type | Description |
MysqlColumn.Builder |
This builder for chaining. |
clone()
public MysqlColumn.Builder clone()| Returns | |
|---|---|
| Type | Description |
MysqlColumn.Builder |
|
getCollation()
public String getCollation()Column collation.
string collation = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The collation. |
getCollationBytes()
public ByteString getCollationBytes()Column collation.
string collation = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for collation. |
getColumn()
public String getColumn()Column name.
string column = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The column. |
getColumnBytes()
public ByteString getColumnBytes()Column name.
string column = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for column. |
getDataType()
public String getDataType()The MySQL data type. Full data types list can be found here: https://dev.mysql.com/doc/refman/8.0/en/data-types.html
string data_type = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The dataType. |
getDataTypeBytes()
public ByteString getDataTypeBytes()The MySQL data type. Full data types list can be found here: https://dev.mysql.com/doc/refman/8.0/en/data-types.html
string data_type = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for dataType. |
getDefaultInstanceForType()
public MysqlColumn getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
MysqlColumn |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLength()
public int getLength()Column length.
int32 length = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The length. |
getNullable()
public boolean getNullable()Whether or not the column can accept a null value.
bool nullable = 6;
| Returns | |
|---|---|
| Type | Description |
boolean |
The nullable. |
getOrdinalPosition()
public int getOrdinalPosition()The ordinal position of the column in the table.
int32 ordinal_position = 7;
| Returns | |
|---|---|
| Type | Description |
int |
The ordinalPosition. |
getPrimaryKey()
public boolean getPrimaryKey()Whether or not the column represents a primary key.
bool primary_key = 5;
| Returns | |
|---|---|
| Type | Description |
boolean |
The primaryKey. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(MysqlColumn other)
public MysqlColumn.Builder mergeFrom(MysqlColumn other)| Parameter | |
|---|---|
| Name | Description |
other |
MysqlColumn |
| Returns | |
|---|---|
| Type | Description |
MysqlColumn.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MysqlColumn.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MysqlColumn.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public MysqlColumn.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
MysqlColumn.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MysqlColumn.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
MysqlColumn.Builder |
|
setCollation(String value)
public MysqlColumn.Builder setCollation(String value)Column collation.
string collation = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe collation to set. |
| Returns | |
|---|---|
| Type | Description |
MysqlColumn.Builder |
This builder for chaining. |
setCollationBytes(ByteString value)
public MysqlColumn.Builder setCollationBytes(ByteString value)Column collation.
string collation = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for collation to set. |
| Returns | |
|---|---|
| Type | Description |
MysqlColumn.Builder |
This builder for chaining. |
setColumn(String value)
public MysqlColumn.Builder setColumn(String value)Column name.
string column = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe column to set. |
| Returns | |
|---|---|
| Type | Description |
MysqlColumn.Builder |
This builder for chaining. |
setColumnBytes(ByteString value)
public MysqlColumn.Builder setColumnBytes(ByteString value)Column name.
string column = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for column to set. |
| Returns | |
|---|---|
| Type | Description |
MysqlColumn.Builder |
This builder for chaining. |
setDataType(String value)
public MysqlColumn.Builder setDataType(String value)The MySQL data type. Full data types list can be found here: https://dev.mysql.com/doc/refman/8.0/en/data-types.html
string data_type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe dataType to set. |
| Returns | |
|---|---|
| Type | Description |
MysqlColumn.Builder |
This builder for chaining. |
setDataTypeBytes(ByteString value)
public MysqlColumn.Builder setDataTypeBytes(ByteString value)The MySQL data type. Full data types list can be found here: https://dev.mysql.com/doc/refman/8.0/en/data-types.html
string data_type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for dataType to set. |
| Returns | |
|---|---|
| Type | Description |
MysqlColumn.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public MysqlColumn.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
MysqlColumn.Builder |
|
setLength(int value)
public MysqlColumn.Builder setLength(int value)Column length.
int32 length = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe length to set. |
| Returns | |
|---|---|
| Type | Description |
MysqlColumn.Builder |
This builder for chaining. |
setNullable(boolean value)
public MysqlColumn.Builder setNullable(boolean value)Whether or not the column can accept a null value.
bool nullable = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe nullable to set. |
| Returns | |
|---|---|
| Type | Description |
MysqlColumn.Builder |
This builder for chaining. |
setOrdinalPosition(int value)
public MysqlColumn.Builder setOrdinalPosition(int value)The ordinal position of the column in the table.
int32 ordinal_position = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe ordinalPosition to set. |
| Returns | |
|---|---|
| Type | Description |
MysqlColumn.Builder |
This builder for chaining. |
setPrimaryKey(boolean value)
public MysqlColumn.Builder setPrimaryKey(boolean value)Whether or not the column represents a primary key.
bool primary_key = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe primaryKey to set. |
| Returns | |
|---|---|
| Type | Description |
MysqlColumn.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MysqlColumn.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
MysqlColumn.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final MysqlColumn.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
MysqlColumn.Builder |
|