public static final class Kvrpcpb.MvccLock.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.MvccLock.Builder> implements Kvrpcpb.MvccLockOrBuilder
kvrpcpb.MvccLock
Modifier and Type | Method and Description |
---|---|
Kvrpcpb.MvccLock.Builder |
addAllRollbackTs(Iterable<? extends Long> values)
repeated uint64 rollback_ts = 10; |
Kvrpcpb.MvccLock.Builder |
addAllSecondaries(Iterable<? extends com.google.protobuf.ByteString> values)
repeated bytes secondaries = 9; |
Kvrpcpb.MvccLock.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Kvrpcpb.MvccLock.Builder |
addRollbackTs(long value)
repeated uint64 rollback_ts = 10; |
Kvrpcpb.MvccLock.Builder |
addSecondaries(com.google.protobuf.ByteString value)
repeated bytes secondaries = 9; |
Kvrpcpb.MvccLock |
build() |
Kvrpcpb.MvccLock |
buildPartial() |
Kvrpcpb.MvccLock.Builder |
clear() |
Kvrpcpb.MvccLock.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Kvrpcpb.MvccLock.Builder |
clearForUpdateTs()
uint64 for_update_ts = 6; |
Kvrpcpb.MvccLock.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Kvrpcpb.MvccLock.Builder |
clearPrimary()
bytes primary = 3; |
Kvrpcpb.MvccLock.Builder |
clearRollbackTs()
repeated uint64 rollback_ts = 10; |
Kvrpcpb.MvccLock.Builder |
clearSecondaries()
repeated bytes secondaries = 9; |
Kvrpcpb.MvccLock.Builder |
clearShortValue()
bytes short_value = 4; |
Kvrpcpb.MvccLock.Builder |
clearStartTs()
uint64 start_ts = 2; |
Kvrpcpb.MvccLock.Builder |
clearTtl()
uint64 ttl = 5; |
Kvrpcpb.MvccLock.Builder |
clearTxnSize()
uint64 txn_size = 7; |
Kvrpcpb.MvccLock.Builder |
clearType()
.kvrpcpb.Op type = 1; |
Kvrpcpb.MvccLock.Builder |
clearUseAsyncCommit()
bool use_async_commit = 8; |
Kvrpcpb.MvccLock.Builder |
clone() |
Kvrpcpb.MvccLock |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getForUpdateTs()
uint64 for_update_ts = 6; |
com.google.protobuf.ByteString |
getPrimary()
bytes primary = 3; |
long |
getRollbackTs(int index)
repeated uint64 rollback_ts = 10; |
int |
getRollbackTsCount()
repeated uint64 rollback_ts = 10; |
List<Long> |
getRollbackTsList()
repeated uint64 rollback_ts = 10; |
com.google.protobuf.ByteString |
getSecondaries(int index)
repeated bytes secondaries = 9; |
int |
getSecondariesCount()
repeated bytes secondaries = 9; |
List<com.google.protobuf.ByteString> |
getSecondariesList()
repeated bytes secondaries = 9; |
com.google.protobuf.ByteString |
getShortValue()
bytes short_value = 4; |
long |
getStartTs()
uint64 start_ts = 2; |
long |
getTtl()
uint64 ttl = 5; |
long |
getTxnSize()
uint64 txn_size = 7; |
Kvrpcpb.Op |
getType()
.kvrpcpb.Op type = 1; |
int |
getTypeValue()
.kvrpcpb.Op type = 1; |
boolean |
getUseAsyncCommit()
bool use_async_commit = 8; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Kvrpcpb.MvccLock.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Kvrpcpb.MvccLock.Builder |
mergeFrom(Kvrpcpb.MvccLock other) |
Kvrpcpb.MvccLock.Builder |
mergeFrom(com.google.protobuf.Message other) |
Kvrpcpb.MvccLock.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Kvrpcpb.MvccLock.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Kvrpcpb.MvccLock.Builder |
setForUpdateTs(long value)
uint64 for_update_ts = 6; |
Kvrpcpb.MvccLock.Builder |
setPrimary(com.google.protobuf.ByteString value)
bytes primary = 3; |
Kvrpcpb.MvccLock.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Kvrpcpb.MvccLock.Builder |
setRollbackTs(int index,
long value)
repeated uint64 rollback_ts = 10; |
Kvrpcpb.MvccLock.Builder |
setSecondaries(int index,
com.google.protobuf.ByteString value)
repeated bytes secondaries = 9; |
Kvrpcpb.MvccLock.Builder |
setShortValue(com.google.protobuf.ByteString value)
bytes short_value = 4; |
Kvrpcpb.MvccLock.Builder |
setStartTs(long value)
uint64 start_ts = 2; |
Kvrpcpb.MvccLock.Builder |
setTtl(long value)
uint64 ttl = 5; |
Kvrpcpb.MvccLock.Builder |
setTxnSize(long value)
uint64 txn_size = 7; |
Kvrpcpb.MvccLock.Builder |
setType(Kvrpcpb.Op value)
.kvrpcpb.Op type = 1; |
Kvrpcpb.MvccLock.Builder |
setTypeValue(int value)
.kvrpcpb.Op type = 1; |
Kvrpcpb.MvccLock.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Kvrpcpb.MvccLock.Builder |
setUseAsyncCommit(boolean value)
bool use_async_commit = 8; |
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.MvccLock.Builder>
public Kvrpcpb.MvccLock.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.MvccLock.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.MvccLock.Builder>
public Kvrpcpb.MvccLock getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Kvrpcpb.MvccLock build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Kvrpcpb.MvccLock buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Kvrpcpb.MvccLock.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.MvccLock.Builder>
public Kvrpcpb.MvccLock.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.MvccLock.Builder>
public Kvrpcpb.MvccLock.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.MvccLock.Builder>
public Kvrpcpb.MvccLock.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.MvccLock.Builder>
public Kvrpcpb.MvccLock.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.MvccLock.Builder>
public Kvrpcpb.MvccLock.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.MvccLock.Builder>
public Kvrpcpb.MvccLock.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Kvrpcpb.MvccLock.Builder>
public Kvrpcpb.MvccLock.Builder mergeFrom(Kvrpcpb.MvccLock other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.MvccLock.Builder>
public Kvrpcpb.MvccLock.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.MvccLock.Builder>
IOException
public int getTypeValue()
.kvrpcpb.Op type = 1;
getTypeValue
in interface Kvrpcpb.MvccLockOrBuilder
public Kvrpcpb.MvccLock.Builder setTypeValue(int value)
.kvrpcpb.Op type = 1;
value
- The enum numeric value on the wire for type to set.public Kvrpcpb.Op getType()
.kvrpcpb.Op type = 1;
getType
in interface Kvrpcpb.MvccLockOrBuilder
public Kvrpcpb.MvccLock.Builder setType(Kvrpcpb.Op value)
.kvrpcpb.Op type = 1;
value
- The type to set.public Kvrpcpb.MvccLock.Builder clearType()
.kvrpcpb.Op type = 1;
public long getStartTs()
uint64 start_ts = 2;
getStartTs
in interface Kvrpcpb.MvccLockOrBuilder
public Kvrpcpb.MvccLock.Builder setStartTs(long value)
uint64 start_ts = 2;
value
- The startTs to set.public Kvrpcpb.MvccLock.Builder clearStartTs()
uint64 start_ts = 2;
public com.google.protobuf.ByteString getPrimary()
bytes primary = 3;
getPrimary
in interface Kvrpcpb.MvccLockOrBuilder
public Kvrpcpb.MvccLock.Builder setPrimary(com.google.protobuf.ByteString value)
bytes primary = 3;
value
- The primary to set.public Kvrpcpb.MvccLock.Builder clearPrimary()
bytes primary = 3;
public com.google.protobuf.ByteString getShortValue()
bytes short_value = 4;
getShortValue
in interface Kvrpcpb.MvccLockOrBuilder
public Kvrpcpb.MvccLock.Builder setShortValue(com.google.protobuf.ByteString value)
bytes short_value = 4;
value
- The shortValue to set.public Kvrpcpb.MvccLock.Builder clearShortValue()
bytes short_value = 4;
public long getTtl()
uint64 ttl = 5;
getTtl
in interface Kvrpcpb.MvccLockOrBuilder
public Kvrpcpb.MvccLock.Builder setTtl(long value)
uint64 ttl = 5;
value
- The ttl to set.public Kvrpcpb.MvccLock.Builder clearTtl()
uint64 ttl = 5;
public long getForUpdateTs()
uint64 for_update_ts = 6;
getForUpdateTs
in interface Kvrpcpb.MvccLockOrBuilder
public Kvrpcpb.MvccLock.Builder setForUpdateTs(long value)
uint64 for_update_ts = 6;
value
- The forUpdateTs to set.public Kvrpcpb.MvccLock.Builder clearForUpdateTs()
uint64 for_update_ts = 6;
public long getTxnSize()
uint64 txn_size = 7;
getTxnSize
in interface Kvrpcpb.MvccLockOrBuilder
public Kvrpcpb.MvccLock.Builder setTxnSize(long value)
uint64 txn_size = 7;
value
- The txnSize to set.public Kvrpcpb.MvccLock.Builder clearTxnSize()
uint64 txn_size = 7;
public boolean getUseAsyncCommit()
bool use_async_commit = 8;
getUseAsyncCommit
in interface Kvrpcpb.MvccLockOrBuilder
public Kvrpcpb.MvccLock.Builder setUseAsyncCommit(boolean value)
bool use_async_commit = 8;
value
- The useAsyncCommit to set.public Kvrpcpb.MvccLock.Builder clearUseAsyncCommit()
bool use_async_commit = 8;
public List<com.google.protobuf.ByteString> getSecondariesList()
repeated bytes secondaries = 9;
getSecondariesList
in interface Kvrpcpb.MvccLockOrBuilder
public int getSecondariesCount()
repeated bytes secondaries = 9;
getSecondariesCount
in interface Kvrpcpb.MvccLockOrBuilder
public com.google.protobuf.ByteString getSecondaries(int index)
repeated bytes secondaries = 9;
getSecondaries
in interface Kvrpcpb.MvccLockOrBuilder
index
- The index of the element to return.public Kvrpcpb.MvccLock.Builder setSecondaries(int index, com.google.protobuf.ByteString value)
repeated bytes secondaries = 9;
index
- The index to set the value at.value
- The secondaries to set.public Kvrpcpb.MvccLock.Builder addSecondaries(com.google.protobuf.ByteString value)
repeated bytes secondaries = 9;
value
- The secondaries to add.public Kvrpcpb.MvccLock.Builder addAllSecondaries(Iterable<? extends com.google.protobuf.ByteString> values)
repeated bytes secondaries = 9;
values
- The secondaries to add.public Kvrpcpb.MvccLock.Builder clearSecondaries()
repeated bytes secondaries = 9;
public List<Long> getRollbackTsList()
repeated uint64 rollback_ts = 10;
getRollbackTsList
in interface Kvrpcpb.MvccLockOrBuilder
public int getRollbackTsCount()
repeated uint64 rollback_ts = 10;
getRollbackTsCount
in interface Kvrpcpb.MvccLockOrBuilder
public long getRollbackTs(int index)
repeated uint64 rollback_ts = 10;
getRollbackTs
in interface Kvrpcpb.MvccLockOrBuilder
index
- The index of the element to return.public Kvrpcpb.MvccLock.Builder setRollbackTs(int index, long value)
repeated uint64 rollback_ts = 10;
index
- The index to set the value at.value
- The rollbackTs to set.public Kvrpcpb.MvccLock.Builder addRollbackTs(long value)
repeated uint64 rollback_ts = 10;
value
- The rollbackTs to add.public Kvrpcpb.MvccLock.Builder addAllRollbackTs(Iterable<? extends Long> values)
repeated uint64 rollback_ts = 10;
values
- The rollbackTs to add.public Kvrpcpb.MvccLock.Builder clearRollbackTs()
repeated uint64 rollback_ts = 10;
public final Kvrpcpb.MvccLock.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.MvccLock.Builder>
public final Kvrpcpb.MvccLock.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Kvrpcpb.MvccLock.Builder>
Copyright © 2024 PingCAP. All rights reserved.