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