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