public static final class IndexScan.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<IndexScan.Builder> implements IndexScanOrBuilder
tipb.IndexScan
Modifier and Type | Method and Description |
---|---|
IndexScan.Builder |
addAllColumns(Iterable<? extends ColumnInfo> values)
repeated .tipb.ColumnInfo columns = 3; |
IndexScan.Builder |
addColumns(ColumnInfo.Builder builderForValue)
repeated .tipb.ColumnInfo columns = 3; |
IndexScan.Builder |
addColumns(ColumnInfo value)
repeated .tipb.ColumnInfo columns = 3; |
IndexScan.Builder |
addColumns(int index,
ColumnInfo.Builder builderForValue)
repeated .tipb.ColumnInfo columns = 3; |
IndexScan.Builder |
addColumns(int index,
ColumnInfo value)
repeated .tipb.ColumnInfo columns = 3; |
ColumnInfo.Builder |
addColumnsBuilder()
repeated .tipb.ColumnInfo columns = 3; |
ColumnInfo.Builder |
addColumnsBuilder(int index)
repeated .tipb.ColumnInfo columns = 3; |
IndexScan.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
IndexScan |
build() |
IndexScan |
buildPartial() |
IndexScan.Builder |
clear() |
IndexScan.Builder |
clearColumns()
repeated .tipb.ColumnInfo columns = 3; |
IndexScan.Builder |
clearDesc()
optional bool desc = 4 [(.gogoproto.nullable) = false]; |
IndexScan.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
IndexScan.Builder |
clearIndexId()
optional int64 index_id = 2 [(.gogoproto.nullable) = false]; |
IndexScan.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
IndexScan.Builder |
clearTableId()
optional int64 table_id = 1 [(.gogoproto.nullable) = false]; |
IndexScan.Builder |
clearUnique()
check whether it is a unique index.
|
IndexScan.Builder |
clone() |
ColumnInfo |
getColumns(int index)
repeated .tipb.ColumnInfo columns = 3; |
ColumnInfo.Builder |
getColumnsBuilder(int index)
repeated .tipb.ColumnInfo columns = 3; |
List<ColumnInfo.Builder> |
getColumnsBuilderList()
repeated .tipb.ColumnInfo columns = 3; |
int |
getColumnsCount()
repeated .tipb.ColumnInfo columns = 3; |
List<ColumnInfo> |
getColumnsList()
repeated .tipb.ColumnInfo columns = 3; |
ColumnInfoOrBuilder |
getColumnsOrBuilder(int index)
repeated .tipb.ColumnInfo columns = 3; |
List<? extends ColumnInfoOrBuilder> |
getColumnsOrBuilderList()
repeated .tipb.ColumnInfo columns = 3; |
IndexScan |
getDefaultInstanceForType() |
boolean |
getDesc()
optional bool desc = 4 [(.gogoproto.nullable) = false]; |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getIndexId()
optional int64 index_id = 2 [(.gogoproto.nullable) = false]; |
long |
getTableId()
optional int64 table_id = 1 [(.gogoproto.nullable) = false]; |
boolean |
getUnique()
check whether it is a unique index.
|
boolean |
hasDesc()
optional bool desc = 4 [(.gogoproto.nullable) = false]; |
boolean |
hasIndexId()
optional int64 index_id = 2 [(.gogoproto.nullable) = false]; |
boolean |
hasTableId()
optional int64 table_id = 1 [(.gogoproto.nullable) = false]; |
boolean |
hasUnique()
check whether it is a unique index.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
IndexScan.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
IndexScan.Builder |
mergeFrom(IndexScan other) |
IndexScan.Builder |
mergeFrom(com.google.protobuf.Message other) |
IndexScan.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
IndexScan.Builder |
removeColumns(int index)
repeated .tipb.ColumnInfo columns = 3; |
IndexScan.Builder |
setColumns(int index,
ColumnInfo.Builder builderForValue)
repeated .tipb.ColumnInfo columns = 3; |
IndexScan.Builder |
setColumns(int index,
ColumnInfo value)
repeated .tipb.ColumnInfo columns = 3; |
IndexScan.Builder |
setDesc(boolean value)
optional bool desc = 4 [(.gogoproto.nullable) = false]; |
IndexScan.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
IndexScan.Builder |
setIndexId(long value)
optional int64 index_id = 2 [(.gogoproto.nullable) = false]; |
IndexScan.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
IndexScan.Builder |
setTableId(long value)
optional int64 table_id = 1 [(.gogoproto.nullable) = false]; |
IndexScan.Builder |
setUnique(boolean value)
check whether it is a unique index.
|
IndexScan.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<IndexScan.Builder>
public IndexScan.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<IndexScan.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<IndexScan.Builder>
public IndexScan getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public IndexScan build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public IndexScan buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public IndexScan.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<IndexScan.Builder>
public IndexScan.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<IndexScan.Builder>
public IndexScan.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<IndexScan.Builder>
public IndexScan.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<IndexScan.Builder>
public IndexScan.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<IndexScan.Builder>
public IndexScan.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<IndexScan.Builder>
public IndexScan.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<IndexScan.Builder>
public IndexScan.Builder mergeFrom(IndexScan other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<IndexScan.Builder>
public IndexScan.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<IndexScan.Builder>
IOException
public boolean hasTableId()
optional int64 table_id = 1 [(.gogoproto.nullable) = false];
hasTableId
in interface IndexScanOrBuilder
public long getTableId()
optional int64 table_id = 1 [(.gogoproto.nullable) = false];
getTableId
in interface IndexScanOrBuilder
public IndexScan.Builder setTableId(long value)
optional int64 table_id = 1 [(.gogoproto.nullable) = false];
value
- The tableId to set.public IndexScan.Builder clearTableId()
optional int64 table_id = 1 [(.gogoproto.nullable) = false];
public boolean hasIndexId()
optional int64 index_id = 2 [(.gogoproto.nullable) = false];
hasIndexId
in interface IndexScanOrBuilder
public long getIndexId()
optional int64 index_id = 2 [(.gogoproto.nullable) = false];
getIndexId
in interface IndexScanOrBuilder
public IndexScan.Builder setIndexId(long value)
optional int64 index_id = 2 [(.gogoproto.nullable) = false];
value
- The indexId to set.public IndexScan.Builder clearIndexId()
optional int64 index_id = 2 [(.gogoproto.nullable) = false];
public List<ColumnInfo> getColumnsList()
repeated .tipb.ColumnInfo columns = 3;
getColumnsList
in interface IndexScanOrBuilder
public int getColumnsCount()
repeated .tipb.ColumnInfo columns = 3;
getColumnsCount
in interface IndexScanOrBuilder
public ColumnInfo getColumns(int index)
repeated .tipb.ColumnInfo columns = 3;
getColumns
in interface IndexScanOrBuilder
public IndexScan.Builder setColumns(int index, ColumnInfo value)
repeated .tipb.ColumnInfo columns = 3;
public IndexScan.Builder setColumns(int index, ColumnInfo.Builder builderForValue)
repeated .tipb.ColumnInfo columns = 3;
public IndexScan.Builder addColumns(ColumnInfo value)
repeated .tipb.ColumnInfo columns = 3;
public IndexScan.Builder addColumns(int index, ColumnInfo value)
repeated .tipb.ColumnInfo columns = 3;
public IndexScan.Builder addColumns(ColumnInfo.Builder builderForValue)
repeated .tipb.ColumnInfo columns = 3;
public IndexScan.Builder addColumns(int index, ColumnInfo.Builder builderForValue)
repeated .tipb.ColumnInfo columns = 3;
public IndexScan.Builder addAllColumns(Iterable<? extends ColumnInfo> values)
repeated .tipb.ColumnInfo columns = 3;
public IndexScan.Builder clearColumns()
repeated .tipb.ColumnInfo columns = 3;
public IndexScan.Builder removeColumns(int index)
repeated .tipb.ColumnInfo columns = 3;
public ColumnInfo.Builder getColumnsBuilder(int index)
repeated .tipb.ColumnInfo columns = 3;
public ColumnInfoOrBuilder getColumnsOrBuilder(int index)
repeated .tipb.ColumnInfo columns = 3;
getColumnsOrBuilder
in interface IndexScanOrBuilder
public List<? extends ColumnInfoOrBuilder> getColumnsOrBuilderList()
repeated .tipb.ColumnInfo columns = 3;
getColumnsOrBuilderList
in interface IndexScanOrBuilder
public ColumnInfo.Builder addColumnsBuilder()
repeated .tipb.ColumnInfo columns = 3;
public ColumnInfo.Builder addColumnsBuilder(int index)
repeated .tipb.ColumnInfo columns = 3;
public List<ColumnInfo.Builder> getColumnsBuilderList()
repeated .tipb.ColumnInfo columns = 3;
public boolean hasDesc()
optional bool desc = 4 [(.gogoproto.nullable) = false];
hasDesc
in interface IndexScanOrBuilder
public boolean getDesc()
optional bool desc = 4 [(.gogoproto.nullable) = false];
getDesc
in interface IndexScanOrBuilder
public IndexScan.Builder setDesc(boolean value)
optional bool desc = 4 [(.gogoproto.nullable) = false];
value
- The desc to set.public IndexScan.Builder clearDesc()
optional bool desc = 4 [(.gogoproto.nullable) = false];
public boolean hasUnique()
check whether it is a unique index.
optional bool unique = 5;
hasUnique
in interface IndexScanOrBuilder
public boolean getUnique()
check whether it is a unique index.
optional bool unique = 5;
getUnique
in interface IndexScanOrBuilder
public IndexScan.Builder setUnique(boolean value)
check whether it is a unique index.
optional bool unique = 5;
value
- The unique to set.public IndexScan.Builder clearUnique()
check whether it is a unique index.
optional bool unique = 5;
public final IndexScan.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<IndexScan.Builder>
public final IndexScan.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<IndexScan.Builder>
Copyright © 2024 PingCAP. All rights reserved.