public final class ColumnInfo extends com.google.protobuf.GeneratedMessageV3 implements ColumnInfoOrBuilder
tipb.ColumnInfo| Modifier and Type | Class and Description |
|---|---|
static class |
ColumnInfo.Builder
Protobuf type
tipb.ColumnInfo |
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_ID_FIELD_NUMBER |
static int |
COLUMNLEN_FIELD_NUMBER |
static int |
DECIMAL_FIELD_NUMBER |
static int |
DEFAULT_VAL_FIELD_NUMBER |
static int |
ELEMS_FIELD_NUMBER |
static int |
FLAG_FIELD_NUMBER |
static com.google.protobuf.Parser<ColumnInfo> |
PARSER
Deprecated.
|
static int |
PK_HANDLE_FIELD_NUMBER |
static int |
TP_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getCollation()
optional int32 collation = 3 [(.gogoproto.nullable) = false]; |
long |
getColumnId()
optional int64 column_id = 1 [(.gogoproto.nullable) = false]; |
int |
getColumnLen()
optional int32 columnLen = 4 [(.gogoproto.nullable) = false]; |
int |
getDecimal()
optional int32 decimal = 5 [(.gogoproto.nullable) = false]; |
static ColumnInfo |
getDefaultInstance() |
ColumnInfo |
getDefaultInstanceForType() |
com.google.protobuf.ByteString |
getDefaultVal()
Encoded datum.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getElems(int index)
repeated string elems = 7; |
com.google.protobuf.ByteString |
getElemsBytes(int index)
repeated string elems = 7; |
int |
getElemsCount()
repeated string elems = 7; |
com.google.protobuf.ProtocolStringList |
getElemsList()
repeated string elems = 7; |
int |
getFlag()
optional int32 flag = 6 [(.gogoproto.nullable) = false]; |
com.google.protobuf.Parser<ColumnInfo> |
getParserForType() |
boolean |
getPkHandle()
PK handle column value is row handle.
|
int |
getSerializedSize() |
int |
getTp()
MySQL type.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCollation()
optional int32 collation = 3 [(.gogoproto.nullable) = false]; |
boolean |
hasColumnId()
optional int64 column_id = 1 [(.gogoproto.nullable) = false]; |
boolean |
hasColumnLen()
optional int32 columnLen = 4 [(.gogoproto.nullable) = false]; |
boolean |
hasDecimal()
optional int32 decimal = 5 [(.gogoproto.nullable) = false]; |
boolean |
hasDefaultVal()
Encoded datum.
|
boolean |
hasFlag()
optional int32 flag = 6 [(.gogoproto.nullable) = false]; |
int |
hashCode() |
boolean |
hasPkHandle()
PK handle column value is row handle.
|
boolean |
hasTp()
MySQL type.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ColumnInfo.Builder |
newBuilder() |
static ColumnInfo.Builder |
newBuilder(ColumnInfo prototype) |
ColumnInfo.Builder |
newBuilderForType() |
protected ColumnInfo.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ColumnInfo |
parseDelimitedFrom(InputStream input) |
static ColumnInfo |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ColumnInfo |
parseFrom(byte[] data) |
static ColumnInfo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ColumnInfo |
parseFrom(ByteBuffer data) |
static ColumnInfo |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ColumnInfo |
parseFrom(com.google.protobuf.ByteString data) |
static ColumnInfo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ColumnInfo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ColumnInfo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ColumnInfo |
parseFrom(InputStream input) |
static ColumnInfo |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ColumnInfo> |
parser() |
ColumnInfo.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_ID_FIELD_NUMBER
public static final int TP_FIELD_NUMBER
public static final int COLLATION_FIELD_NUMBER
public static final int COLUMNLEN_FIELD_NUMBER
public static final int DECIMAL_FIELD_NUMBER
public static final int FLAG_FIELD_NUMBER
public static final int ELEMS_FIELD_NUMBER
public static final int DEFAULT_VAL_FIELD_NUMBER
public static final int PK_HANDLE_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<ColumnInfo> PARSER
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 boolean hasColumnId()
optional int64 column_id = 1 [(.gogoproto.nullable) = false];hasColumnId in interface ColumnInfoOrBuilderpublic long getColumnId()
optional int64 column_id = 1 [(.gogoproto.nullable) = false];getColumnId in interface ColumnInfoOrBuilderpublic boolean hasTp()
MySQL type.
optional int32 tp = 2 [(.gogoproto.nullable) = false];hasTp in interface ColumnInfoOrBuilderpublic int getTp()
MySQL type.
optional int32 tp = 2 [(.gogoproto.nullable) = false];getTp in interface ColumnInfoOrBuilderpublic boolean hasCollation()
optional int32 collation = 3 [(.gogoproto.nullable) = false];hasCollation in interface ColumnInfoOrBuilderpublic int getCollation()
optional int32 collation = 3 [(.gogoproto.nullable) = false];getCollation in interface ColumnInfoOrBuilderpublic boolean hasColumnLen()
optional int32 columnLen = 4 [(.gogoproto.nullable) = false];hasColumnLen in interface ColumnInfoOrBuilderpublic int getColumnLen()
optional int32 columnLen = 4 [(.gogoproto.nullable) = false];getColumnLen in interface ColumnInfoOrBuilderpublic boolean hasDecimal()
optional int32 decimal = 5 [(.gogoproto.nullable) = false];hasDecimal in interface ColumnInfoOrBuilderpublic int getDecimal()
optional int32 decimal = 5 [(.gogoproto.nullable) = false];getDecimal in interface ColumnInfoOrBuilderpublic boolean hasFlag()
optional int32 flag = 6 [(.gogoproto.nullable) = false];hasFlag in interface ColumnInfoOrBuilderpublic int getFlag()
optional int32 flag = 6 [(.gogoproto.nullable) = false];getFlag in interface ColumnInfoOrBuilderpublic com.google.protobuf.ProtocolStringList getElemsList()
repeated string elems = 7;getElemsList in interface ColumnInfoOrBuilderpublic int getElemsCount()
repeated string elems = 7;getElemsCount in interface ColumnInfoOrBuilderpublic String getElems(int index)
repeated string elems = 7;getElems in interface ColumnInfoOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getElemsBytes(int index)
repeated string elems = 7;getElemsBytes in interface ColumnInfoOrBuilderindex - The index of the value to return.public boolean hasDefaultVal()
Encoded datum.
optional bytes default_val = 8;hasDefaultVal in interface ColumnInfoOrBuilderpublic com.google.protobuf.ByteString getDefaultVal()
Encoded datum.
optional bytes default_val = 8;getDefaultVal in interface ColumnInfoOrBuilderpublic boolean hasPkHandle()
PK handle column value is row handle.
optional bool pk_handle = 21 [(.gogoproto.nullable) = false];hasPkHandle in interface ColumnInfoOrBuilderpublic boolean getPkHandle()
PK handle column value is row handle.
optional bool pk_handle = 21 [(.gogoproto.nullable) = false];getPkHandle in interface ColumnInfoOrBuilderpublic 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 ColumnInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ColumnInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ColumnInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ColumnInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ColumnInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ColumnInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ColumnInfo parseFrom(InputStream input) throws IOException
IOExceptionpublic static ColumnInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ColumnInfo parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ColumnInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ColumnInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ColumnInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ColumnInfo.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ColumnInfo.Builder newBuilder()
public static ColumnInfo.Builder newBuilder(ColumnInfo prototype)
public ColumnInfo.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ColumnInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ColumnInfo getDefaultInstance()
public static com.google.protobuf.Parser<ColumnInfo> parser()
public com.google.protobuf.Parser<ColumnInfo> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ColumnInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 PingCAP. All rights reserved.