public static final class Kvrpcpb.ReadIndexResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.ReadIndexResponse.Builder> implements Kvrpcpb.ReadIndexResponseOrBuilder
kvrpcpb.ReadIndexResponse
Modifier and Type | Method and Description |
---|---|
Kvrpcpb.ReadIndexResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Kvrpcpb.ReadIndexResponse |
build() |
Kvrpcpb.ReadIndexResponse |
buildPartial() |
Kvrpcpb.ReadIndexResponse.Builder |
clear() |
Kvrpcpb.ReadIndexResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Kvrpcpb.ReadIndexResponse.Builder |
clearLocked()
If `locked` is set, this read request is blocked by a lock.
|
Kvrpcpb.ReadIndexResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Kvrpcpb.ReadIndexResponse.Builder |
clearReadIndex()
uint64 read_index = 2; |
Kvrpcpb.ReadIndexResponse.Builder |
clearRegionError()
.errorpb.Error region_error = 1; |
Kvrpcpb.ReadIndexResponse.Builder |
clone() |
Kvrpcpb.ReadIndexResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Kvrpcpb.LockInfo |
getLocked()
If `locked` is set, this read request is blocked by a lock.
|
Kvrpcpb.LockInfo.Builder |
getLockedBuilder()
If `locked` is set, this read request is blocked by a lock.
|
Kvrpcpb.LockInfoOrBuilder |
getLockedOrBuilder()
If `locked` is set, this read request is blocked by a lock.
|
long |
getReadIndex()
uint64 read_index = 2; |
Errorpb.Error |
getRegionError()
.errorpb.Error region_error = 1; |
Errorpb.Error.Builder |
getRegionErrorBuilder()
.errorpb.Error region_error = 1; |
Errorpb.ErrorOrBuilder |
getRegionErrorOrBuilder()
.errorpb.Error region_error = 1; |
boolean |
hasLocked()
If `locked` is set, this read request is blocked by a lock.
|
boolean |
hasRegionError()
.errorpb.Error region_error = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Kvrpcpb.ReadIndexResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Kvrpcpb.ReadIndexResponse.Builder |
mergeFrom(Kvrpcpb.ReadIndexResponse other) |
Kvrpcpb.ReadIndexResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
Kvrpcpb.ReadIndexResponse.Builder |
mergeLocked(Kvrpcpb.LockInfo value)
If `locked` is set, this read request is blocked by a lock.
|
Kvrpcpb.ReadIndexResponse.Builder |
mergeRegionError(Errorpb.Error value)
.errorpb.Error region_error = 1; |
Kvrpcpb.ReadIndexResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Kvrpcpb.ReadIndexResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Kvrpcpb.ReadIndexResponse.Builder |
setLocked(Kvrpcpb.LockInfo.Builder builderForValue)
If `locked` is set, this read request is blocked by a lock.
|
Kvrpcpb.ReadIndexResponse.Builder |
setLocked(Kvrpcpb.LockInfo value)
If `locked` is set, this read request is blocked by a lock.
|
Kvrpcpb.ReadIndexResponse.Builder |
setReadIndex(long value)
uint64 read_index = 2; |
Kvrpcpb.ReadIndexResponse.Builder |
setRegionError(Errorpb.Error.Builder builderForValue)
.errorpb.Error region_error = 1; |
Kvrpcpb.ReadIndexResponse.Builder |
setRegionError(Errorpb.Error value)
.errorpb.Error region_error = 1; |
Kvrpcpb.ReadIndexResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Kvrpcpb.ReadIndexResponse.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.ReadIndexResponse.Builder>
public Kvrpcpb.ReadIndexResponse.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.ReadIndexResponse.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.ReadIndexResponse.Builder>
public Kvrpcpb.ReadIndexResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Kvrpcpb.ReadIndexResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Kvrpcpb.ReadIndexResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Kvrpcpb.ReadIndexResponse.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.ReadIndexResponse.Builder>
public Kvrpcpb.ReadIndexResponse.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.ReadIndexResponse.Builder>
public Kvrpcpb.ReadIndexResponse.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.ReadIndexResponse.Builder>
public Kvrpcpb.ReadIndexResponse.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.ReadIndexResponse.Builder>
public Kvrpcpb.ReadIndexResponse.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.ReadIndexResponse.Builder>
public Kvrpcpb.ReadIndexResponse.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.ReadIndexResponse.Builder>
public Kvrpcpb.ReadIndexResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Kvrpcpb.ReadIndexResponse.Builder>
public Kvrpcpb.ReadIndexResponse.Builder mergeFrom(Kvrpcpb.ReadIndexResponse other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.ReadIndexResponse.Builder>
public Kvrpcpb.ReadIndexResponse.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.ReadIndexResponse.Builder>
IOException
public boolean hasRegionError()
.errorpb.Error region_error = 1;
hasRegionError
in interface Kvrpcpb.ReadIndexResponseOrBuilder
public Errorpb.Error getRegionError()
.errorpb.Error region_error = 1;
getRegionError
in interface Kvrpcpb.ReadIndexResponseOrBuilder
public Kvrpcpb.ReadIndexResponse.Builder setRegionError(Errorpb.Error value)
.errorpb.Error region_error = 1;
public Kvrpcpb.ReadIndexResponse.Builder setRegionError(Errorpb.Error.Builder builderForValue)
.errorpb.Error region_error = 1;
public Kvrpcpb.ReadIndexResponse.Builder mergeRegionError(Errorpb.Error value)
.errorpb.Error region_error = 1;
public Kvrpcpb.ReadIndexResponse.Builder clearRegionError()
.errorpb.Error region_error = 1;
public Errorpb.Error.Builder getRegionErrorBuilder()
.errorpb.Error region_error = 1;
public Errorpb.ErrorOrBuilder getRegionErrorOrBuilder()
.errorpb.Error region_error = 1;
getRegionErrorOrBuilder
in interface Kvrpcpb.ReadIndexResponseOrBuilder
public long getReadIndex()
uint64 read_index = 2;
getReadIndex
in interface Kvrpcpb.ReadIndexResponseOrBuilder
public Kvrpcpb.ReadIndexResponse.Builder setReadIndex(long value)
uint64 read_index = 2;
value
- The readIndex to set.public Kvrpcpb.ReadIndexResponse.Builder clearReadIndex()
uint64 read_index = 2;
public boolean hasLocked()
If `locked` is set, this read request is blocked by a lock. The lock should be returned to the client.
.kvrpcpb.LockInfo locked = 3;
hasLocked
in interface Kvrpcpb.ReadIndexResponseOrBuilder
public Kvrpcpb.LockInfo getLocked()
If `locked` is set, this read request is blocked by a lock. The lock should be returned to the client.
.kvrpcpb.LockInfo locked = 3;
getLocked
in interface Kvrpcpb.ReadIndexResponseOrBuilder
public Kvrpcpb.ReadIndexResponse.Builder setLocked(Kvrpcpb.LockInfo value)
If `locked` is set, this read request is blocked by a lock. The lock should be returned to the client.
.kvrpcpb.LockInfo locked = 3;
public Kvrpcpb.ReadIndexResponse.Builder setLocked(Kvrpcpb.LockInfo.Builder builderForValue)
If `locked` is set, this read request is blocked by a lock. The lock should be returned to the client.
.kvrpcpb.LockInfo locked = 3;
public Kvrpcpb.ReadIndexResponse.Builder mergeLocked(Kvrpcpb.LockInfo value)
If `locked` is set, this read request is blocked by a lock. The lock should be returned to the client.
.kvrpcpb.LockInfo locked = 3;
public Kvrpcpb.ReadIndexResponse.Builder clearLocked()
If `locked` is set, this read request is blocked by a lock. The lock should be returned to the client.
.kvrpcpb.LockInfo locked = 3;
public Kvrpcpb.LockInfo.Builder getLockedBuilder()
If `locked` is set, this read request is blocked by a lock. The lock should be returned to the client.
.kvrpcpb.LockInfo locked = 3;
public Kvrpcpb.LockInfoOrBuilder getLockedOrBuilder()
If `locked` is set, this read request is blocked by a lock. The lock should be returned to the client.
.kvrpcpb.LockInfo locked = 3;
getLockedOrBuilder
in interface Kvrpcpb.ReadIndexResponseOrBuilder
public final Kvrpcpb.ReadIndexResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.ReadIndexResponse.Builder>
public final Kvrpcpb.ReadIndexResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.ReadIndexResponse.Builder>
Copyright © 2024 PingCAP. All rights reserved.