public static final class Kvrpcpb.CheckLeaderResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.CheckLeaderResponse.Builder> implements Kvrpcpb.CheckLeaderResponseOrBuilder
kvrpcpb.CheckLeaderResponse
Modifier and Type | Method and Description |
---|---|
Kvrpcpb.CheckLeaderResponse.Builder |
addAllRegions(Iterable<? extends Long> values)
repeated uint64 regions = 1; |
Kvrpcpb.CheckLeaderResponse.Builder |
addRegions(long value)
repeated uint64 regions = 1; |
Kvrpcpb.CheckLeaderResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Kvrpcpb.CheckLeaderResponse |
build() |
Kvrpcpb.CheckLeaderResponse |
buildPartial() |
Kvrpcpb.CheckLeaderResponse.Builder |
clear() |
Kvrpcpb.CheckLeaderResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Kvrpcpb.CheckLeaderResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Kvrpcpb.CheckLeaderResponse.Builder |
clearRegions()
repeated uint64 regions = 1; |
Kvrpcpb.CheckLeaderResponse.Builder |
clearTs()
uint64 ts = 2; |
Kvrpcpb.CheckLeaderResponse.Builder |
clone() |
Kvrpcpb.CheckLeaderResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getRegions(int index)
repeated uint64 regions = 1; |
int |
getRegionsCount()
repeated uint64 regions = 1; |
List<Long> |
getRegionsList()
repeated uint64 regions = 1; |
long |
getTs()
uint64 ts = 2; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Kvrpcpb.CheckLeaderResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Kvrpcpb.CheckLeaderResponse.Builder |
mergeFrom(Kvrpcpb.CheckLeaderResponse other) |
Kvrpcpb.CheckLeaderResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
Kvrpcpb.CheckLeaderResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Kvrpcpb.CheckLeaderResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Kvrpcpb.CheckLeaderResponse.Builder |
setRegions(int index,
long value)
repeated uint64 regions = 1; |
Kvrpcpb.CheckLeaderResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Kvrpcpb.CheckLeaderResponse.Builder |
setTs(long value)
uint64 ts = 2; |
Kvrpcpb.CheckLeaderResponse.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<Kvrpcpb.CheckLeaderResponse.Builder>
public Kvrpcpb.CheckLeaderResponse.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<Kvrpcpb.CheckLeaderResponse.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<Kvrpcpb.CheckLeaderResponse.Builder>
public Kvrpcpb.CheckLeaderResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Kvrpcpb.CheckLeaderResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Kvrpcpb.CheckLeaderResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Kvrpcpb.CheckLeaderResponse.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<Kvrpcpb.CheckLeaderResponse.Builder>
public Kvrpcpb.CheckLeaderResponse.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<Kvrpcpb.CheckLeaderResponse.Builder>
public Kvrpcpb.CheckLeaderResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.CheckLeaderResponse.Builder>
public Kvrpcpb.CheckLeaderResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.CheckLeaderResponse.Builder>
public Kvrpcpb.CheckLeaderResponse.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<Kvrpcpb.CheckLeaderResponse.Builder>
public Kvrpcpb.CheckLeaderResponse.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<Kvrpcpb.CheckLeaderResponse.Builder>
public Kvrpcpb.CheckLeaderResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Kvrpcpb.CheckLeaderResponse.Builder>
public Kvrpcpb.CheckLeaderResponse.Builder mergeFrom(Kvrpcpb.CheckLeaderResponse other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.CheckLeaderResponse.Builder>
public Kvrpcpb.CheckLeaderResponse.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<Kvrpcpb.CheckLeaderResponse.Builder>
IOException
public List<Long> getRegionsList()
repeated uint64 regions = 1;
getRegionsList
in interface Kvrpcpb.CheckLeaderResponseOrBuilder
public int getRegionsCount()
repeated uint64 regions = 1;
getRegionsCount
in interface Kvrpcpb.CheckLeaderResponseOrBuilder
public long getRegions(int index)
repeated uint64 regions = 1;
getRegions
in interface Kvrpcpb.CheckLeaderResponseOrBuilder
index
- The index of the element to return.public Kvrpcpb.CheckLeaderResponse.Builder setRegions(int index, long value)
repeated uint64 regions = 1;
index
- The index to set the value at.value
- The regions to set.public Kvrpcpb.CheckLeaderResponse.Builder addRegions(long value)
repeated uint64 regions = 1;
value
- The regions to add.public Kvrpcpb.CheckLeaderResponse.Builder addAllRegions(Iterable<? extends Long> values)
repeated uint64 regions = 1;
values
- The regions to add.public Kvrpcpb.CheckLeaderResponse.Builder clearRegions()
repeated uint64 regions = 1;
public long getTs()
uint64 ts = 2;
getTs
in interface Kvrpcpb.CheckLeaderResponseOrBuilder
public Kvrpcpb.CheckLeaderResponse.Builder setTs(long value)
uint64 ts = 2;
value
- The ts to set.public Kvrpcpb.CheckLeaderResponse.Builder clearTs()
uint64 ts = 2;
public final Kvrpcpb.CheckLeaderResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.CheckLeaderResponse.Builder>
public final Kvrpcpb.CheckLeaderResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.CheckLeaderResponse.Builder>
Copyright © 2024 PingCAP. All rights reserved.