public static final class Kvrpcpb.GetResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.GetResponse.Builder> implements Kvrpcpb.GetResponseOrBuilder
kvrpcpb.GetResponse
Modifier and Type | Method and Description |
---|---|
Kvrpcpb.GetResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Kvrpcpb.GetResponse |
build() |
Kvrpcpb.GetResponse |
buildPartial() |
Kvrpcpb.GetResponse.Builder |
clear() |
Kvrpcpb.GetResponse.Builder |
clearError()
A value could not be retrieved due to the state of the database for the requested key.
|
Kvrpcpb.GetResponse.Builder |
clearExecDetailsV2()
Time and scan details when processing the request.
|
Kvrpcpb.GetResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Kvrpcpb.GetResponse.Builder |
clearNotFound()
True if the key does not exist in the database.
|
Kvrpcpb.GetResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Kvrpcpb.GetResponse.Builder |
clearRegionError()
A region error indicates that the request was sent to the wrong TiKV node
(or other, similar errors).
|
Kvrpcpb.GetResponse.Builder |
clearValue()
A successful result.
|
Kvrpcpb.GetResponse.Builder |
clone() |
Kvrpcpb.GetResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Kvrpcpb.KeyError |
getError()
A value could not be retrieved due to the state of the database for the requested key.
|
Kvrpcpb.KeyError.Builder |
getErrorBuilder()
A value could not be retrieved due to the state of the database for the requested key.
|
Kvrpcpb.KeyErrorOrBuilder |
getErrorOrBuilder()
A value could not be retrieved due to the state of the database for the requested key.
|
Kvrpcpb.ExecDetailsV2 |
getExecDetailsV2()
Time and scan details when processing the request.
|
Kvrpcpb.ExecDetailsV2.Builder |
getExecDetailsV2Builder()
Time and scan details when processing the request.
|
Kvrpcpb.ExecDetailsV2OrBuilder |
getExecDetailsV2OrBuilder()
Time and scan details when processing the request.
|
boolean |
getNotFound()
True if the key does not exist in the database.
|
Errorpb.Error |
getRegionError()
A region error indicates that the request was sent to the wrong TiKV node
(or other, similar errors).
|
Errorpb.Error.Builder |
getRegionErrorBuilder()
A region error indicates that the request was sent to the wrong TiKV node
(or other, similar errors).
|
Errorpb.ErrorOrBuilder |
getRegionErrorOrBuilder()
A region error indicates that the request was sent to the wrong TiKV node
(or other, similar errors).
|
com.google.protobuf.ByteString |
getValue()
A successful result.
|
boolean |
hasError()
A value could not be retrieved due to the state of the database for the requested key.
|
boolean |
hasExecDetailsV2()
Time and scan details when processing the request.
|
boolean |
hasRegionError()
A region error indicates that the request was sent to the wrong TiKV node
(or other, similar errors).
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Kvrpcpb.GetResponse.Builder |
mergeError(Kvrpcpb.KeyError value)
A value could not be retrieved due to the state of the database for the requested key.
|
Kvrpcpb.GetResponse.Builder |
mergeExecDetailsV2(Kvrpcpb.ExecDetailsV2 value)
Time and scan details when processing the request.
|
Kvrpcpb.GetResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Kvrpcpb.GetResponse.Builder |
mergeFrom(Kvrpcpb.GetResponse other) |
Kvrpcpb.GetResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
Kvrpcpb.GetResponse.Builder |
mergeRegionError(Errorpb.Error value)
A region error indicates that the request was sent to the wrong TiKV node
(or other, similar errors).
|
Kvrpcpb.GetResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Kvrpcpb.GetResponse.Builder |
setError(Kvrpcpb.KeyError.Builder builderForValue)
A value could not be retrieved due to the state of the database for the requested key.
|
Kvrpcpb.GetResponse.Builder |
setError(Kvrpcpb.KeyError value)
A value could not be retrieved due to the state of the database for the requested key.
|
Kvrpcpb.GetResponse.Builder |
setExecDetailsV2(Kvrpcpb.ExecDetailsV2.Builder builderForValue)
Time and scan details when processing the request.
|
Kvrpcpb.GetResponse.Builder |
setExecDetailsV2(Kvrpcpb.ExecDetailsV2 value)
Time and scan details when processing the request.
|
Kvrpcpb.GetResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Kvrpcpb.GetResponse.Builder |
setNotFound(boolean value)
True if the key does not exist in the database.
|
Kvrpcpb.GetResponse.Builder |
setRegionError(Errorpb.Error.Builder builderForValue)
A region error indicates that the request was sent to the wrong TiKV node
(or other, similar errors).
|
Kvrpcpb.GetResponse.Builder |
setRegionError(Errorpb.Error value)
A region error indicates that the request was sent to the wrong TiKV node
(or other, similar errors).
|
Kvrpcpb.GetResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Kvrpcpb.GetResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Kvrpcpb.GetResponse.Builder |
setValue(com.google.protobuf.ByteString value)
A successful result.
|
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.GetResponse.Builder>
public Kvrpcpb.GetResponse.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.GetResponse.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.GetResponse.Builder>
public Kvrpcpb.GetResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Kvrpcpb.GetResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Kvrpcpb.GetResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Kvrpcpb.GetResponse.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.GetResponse.Builder>
public Kvrpcpb.GetResponse.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.GetResponse.Builder>
public Kvrpcpb.GetResponse.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.GetResponse.Builder>
public Kvrpcpb.GetResponse.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.GetResponse.Builder>
public Kvrpcpb.GetResponse.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.GetResponse.Builder>
public Kvrpcpb.GetResponse.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.GetResponse.Builder>
public Kvrpcpb.GetResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Kvrpcpb.GetResponse.Builder>
public Kvrpcpb.GetResponse.Builder mergeFrom(Kvrpcpb.GetResponse other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.GetResponse.Builder>
public Kvrpcpb.GetResponse.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.GetResponse.Builder>
IOException
public boolean hasRegionError()
A region error indicates that the request was sent to the wrong TiKV node (or other, similar errors).
.errorpb.Error region_error = 1;
hasRegionError
in interface Kvrpcpb.GetResponseOrBuilder
public Errorpb.Error getRegionError()
A region error indicates that the request was sent to the wrong TiKV node (or other, similar errors).
.errorpb.Error region_error = 1;
getRegionError
in interface Kvrpcpb.GetResponseOrBuilder
public Kvrpcpb.GetResponse.Builder setRegionError(Errorpb.Error value)
A region error indicates that the request was sent to the wrong TiKV node (or other, similar errors).
.errorpb.Error region_error = 1;
public Kvrpcpb.GetResponse.Builder setRegionError(Errorpb.Error.Builder builderForValue)
A region error indicates that the request was sent to the wrong TiKV node (or other, similar errors).
.errorpb.Error region_error = 1;
public Kvrpcpb.GetResponse.Builder mergeRegionError(Errorpb.Error value)
A region error indicates that the request was sent to the wrong TiKV node (or other, similar errors).
.errorpb.Error region_error = 1;
public Kvrpcpb.GetResponse.Builder clearRegionError()
A region error indicates that the request was sent to the wrong TiKV node (or other, similar errors).
.errorpb.Error region_error = 1;
public Errorpb.Error.Builder getRegionErrorBuilder()
A region error indicates that the request was sent to the wrong TiKV node (or other, similar errors).
.errorpb.Error region_error = 1;
public Errorpb.ErrorOrBuilder getRegionErrorOrBuilder()
A region error indicates that the request was sent to the wrong TiKV node (or other, similar errors).
.errorpb.Error region_error = 1;
getRegionErrorOrBuilder
in interface Kvrpcpb.GetResponseOrBuilder
public boolean hasError()
A value could not be retrieved due to the state of the database for the requested key.
.kvrpcpb.KeyError error = 2;
hasError
in interface Kvrpcpb.GetResponseOrBuilder
public Kvrpcpb.KeyError getError()
A value could not be retrieved due to the state of the database for the requested key.
.kvrpcpb.KeyError error = 2;
getError
in interface Kvrpcpb.GetResponseOrBuilder
public Kvrpcpb.GetResponse.Builder setError(Kvrpcpb.KeyError value)
A value could not be retrieved due to the state of the database for the requested key.
.kvrpcpb.KeyError error = 2;
public Kvrpcpb.GetResponse.Builder setError(Kvrpcpb.KeyError.Builder builderForValue)
A value could not be retrieved due to the state of the database for the requested key.
.kvrpcpb.KeyError error = 2;
public Kvrpcpb.GetResponse.Builder mergeError(Kvrpcpb.KeyError value)
A value could not be retrieved due to the state of the database for the requested key.
.kvrpcpb.KeyError error = 2;
public Kvrpcpb.GetResponse.Builder clearError()
A value could not be retrieved due to the state of the database for the requested key.
.kvrpcpb.KeyError error = 2;
public Kvrpcpb.KeyError.Builder getErrorBuilder()
A value could not be retrieved due to the state of the database for the requested key.
.kvrpcpb.KeyError error = 2;
public Kvrpcpb.KeyErrorOrBuilder getErrorOrBuilder()
A value could not be retrieved due to the state of the database for the requested key.
.kvrpcpb.KeyError error = 2;
getErrorOrBuilder
in interface Kvrpcpb.GetResponseOrBuilder
public com.google.protobuf.ByteString getValue()
A successful result.
bytes value = 3;
getValue
in interface Kvrpcpb.GetResponseOrBuilder
public Kvrpcpb.GetResponse.Builder setValue(com.google.protobuf.ByteString value)
A successful result.
bytes value = 3;
value
- The value to set.public Kvrpcpb.GetResponse.Builder clearValue()
A successful result.
bytes value = 3;
public boolean getNotFound()
True if the key does not exist in the database.
bool not_found = 4;
getNotFound
in interface Kvrpcpb.GetResponseOrBuilder
public Kvrpcpb.GetResponse.Builder setNotFound(boolean value)
True if the key does not exist in the database.
bool not_found = 4;
value
- The notFound to set.public Kvrpcpb.GetResponse.Builder clearNotFound()
True if the key does not exist in the database.
bool not_found = 4;
public boolean hasExecDetailsV2()
Time and scan details when processing the request.
.kvrpcpb.ExecDetailsV2 exec_details_v2 = 6;
hasExecDetailsV2
in interface Kvrpcpb.GetResponseOrBuilder
public Kvrpcpb.ExecDetailsV2 getExecDetailsV2()
Time and scan details when processing the request.
.kvrpcpb.ExecDetailsV2 exec_details_v2 = 6;
getExecDetailsV2
in interface Kvrpcpb.GetResponseOrBuilder
public Kvrpcpb.GetResponse.Builder setExecDetailsV2(Kvrpcpb.ExecDetailsV2 value)
Time and scan details when processing the request.
.kvrpcpb.ExecDetailsV2 exec_details_v2 = 6;
public Kvrpcpb.GetResponse.Builder setExecDetailsV2(Kvrpcpb.ExecDetailsV2.Builder builderForValue)
Time and scan details when processing the request.
.kvrpcpb.ExecDetailsV2 exec_details_v2 = 6;
public Kvrpcpb.GetResponse.Builder mergeExecDetailsV2(Kvrpcpb.ExecDetailsV2 value)
Time and scan details when processing the request.
.kvrpcpb.ExecDetailsV2 exec_details_v2 = 6;
public Kvrpcpb.GetResponse.Builder clearExecDetailsV2()
Time and scan details when processing the request.
.kvrpcpb.ExecDetailsV2 exec_details_v2 = 6;
public Kvrpcpb.ExecDetailsV2.Builder getExecDetailsV2Builder()
Time and scan details when processing the request.
.kvrpcpb.ExecDetailsV2 exec_details_v2 = 6;
public Kvrpcpb.ExecDetailsV2OrBuilder getExecDetailsV2OrBuilder()
Time and scan details when processing the request.
.kvrpcpb.ExecDetailsV2 exec_details_v2 = 6;
getExecDetailsV2OrBuilder
in interface Kvrpcpb.GetResponseOrBuilder
public final Kvrpcpb.GetResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.GetResponse.Builder>
public final Kvrpcpb.GetResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.GetResponse.Builder>
Copyright © 2024 PingCAP. All rights reserved.