public static final class ColumnInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ColumnInfo.Builder> implements ColumnInfoOrBuilder
tipb.ColumnInfo
Modifier and Type | Method and Description |
---|---|
ColumnInfo.Builder |
addAllElems(Iterable<String> values)
repeated string elems = 7; |
ColumnInfo.Builder |
addElems(String value)
repeated string elems = 7; |
ColumnInfo.Builder |
addElemsBytes(com.google.protobuf.ByteString value)
repeated string elems = 7; |
ColumnInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ColumnInfo |
build() |
ColumnInfo |
buildPartial() |
ColumnInfo.Builder |
clear() |
ColumnInfo.Builder |
clearCollation()
optional int32 collation = 3 [(.gogoproto.nullable) = false]; |
ColumnInfo.Builder |
clearColumnId()
optional int64 column_id = 1 [(.gogoproto.nullable) = false]; |
ColumnInfo.Builder |
clearColumnLen()
optional int32 columnLen = 4 [(.gogoproto.nullable) = false]; |
ColumnInfo.Builder |
clearDecimal()
optional int32 decimal = 5 [(.gogoproto.nullable) = false]; |
ColumnInfo.Builder |
clearDefaultVal()
Encoded datum.
|
ColumnInfo.Builder |
clearElems()
repeated string elems = 7; |
ColumnInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ColumnInfo.Builder |
clearFlag()
optional int32 flag = 6 [(.gogoproto.nullable) = false]; |
ColumnInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ColumnInfo.Builder |
clearPkHandle()
PK handle column value is row handle.
|
ColumnInfo.Builder |
clearTp()
MySQL type.
|
ColumnInfo.Builder |
clone() |
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]; |
ColumnInfo |
getDefaultInstanceForType() |
com.google.protobuf.ByteString |
getDefaultVal()
Encoded datum.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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]; |
boolean |
getPkHandle()
PK handle column value is row handle.
|
int |
getTp()
MySQL type.
|
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]; |
boolean |
hasPkHandle()
PK handle column value is row handle.
|
boolean |
hasTp()
MySQL type.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ColumnInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ColumnInfo.Builder |
mergeFrom(ColumnInfo other) |
ColumnInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
ColumnInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ColumnInfo.Builder |
setCollation(int value)
optional int32 collation = 3 [(.gogoproto.nullable) = false]; |
ColumnInfo.Builder |
setColumnId(long value)
optional int64 column_id = 1 [(.gogoproto.nullable) = false]; |
ColumnInfo.Builder |
setColumnLen(int value)
optional int32 columnLen = 4 [(.gogoproto.nullable) = false]; |
ColumnInfo.Builder |
setDecimal(int value)
optional int32 decimal = 5 [(.gogoproto.nullable) = false]; |
ColumnInfo.Builder |
setDefaultVal(com.google.protobuf.ByteString value)
Encoded datum.
|
ColumnInfo.Builder |
setElems(int index,
String value)
repeated string elems = 7; |
ColumnInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ColumnInfo.Builder |
setFlag(int value)
optional int32 flag = 6 [(.gogoproto.nullable) = false]; |
ColumnInfo.Builder |
setPkHandle(boolean value)
PK handle column value is row handle.
|
ColumnInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ColumnInfo.Builder |
setTp(int value)
MySQL type.
|
ColumnInfo.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<ColumnInfo.Builder>
public ColumnInfo.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<ColumnInfo.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<ColumnInfo.Builder>
public ColumnInfo getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ColumnInfo build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ColumnInfo buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ColumnInfo.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<ColumnInfo.Builder>
public ColumnInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<ColumnInfo.Builder>
public ColumnInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<ColumnInfo.Builder>
public ColumnInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<ColumnInfo.Builder>
public ColumnInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<ColumnInfo.Builder>
public ColumnInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<ColumnInfo.Builder>
public ColumnInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ColumnInfo.Builder>
public ColumnInfo.Builder mergeFrom(ColumnInfo other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<ColumnInfo.Builder>
public ColumnInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ColumnInfo.Builder>
IOException
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 ColumnInfo.Builder setColumnId(long value)
optional int64 column_id = 1 [(.gogoproto.nullable) = false];
value
- The columnId to set.public ColumnInfo.Builder clearColumnId()
optional int64 column_id = 1 [(.gogoproto.nullable) = false];
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 ColumnInfo.Builder setTp(int value)
MySQL type.
optional int32 tp = 2 [(.gogoproto.nullable) = false];
value
- The tp to set.public ColumnInfo.Builder clearTp()
MySQL type.
optional int32 tp = 2 [(.gogoproto.nullable) = false];
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 ColumnInfo.Builder setCollation(int value)
optional int32 collation = 3 [(.gogoproto.nullable) = false];
value
- The collation to set.public ColumnInfo.Builder clearCollation()
optional int32 collation = 3 [(.gogoproto.nullable) = false];
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 ColumnInfo.Builder setColumnLen(int value)
optional int32 columnLen = 4 [(.gogoproto.nullable) = false];
value
- The columnLen to set.public ColumnInfo.Builder clearColumnLen()
optional int32 columnLen = 4 [(.gogoproto.nullable) = false];
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 ColumnInfo.Builder setDecimal(int value)
optional int32 decimal = 5 [(.gogoproto.nullable) = false];
value
- The decimal to set.public ColumnInfo.Builder clearDecimal()
optional int32 decimal = 5 [(.gogoproto.nullable) = false];
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 ColumnInfo.Builder setFlag(int value)
optional int32 flag = 6 [(.gogoproto.nullable) = false];
value
- The flag to set.public ColumnInfo.Builder clearFlag()
optional int32 flag = 6 [(.gogoproto.nullable) = false];
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 ColumnInfo.Builder setElems(int index, String value)
repeated string elems = 7;
index
- The index to set the value at.value
- The elems to set.public ColumnInfo.Builder addElems(String value)
repeated string elems = 7;
value
- The elems to add.public ColumnInfo.Builder addAllElems(Iterable<String> values)
repeated string elems = 7;
values
- The elems to add.public ColumnInfo.Builder clearElems()
repeated string elems = 7;
public ColumnInfo.Builder addElemsBytes(com.google.protobuf.ByteString value)
repeated string elems = 7;
value
- The bytes of the elems to add.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 ColumnInfo.Builder setDefaultVal(com.google.protobuf.ByteString value)
Encoded datum.
optional bytes default_val = 8;
value
- The defaultVal to set.public ColumnInfo.Builder clearDefaultVal()
Encoded datum.
optional bytes default_val = 8;
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 ColumnInfo.Builder setPkHandle(boolean value)
PK handle column value is row handle.
optional bool pk_handle = 21 [(.gogoproto.nullable) = false];
value
- The pkHandle to set.public ColumnInfo.Builder clearPkHandle()
PK handle column value is row handle.
optional bool pk_handle = 21 [(.gogoproto.nullable) = false];
public final ColumnInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ColumnInfo.Builder>
public final ColumnInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ColumnInfo.Builder>
Copyright © 2024 PingCAP. All rights reserved.