public static final class Kvrpcpb.PessimisticRollbackRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.PessimisticRollbackRequest.Builder> implements Kvrpcpb.PessimisticRollbackRequestOrBuilder
Unlock keys locked using `PessimisticLockRequest`.Protobuf type
kvrpcpb.PessimisticRollbackRequest
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.PessimisticRollbackRequest.Builder>
public Kvrpcpb.PessimisticRollbackRequest.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.PessimisticRollbackRequest.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.PessimisticRollbackRequest.Builder>
public Kvrpcpb.PessimisticRollbackRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Kvrpcpb.PessimisticRollbackRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Kvrpcpb.PessimisticRollbackRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Kvrpcpb.PessimisticRollbackRequest.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.PessimisticRollbackRequest.Builder>
public Kvrpcpb.PessimisticRollbackRequest.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.PessimisticRollbackRequest.Builder>
public Kvrpcpb.PessimisticRollbackRequest.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.PessimisticRollbackRequest.Builder>
public Kvrpcpb.PessimisticRollbackRequest.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.PessimisticRollbackRequest.Builder>
public Kvrpcpb.PessimisticRollbackRequest.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.PessimisticRollbackRequest.Builder>
public Kvrpcpb.PessimisticRollbackRequest.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.PessimisticRollbackRequest.Builder>
public Kvrpcpb.PessimisticRollbackRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Kvrpcpb.PessimisticRollbackRequest.Builder>
public Kvrpcpb.PessimisticRollbackRequest.Builder mergeFrom(Kvrpcpb.PessimisticRollbackRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.PessimisticRollbackRequest.Builder>
public Kvrpcpb.PessimisticRollbackRequest.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.PessimisticRollbackRequest.Builder>
IOException
public boolean hasContext()
.kvrpcpb.Context context = 1;
hasContext
in interface Kvrpcpb.PessimisticRollbackRequestOrBuilder
public Kvrpcpb.Context getContext()
.kvrpcpb.Context context = 1;
getContext
in interface Kvrpcpb.PessimisticRollbackRequestOrBuilder
public Kvrpcpb.PessimisticRollbackRequest.Builder setContext(Kvrpcpb.Context value)
.kvrpcpb.Context context = 1;
public Kvrpcpb.PessimisticRollbackRequest.Builder setContext(Kvrpcpb.Context.Builder builderForValue)
.kvrpcpb.Context context = 1;
public Kvrpcpb.PessimisticRollbackRequest.Builder mergeContext(Kvrpcpb.Context value)
.kvrpcpb.Context context = 1;
public Kvrpcpb.PessimisticRollbackRequest.Builder clearContext()
.kvrpcpb.Context context = 1;
public Kvrpcpb.Context.Builder getContextBuilder()
.kvrpcpb.Context context = 1;
public Kvrpcpb.ContextOrBuilder getContextOrBuilder()
.kvrpcpb.Context context = 1;
getContextOrBuilder
in interface Kvrpcpb.PessimisticRollbackRequestOrBuilder
public long getStartVersion()
uint64 start_version = 2;
getStartVersion
in interface Kvrpcpb.PessimisticRollbackRequestOrBuilder
public Kvrpcpb.PessimisticRollbackRequest.Builder setStartVersion(long value)
uint64 start_version = 2;
value
- The startVersion to set.public Kvrpcpb.PessimisticRollbackRequest.Builder clearStartVersion()
uint64 start_version = 2;
public long getForUpdateTs()
uint64 for_update_ts = 3;
getForUpdateTs
in interface Kvrpcpb.PessimisticRollbackRequestOrBuilder
public Kvrpcpb.PessimisticRollbackRequest.Builder setForUpdateTs(long value)
uint64 for_update_ts = 3;
value
- The forUpdateTs to set.public Kvrpcpb.PessimisticRollbackRequest.Builder clearForUpdateTs()
uint64 for_update_ts = 3;
public List<com.google.protobuf.ByteString> getKeysList()
repeated bytes keys = 4;
getKeysList
in interface Kvrpcpb.PessimisticRollbackRequestOrBuilder
public int getKeysCount()
repeated bytes keys = 4;
getKeysCount
in interface Kvrpcpb.PessimisticRollbackRequestOrBuilder
public com.google.protobuf.ByteString getKeys(int index)
repeated bytes keys = 4;
getKeys
in interface Kvrpcpb.PessimisticRollbackRequestOrBuilder
index
- The index of the element to return.public Kvrpcpb.PessimisticRollbackRequest.Builder setKeys(int index, com.google.protobuf.ByteString value)
repeated bytes keys = 4;
index
- The index to set the value at.value
- The keys to set.public Kvrpcpb.PessimisticRollbackRequest.Builder addKeys(com.google.protobuf.ByteString value)
repeated bytes keys = 4;
value
- The keys to add.public Kvrpcpb.PessimisticRollbackRequest.Builder addAllKeys(Iterable<? extends com.google.protobuf.ByteString> values)
repeated bytes keys = 4;
values
- The keys to add.public Kvrpcpb.PessimisticRollbackRequest.Builder clearKeys()
repeated bytes keys = 4;
public final Kvrpcpb.PessimisticRollbackRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.PessimisticRollbackRequest.Builder>
public final Kvrpcpb.PessimisticRollbackRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.PessimisticRollbackRequest.Builder>
Copyright © 2024 PingCAP. All rights reserved.