public static final class Kvrpcpb.BatchRollbackRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.BatchRollbackRequest.Builder> implements Kvrpcpb.BatchRollbackRequestOrBuilder
Rollback a prewritten transaction. This will remove the preliminary data from the database, unlock locks, and leave a rollback tombstone.Protobuf type
kvrpcpb.BatchRollbackRequest
Modifier and Type | Method and Description |
---|---|
Kvrpcpb.BatchRollbackRequest.Builder |
addAllKeys(Iterable<? extends com.google.protobuf.ByteString> values)
The keys to rollback.
|
Kvrpcpb.BatchRollbackRequest.Builder |
addKeys(com.google.protobuf.ByteString value)
The keys to rollback.
|
Kvrpcpb.BatchRollbackRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Kvrpcpb.BatchRollbackRequest |
build() |
Kvrpcpb.BatchRollbackRequest |
buildPartial() |
Kvrpcpb.BatchRollbackRequest.Builder |
clear() |
Kvrpcpb.BatchRollbackRequest.Builder |
clearContext()
.kvrpcpb.Context context = 1; |
Kvrpcpb.BatchRollbackRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Kvrpcpb.BatchRollbackRequest.Builder |
clearKeys()
The keys to rollback.
|
Kvrpcpb.BatchRollbackRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Kvrpcpb.BatchRollbackRequest.Builder |
clearStartVersion()
Identify the transaction to be rolled back.
|
Kvrpcpb.BatchRollbackRequest.Builder |
clone() |
Kvrpcpb.Context |
getContext()
.kvrpcpb.Context context = 1; |
Kvrpcpb.Context.Builder |
getContextBuilder()
.kvrpcpb.Context context = 1; |
Kvrpcpb.ContextOrBuilder |
getContextOrBuilder()
.kvrpcpb.Context context = 1; |
Kvrpcpb.BatchRollbackRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getKeys(int index)
The keys to rollback.
|
int |
getKeysCount()
The keys to rollback.
|
List<com.google.protobuf.ByteString> |
getKeysList()
The keys to rollback.
|
long |
getStartVersion()
Identify the transaction to be rolled back.
|
boolean |
hasContext()
.kvrpcpb.Context context = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Kvrpcpb.BatchRollbackRequest.Builder |
mergeContext(Kvrpcpb.Context value)
.kvrpcpb.Context context = 1; |
Kvrpcpb.BatchRollbackRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Kvrpcpb.BatchRollbackRequest.Builder |
mergeFrom(Kvrpcpb.BatchRollbackRequest other) |
Kvrpcpb.BatchRollbackRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
Kvrpcpb.BatchRollbackRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Kvrpcpb.BatchRollbackRequest.Builder |
setContext(Kvrpcpb.Context.Builder builderForValue)
.kvrpcpb.Context context = 1; |
Kvrpcpb.BatchRollbackRequest.Builder |
setContext(Kvrpcpb.Context value)
.kvrpcpb.Context context = 1; |
Kvrpcpb.BatchRollbackRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Kvrpcpb.BatchRollbackRequest.Builder |
setKeys(int index,
com.google.protobuf.ByteString value)
The keys to rollback.
|
Kvrpcpb.BatchRollbackRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Kvrpcpb.BatchRollbackRequest.Builder |
setStartVersion(long value)
Identify the transaction to be rolled back.
|
Kvrpcpb.BatchRollbackRequest.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.BatchRollbackRequest.Builder>
public Kvrpcpb.BatchRollbackRequest.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.BatchRollbackRequest.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.BatchRollbackRequest.Builder>
public Kvrpcpb.BatchRollbackRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Kvrpcpb.BatchRollbackRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Kvrpcpb.BatchRollbackRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Kvrpcpb.BatchRollbackRequest.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.BatchRollbackRequest.Builder>
public Kvrpcpb.BatchRollbackRequest.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.BatchRollbackRequest.Builder>
public Kvrpcpb.BatchRollbackRequest.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.BatchRollbackRequest.Builder>
public Kvrpcpb.BatchRollbackRequest.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.BatchRollbackRequest.Builder>
public Kvrpcpb.BatchRollbackRequest.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.BatchRollbackRequest.Builder>
public Kvrpcpb.BatchRollbackRequest.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.BatchRollbackRequest.Builder>
public Kvrpcpb.BatchRollbackRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Kvrpcpb.BatchRollbackRequest.Builder>
public Kvrpcpb.BatchRollbackRequest.Builder mergeFrom(Kvrpcpb.BatchRollbackRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.BatchRollbackRequest.Builder>
public Kvrpcpb.BatchRollbackRequest.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.BatchRollbackRequest.Builder>
IOException
public boolean hasContext()
.kvrpcpb.Context context = 1;
hasContext
in interface Kvrpcpb.BatchRollbackRequestOrBuilder
public Kvrpcpb.Context getContext()
.kvrpcpb.Context context = 1;
getContext
in interface Kvrpcpb.BatchRollbackRequestOrBuilder
public Kvrpcpb.BatchRollbackRequest.Builder setContext(Kvrpcpb.Context value)
.kvrpcpb.Context context = 1;
public Kvrpcpb.BatchRollbackRequest.Builder setContext(Kvrpcpb.Context.Builder builderForValue)
.kvrpcpb.Context context = 1;
public Kvrpcpb.BatchRollbackRequest.Builder mergeContext(Kvrpcpb.Context value)
.kvrpcpb.Context context = 1;
public Kvrpcpb.BatchRollbackRequest.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.BatchRollbackRequestOrBuilder
public long getStartVersion()
Identify the transaction to be rolled back.
uint64 start_version = 2;
getStartVersion
in interface Kvrpcpb.BatchRollbackRequestOrBuilder
public Kvrpcpb.BatchRollbackRequest.Builder setStartVersion(long value)
Identify the transaction to be rolled back.
uint64 start_version = 2;
value
- The startVersion to set.public Kvrpcpb.BatchRollbackRequest.Builder clearStartVersion()
Identify the transaction to be rolled back.
uint64 start_version = 2;
public List<com.google.protobuf.ByteString> getKeysList()
The keys to rollback.
repeated bytes keys = 3;
getKeysList
in interface Kvrpcpb.BatchRollbackRequestOrBuilder
public int getKeysCount()
The keys to rollback.
repeated bytes keys = 3;
getKeysCount
in interface Kvrpcpb.BatchRollbackRequestOrBuilder
public com.google.protobuf.ByteString getKeys(int index)
The keys to rollback.
repeated bytes keys = 3;
getKeys
in interface Kvrpcpb.BatchRollbackRequestOrBuilder
index
- The index of the element to return.public Kvrpcpb.BatchRollbackRequest.Builder setKeys(int index, com.google.protobuf.ByteString value)
The keys to rollback.
repeated bytes keys = 3;
index
- The index to set the value at.value
- The keys to set.public Kvrpcpb.BatchRollbackRequest.Builder addKeys(com.google.protobuf.ByteString value)
The keys to rollback.
repeated bytes keys = 3;
value
- The keys to add.public Kvrpcpb.BatchRollbackRequest.Builder addAllKeys(Iterable<? extends com.google.protobuf.ByteString> values)
The keys to rollback.
repeated bytes keys = 3;
values
- The keys to add.public Kvrpcpb.BatchRollbackRequest.Builder clearKeys()
The keys to rollback.
repeated bytes keys = 3;
public final Kvrpcpb.BatchRollbackRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.BatchRollbackRequest.Builder>
public final Kvrpcpb.BatchRollbackRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.BatchRollbackRequest.Builder>
Copyright © 2024 PingCAP. All rights reserved.