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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.GeneratedMessageV3
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public boolean hasColumnId()
optional int64 column_id = 1 [(.gogoproto.nullable) = false];
hasColumnId
in interface ColumnInfoOrBuilder
public long getColumnId()
optional int64 column_id = 1 [(.gogoproto.nullable) = false];
getColumnId
in interface ColumnInfoOrBuilder
public boolean hasTp()
MySQL type.
optional int32 tp = 2 [(.gogoproto.nullable) = false];
hasTp
in interface ColumnInfoOrBuilder
public int getTp()
MySQL type.
optional int32 tp = 2 [(.gogoproto.nullable) = false];
getTp
in interface ColumnInfoOrBuilder
public boolean hasCollation()
optional int32 collation = 3 [(.gogoproto.nullable) = false];
hasCollation
in interface ColumnInfoOrBuilder
public int getCollation()
optional int32 collation = 3 [(.gogoproto.nullable) = false];
getCollation
in interface ColumnInfoOrBuilder
public boolean hasColumnLen()
optional int32 columnLen = 4 [(.gogoproto.nullable) = false];
hasColumnLen
in interface ColumnInfoOrBuilder
public int getColumnLen()
optional int32 columnLen = 4 [(.gogoproto.nullable) = false];
getColumnLen
in interface ColumnInfoOrBuilder
public boolean hasDecimal()
optional int32 decimal = 5 [(.gogoproto.nullable) = false];
hasDecimal
in interface ColumnInfoOrBuilder
public int getDecimal()
optional int32 decimal = 5 [(.gogoproto.nullable) = false];
getDecimal
in interface ColumnInfoOrBuilder
public boolean hasFlag()
optional int32 flag = 6 [(.gogoproto.nullable) = false];
hasFlag
in interface ColumnInfoOrBuilder
public int getFlag()
optional int32 flag = 6 [(.gogoproto.nullable) = false];
getFlag
in interface ColumnInfoOrBuilder
public com.google.protobuf.ProtocolStringList getElemsList()
repeated string elems = 7;
getElemsList
in interface ColumnInfoOrBuilder
public int getElemsCount()
repeated string elems = 7;
getElemsCount
in interface ColumnInfoOrBuilder
public String getElems(int index)
repeated string elems = 7;
getElems
in interface ColumnInfoOrBuilder
index
- The index of the element to return.public com.google.protobuf.ByteString getElemsBytes(int index)
repeated string elems = 7;
getElemsBytes
in interface ColumnInfoOrBuilder
index
- The index of the value to return.public boolean hasDefaultVal()
Encoded datum.
optional bytes default_val = 8;
hasDefaultVal
in interface ColumnInfoOrBuilder
public com.google.protobuf.ByteString getDefaultVal()
Encoded datum.
optional bytes default_val = 8;
getDefaultVal
in interface ColumnInfoOrBuilder
public boolean hasPkHandle()
PK handle column value is row handle.
optional bool pk_handle = 21 [(.gogoproto.nullable) = false];
hasPkHandle
in interface ColumnInfoOrBuilder
public boolean getPkHandle()
PK handle column value is row handle.
optional bool pk_handle = 21 [(.gogoproto.nullable) = false];
getPkHandle
in interface ColumnInfoOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static ColumnInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ColumnInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ColumnInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ColumnInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ColumnInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ColumnInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ColumnInfo parseFrom(InputStream input) throws IOException
IOException
public static ColumnInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ColumnInfo parseDelimitedFrom(InputStream input) throws IOException
IOException
public static ColumnInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ColumnInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static ColumnInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public ColumnInfo.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static ColumnInfo.Builder newBuilder()
public static ColumnInfo.Builder newBuilder(ColumnInfo prototype)
public ColumnInfo.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected ColumnInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static ColumnInfo getDefaultInstance()
public static com.google.protobuf.Parser<ColumnInfo> parser()
public com.google.protobuf.Parser<ColumnInfo> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public ColumnInfo getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2024 PingCAP. All rights reserved.