Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: rpc.proto
package io.helidon.config.etcd.internal.client.proto;
/**
*
* 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 type {@code etcdserverpb.TxnRequest}
*/
public final class TxnRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:etcdserverpb.TxnRequest)
TxnRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use TxnRequest.newBuilder() to construct.
private TxnRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private TxnRequest() {
compare_ = java.util.Collections.emptyList();
success_ = java.util.Collections.emptyList();
failure_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TxnRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.helidon.config.etcd.internal.client.proto.EtcdProto.internal_static_etcdserverpb_TxnRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.helidon.config.etcd.internal.client.proto.EtcdProto.internal_static_etcdserverpb_TxnRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.helidon.config.etcd.internal.client.proto.TxnRequest.class, io.helidon.config.etcd.internal.client.proto.TxnRequest.Builder.class);
}
public static final int COMPARE_FIELD_NUMBER = 1;
private java.util.List compare_;
/**
*
* 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.
*
* 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.
*
* 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;
*/
@java.lang.Override
public int getCompareCount() {
return compare_.size();
}
/**
*
* 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.
*
* 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;
*/
@java.lang.Override
public io.helidon.config.etcd.internal.client.proto.CompareOrBuilder getCompareOrBuilder(
int index) {
return compare_.get(index);
}
public static final int SUCCESS_FIELD_NUMBER = 2;
private java.util.List success_;
/**
*
* success is a list of requests which will be applied when compare evaluates to true.
*
* failure is a list of requests which will be applied when compare evaluates to false.
*
*
* repeated .etcdserverpb.RequestOp failure = 3;
*/
@java.lang.Override
public io.helidon.config.etcd.internal.client.proto.RequestOpOrBuilder getFailureOrBuilder(
int index) {
return failure_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < compare_.size(); i++) {
output.writeMessage(1, compare_.get(i));
}
for (int i = 0; i < success_.size(); i++) {
output.writeMessage(2, success_.get(i));
}
for (int i = 0; i < failure_.size(); i++) {
output.writeMessage(3, failure_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < compare_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, compare_.get(i));
}
for (int i = 0; i < success_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, success_.get(i));
}
for (int i = 0; i < failure_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, failure_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof io.helidon.config.etcd.internal.client.proto.TxnRequest)) {
return super.equals(obj);
}
io.helidon.config.etcd.internal.client.proto.TxnRequest other = (io.helidon.config.etcd.internal.client.proto.TxnRequest) obj;
if (!getCompareList()
.equals(other.getCompareList())) return false;
if (!getSuccessList()
.equals(other.getSuccessList())) return false;
if (!getFailureList()
.equals(other.getFailureList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getCompareCount() > 0) {
hash = (37 * hash) + COMPARE_FIELD_NUMBER;
hash = (53 * hash) + getCompareList().hashCode();
}
if (getSuccessCount() > 0) {
hash = (37 * hash) + SUCCESS_FIELD_NUMBER;
hash = (53 * hash) + getSuccessList().hashCode();
}
if (getFailureCount() > 0) {
hash = (37 * hash) + FAILURE_FIELD_NUMBER;
hash = (53 * hash) + getFailureList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.helidon.config.etcd.internal.client.proto.TxnRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.helidon.config.etcd.internal.client.proto.TxnRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.helidon.config.etcd.internal.client.proto.TxnRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.helidon.config.etcd.internal.client.proto.TxnRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.helidon.config.etcd.internal.client.proto.TxnRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.helidon.config.etcd.internal.client.proto.TxnRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.helidon.config.etcd.internal.client.proto.TxnRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.helidon.config.etcd.internal.client.proto.TxnRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static io.helidon.config.etcd.internal.client.proto.TxnRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.helidon.config.etcd.internal.client.proto.TxnRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.helidon.config.etcd.internal.client.proto.TxnRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.helidon.config.etcd.internal.client.proto.TxnRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(io.helidon.config.etcd.internal.client.proto.TxnRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* 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 type {@code etcdserverpb.TxnRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:etcdserverpb.TxnRequest)
io.helidon.config.etcd.internal.client.proto.TxnRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.helidon.config.etcd.internal.client.proto.EtcdProto.internal_static_etcdserverpb_TxnRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.helidon.config.etcd.internal.client.proto.EtcdProto.internal_static_etcdserverpb_TxnRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.helidon.config.etcd.internal.client.proto.TxnRequest.class, io.helidon.config.etcd.internal.client.proto.TxnRequest.Builder.class);
}
// Construct using io.helidon.config.etcd.internal.client.proto.TxnRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
if (compareBuilder_ == null) {
compare_ = java.util.Collections.emptyList();
} else {
compare_ = null;
compareBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
if (successBuilder_ == null) {
success_ = java.util.Collections.emptyList();
} else {
success_ = null;
successBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
if (failureBuilder_ == null) {
failure_ = java.util.Collections.emptyList();
} else {
failure_ = null;
failureBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.helidon.config.etcd.internal.client.proto.EtcdProto.internal_static_etcdserverpb_TxnRequest_descriptor;
}
@java.lang.Override
public io.helidon.config.etcd.internal.client.proto.TxnRequest getDefaultInstanceForType() {
return io.helidon.config.etcd.internal.client.proto.TxnRequest.getDefaultInstance();
}
@java.lang.Override
public io.helidon.config.etcd.internal.client.proto.TxnRequest build() {
io.helidon.config.etcd.internal.client.proto.TxnRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.helidon.config.etcd.internal.client.proto.TxnRequest buildPartial() {
io.helidon.config.etcd.internal.client.proto.TxnRequest result = new io.helidon.config.etcd.internal.client.proto.TxnRequest(this);
int from_bitField0_ = bitField0_;
if (compareBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
compare_ = java.util.Collections.unmodifiableList(compare_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.compare_ = compare_;
} else {
result.compare_ = compareBuilder_.build();
}
if (successBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
success_ = java.util.Collections.unmodifiableList(success_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.success_ = success_;
} else {
result.success_ = successBuilder_.build();
}
if (failureBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0)) {
failure_ = java.util.Collections.unmodifiableList(failure_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.failure_ = failure_;
} else {
result.failure_ = failureBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof io.helidon.config.etcd.internal.client.proto.TxnRequest) {
return mergeFrom((io.helidon.config.etcd.internal.client.proto.TxnRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.helidon.config.etcd.internal.client.proto.TxnRequest other) {
if (other == io.helidon.config.etcd.internal.client.proto.TxnRequest.getDefaultInstance()) return this;
if (compareBuilder_ == null) {
if (!other.compare_.isEmpty()) {
if (compare_.isEmpty()) {
compare_ = other.compare_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureCompareIsMutable();
compare_.addAll(other.compare_);
}
onChanged();
}
} else {
if (!other.compare_.isEmpty()) {
if (compareBuilder_.isEmpty()) {
compareBuilder_.dispose();
compareBuilder_ = null;
compare_ = other.compare_;
bitField0_ = (bitField0_ & ~0x00000001);
compareBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getCompareFieldBuilder() : null;
} else {
compareBuilder_.addAllMessages(other.compare_);
}
}
}
if (successBuilder_ == null) {
if (!other.success_.isEmpty()) {
if (success_.isEmpty()) {
success_ = other.success_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureSuccessIsMutable();
success_.addAll(other.success_);
}
onChanged();
}
} else {
if (!other.success_.isEmpty()) {
if (successBuilder_.isEmpty()) {
successBuilder_.dispose();
successBuilder_ = null;
success_ = other.success_;
bitField0_ = (bitField0_ & ~0x00000002);
successBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getSuccessFieldBuilder() : null;
} else {
successBuilder_.addAllMessages(other.success_);
}
}
}
if (failureBuilder_ == null) {
if (!other.failure_.isEmpty()) {
if (failure_.isEmpty()) {
failure_ = other.failure_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureFailureIsMutable();
failure_.addAll(other.failure_);
}
onChanged();
}
} else {
if (!other.failure_.isEmpty()) {
if (failureBuilder_.isEmpty()) {
failureBuilder_.dispose();
failureBuilder_ = null;
failure_ = other.failure_;
bitField0_ = (bitField0_ & ~0x00000004);
failureBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getFailureFieldBuilder() : null;
} else {
failureBuilder_.addAllMessages(other.failure_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
io.helidon.config.etcd.internal.client.proto.Compare m =
input.readMessage(
io.helidon.config.etcd.internal.client.proto.Compare.parser(),
extensionRegistry);
if (compareBuilder_ == null) {
ensureCompareIsMutable();
compare_.add(m);
} else {
compareBuilder_.addMessage(m);
}
break;
} // case 10
case 18: {
io.helidon.config.etcd.internal.client.proto.RequestOp m =
input.readMessage(
io.helidon.config.etcd.internal.client.proto.RequestOp.parser(),
extensionRegistry);
if (successBuilder_ == null) {
ensureSuccessIsMutable();
success_.add(m);
} else {
successBuilder_.addMessage(m);
}
break;
} // case 18
case 26: {
io.helidon.config.etcd.internal.client.proto.RequestOp m =
input.readMessage(
io.helidon.config.etcd.internal.client.proto.RequestOp.parser(),
extensionRegistry);
if (failureBuilder_ == null) {
ensureFailureIsMutable();
failure_.add(m);
} else {
failureBuilder_.addMessage(m);
}
break;
} // case 26
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.util.List compare_ =
java.util.Collections.emptyList();
private void ensureCompareIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
compare_ = new java.util.ArrayList(compare_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
io.helidon.config.etcd.internal.client.proto.Compare, io.helidon.config.etcd.internal.client.proto.Compare.Builder, io.helidon.config.etcd.internal.client.proto.CompareOrBuilder> compareBuilder_;
/**
*
* 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.
*
* 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;
*/
public int getCompareCount() {
if (compareBuilder_ == null) {
return compare_.size();
} else {
return compareBuilder_.getCount();
}
}
/**
*
* 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.
*
* 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;
*/
public Builder setCompare(
int index, io.helidon.config.etcd.internal.client.proto.Compare value) {
if (compareBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCompareIsMutable();
compare_.set(index, value);
onChanged();
} else {
compareBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* 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.
*
* 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;
*/
public Builder addCompare(io.helidon.config.etcd.internal.client.proto.Compare value) {
if (compareBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCompareIsMutable();
compare_.add(value);
onChanged();
} else {
compareBuilder_.addMessage(value);
}
return this;
}
/**
*
* 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;
*/
public Builder addCompare(
int index, io.helidon.config.etcd.internal.client.proto.Compare value) {
if (compareBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCompareIsMutable();
compare_.add(index, value);
onChanged();
} else {
compareBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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;
*/
public io.helidon.config.etcd.internal.client.proto.Compare.Builder getCompareBuilder(
int index) {
return getCompareFieldBuilder().getBuilder(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;
*/
public io.helidon.config.etcd.internal.client.proto.CompareOrBuilder getCompareOrBuilder(
int index) {
if (compareBuilder_ == null) {
return compare_.get(index); } else {
return compareBuilder_.getMessageOrBuilder(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.
*
* 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.
*
* 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.
*
* 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.
*