public static final class Brpb.Schema.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Brpb.Schema.Builder> implements Brpb.SchemaOrBuilder
backup.Schema
Modifier and Type | Method and Description |
---|---|
Brpb.Schema.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Brpb.Schema |
build() |
Brpb.Schema |
buildPartial() |
Brpb.Schema.Builder |
clear() |
Brpb.Schema.Builder |
clearCrc64Xor()
uint64 crc64xor = 3; |
Brpb.Schema.Builder |
clearDb()
bytes db = 1; |
Brpb.Schema.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Brpb.Schema.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Brpb.Schema.Builder |
clearStats()
stats represents the dump stats for a analyzed table, which generate by DumpStatsToJSON
https://github.com/pingcap/tidb/blob/e136429d8dc5d70f43cd3f94179b0b9f47595097/statistics/handle/dump.go#L116
|
Brpb.Schema.Builder |
clearTable()
bytes table = 2; |
Brpb.Schema.Builder |
clearTiflashReplicas()
uint32 tiflash_replicas = 6; |
Brpb.Schema.Builder |
clearTotalBytes()
uint64 total_bytes = 5; |
Brpb.Schema.Builder |
clearTotalKvs()
uint64 total_kvs = 4; |
Brpb.Schema.Builder |
clone() |
long |
getCrc64Xor()
uint64 crc64xor = 3; |
com.google.protobuf.ByteString |
getDb()
bytes db = 1; |
Brpb.Schema |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getStats()
stats represents the dump stats for a analyzed table, which generate by DumpStatsToJSON
https://github.com/pingcap/tidb/blob/e136429d8dc5d70f43cd3f94179b0b9f47595097/statistics/handle/dump.go#L116
|
com.google.protobuf.ByteString |
getTable()
bytes table = 2; |
int |
getTiflashReplicas()
uint32 tiflash_replicas = 6; |
long |
getTotalBytes()
uint64 total_bytes = 5; |
long |
getTotalKvs()
uint64 total_kvs = 4; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Brpb.Schema.Builder |
mergeFrom(Brpb.Schema other) |
Brpb.Schema.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Brpb.Schema.Builder |
mergeFrom(com.google.protobuf.Message other) |
Brpb.Schema.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Brpb.Schema.Builder |
setCrc64Xor(long value)
uint64 crc64xor = 3; |
Brpb.Schema.Builder |
setDb(com.google.protobuf.ByteString value)
bytes db = 1; |
Brpb.Schema.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Brpb.Schema.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Brpb.Schema.Builder |
setStats(com.google.protobuf.ByteString value)
stats represents the dump stats for a analyzed table, which generate by DumpStatsToJSON
https://github.com/pingcap/tidb/blob/e136429d8dc5d70f43cd3f94179b0b9f47595097/statistics/handle/dump.go#L116
|
Brpb.Schema.Builder |
setTable(com.google.protobuf.ByteString value)
bytes table = 2; |
Brpb.Schema.Builder |
setTiflashReplicas(int value)
uint32 tiflash_replicas = 6; |
Brpb.Schema.Builder |
setTotalBytes(long value)
uint64 total_bytes = 5; |
Brpb.Schema.Builder |
setTotalKvs(long value)
uint64 total_kvs = 4; |
Brpb.Schema.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<Brpb.Schema.Builder>
public Brpb.Schema.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<Brpb.Schema.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<Brpb.Schema.Builder>
public Brpb.Schema getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Brpb.Schema build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Brpb.Schema buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Brpb.Schema.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<Brpb.Schema.Builder>
public Brpb.Schema.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<Brpb.Schema.Builder>
public Brpb.Schema.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Brpb.Schema.Builder>
public Brpb.Schema.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Brpb.Schema.Builder>
public Brpb.Schema.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<Brpb.Schema.Builder>
public Brpb.Schema.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<Brpb.Schema.Builder>
public Brpb.Schema.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Brpb.Schema.Builder>
public Brpb.Schema.Builder mergeFrom(Brpb.Schema other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Brpb.Schema.Builder>
public Brpb.Schema.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<Brpb.Schema.Builder>
IOException
public com.google.protobuf.ByteString getDb()
bytes db = 1;
getDb
in interface Brpb.SchemaOrBuilder
public Brpb.Schema.Builder setDb(com.google.protobuf.ByteString value)
bytes db = 1;
value
- The db to set.public Brpb.Schema.Builder clearDb()
bytes db = 1;
public com.google.protobuf.ByteString getTable()
bytes table = 2;
getTable
in interface Brpb.SchemaOrBuilder
public Brpb.Schema.Builder setTable(com.google.protobuf.ByteString value)
bytes table = 2;
value
- The table to set.public Brpb.Schema.Builder clearTable()
bytes table = 2;
public long getCrc64Xor()
uint64 crc64xor = 3;
getCrc64Xor
in interface Brpb.SchemaOrBuilder
public Brpb.Schema.Builder setCrc64Xor(long value)
uint64 crc64xor = 3;
value
- The crc64xor to set.public Brpb.Schema.Builder clearCrc64Xor()
uint64 crc64xor = 3;
public long getTotalKvs()
uint64 total_kvs = 4;
getTotalKvs
in interface Brpb.SchemaOrBuilder
public Brpb.Schema.Builder setTotalKvs(long value)
uint64 total_kvs = 4;
value
- The totalKvs to set.public Brpb.Schema.Builder clearTotalKvs()
uint64 total_kvs = 4;
public long getTotalBytes()
uint64 total_bytes = 5;
getTotalBytes
in interface Brpb.SchemaOrBuilder
public Brpb.Schema.Builder setTotalBytes(long value)
uint64 total_bytes = 5;
value
- The totalBytes to set.public Brpb.Schema.Builder clearTotalBytes()
uint64 total_bytes = 5;
public int getTiflashReplicas()
uint32 tiflash_replicas = 6;
getTiflashReplicas
in interface Brpb.SchemaOrBuilder
public Brpb.Schema.Builder setTiflashReplicas(int value)
uint32 tiflash_replicas = 6;
value
- The tiflashReplicas to set.public Brpb.Schema.Builder clearTiflashReplicas()
uint32 tiflash_replicas = 6;
public com.google.protobuf.ByteString getStats()
stats represents the dump stats for a analyzed table, which generate by DumpStatsToJSON https://github.com/pingcap/tidb/blob/e136429d8dc5d70f43cd3f94179b0b9f47595097/statistics/handle/dump.go#L116
bytes stats = 7;
getStats
in interface Brpb.SchemaOrBuilder
public Brpb.Schema.Builder setStats(com.google.protobuf.ByteString value)
stats represents the dump stats for a analyzed table, which generate by DumpStatsToJSON https://github.com/pingcap/tidb/blob/e136429d8dc5d70f43cd3f94179b0b9f47595097/statistics/handle/dump.go#L116
bytes stats = 7;
value
- The stats to set.public Brpb.Schema.Builder clearStats()
stats represents the dump stats for a analyzed table, which generate by DumpStatsToJSON https://github.com/pingcap/tidb/blob/e136429d8dc5d70f43cd3f94179b0b9f47595097/statistics/handle/dump.go#L116
bytes stats = 7;
public final Brpb.Schema.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Brpb.Schema.Builder>
public final Brpb.Schema.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Brpb.Schema.Builder>
Copyright © 2024 PingCAP. All rights reserved.