public final class MysqlColumn extends com.google.protobuf.GeneratedMessageV3 implements MysqlColumnOrBuilder
MySQL Column.Protobuf type
google.cloud.datastream.v1.MysqlColumn| Modifier and Type | Class and Description |
|---|---|
static class |
MysqlColumn.Builder
MySQL Column.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
COLLATION_FIELD_NUMBER |
static int |
COLUMN_FIELD_NUMBER |
static int |
DATA_TYPE_FIELD_NUMBER |
static int |
LENGTH_FIELD_NUMBER |
static int |
NULLABLE_FIELD_NUMBER |
static int |
ORDINAL_POSITION_FIELD_NUMBER |
static int |
PRIMARY_KEY_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCollation()
Column collation.
|
com.google.protobuf.ByteString |
getCollationBytes()
Column collation.
|
String |
getColumn()
Column name.
|
com.google.protobuf.ByteString |
getColumnBytes()
Column name.
|
String |
getDataType()
The MySQL data type.
|
com.google.protobuf.ByteString |
getDataTypeBytes()
The MySQL data type.
|
static MysqlColumn |
getDefaultInstance() |
MysqlColumn |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getLength()
Column length.
|
boolean |
getNullable()
Whether or not the column can accept a null value.
|
int |
getOrdinalPosition()
The ordinal position of the column in the table.
|
com.google.protobuf.Parser<MysqlColumn> |
getParserForType() |
boolean |
getPrimaryKey()
Whether or not the column represents a primary key.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static MysqlColumn.Builder |
newBuilder() |
static MysqlColumn.Builder |
newBuilder(MysqlColumn prototype) |
MysqlColumn.Builder |
newBuilderForType() |
protected MysqlColumn.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static MysqlColumn |
parseDelimitedFrom(InputStream input) |
static MysqlColumn |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MysqlColumn |
parseFrom(byte[] data) |
static MysqlColumn |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MysqlColumn |
parseFrom(ByteBuffer data) |
static MysqlColumn |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MysqlColumn |
parseFrom(com.google.protobuf.ByteString data) |
static MysqlColumn |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MysqlColumn |
parseFrom(com.google.protobuf.CodedInputStream input) |
static MysqlColumn |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MysqlColumn |
parseFrom(InputStream input) |
static MysqlColumn |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<MysqlColumn> |
parser() |
MysqlColumn.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int COLUMN_FIELD_NUMBER
public static final int DATA_TYPE_FIELD_NUMBER
public static final int LENGTH_FIELD_NUMBER
public static final int COLLATION_FIELD_NUMBER
public static final int PRIMARY_KEY_FIELD_NUMBER
public static final int NULLABLE_FIELD_NUMBER
public static final int ORDINAL_POSITION_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getColumn()
Column name.
string column = 1;getColumn in interface MysqlColumnOrBuilderpublic com.google.protobuf.ByteString getColumnBytes()
Column name.
string column = 1;getColumnBytes in interface MysqlColumnOrBuilderpublic 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;getDataType in interface MysqlColumnOrBuilderpublic com.google.protobuf.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;getDataTypeBytes in interface MysqlColumnOrBuilderpublic int getLength()
Column length.
int32 length = 3;getLength in interface MysqlColumnOrBuilderpublic String getCollation()
Column collation.
string collation = 4;getCollation in interface MysqlColumnOrBuilderpublic com.google.protobuf.ByteString getCollationBytes()
Column collation.
string collation = 4;getCollationBytes in interface MysqlColumnOrBuilderpublic boolean getPrimaryKey()
Whether or not the column represents a primary key.
bool primary_key = 5;getPrimaryKey in interface MysqlColumnOrBuilderpublic boolean getNullable()
Whether or not the column can accept a null value.
bool nullable = 6;getNullable in interface MysqlColumnOrBuilderpublic int getOrdinalPosition()
The ordinal position of the column in the table.
int32 ordinal_position = 7;getOrdinalPosition in interface MysqlColumnOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static MysqlColumn parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MysqlColumn parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MysqlColumn parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MysqlColumn parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MysqlColumn parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MysqlColumn parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MysqlColumn parseFrom(InputStream input) throws IOException
IOExceptionpublic static MysqlColumn parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static MysqlColumn parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static MysqlColumn parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static MysqlColumn parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static MysqlColumn parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic MysqlColumn.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static MysqlColumn.Builder newBuilder()
public static MysqlColumn.Builder newBuilder(MysqlColumn prototype)
public MysqlColumn.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected MysqlColumn.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static MysqlColumn getDefaultInstance()
public static com.google.protobuf.Parser<MysqlColumn> parser()
public com.google.protobuf.Parser<MysqlColumn> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public MysqlColumn getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.