Package io.etcd.jetcd.api
Class TxnRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<TxnRequest.Builder>
-
- io.etcd.jetcd.api.TxnRequest.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,TxnRequestOrBuilder,java.lang.Cloneable
- Enclosing class:
- TxnRequest
public static final class TxnRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TxnRequest.Builder> implements TxnRequestOrBuilder
From google paxosdb paper: Our implementation hinges around a powerful primitive which we call MultiOp. All other database operations except for iteration are implemented as a single call to MultiOp. A MultiOp is applied atomically and consists of three components: 1. A list of tests called guard. Each test in guard checks a single entry in the database. It may check for the absence or presence of a value, or compare with a given value. Two different tests in the guard may apply to the same or different entries in the database. All tests in the guard are applied and MultiOp returns the results. If all tests are true, MultiOp executes t op (see item 2 below), otherwise it executes f op (see item 3 below). 2. A list of database operations called t op. Each operation in the list is either an insert, delete, or lookup operation, and applies to a single database entry. Two different operations in the list may apply to the same or different entries in the database. These operations are executed if guard evaluates to true. 3. A list of database operations called f op. Like t op, but executed if guard evaluates to false.
Protobuf typeetcdserverpb.TxnRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TxnRequest.BuilderaddAllCompare(java.lang.Iterable<? extends Compare> values)compare is a list of predicates representing a conjunction of terms.TxnRequest.BuilderaddAllFailure(java.lang.Iterable<? extends RequestOp> values)failure is a list of requests which will be applied when compare evaluates to false.TxnRequest.BuilderaddAllSuccess(java.lang.Iterable<? extends RequestOp> values)success is a list of requests which will be applied when compare evaluates to true.TxnRequest.BuilderaddCompare(int index, Compare value)compare is a list of predicates representing a conjunction of terms.TxnRequest.BuilderaddCompare(int index, Compare.Builder builderForValue)compare is a list of predicates representing a conjunction of terms.TxnRequest.BuilderaddCompare(Compare value)compare is a list of predicates representing a conjunction of terms.TxnRequest.BuilderaddCompare(Compare.Builder builderForValue)compare is a list of predicates representing a conjunction of terms.Compare.BuilderaddCompareBuilder()compare is a list of predicates representing a conjunction of terms.Compare.BuilderaddCompareBuilder(int index)compare is a list of predicates representing a conjunction of terms.TxnRequest.BuilderaddFailure(int index, RequestOp value)failure is a list of requests which will be applied when compare evaluates to false.TxnRequest.BuilderaddFailure(int index, RequestOp.Builder builderForValue)failure is a list of requests which will be applied when compare evaluates to false.TxnRequest.BuilderaddFailure(RequestOp value)failure is a list of requests which will be applied when compare evaluates to false.TxnRequest.BuilderaddFailure(RequestOp.Builder builderForValue)failure is a list of requests which will be applied when compare evaluates to false.RequestOp.BuilderaddFailureBuilder()failure is a list of requests which will be applied when compare evaluates to false.RequestOp.BuilderaddFailureBuilder(int index)failure is a list of requests which will be applied when compare evaluates to false.TxnRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)TxnRequest.BuilderaddSuccess(int index, RequestOp value)success is a list of requests which will be applied when compare evaluates to true.TxnRequest.BuilderaddSuccess(int index, RequestOp.Builder builderForValue)success is a list of requests which will be applied when compare evaluates to true.TxnRequest.BuilderaddSuccess(RequestOp value)success is a list of requests which will be applied when compare evaluates to true.TxnRequest.BuilderaddSuccess(RequestOp.Builder builderForValue)success is a list of requests which will be applied when compare evaluates to true.RequestOp.BuilderaddSuccessBuilder()success is a list of requests which will be applied when compare evaluates to true.RequestOp.BuilderaddSuccessBuilder(int index)success is a list of requests which will be applied when compare evaluates to true.TxnRequestbuild()TxnRequestbuildPartial()TxnRequest.Builderclear()TxnRequest.BuilderclearCompare()compare is a list of predicates representing a conjunction of terms.TxnRequest.BuilderclearFailure()failure is a list of requests which will be applied when compare evaluates to false.TxnRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)TxnRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)TxnRequest.BuilderclearSuccess()success is a list of requests which will be applied when compare evaluates to true.TxnRequest.Builderclone()ComparegetCompare(int index)compare is a list of predicates representing a conjunction of terms.Compare.BuildergetCompareBuilder(int index)compare is a list of predicates representing a conjunction of terms.java.util.List<Compare.Builder>getCompareBuilderList()compare is a list of predicates representing a conjunction of terms.intgetCompareCount()compare is a list of predicates representing a conjunction of terms.java.util.List<Compare>getCompareList()compare is a list of predicates representing a conjunction of terms.CompareOrBuildergetCompareOrBuilder(int index)compare is a list of predicates representing a conjunction of terms.java.util.List<? extends CompareOrBuilder>getCompareOrBuilderList()compare is a list of predicates representing a conjunction of terms.TxnRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()RequestOpgetFailure(int index)failure is a list of requests which will be applied when compare evaluates to false.RequestOp.BuildergetFailureBuilder(int index)failure is a list of requests which will be applied when compare evaluates to false.java.util.List<RequestOp.Builder>getFailureBuilderList()failure is a list of requests which will be applied when compare evaluates to false.intgetFailureCount()failure is a list of requests which will be applied when compare evaluates to false.java.util.List<RequestOp>getFailureList()failure is a list of requests which will be applied when compare evaluates to false.RequestOpOrBuildergetFailureOrBuilder(int index)failure is a list of requests which will be applied when compare evaluates to false.java.util.List<? extends RequestOpOrBuilder>getFailureOrBuilderList()failure is a list of requests which will be applied when compare evaluates to false.RequestOpgetSuccess(int index)success is a list of requests which will be applied when compare evaluates to true.RequestOp.BuildergetSuccessBuilder(int index)success is a list of requests which will be applied when compare evaluates to true.java.util.List<RequestOp.Builder>getSuccessBuilderList()success is a list of requests which will be applied when compare evaluates to true.intgetSuccessCount()success is a list of requests which will be applied when compare evaluates to true.java.util.List<RequestOp>getSuccessList()success is a list of requests which will be applied when compare evaluates to true.RequestOpOrBuildergetSuccessOrBuilder(int index)success is a list of requests which will be applied when compare evaluates to true.java.util.List<? extends RequestOpOrBuilder>getSuccessOrBuilderList()success is a list of requests which will be applied when compare evaluates to true.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()TxnRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)TxnRequest.BuildermergeFrom(com.google.protobuf.Message other)TxnRequest.BuildermergeFrom(TxnRequest other)TxnRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)TxnRequest.BuilderremoveCompare(int index)compare is a list of predicates representing a conjunction of terms.TxnRequest.BuilderremoveFailure(int index)failure is a list of requests which will be applied when compare evaluates to false.TxnRequest.BuilderremoveSuccess(int index)success is a list of requests which will be applied when compare evaluates to true.TxnRequest.BuildersetCompare(int index, Compare value)compare is a list of predicates representing a conjunction of terms.TxnRequest.BuildersetCompare(int index, Compare.Builder builderForValue)compare is a list of predicates representing a conjunction of terms.TxnRequest.BuildersetFailure(int index, RequestOp value)failure is a list of requests which will be applied when compare evaluates to false.TxnRequest.BuildersetFailure(int index, RequestOp.Builder builderForValue)failure is a list of requests which will be applied when compare evaluates to false.TxnRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)TxnRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)TxnRequest.BuildersetSuccess(int index, RequestOp value)success is a list of requests which will be applied when compare evaluates to true.TxnRequest.BuildersetSuccess(int index, RequestOp.Builder builderForValue)success is a list of requests which will be applied when compare evaluates to true.TxnRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
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.Builder<TxnRequest.Builder>
-
clear
public TxnRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<TxnRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<TxnRequest.Builder>
-
getDefaultInstanceForType
public TxnRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public TxnRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TxnRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TxnRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<TxnRequest.Builder>
-
setField
public TxnRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TxnRequest.Builder>
-
clearField
public TxnRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TxnRequest.Builder>
-
clearOneof
public TxnRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<TxnRequest.Builder>
-
setRepeatedField
public TxnRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TxnRequest.Builder>
-
addRepeatedField
public TxnRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TxnRequest.Builder>
-
mergeFrom
public TxnRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TxnRequest.Builder>
-
mergeFrom
public TxnRequest.Builder mergeFrom(TxnRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<TxnRequest.Builder>
-
mergeFrom
public TxnRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TxnRequest.Builder>- Throws:
java.io.IOException
-
getCompareList
public java.util.List<Compare> getCompareList()
compare is a list of predicates representing a conjunction of terms. If the comparisons succeed, then the success requests will be processed in order, and the response will contain their respective responses in order. If the comparisons fail, then the failure requests will be processed in order, and the response will contain their respective responses in order.
repeated .etcdserverpb.Compare compare = 1;- Specified by:
getCompareListin interfaceTxnRequestOrBuilder
-
getCompareCount
public int getCompareCount()
compare is a list of predicates representing a conjunction of terms. If the comparisons succeed, then the success requests will be processed in order, and the response will contain their respective responses in order. If the comparisons fail, then the failure requests will be processed in order, and the response will contain their respective responses in order.
repeated .etcdserverpb.Compare compare = 1;- Specified by:
getCompareCountin interfaceTxnRequestOrBuilder
-
getCompare
public Compare getCompare(int index)
compare is a list of predicates representing a conjunction of terms. If the comparisons succeed, then the success requests will be processed in order, and the response will contain their respective responses in order. If the comparisons fail, then the failure requests will be processed in order, and the response will contain their respective responses in order.
repeated .etcdserverpb.Compare compare = 1;- Specified by:
getComparein interfaceTxnRequestOrBuilder
-
setCompare
public TxnRequest.Builder setCompare(int index, Compare value)
compare is a list of predicates representing a conjunction of terms. If the comparisons succeed, then the success requests will be processed in order, and the response will contain their respective responses in order. If the comparisons fail, then the failure requests will be processed in order, and the response will contain their respective responses in order.
repeated .etcdserverpb.Compare compare = 1;
-
setCompare
public TxnRequest.Builder setCompare(int index, Compare.Builder builderForValue)
compare is a list of predicates representing a conjunction of terms. If the comparisons succeed, then the success requests will be processed in order, and the response will contain their respective responses in order. If the comparisons fail, then the failure requests will be processed in order, and the response will contain their respective responses in order.
repeated .etcdserverpb.Compare compare = 1;
-
addCompare
public TxnRequest.Builder addCompare(Compare value)
compare is a list of predicates representing a conjunction of terms. If the comparisons succeed, then the success requests will be processed in order, and the response will contain their respective responses in order. If the comparisons fail, then the failure requests will be processed in order, and the response will contain their respective responses in order.
repeated .etcdserverpb.Compare compare = 1;
-
addCompare
public TxnRequest.Builder addCompare(int index, Compare value)
compare is a list of predicates representing a conjunction of terms. If the comparisons succeed, then the success requests will be processed in order, and the response will contain their respective responses in order. If the comparisons fail, then the failure requests will be processed in order, and the response will contain their respective responses in order.
repeated .etcdserverpb.Compare compare = 1;
-
addCompare
public TxnRequest.Builder addCompare(Compare.Builder builderForValue)
compare is a list of predicates representing a conjunction of terms. If the comparisons succeed, then the success requests will be processed in order, and the response will contain their respective responses in order. If the comparisons fail, then the failure requests will be processed in order, and the response will contain their respective responses in order.
repeated .etcdserverpb.Compare compare = 1;
-
addCompare
public TxnRequest.Builder addCompare(int index, Compare.Builder builderForValue)
compare is a list of predicates representing a conjunction of terms. If the comparisons succeed, then the success requests will be processed in order, and the response will contain their respective responses in order. If the comparisons fail, then the failure requests will be processed in order, and the response will contain their respective responses in order.
repeated .etcdserverpb.Compare compare = 1;
-
addAllCompare
public TxnRequest.Builder addAllCompare(java.lang.Iterable<? extends Compare> values)
compare is a list of predicates representing a conjunction of terms. If the comparisons succeed, then the success requests will be processed in order, and the response will contain their respective responses in order. If the comparisons fail, then the failure requests will be processed in order, and the response will contain their respective responses in order.
repeated .etcdserverpb.Compare compare = 1;
-
clearCompare
public TxnRequest.Builder clearCompare()
compare is a list of predicates representing a conjunction of terms. If the comparisons succeed, then the success requests will be processed in order, and the response will contain their respective responses in order. If the comparisons fail, then the failure requests will be processed in order, and the response will contain their respective responses in order.
repeated .etcdserverpb.Compare compare = 1;
-
removeCompare
public TxnRequest.Builder removeCompare(int index)
compare is a list of predicates representing a conjunction of terms. If the comparisons succeed, then the success requests will be processed in order, and the response will contain their respective responses in order. If the comparisons fail, then the failure requests will be processed in order, and the response will contain their respective responses in order.
repeated .etcdserverpb.Compare compare = 1;
-
getCompareBuilder
public Compare.Builder getCompareBuilder(int index)
compare is a list of predicates representing a conjunction of terms. If the comparisons succeed, then the success requests will be processed in order, and the response will contain their respective responses in order. If the comparisons fail, then the failure requests will be processed in order, and the response will contain their respective responses in order.
repeated .etcdserverpb.Compare compare = 1;
-
getCompareOrBuilder
public CompareOrBuilder getCompareOrBuilder(int index)
compare is a list of predicates representing a conjunction of terms. If the comparisons succeed, then the success requests will be processed in order, and the response will contain their respective responses in order. If the comparisons fail, then the failure requests will be processed in order, and the response will contain their respective responses in order.
repeated .etcdserverpb.Compare compare = 1;- Specified by:
getCompareOrBuilderin interfaceTxnRequestOrBuilder
-
getCompareOrBuilderList
public java.util.List<? extends CompareOrBuilder> getCompareOrBuilderList()
compare is a list of predicates representing a conjunction of terms. If the comparisons succeed, then the success requests will be processed in order, and the response will contain their respective responses in order. If the comparisons fail, then the failure requests will be processed in order, and the response will contain their respective responses in order.
repeated .etcdserverpb.Compare compare = 1;- Specified by:
getCompareOrBuilderListin interfaceTxnRequestOrBuilder
-
addCompareBuilder
public Compare.Builder addCompareBuilder()
compare is a list of predicates representing a conjunction of terms. If the comparisons succeed, then the success requests will be processed in order, and the response will contain their respective responses in order. If the comparisons fail, then the failure requests will be processed in order, and the response will contain their respective responses in order.
repeated .etcdserverpb.Compare compare = 1;
-
addCompareBuilder
public Compare.Builder addCompareBuilder(int index)
compare is a list of predicates representing a conjunction of terms. If the comparisons succeed, then the success requests will be processed in order, and the response will contain their respective responses in order. If the comparisons fail, then the failure requests will be processed in order, and the response will contain their respective responses in order.
repeated .etcdserverpb.Compare compare = 1;
-
getCompareBuilderList
public java.util.List<Compare.Builder> getCompareBuilderList()
compare is a list of predicates representing a conjunction of terms. If the comparisons succeed, then the success requests will be processed in order, and the response will contain their respective responses in order. If the comparisons fail, then the failure requests will be processed in order, and the response will contain their respective responses in order.
repeated .etcdserverpb.Compare compare = 1;
-
getSuccessList
public java.util.List<RequestOp> getSuccessList()
success is a list of requests which will be applied when compare evaluates to true.
repeated .etcdserverpb.RequestOp success = 2;- Specified by:
getSuccessListin interfaceTxnRequestOrBuilder
-
getSuccessCount
public int getSuccessCount()
success is a list of requests which will be applied when compare evaluates to true.
repeated .etcdserverpb.RequestOp success = 2;- Specified by:
getSuccessCountin interfaceTxnRequestOrBuilder
-
getSuccess
public RequestOp getSuccess(int index)
success is a list of requests which will be applied when compare evaluates to true.
repeated .etcdserverpb.RequestOp success = 2;- Specified by:
getSuccessin interfaceTxnRequestOrBuilder
-
setSuccess
public TxnRequest.Builder setSuccess(int index, RequestOp value)
success is a list of requests which will be applied when compare evaluates to true.
repeated .etcdserverpb.RequestOp success = 2;
-
setSuccess
public TxnRequest.Builder setSuccess(int index, RequestOp.Builder builderForValue)
success is a list of requests which will be applied when compare evaluates to true.
repeated .etcdserverpb.RequestOp success = 2;
-
addSuccess
public TxnRequest.Builder addSuccess(RequestOp value)
success is a list of requests which will be applied when compare evaluates to true.
repeated .etcdserverpb.RequestOp success = 2;
-
addSuccess
public TxnRequest.Builder addSuccess(int index, RequestOp value)
success is a list of requests which will be applied when compare evaluates to true.
repeated .etcdserverpb.RequestOp success = 2;
-
addSuccess
public TxnRequest.Builder addSuccess(RequestOp.Builder builderForValue)
success is a list of requests which will be applied when compare evaluates to true.
repeated .etcdserverpb.RequestOp success = 2;
-
addSuccess
public TxnRequest.Builder addSuccess(int index, RequestOp.Builder builderForValue)
success is a list of requests which will be applied when compare evaluates to true.
repeated .etcdserverpb.RequestOp success = 2;
-
addAllSuccess
public TxnRequest.Builder addAllSuccess(java.lang.Iterable<? extends RequestOp> values)
success is a list of requests which will be applied when compare evaluates to true.
repeated .etcdserverpb.RequestOp success = 2;
-
clearSuccess
public TxnRequest.Builder clearSuccess()
success is a list of requests which will be applied when compare evaluates to true.
repeated .etcdserverpb.RequestOp success = 2;
-
removeSuccess
public TxnRequest.Builder removeSuccess(int index)
success is a list of requests which will be applied when compare evaluates to true.
repeated .etcdserverpb.RequestOp success = 2;
-
getSuccessBuilder
public RequestOp.Builder getSuccessBuilder(int index)
success is a list of requests which will be applied when compare evaluates to true.
repeated .etcdserverpb.RequestOp success = 2;
-
getSuccessOrBuilder
public RequestOpOrBuilder getSuccessOrBuilder(int index)
success is a list of requests which will be applied when compare evaluates to true.
repeated .etcdserverpb.RequestOp success = 2;- Specified by:
getSuccessOrBuilderin interfaceTxnRequestOrBuilder
-
getSuccessOrBuilderList
public java.util.List<? extends RequestOpOrBuilder> getSuccessOrBuilderList()
success is a list of requests which will be applied when compare evaluates to true.
repeated .etcdserverpb.RequestOp success = 2;- Specified by:
getSuccessOrBuilderListin interfaceTxnRequestOrBuilder
-
addSuccessBuilder
public RequestOp.Builder addSuccessBuilder()
success is a list of requests which will be applied when compare evaluates to true.
repeated .etcdserverpb.RequestOp success = 2;
-
addSuccessBuilder
public RequestOp.Builder addSuccessBuilder(int index)
success is a list of requests which will be applied when compare evaluates to true.
repeated .etcdserverpb.RequestOp success = 2;
-
getSuccessBuilderList
public java.util.List<RequestOp.Builder> getSuccessBuilderList()
success is a list of requests which will be applied when compare evaluates to true.
repeated .etcdserverpb.RequestOp success = 2;
-
getFailureList
public java.util.List<RequestOp> getFailureList()
failure is a list of requests which will be applied when compare evaluates to false.
repeated .etcdserverpb.RequestOp failure = 3;- Specified by:
getFailureListin interfaceTxnRequestOrBuilder
-
getFailureCount
public int getFailureCount()
failure is a list of requests which will be applied when compare evaluates to false.
repeated .etcdserverpb.RequestOp failure = 3;- Specified by:
getFailureCountin interfaceTxnRequestOrBuilder
-
getFailure
public RequestOp getFailure(int index)
failure is a list of requests which will be applied when compare evaluates to false.
repeated .etcdserverpb.RequestOp failure = 3;- Specified by:
getFailurein interfaceTxnRequestOrBuilder
-
setFailure
public TxnRequest.Builder setFailure(int index, RequestOp value)
failure is a list of requests which will be applied when compare evaluates to false.
repeated .etcdserverpb.RequestOp failure = 3;
-
setFailure
public TxnRequest.Builder setFailure(int index, RequestOp.Builder builderForValue)
failure is a list of requests which will be applied when compare evaluates to false.
repeated .etcdserverpb.RequestOp failure = 3;
-
addFailure
public TxnRequest.Builder addFailure(RequestOp value)
failure is a list of requests which will be applied when compare evaluates to false.
repeated .etcdserverpb.RequestOp failure = 3;
-
addFailure
public TxnRequest.Builder addFailure(int index, RequestOp value)
failure is a list of requests which will be applied when compare evaluates to false.
repeated .etcdserverpb.RequestOp failure = 3;
-
addFailure
public TxnRequest.Builder addFailure(RequestOp.Builder builderForValue)
failure is a list of requests which will be applied when compare evaluates to false.
repeated .etcdserverpb.RequestOp failure = 3;
-
addFailure
public TxnRequest.Builder addFailure(int index, RequestOp.Builder builderForValue)
failure is a list of requests which will be applied when compare evaluates to false.
repeated .etcdserverpb.RequestOp failure = 3;
-
addAllFailure
public TxnRequest.Builder addAllFailure(java.lang.Iterable<? extends RequestOp> values)
failure is a list of requests which will be applied when compare evaluates to false.
repeated .etcdserverpb.RequestOp failure = 3;
-
clearFailure
public TxnRequest.Builder clearFailure()
failure is a list of requests which will be applied when compare evaluates to false.
repeated .etcdserverpb.RequestOp failure = 3;
-
removeFailure
public TxnRequest.Builder removeFailure(int index)
failure is a list of requests which will be applied when compare evaluates to false.
repeated .etcdserverpb.RequestOp failure = 3;
-
getFailureBuilder
public RequestOp.Builder getFailureBuilder(int index)
failure is a list of requests which will be applied when compare evaluates to false.
repeated .etcdserverpb.RequestOp failure = 3;
-
getFailureOrBuilder
public RequestOpOrBuilder getFailureOrBuilder(int index)
failure is a list of requests which will be applied when compare evaluates to false.
repeated .etcdserverpb.RequestOp failure = 3;- Specified by:
getFailureOrBuilderin interfaceTxnRequestOrBuilder
-
getFailureOrBuilderList
public java.util.List<? extends RequestOpOrBuilder> getFailureOrBuilderList()
failure is a list of requests which will be applied when compare evaluates to false.
repeated .etcdserverpb.RequestOp failure = 3;- Specified by:
getFailureOrBuilderListin interfaceTxnRequestOrBuilder
-
addFailureBuilder
public RequestOp.Builder addFailureBuilder()
failure is a list of requests which will be applied when compare evaluates to false.
repeated .etcdserverpb.RequestOp failure = 3;
-
addFailureBuilder
public RequestOp.Builder addFailureBuilder(int index)
failure is a list of requests which will be applied when compare evaluates to false.
repeated .etcdserverpb.RequestOp failure = 3;
-
getFailureBuilderList
public java.util.List<RequestOp.Builder> getFailureBuilderList()
failure is a list of requests which will be applied when compare evaluates to false.
repeated .etcdserverpb.RequestOp failure = 3;
-
setUnknownFields
public final TxnRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TxnRequest.Builder>
-
mergeUnknownFields
public final TxnRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TxnRequest.Builder>
-
-