Class MysqlColumn (0.4.2)

public final class MysqlColumn extends GeneratedMessageV3 implements MysqlColumnOrBuilder

MySQL Column.

Protobuf type google.cloud.datastream.v1.MysqlColumn

Static Fields

COLLATION_FIELD_NUMBER

public static final int COLLATION_FIELD_NUMBER
Field Value
TypeDescription
int

COLUMN_FIELD_NUMBER

public static final int COLUMN_FIELD_NUMBER
Field Value
TypeDescription
int

DATA_TYPE_FIELD_NUMBER

public static final int DATA_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

LENGTH_FIELD_NUMBER

public static final int LENGTH_FIELD_NUMBER
Field Value
TypeDescription
int

NULLABLE_FIELD_NUMBER

public static final int NULLABLE_FIELD_NUMBER
Field Value
TypeDescription
int

ORDINAL_POSITION_FIELD_NUMBER

public static final int ORDINAL_POSITION_FIELD_NUMBER
Field Value
TypeDescription
int

PRIMARY_KEY_FIELD_NUMBER

public static final int PRIMARY_KEY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static MysqlColumn getDefaultInstance()
Returns
TypeDescription
MysqlColumn

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static MysqlColumn.Builder newBuilder()
Returns
TypeDescription
MysqlColumn.Builder

newBuilder(MysqlColumn prototype)

public static MysqlColumn.Builder newBuilder(MysqlColumn prototype)
Parameter
NameDescription
prototypeMysqlColumn
Returns
TypeDescription
MysqlColumn.Builder

parseDelimitedFrom(InputStream input)

public static MysqlColumn parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MysqlColumn
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MysqlColumn parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MysqlColumn
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static MysqlColumn parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
MysqlColumn
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MysqlColumn parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MysqlColumn
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MysqlColumn parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
MysqlColumn
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MysqlColumn parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MysqlColumn
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MysqlColumn parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
MysqlColumn
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MysqlColumn parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MysqlColumn
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static MysqlColumn parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MysqlColumn
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MysqlColumn parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MysqlColumn
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static MysqlColumn parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
MysqlColumn
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MysqlColumn parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MysqlColumn
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<MysqlColumn> parser()
Returns
TypeDescription
Parser<MysqlColumn>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCollation()

public String getCollation()

Column collation.

string collation = 4;

Returns
TypeDescription
String

The collation.

getCollationBytes()

public ByteString getCollationBytes()

Column collation.

string collation = 4;

Returns
TypeDescription
ByteString

The bytes for collation.

getColumn()

public String getColumn()

Column name.

string column = 1;

Returns
TypeDescription
String

The column.

getColumnBytes()

public ByteString getColumnBytes()

Column name.

string column = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for dataType.

getDefaultInstanceForType()

public MysqlColumn getDefaultInstanceForType()
Returns
TypeDescription
MysqlColumn

getLength()

public int getLength()

Column length.

int32 length = 3;

Returns
TypeDescription
int

The length.

getNullable()

public boolean getNullable()

Whether or not the column can accept a null value.

bool nullable = 6;

Returns
TypeDescription
boolean

The nullable.

getOrdinalPosition()

public int getOrdinalPosition()

The ordinal position of the column in the table.

int32 ordinal_position = 7;

Returns
TypeDescription
int

The ordinalPosition.

getParserForType()

public Parser<MysqlColumn> getParserForType()
Returns
TypeDescription
Parser<MysqlColumn>
Overrides

getPrimaryKey()

public boolean getPrimaryKey()

Whether or not the column represents a primary key.

bool primary_key = 5;

Returns
TypeDescription
boolean

The primaryKey.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public MysqlColumn.Builder newBuilderForType()
Returns
TypeDescription
MysqlColumn.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MysqlColumn.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
MysqlColumn.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public MysqlColumn.Builder toBuilder()
Returns
TypeDescription
MysqlColumn.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException