Package io.dingodb.store
Class Store.TxnPrewriteRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.dingodb.store.Store.TxnPrewriteRequest
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Store.TxnPrewriteRequestOrBuilder,Serializable
- Enclosing class:
- Store
public static final class Store.TxnPrewriteRequest
extends com.google.protobuf.GeneratedMessageV3
implements Store.TxnPrewriteRequestOrBuilder
Protobuf type
dingodb.pb.store.TxnPrewriteRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typedingodb.pb.store.TxnPrewriteRequeststatic final classfor pessimistic transaction for_update_ts that should be checked when prewriting a pessimistic transaction.static interfacestatic final classThe extra_data executor want to store in lock when doing prewrite if there is extra_data in a pessimistic lock, and no extra_data in the corresponding prewrite request, the extra_data in lock will not update, else the new extra_data will replace previous extra_data in lockstatic interfacestatic enumWhat kind of checks need to be performed for keys in a pessimistic transaction.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionboolean.dingodb.pb.store.Context context = 2;.dingodb.pb.store.Context context = 2;static Store.TxnPrewriteRequeststatic final com.google.protobuf.Descriptors.DescriptorgetForUpdateTsChecks(int index) fo pessimistic transaction for_update_ts constriants that should be checked when prewriting a pessimistic transaction.intfo pessimistic transaction for_update_ts constriants that should be checked when prewriting a pessimistic transaction.fo pessimistic transaction for_update_ts constriants that should be checked when prewriting a pessimistic transaction.getForUpdateTsChecksOrBuilder(int index) fo pessimistic transaction for_update_ts constriants that should be checked when prewriting a pessimistic transaction.fo pessimistic transaction for_update_ts constriants that should be checked when prewriting a pessimistic transaction.getLockExtraDatas(int index) for both pessimistic and optimistic transaction the extra_data executor want to store in lockintfor both pessimistic and optimistic transaction the extra_data executor want to store in lockfor both pessimistic and optimistic transaction the extra_data executor want to store in lockgetLockExtraDatasOrBuilder(int index) for both pessimistic and optimistic transaction the extra_data executor want to store in lockfor both pessimistic and optimistic transaction the extra_data executor want to store in locklongthe lock's ttl is timestamp in milisecond.longThe max commit ts is reserved for limiting the commit ts of 1PC, which can be used to avoid inconsistency with schema change.longIf min_commit_ts > 0, this is a large transaction request, the final commit_ts will be inferred from `min_commit_ts`.getMutations(int index) The data to be written to the database.intThe data to be written to the database.The data to be written to the database.getMutationsOrBuilder(int index) The data to be written to the database.List<? extends Store.MutationOrBuilder>The data to be written to the database.com.google.protobuf.Parser<Store.TxnPrewriteRequest>getPessimisticChecks(int index) for pessimistic transaction check if the keys is locked by pessimistic transactionintfor pessimistic transaction check if the keys is locked by pessimistic transactionfor pessimistic transaction check if the keys is locked by pessimistic transactionintgetPessimisticChecksValue(int index) for pessimistic transaction check if the keys is locked by pessimistic transactionfor pessimistic transaction check if the keys is locked by pessimistic transactioncom.google.protobuf.ByteStringThe primary lock of the transaction is setup by client.dingodb.pb.common.RequestInfo request_info = 1;.dingodb.pb.common.RequestInfo request_info = 1;com.google.protobuf.ByteStringgetSecondaries(int index) repeated bytes secondaries = 15;intrepeated bytes secondaries = 15;List<com.google.protobuf.ByteString>repeated bytes secondaries = 15;intlongIdentifies the transaction being written.booleanWhen the transaction involves only one region, it's possible to commit the transaction directly with 1PC protocol.longthe number of keys involved in the transactionbooleanWhen async commit is enabled, `secondaries` should be set as the key list of all secondary locks if the request prewrites the primary lock.boolean.dingodb.pb.store.Context context = 2;inthashCode()boolean.dingodb.pb.common.RequestInfo request_info = 1;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(Store.TxnPrewriteRequest prototype) protected Store.TxnPrewriteRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Store.TxnPrewriteRequestparseDelimitedFrom(InputStream input) static Store.TxnPrewriteRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Store.TxnPrewriteRequestparseFrom(byte[] data) static Store.TxnPrewriteRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Store.TxnPrewriteRequestparseFrom(com.google.protobuf.ByteString data) static Store.TxnPrewriteRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Store.TxnPrewriteRequestparseFrom(com.google.protobuf.CodedInputStream input) static Store.TxnPrewriteRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Store.TxnPrewriteRequestparseFrom(InputStream input) static Store.TxnPrewriteRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Store.TxnPrewriteRequestparseFrom(ByteBuffer data) static Store.TxnPrewriteRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Store.TxnPrewriteRequest>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
REQUEST_INFO_FIELD_NUMBER
public static final int REQUEST_INFO_FIELD_NUMBER- See Also:
-
CONTEXT_FIELD_NUMBER
public static final int CONTEXT_FIELD_NUMBER- See Also:
-
MUTATIONS_FIELD_NUMBER
public static final int MUTATIONS_FIELD_NUMBER- See Also:
-
PRIMARY_LOCK_FIELD_NUMBER
public static final int PRIMARY_LOCK_FIELD_NUMBER- See Also:
-
START_TS_FIELD_NUMBER
public static final int START_TS_FIELD_NUMBER- See Also:
-
LOCK_TTL_FIELD_NUMBER
public static final int LOCK_TTL_FIELD_NUMBER- See Also:
-
TXN_SIZE_FIELD_NUMBER
public static final int TXN_SIZE_FIELD_NUMBER- See Also:
-
TRY_ONE_PC_FIELD_NUMBER
public static final int TRY_ONE_PC_FIELD_NUMBER- See Also:
-
MAX_COMMIT_TS_FIELD_NUMBER
public static final int MAX_COMMIT_TS_FIELD_NUMBER- See Also:
-
PESSIMISTIC_CHECKS_FIELD_NUMBER
public static final int PESSIMISTIC_CHECKS_FIELD_NUMBER- See Also:
-
FOR_UPDATE_TS_CHECKS_FIELD_NUMBER
public static final int FOR_UPDATE_TS_CHECKS_FIELD_NUMBER- See Also:
-
LOCK_EXTRA_DATAS_FIELD_NUMBER
public static final int LOCK_EXTRA_DATAS_FIELD_NUMBER- See Also:
-
MIN_COMMIT_TS_FIELD_NUMBER
public static final int MIN_COMMIT_TS_FIELD_NUMBER- See Also:
-
USE_ASYNC_COMMIT_FIELD_NUMBER
public static final int USE_ASYNC_COMMIT_FIELD_NUMBER- See Also:
-
SECONDARIES_FIELD_NUMBER
public static final int SECONDARIES_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasRequestInfo
public boolean hasRequestInfo().dingodb.pb.common.RequestInfo request_info = 1;- Specified by:
hasRequestInfoin interfaceStore.TxnPrewriteRequestOrBuilder- Returns:
- Whether the requestInfo field is set.
-
getRequestInfo
.dingodb.pb.common.RequestInfo request_info = 1;- Specified by:
getRequestInfoin interfaceStore.TxnPrewriteRequestOrBuilder- Returns:
- The requestInfo.
-
getRequestInfoOrBuilder
.dingodb.pb.common.RequestInfo request_info = 1;- Specified by:
getRequestInfoOrBuilderin interfaceStore.TxnPrewriteRequestOrBuilder
-
hasContext
public boolean hasContext().dingodb.pb.store.Context context = 2;- Specified by:
hasContextin interfaceStore.TxnPrewriteRequestOrBuilder- Returns:
- Whether the context field is set.
-
getContext
.dingodb.pb.store.Context context = 2;- Specified by:
getContextin interfaceStore.TxnPrewriteRequestOrBuilder- Returns:
- The context.
-
getContextOrBuilder
.dingodb.pb.store.Context context = 2;- Specified by:
getContextOrBuilderin interfaceStore.TxnPrewriteRequestOrBuilder
-
getMutationsList
The data to be written to the database.
repeated .dingodb.pb.store.Mutation mutations = 3;- Specified by:
getMutationsListin interfaceStore.TxnPrewriteRequestOrBuilder
-
getMutationsOrBuilderList
The data to be written to the database.
repeated .dingodb.pb.store.Mutation mutations = 3;- Specified by:
getMutationsOrBuilderListin interfaceStore.TxnPrewriteRequestOrBuilder
-
getMutationsCount
public int getMutationsCount()The data to be written to the database.
repeated .dingodb.pb.store.Mutation mutations = 3;- Specified by:
getMutationsCountin interfaceStore.TxnPrewriteRequestOrBuilder
-
getMutations
The data to be written to the database.
repeated .dingodb.pb.store.Mutation mutations = 3;- Specified by:
getMutationsin interfaceStore.TxnPrewriteRequestOrBuilder
-
getMutationsOrBuilder
The data to be written to the database.
repeated .dingodb.pb.store.Mutation mutations = 3;- Specified by:
getMutationsOrBuilderin interfaceStore.TxnPrewriteRequestOrBuilder
-
getPrimaryLock
public com.google.protobuf.ByteString getPrimaryLock()The primary lock of the transaction is setup by client
bytes primary_lock = 4;- Specified by:
getPrimaryLockin interfaceStore.TxnPrewriteRequestOrBuilder- Returns:
- The primaryLock.
-
getStartTs
public long getStartTs()Identifies the transaction being written.
int64 start_ts = 5;- Specified by:
getStartTsin interfaceStore.TxnPrewriteRequestOrBuilder- Returns:
- The startTs.
-
getLockTtl
public long getLockTtl()the lock's ttl is timestamp in milisecond.
int64 lock_ttl = 6;- Specified by:
getLockTtlin interfaceStore.TxnPrewriteRequestOrBuilder- Returns:
- The lockTtl.
-
getTxnSize
public long getTxnSize()the number of keys involved in the transaction
int64 txn_size = 7;- Specified by:
getTxnSizein interfaceStore.TxnPrewriteRequestOrBuilder- Returns:
- The txnSize.
-
getTryOnePc
public boolean getTryOnePc()When the transaction involves only one region, it's possible to commit the transaction directly with 1PC protocol.
bool try_one_pc = 8;- Specified by:
getTryOnePcin interfaceStore.TxnPrewriteRequestOrBuilder- Returns:
- The tryOnePc.
-
getMaxCommitTs
public long getMaxCommitTs()The max commit ts is reserved for limiting the commit ts of 1PC, which can be used to avoid inconsistency with schema change. This field is unused now.
int64 max_commit_ts = 9;- Specified by:
getMaxCommitTsin interfaceStore.TxnPrewriteRequestOrBuilder- Returns:
- The maxCommitTs.
-
getPessimisticChecksList
for pessimistic transaction check if the keys is locked by pessimistic transaction
repeated .dingodb.pb.store.TxnPrewriteRequest.PessimisticCheck pessimistic_checks = 10;- Specified by:
getPessimisticChecksListin interfaceStore.TxnPrewriteRequestOrBuilder- Returns:
- A list containing the pessimisticChecks.
-
getPessimisticChecksCount
public int getPessimisticChecksCount()for pessimistic transaction check if the keys is locked by pessimistic transaction
repeated .dingodb.pb.store.TxnPrewriteRequest.PessimisticCheck pessimistic_checks = 10;- Specified by:
getPessimisticChecksCountin interfaceStore.TxnPrewriteRequestOrBuilder- Returns:
- The count of pessimisticChecks.
-
getPessimisticChecks
for pessimistic transaction check if the keys is locked by pessimistic transaction
repeated .dingodb.pb.store.TxnPrewriteRequest.PessimisticCheck pessimistic_checks = 10;- Specified by:
getPessimisticChecksin interfaceStore.TxnPrewriteRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The pessimisticChecks at the given index.
-
getPessimisticChecksValueList
for pessimistic transaction check if the keys is locked by pessimistic transaction
repeated .dingodb.pb.store.TxnPrewriteRequest.PessimisticCheck pessimistic_checks = 10;- Specified by:
getPessimisticChecksValueListin interfaceStore.TxnPrewriteRequestOrBuilder- Returns:
- A list containing the enum numeric values on the wire for pessimisticChecks.
-
getPessimisticChecksValue
public int getPessimisticChecksValue(int index) for pessimistic transaction check if the keys is locked by pessimistic transaction
repeated .dingodb.pb.store.TxnPrewriteRequest.PessimisticCheck pessimistic_checks = 10;- Specified by:
getPessimisticChecksValuein interfaceStore.TxnPrewriteRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of pessimisticChecks at the given index.
-
getForUpdateTsChecksList
fo pessimistic transaction for_update_ts constriants that should be checked when prewriting a pessimistic transaction.
repeated .dingodb.pb.store.TxnPrewriteRequest.ForUpdateTsCheck for_update_ts_checks = 11;- Specified by:
getForUpdateTsChecksListin interfaceStore.TxnPrewriteRequestOrBuilder
-
getForUpdateTsChecksOrBuilderList
public List<? extends Store.TxnPrewriteRequest.ForUpdateTsCheckOrBuilder> getForUpdateTsChecksOrBuilderList()fo pessimistic transaction for_update_ts constriants that should be checked when prewriting a pessimistic transaction.
repeated .dingodb.pb.store.TxnPrewriteRequest.ForUpdateTsCheck for_update_ts_checks = 11;- Specified by:
getForUpdateTsChecksOrBuilderListin interfaceStore.TxnPrewriteRequestOrBuilder
-
getForUpdateTsChecksCount
public int getForUpdateTsChecksCount()fo pessimistic transaction for_update_ts constriants that should be checked when prewriting a pessimistic transaction.
repeated .dingodb.pb.store.TxnPrewriteRequest.ForUpdateTsCheck for_update_ts_checks = 11;- Specified by:
getForUpdateTsChecksCountin interfaceStore.TxnPrewriteRequestOrBuilder
-
getForUpdateTsChecks
fo pessimistic transaction for_update_ts constriants that should be checked when prewriting a pessimistic transaction.
repeated .dingodb.pb.store.TxnPrewriteRequest.ForUpdateTsCheck for_update_ts_checks = 11;- Specified by:
getForUpdateTsChecksin interfaceStore.TxnPrewriteRequestOrBuilder
-
getForUpdateTsChecksOrBuilder
fo pessimistic transaction for_update_ts constriants that should be checked when prewriting a pessimistic transaction.
repeated .dingodb.pb.store.TxnPrewriteRequest.ForUpdateTsCheck for_update_ts_checks = 11;- Specified by:
getForUpdateTsChecksOrBuilderin interfaceStore.TxnPrewriteRequestOrBuilder
-
getLockExtraDatasList
for both pessimistic and optimistic transaction the extra_data executor want to store in lock
repeated .dingodb.pb.store.TxnPrewriteRequest.LockExtraData lock_extra_datas = 12;- Specified by:
getLockExtraDatasListin interfaceStore.TxnPrewriteRequestOrBuilder
-
getLockExtraDatasOrBuilderList
public List<? extends Store.TxnPrewriteRequest.LockExtraDataOrBuilder> getLockExtraDatasOrBuilderList()for both pessimistic and optimistic transaction the extra_data executor want to store in lock
repeated .dingodb.pb.store.TxnPrewriteRequest.LockExtraData lock_extra_datas = 12;- Specified by:
getLockExtraDatasOrBuilderListin interfaceStore.TxnPrewriteRequestOrBuilder
-
getLockExtraDatasCount
public int getLockExtraDatasCount()for both pessimistic and optimistic transaction the extra_data executor want to store in lock
repeated .dingodb.pb.store.TxnPrewriteRequest.LockExtraData lock_extra_datas = 12;- Specified by:
getLockExtraDatasCountin interfaceStore.TxnPrewriteRequestOrBuilder
-
getLockExtraDatas
for both pessimistic and optimistic transaction the extra_data executor want to store in lock
repeated .dingodb.pb.store.TxnPrewriteRequest.LockExtraData lock_extra_datas = 12;- Specified by:
getLockExtraDatasin interfaceStore.TxnPrewriteRequestOrBuilder
-
getLockExtraDatasOrBuilder
for both pessimistic and optimistic transaction the extra_data executor want to store in lock
repeated .dingodb.pb.store.TxnPrewriteRequest.LockExtraData lock_extra_datas = 12;- Specified by:
getLockExtraDatasOrBuilderin interfaceStore.TxnPrewriteRequestOrBuilder
-
getMinCommitTs
public long getMinCommitTs()If min_commit_ts > 0, this is a large transaction request, the final commit_ts will be inferred from `min_commit_ts`.
int64 min_commit_ts = 13;- Specified by:
getMinCommitTsin interfaceStore.TxnPrewriteRequestOrBuilder- Returns:
- The minCommitTs.
-
getUseAsyncCommit
public boolean getUseAsyncCommit()When async commit is enabled, `secondaries` should be set as the key list of all secondary locks if the request prewrites the primary lock.
bool use_async_commit = 14;- Specified by:
getUseAsyncCommitin interfaceStore.TxnPrewriteRequestOrBuilder- Returns:
- The useAsyncCommit.
-
getSecondariesList
repeated bytes secondaries = 15;- Specified by:
getSecondariesListin interfaceStore.TxnPrewriteRequestOrBuilder- Returns:
- A list containing the secondaries.
-
getSecondariesCount
public int getSecondariesCount()repeated bytes secondaries = 15;- Specified by:
getSecondariesCountin interfaceStore.TxnPrewriteRequestOrBuilder- Returns:
- The count of secondaries.
-
getSecondaries
public com.google.protobuf.ByteString getSecondaries(int index) repeated bytes secondaries = 15;- Specified by:
getSecondariesin interfaceStore.TxnPrewriteRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The secondaries at the given index.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Store.TxnPrewriteRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Store.TxnPrewriteRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Store.TxnPrewriteRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Store.TxnPrewriteRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Store.TxnPrewriteRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Store.TxnPrewriteRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Store.TxnPrewriteRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Store.TxnPrewriteRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Store.TxnPrewriteRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Store.TxnPrewriteRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Store.TxnPrewriteRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-