public static final class Kvrpcpb.CheckTxnStatusResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.CheckTxnStatusResponse.Builder> implements Kvrpcpb.CheckTxnStatusResponseOrBuilder
kvrpcpb.CheckTxnStatusResponse
Modifier and Type | Method and Description |
---|---|
Kvrpcpb.CheckTxnStatusResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Kvrpcpb.CheckTxnStatusResponse |
build() |
Kvrpcpb.CheckTxnStatusResponse |
buildPartial() |
Kvrpcpb.CheckTxnStatusResponse.Builder |
clear() |
Kvrpcpb.CheckTxnStatusResponse.Builder |
clearAction()
The action performed by TiKV (and why if the action is to rollback).
|
Kvrpcpb.CheckTxnStatusResponse.Builder |
clearCommitVersion()
uint64 commit_version = 4; |
Kvrpcpb.CheckTxnStatusResponse.Builder |
clearError()
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.CheckTxnStatusResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Kvrpcpb.CheckTxnStatusResponse.Builder |
clearLockInfo()
.kvrpcpb.LockInfo lock_info = 6; |
Kvrpcpb.CheckTxnStatusResponse.Builder |
clearLockTtl()
Three kinds of transaction status:
locked: lock_ttl > 0
committed: commit_version > 0
rollbacked: lock_ttl = 0 && commit_version = 0
|
Kvrpcpb.CheckTxnStatusResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Kvrpcpb.CheckTxnStatusResponse.Builder |
clearRegionError()
.errorpb.Error region_error = 1; |
Kvrpcpb.CheckTxnStatusResponse.Builder |
clone() |
Kvrpcpb.Action |
getAction()
The action performed by TiKV (and why if the action is to rollback).
|
int |
getActionValue()
The action performed by TiKV (and why if the action is to rollback).
|
long |
getCommitVersion()
uint64 commit_version = 4; |
Kvrpcpb.CheckTxnStatusResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Kvrpcpb.KeyError |
getError()
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.KeyError.Builder |
getErrorBuilder()
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.KeyErrorOrBuilder |
getErrorOrBuilder()
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.LockInfo |
getLockInfo()
.kvrpcpb.LockInfo lock_info = 6; |
Kvrpcpb.LockInfo.Builder |
getLockInfoBuilder()
.kvrpcpb.LockInfo lock_info = 6; |
Kvrpcpb.LockInfoOrBuilder |
getLockInfoOrBuilder()
.kvrpcpb.LockInfo lock_info = 6; |
long |
getLockTtl()
Three kinds of transaction status:
locked: lock_ttl > 0
committed: commit_version > 0
rollbacked: lock_ttl = 0 && commit_version = 0
|
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 |
hasError()
.kvrpcpb.KeyError error = 2; |
boolean |
hasLockInfo()
.kvrpcpb.LockInfo lock_info = 6; |
boolean |
hasRegionError()
.errorpb.Error region_error = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Kvrpcpb.CheckTxnStatusResponse.Builder |
mergeError(Kvrpcpb.KeyError value)
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.CheckTxnStatusResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Kvrpcpb.CheckTxnStatusResponse.Builder |
mergeFrom(Kvrpcpb.CheckTxnStatusResponse other) |
Kvrpcpb.CheckTxnStatusResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
Kvrpcpb.CheckTxnStatusResponse.Builder |
mergeLockInfo(Kvrpcpb.LockInfo value)
.kvrpcpb.LockInfo lock_info = 6; |
Kvrpcpb.CheckTxnStatusResponse.Builder |
mergeRegionError(Errorpb.Error value)
.errorpb.Error region_error = 1; |
Kvrpcpb.CheckTxnStatusResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Kvrpcpb.CheckTxnStatusResponse.Builder |
setAction(Kvrpcpb.Action value)
The action performed by TiKV (and why if the action is to rollback).
|
Kvrpcpb.CheckTxnStatusResponse.Builder |
setActionValue(int value)
The action performed by TiKV (and why if the action is to rollback).
|
Kvrpcpb.CheckTxnStatusResponse.Builder |
setCommitVersion(long value)
uint64 commit_version = 4; |
Kvrpcpb.CheckTxnStatusResponse.Builder |
setError(Kvrpcpb.KeyError.Builder builderForValue)
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.CheckTxnStatusResponse.Builder |
setError(Kvrpcpb.KeyError value)
.kvrpcpb.KeyError error = 2; |
Kvrpcpb.CheckTxnStatusResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Kvrpcpb.CheckTxnStatusResponse.Builder |
setLockInfo(Kvrpcpb.LockInfo.Builder builderForValue)
.kvrpcpb.LockInfo lock_info = 6; |
Kvrpcpb.CheckTxnStatusResponse.Builder |
setLockInfo(Kvrpcpb.LockInfo value)
.kvrpcpb.LockInfo lock_info = 6; |
Kvrpcpb.CheckTxnStatusResponse.Builder |
setLockTtl(long value)
Three kinds of transaction status:
locked: lock_ttl > 0
committed: commit_version > 0
rollbacked: lock_ttl = 0 && commit_version = 0
|
Kvrpcpb.CheckTxnStatusResponse.Builder |
setRegionError(Errorpb.Error.Builder builderForValue)
.errorpb.Error region_error = 1; |
Kvrpcpb.CheckTxnStatusResponse.Builder |
setRegionError(Errorpb.Error value)
.errorpb.Error region_error = 1; |
Kvrpcpb.CheckTxnStatusResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Kvrpcpb.CheckTxnStatusResponse.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.CheckTxnStatusResponse.Builder>
public Kvrpcpb.CheckTxnStatusResponse.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.CheckTxnStatusResponse.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.CheckTxnStatusResponse.Builder>
public Kvrpcpb.CheckTxnStatusResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Kvrpcpb.CheckTxnStatusResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Kvrpcpb.CheckTxnStatusResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Kvrpcpb.CheckTxnStatusResponse.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.CheckTxnStatusResponse.Builder>
public Kvrpcpb.CheckTxnStatusResponse.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.CheckTxnStatusResponse.Builder>
public Kvrpcpb.CheckTxnStatusResponse.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.CheckTxnStatusResponse.Builder>
public Kvrpcpb.CheckTxnStatusResponse.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.CheckTxnStatusResponse.Builder>
public Kvrpcpb.CheckTxnStatusResponse.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.CheckTxnStatusResponse.Builder>
public Kvrpcpb.CheckTxnStatusResponse.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.CheckTxnStatusResponse.Builder>
public Kvrpcpb.CheckTxnStatusResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Kvrpcpb.CheckTxnStatusResponse.Builder>
public Kvrpcpb.CheckTxnStatusResponse.Builder mergeFrom(Kvrpcpb.CheckTxnStatusResponse other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.CheckTxnStatusResponse.Builder>
public Kvrpcpb.CheckTxnStatusResponse.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.CheckTxnStatusResponse.Builder>
IOException
public boolean hasRegionError()
.errorpb.Error region_error = 1;
hasRegionError
in interface Kvrpcpb.CheckTxnStatusResponseOrBuilder
public Errorpb.Error getRegionError()
.errorpb.Error region_error = 1;
getRegionError
in interface Kvrpcpb.CheckTxnStatusResponseOrBuilder
public Kvrpcpb.CheckTxnStatusResponse.Builder setRegionError(Errorpb.Error value)
.errorpb.Error region_error = 1;
public Kvrpcpb.CheckTxnStatusResponse.Builder setRegionError(Errorpb.Error.Builder builderForValue)
.errorpb.Error region_error = 1;
public Kvrpcpb.CheckTxnStatusResponse.Builder mergeRegionError(Errorpb.Error value)
.errorpb.Error region_error = 1;
public Kvrpcpb.CheckTxnStatusResponse.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.CheckTxnStatusResponseOrBuilder
public boolean hasError()
.kvrpcpb.KeyError error = 2;
hasError
in interface Kvrpcpb.CheckTxnStatusResponseOrBuilder
public Kvrpcpb.KeyError getError()
.kvrpcpb.KeyError error = 2;
getError
in interface Kvrpcpb.CheckTxnStatusResponseOrBuilder
public Kvrpcpb.CheckTxnStatusResponse.Builder setError(Kvrpcpb.KeyError value)
.kvrpcpb.KeyError error = 2;
public Kvrpcpb.CheckTxnStatusResponse.Builder setError(Kvrpcpb.KeyError.Builder builderForValue)
.kvrpcpb.KeyError error = 2;
public Kvrpcpb.CheckTxnStatusResponse.Builder mergeError(Kvrpcpb.KeyError value)
.kvrpcpb.KeyError error = 2;
public Kvrpcpb.CheckTxnStatusResponse.Builder clearError()
.kvrpcpb.KeyError error = 2;
public Kvrpcpb.KeyError.Builder getErrorBuilder()
.kvrpcpb.KeyError error = 2;
public Kvrpcpb.KeyErrorOrBuilder getErrorOrBuilder()
.kvrpcpb.KeyError error = 2;
getErrorOrBuilder
in interface Kvrpcpb.CheckTxnStatusResponseOrBuilder
public long getLockTtl()
Three kinds of transaction status: locked: lock_ttl > 0 committed: commit_version > 0 rollbacked: lock_ttl = 0 && commit_version = 0
uint64 lock_ttl = 3;
getLockTtl
in interface Kvrpcpb.CheckTxnStatusResponseOrBuilder
public Kvrpcpb.CheckTxnStatusResponse.Builder setLockTtl(long value)
Three kinds of transaction status: locked: lock_ttl > 0 committed: commit_version > 0 rollbacked: lock_ttl = 0 && commit_version = 0
uint64 lock_ttl = 3;
value
- The lockTtl to set.public Kvrpcpb.CheckTxnStatusResponse.Builder clearLockTtl()
Three kinds of transaction status: locked: lock_ttl > 0 committed: commit_version > 0 rollbacked: lock_ttl = 0 && commit_version = 0
uint64 lock_ttl = 3;
public long getCommitVersion()
uint64 commit_version = 4;
getCommitVersion
in interface Kvrpcpb.CheckTxnStatusResponseOrBuilder
public Kvrpcpb.CheckTxnStatusResponse.Builder setCommitVersion(long value)
uint64 commit_version = 4;
value
- The commitVersion to set.public Kvrpcpb.CheckTxnStatusResponse.Builder clearCommitVersion()
uint64 commit_version = 4;
public int getActionValue()
The action performed by TiKV (and why if the action is to rollback).
.kvrpcpb.Action action = 5;
getActionValue
in interface Kvrpcpb.CheckTxnStatusResponseOrBuilder
public Kvrpcpb.CheckTxnStatusResponse.Builder setActionValue(int value)
The action performed by TiKV (and why if the action is to rollback).
.kvrpcpb.Action action = 5;
value
- The enum numeric value on the wire for action to set.public Kvrpcpb.Action getAction()
The action performed by TiKV (and why if the action is to rollback).
.kvrpcpb.Action action = 5;
getAction
in interface Kvrpcpb.CheckTxnStatusResponseOrBuilder
public Kvrpcpb.CheckTxnStatusResponse.Builder setAction(Kvrpcpb.Action value)
The action performed by TiKV (and why if the action is to rollback).
.kvrpcpb.Action action = 5;
value
- The action to set.public Kvrpcpb.CheckTxnStatusResponse.Builder clearAction()
The action performed by TiKV (and why if the action is to rollback).
.kvrpcpb.Action action = 5;
public boolean hasLockInfo()
.kvrpcpb.LockInfo lock_info = 6;
hasLockInfo
in interface Kvrpcpb.CheckTxnStatusResponseOrBuilder
public Kvrpcpb.LockInfo getLockInfo()
.kvrpcpb.LockInfo lock_info = 6;
getLockInfo
in interface Kvrpcpb.CheckTxnStatusResponseOrBuilder
public Kvrpcpb.CheckTxnStatusResponse.Builder setLockInfo(Kvrpcpb.LockInfo value)
.kvrpcpb.LockInfo lock_info = 6;
public Kvrpcpb.CheckTxnStatusResponse.Builder setLockInfo(Kvrpcpb.LockInfo.Builder builderForValue)
.kvrpcpb.LockInfo lock_info = 6;
public Kvrpcpb.CheckTxnStatusResponse.Builder mergeLockInfo(Kvrpcpb.LockInfo value)
.kvrpcpb.LockInfo lock_info = 6;
public Kvrpcpb.CheckTxnStatusResponse.Builder clearLockInfo()
.kvrpcpb.LockInfo lock_info = 6;
public Kvrpcpb.LockInfo.Builder getLockInfoBuilder()
.kvrpcpb.LockInfo lock_info = 6;
public Kvrpcpb.LockInfoOrBuilder getLockInfoOrBuilder()
.kvrpcpb.LockInfo lock_info = 6;
getLockInfoOrBuilder
in interface Kvrpcpb.CheckTxnStatusResponseOrBuilder
public final Kvrpcpb.CheckTxnStatusResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.CheckTxnStatusResponse.Builder>
public final Kvrpcpb.CheckTxnStatusResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.CheckTxnStatusResponse.Builder>
Copyright © 2024 PingCAP. All rights reserved.