java.io.deephaven.proto.backplane.grpc.CompareCondition Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of deephaven-proto-backplane-grpc Show documentation
Show all versions of deephaven-proto-backplane-grpc Show documentation
The Deephaven proto-backplane-grpc
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: deephaven/proto/table.proto
// Protobuf Java Version: 3.25.3
package io.deephaven.proto.backplane.grpc;
/**
* Protobuf type {@code io.deephaven.proto.backplane.grpc.CompareCondition}
*/
public final class CompareCondition extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:io.deephaven.proto.backplane.grpc.CompareCondition)
CompareConditionOrBuilder {
private static final long serialVersionUID = 0L;
// Use CompareCondition.newBuilder() to construct.
private CompareCondition(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private CompareCondition() {
operation_ = 0;
caseSensitivity_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CompareCondition();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_CompareCondition_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_CompareCondition_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.deephaven.proto.backplane.grpc.CompareCondition.class, io.deephaven.proto.backplane.grpc.CompareCondition.Builder.class);
}
/**
* Protobuf enum {@code io.deephaven.proto.backplane.grpc.CompareCondition.CompareOperation}
*/
public enum CompareOperation
implements com.google.protobuf.ProtocolMessageEnum {
/**
* LESS_THAN = 0;
*/
LESS_THAN(0),
/**
* LESS_THAN_OR_EQUAL = 1;
*/
LESS_THAN_OR_EQUAL(1),
/**
* GREATER_THAN = 2;
*/
GREATER_THAN(2),
/**
* GREATER_THAN_OR_EQUAL = 3;
*/
GREATER_THAN_OR_EQUAL(3),
/**
* EQUALS = 4;
*/
EQUALS(4),
/**
* NOT_EQUALS = 5;
*/
NOT_EQUALS(5),
UNRECOGNIZED(-1),
;
/**
* LESS_THAN = 0;
*/
public static final int LESS_THAN_VALUE = 0;
/**
* LESS_THAN_OR_EQUAL = 1;
*/
public static final int LESS_THAN_OR_EQUAL_VALUE = 1;
/**
* GREATER_THAN = 2;
*/
public static final int GREATER_THAN_VALUE = 2;
/**
* GREATER_THAN_OR_EQUAL = 3;
*/
public static final int GREATER_THAN_OR_EQUAL_VALUE = 3;
/**
* EQUALS = 4;
*/
public static final int EQUALS_VALUE = 4;
/**
* NOT_EQUALS = 5;
*/
public static final int NOT_EQUALS_VALUE = 5;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static CompareOperation valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static CompareOperation forNumber(int value) {
switch (value) {
case 0: return LESS_THAN;
case 1: return LESS_THAN_OR_EQUAL;
case 2: return GREATER_THAN;
case 3: return GREATER_THAN_OR_EQUAL;
case 4: return EQUALS;
case 5: return NOT_EQUALS;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
CompareOperation> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public CompareOperation findValueByNumber(int number) {
return CompareOperation.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return io.deephaven.proto.backplane.grpc.CompareCondition.getDescriptor().getEnumTypes().get(0);
}
private static final CompareOperation[] VALUES = values();
public static CompareOperation valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private CompareOperation(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:io.deephaven.proto.backplane.grpc.CompareCondition.CompareOperation)
}
private int bitField0_;
public static final int OPERATION_FIELD_NUMBER = 1;
private int operation_ = 0;
/**
* .io.deephaven.proto.backplane.grpc.CompareCondition.CompareOperation operation = 1;
* @return The enum numeric value on the wire for operation.
*/
@java.lang.Override public int getOperationValue() {
return operation_;
}
/**
* .io.deephaven.proto.backplane.grpc.CompareCondition.CompareOperation operation = 1;
* @return The operation.
*/
@java.lang.Override public io.deephaven.proto.backplane.grpc.CompareCondition.CompareOperation getOperation() {
io.deephaven.proto.backplane.grpc.CompareCondition.CompareOperation result = io.deephaven.proto.backplane.grpc.CompareCondition.CompareOperation.forNumber(operation_);
return result == null ? io.deephaven.proto.backplane.grpc.CompareCondition.CompareOperation.UNRECOGNIZED : result;
}
public static final int CASE_SENSITIVITY_FIELD_NUMBER = 2;
private int caseSensitivity_ = 0;
/**
* .io.deephaven.proto.backplane.grpc.CaseSensitivity case_sensitivity = 2;
* @return The enum numeric value on the wire for caseSensitivity.
*/
@java.lang.Override public int getCaseSensitivityValue() {
return caseSensitivity_;
}
/**
* .io.deephaven.proto.backplane.grpc.CaseSensitivity case_sensitivity = 2;
* @return The caseSensitivity.
*/
@java.lang.Override public io.deephaven.proto.backplane.grpc.CaseSensitivity getCaseSensitivity() {
io.deephaven.proto.backplane.grpc.CaseSensitivity result = io.deephaven.proto.backplane.grpc.CaseSensitivity.forNumber(caseSensitivity_);
return result == null ? io.deephaven.proto.backplane.grpc.CaseSensitivity.UNRECOGNIZED : result;
}
public static final int LHS_FIELD_NUMBER = 3;
private io.deephaven.proto.backplane.grpc.Value lhs_;
/**
* .io.deephaven.proto.backplane.grpc.Value lhs = 3;
* @return Whether the lhs field is set.
*/
@java.lang.Override
public boolean hasLhs() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .io.deephaven.proto.backplane.grpc.Value lhs = 3;
* @return The lhs.
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.Value getLhs() {
return lhs_ == null ? io.deephaven.proto.backplane.grpc.Value.getDefaultInstance() : lhs_;
}
/**
* .io.deephaven.proto.backplane.grpc.Value lhs = 3;
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.ValueOrBuilder getLhsOrBuilder() {
return lhs_ == null ? io.deephaven.proto.backplane.grpc.Value.getDefaultInstance() : lhs_;
}
public static final int RHS_FIELD_NUMBER = 4;
private io.deephaven.proto.backplane.grpc.Value rhs_;
/**
* .io.deephaven.proto.backplane.grpc.Value rhs = 4;
* @return Whether the rhs field is set.
*/
@java.lang.Override
public boolean hasRhs() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* .io.deephaven.proto.backplane.grpc.Value rhs = 4;
* @return The rhs.
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.Value getRhs() {
return rhs_ == null ? io.deephaven.proto.backplane.grpc.Value.getDefaultInstance() : rhs_;
}
/**
* .io.deephaven.proto.backplane.grpc.Value rhs = 4;
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.ValueOrBuilder getRhsOrBuilder() {
return rhs_ == null ? io.deephaven.proto.backplane.grpc.Value.getDefaultInstance() : rhs_;
}
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 {
if (operation_ != io.deephaven.proto.backplane.grpc.CompareCondition.CompareOperation.LESS_THAN.getNumber()) {
output.writeEnum(1, operation_);
}
if (caseSensitivity_ != io.deephaven.proto.backplane.grpc.CaseSensitivity.MATCH_CASE.getNumber()) {
output.writeEnum(2, caseSensitivity_);
}
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(3, getLhs());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(4, getRhs());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (operation_ != io.deephaven.proto.backplane.grpc.CompareCondition.CompareOperation.LESS_THAN.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, operation_);
}
if (caseSensitivity_ != io.deephaven.proto.backplane.grpc.CaseSensitivity.MATCH_CASE.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, caseSensitivity_);
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getLhs());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getRhs());
}
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.deephaven.proto.backplane.grpc.CompareCondition)) {
return super.equals(obj);
}
io.deephaven.proto.backplane.grpc.CompareCondition other = (io.deephaven.proto.backplane.grpc.CompareCondition) obj;
if (operation_ != other.operation_) return false;
if (caseSensitivity_ != other.caseSensitivity_) return false;
if (hasLhs() != other.hasLhs()) return false;
if (hasLhs()) {
if (!getLhs()
.equals(other.getLhs())) return false;
}
if (hasRhs() != other.hasRhs()) return false;
if (hasRhs()) {
if (!getRhs()
.equals(other.getRhs())) 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();
hash = (37 * hash) + OPERATION_FIELD_NUMBER;
hash = (53 * hash) + operation_;
hash = (37 * hash) + CASE_SENSITIVITY_FIELD_NUMBER;
hash = (53 * hash) + caseSensitivity_;
if (hasLhs()) {
hash = (37 * hash) + LHS_FIELD_NUMBER;
hash = (53 * hash) + getLhs().hashCode();
}
if (hasRhs()) {
hash = (37 * hash) + RHS_FIELD_NUMBER;
hash = (53 * hash) + getRhs().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.deephaven.proto.backplane.grpc.CompareCondition parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.grpc.CompareCondition parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.deephaven.proto.backplane.grpc.CompareCondition parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.grpc.CompareCondition parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.deephaven.proto.backplane.grpc.CompareCondition parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.grpc.CompareCondition parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.deephaven.proto.backplane.grpc.CompareCondition parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.deephaven.proto.backplane.grpc.CompareCondition 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.deephaven.proto.backplane.grpc.CompareCondition parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.deephaven.proto.backplane.grpc.CompareCondition 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.deephaven.proto.backplane.grpc.CompareCondition parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.deephaven.proto.backplane.grpc.CompareCondition 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.deephaven.proto.backplane.grpc.CompareCondition 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;
}
/**
* Protobuf type {@code io.deephaven.proto.backplane.grpc.CompareCondition}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:io.deephaven.proto.backplane.grpc.CompareCondition)
io.deephaven.proto.backplane.grpc.CompareConditionOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_CompareCondition_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_CompareCondition_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.deephaven.proto.backplane.grpc.CompareCondition.class, io.deephaven.proto.backplane.grpc.CompareCondition.Builder.class);
}
// Construct using io.deephaven.proto.backplane.grpc.CompareCondition.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getLhsFieldBuilder();
getRhsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
operation_ = 0;
caseSensitivity_ = 0;
lhs_ = null;
if (lhsBuilder_ != null) {
lhsBuilder_.dispose();
lhsBuilder_ = null;
}
rhs_ = null;
if (rhsBuilder_ != null) {
rhsBuilder_.dispose();
rhsBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_CompareCondition_descriptor;
}
@java.lang.Override
public io.deephaven.proto.backplane.grpc.CompareCondition getDefaultInstanceForType() {
return io.deephaven.proto.backplane.grpc.CompareCondition.getDefaultInstance();
}
@java.lang.Override
public io.deephaven.proto.backplane.grpc.CompareCondition build() {
io.deephaven.proto.backplane.grpc.CompareCondition result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.deephaven.proto.backplane.grpc.CompareCondition buildPartial() {
io.deephaven.proto.backplane.grpc.CompareCondition result = new io.deephaven.proto.backplane.grpc.CompareCondition(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(io.deephaven.proto.backplane.grpc.CompareCondition result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.operation_ = operation_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.caseSensitivity_ = caseSensitivity_;
}
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000004) != 0)) {
result.lhs_ = lhsBuilder_ == null
? lhs_
: lhsBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.rhs_ = rhsBuilder_ == null
? rhs_
: rhsBuilder_.build();
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@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.deephaven.proto.backplane.grpc.CompareCondition) {
return mergeFrom((io.deephaven.proto.backplane.grpc.CompareCondition)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.deephaven.proto.backplane.grpc.CompareCondition other) {
if (other == io.deephaven.proto.backplane.grpc.CompareCondition.getDefaultInstance()) return this;
if (other.operation_ != 0) {
setOperationValue(other.getOperationValue());
}
if (other.caseSensitivity_ != 0) {
setCaseSensitivityValue(other.getCaseSensitivityValue());
}
if (other.hasLhs()) {
mergeLhs(other.getLhs());
}
if (other.hasRhs()) {
mergeRhs(other.getRhs());
}
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 8: {
operation_ = input.readEnum();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
caseSensitivity_ = input.readEnum();
bitField0_ |= 0x00000002;
break;
} // case 16
case 26: {
input.readMessage(
getLhsFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
input.readMessage(
getRhsFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000008;
break;
} // case 34
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 int operation_ = 0;
/**
* .io.deephaven.proto.backplane.grpc.CompareCondition.CompareOperation operation = 1;
* @return The enum numeric value on the wire for operation.
*/
@java.lang.Override public int getOperationValue() {
return operation_;
}
/**
* .io.deephaven.proto.backplane.grpc.CompareCondition.CompareOperation operation = 1;
* @param value The enum numeric value on the wire for operation to set.
* @return This builder for chaining.
*/
public Builder setOperationValue(int value) {
operation_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.grpc.CompareCondition.CompareOperation operation = 1;
* @return The operation.
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.CompareCondition.CompareOperation getOperation() {
io.deephaven.proto.backplane.grpc.CompareCondition.CompareOperation result = io.deephaven.proto.backplane.grpc.CompareCondition.CompareOperation.forNumber(operation_);
return result == null ? io.deephaven.proto.backplane.grpc.CompareCondition.CompareOperation.UNRECOGNIZED : result;
}
/**
* .io.deephaven.proto.backplane.grpc.CompareCondition.CompareOperation operation = 1;
* @param value The operation to set.
* @return This builder for chaining.
*/
public Builder setOperation(io.deephaven.proto.backplane.grpc.CompareCondition.CompareOperation value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
operation_ = value.getNumber();
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.grpc.CompareCondition.CompareOperation operation = 1;
* @return This builder for chaining.
*/
public Builder clearOperation() {
bitField0_ = (bitField0_ & ~0x00000001);
operation_ = 0;
onChanged();
return this;
}
private int caseSensitivity_ = 0;
/**
* .io.deephaven.proto.backplane.grpc.CaseSensitivity case_sensitivity = 2;
* @return The enum numeric value on the wire for caseSensitivity.
*/
@java.lang.Override public int getCaseSensitivityValue() {
return caseSensitivity_;
}
/**
* .io.deephaven.proto.backplane.grpc.CaseSensitivity case_sensitivity = 2;
* @param value The enum numeric value on the wire for caseSensitivity to set.
* @return This builder for chaining.
*/
public Builder setCaseSensitivityValue(int value) {
caseSensitivity_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.grpc.CaseSensitivity case_sensitivity = 2;
* @return The caseSensitivity.
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.CaseSensitivity getCaseSensitivity() {
io.deephaven.proto.backplane.grpc.CaseSensitivity result = io.deephaven.proto.backplane.grpc.CaseSensitivity.forNumber(caseSensitivity_);
return result == null ? io.deephaven.proto.backplane.grpc.CaseSensitivity.UNRECOGNIZED : result;
}
/**
* .io.deephaven.proto.backplane.grpc.CaseSensitivity case_sensitivity = 2;
* @param value The caseSensitivity to set.
* @return This builder for chaining.
*/
public Builder setCaseSensitivity(io.deephaven.proto.backplane.grpc.CaseSensitivity value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
caseSensitivity_ = value.getNumber();
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.grpc.CaseSensitivity case_sensitivity = 2;
* @return This builder for chaining.
*/
public Builder clearCaseSensitivity() {
bitField0_ = (bitField0_ & ~0x00000002);
caseSensitivity_ = 0;
onChanged();
return this;
}
private io.deephaven.proto.backplane.grpc.Value lhs_;
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.grpc.Value, io.deephaven.proto.backplane.grpc.Value.Builder, io.deephaven.proto.backplane.grpc.ValueOrBuilder> lhsBuilder_;
/**
* .io.deephaven.proto.backplane.grpc.Value lhs = 3;
* @return Whether the lhs field is set.
*/
public boolean hasLhs() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* .io.deephaven.proto.backplane.grpc.Value lhs = 3;
* @return The lhs.
*/
public io.deephaven.proto.backplane.grpc.Value getLhs() {
if (lhsBuilder_ == null) {
return lhs_ == null ? io.deephaven.proto.backplane.grpc.Value.getDefaultInstance() : lhs_;
} else {
return lhsBuilder_.getMessage();
}
}
/**
* .io.deephaven.proto.backplane.grpc.Value lhs = 3;
*/
public Builder setLhs(io.deephaven.proto.backplane.grpc.Value value) {
if (lhsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
lhs_ = value;
} else {
lhsBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.grpc.Value lhs = 3;
*/
public Builder setLhs(
io.deephaven.proto.backplane.grpc.Value.Builder builderForValue) {
if (lhsBuilder_ == null) {
lhs_ = builderForValue.build();
} else {
lhsBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.grpc.Value lhs = 3;
*/
public Builder mergeLhs(io.deephaven.proto.backplane.grpc.Value value) {
if (lhsBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0) &&
lhs_ != null &&
lhs_ != io.deephaven.proto.backplane.grpc.Value.getDefaultInstance()) {
getLhsBuilder().mergeFrom(value);
} else {
lhs_ = value;
}
} else {
lhsBuilder_.mergeFrom(value);
}
if (lhs_ != null) {
bitField0_ |= 0x00000004;
onChanged();
}
return this;
}
/**
* .io.deephaven.proto.backplane.grpc.Value lhs = 3;
*/
public Builder clearLhs() {
bitField0_ = (bitField0_ & ~0x00000004);
lhs_ = null;
if (lhsBuilder_ != null) {
lhsBuilder_.dispose();
lhsBuilder_ = null;
}
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.grpc.Value lhs = 3;
*/
public io.deephaven.proto.backplane.grpc.Value.Builder getLhsBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getLhsFieldBuilder().getBuilder();
}
/**
* .io.deephaven.proto.backplane.grpc.Value lhs = 3;
*/
public io.deephaven.proto.backplane.grpc.ValueOrBuilder getLhsOrBuilder() {
if (lhsBuilder_ != null) {
return lhsBuilder_.getMessageOrBuilder();
} else {
return lhs_ == null ?
io.deephaven.proto.backplane.grpc.Value.getDefaultInstance() : lhs_;
}
}
/**
* .io.deephaven.proto.backplane.grpc.Value lhs = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.grpc.Value, io.deephaven.proto.backplane.grpc.Value.Builder, io.deephaven.proto.backplane.grpc.ValueOrBuilder>
getLhsFieldBuilder() {
if (lhsBuilder_ == null) {
lhsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.grpc.Value, io.deephaven.proto.backplane.grpc.Value.Builder, io.deephaven.proto.backplane.grpc.ValueOrBuilder>(
getLhs(),
getParentForChildren(),
isClean());
lhs_ = null;
}
return lhsBuilder_;
}
private io.deephaven.proto.backplane.grpc.Value rhs_;
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.grpc.Value, io.deephaven.proto.backplane.grpc.Value.Builder, io.deephaven.proto.backplane.grpc.ValueOrBuilder> rhsBuilder_;
/**
* .io.deephaven.proto.backplane.grpc.Value rhs = 4;
* @return Whether the rhs field is set.
*/
public boolean hasRhs() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* .io.deephaven.proto.backplane.grpc.Value rhs = 4;
* @return The rhs.
*/
public io.deephaven.proto.backplane.grpc.Value getRhs() {
if (rhsBuilder_ == null) {
return rhs_ == null ? io.deephaven.proto.backplane.grpc.Value.getDefaultInstance() : rhs_;
} else {
return rhsBuilder_.getMessage();
}
}
/**
* .io.deephaven.proto.backplane.grpc.Value rhs = 4;
*/
public Builder setRhs(io.deephaven.proto.backplane.grpc.Value value) {
if (rhsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
rhs_ = value;
} else {
rhsBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.grpc.Value rhs = 4;
*/
public Builder setRhs(
io.deephaven.proto.backplane.grpc.Value.Builder builderForValue) {
if (rhsBuilder_ == null) {
rhs_ = builderForValue.build();
} else {
rhsBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.grpc.Value rhs = 4;
*/
public Builder mergeRhs(io.deephaven.proto.backplane.grpc.Value value) {
if (rhsBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0) &&
rhs_ != null &&
rhs_ != io.deephaven.proto.backplane.grpc.Value.getDefaultInstance()) {
getRhsBuilder().mergeFrom(value);
} else {
rhs_ = value;
}
} else {
rhsBuilder_.mergeFrom(value);
}
if (rhs_ != null) {
bitField0_ |= 0x00000008;
onChanged();
}
return this;
}
/**
* .io.deephaven.proto.backplane.grpc.Value rhs = 4;
*/
public Builder clearRhs() {
bitField0_ = (bitField0_ & ~0x00000008);
rhs_ = null;
if (rhsBuilder_ != null) {
rhsBuilder_.dispose();
rhsBuilder_ = null;
}
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.grpc.Value rhs = 4;
*/
public io.deephaven.proto.backplane.grpc.Value.Builder getRhsBuilder() {
bitField0_ |= 0x00000008;
onChanged();
return getRhsFieldBuilder().getBuilder();
}
/**
* .io.deephaven.proto.backplane.grpc.Value rhs = 4;
*/
public io.deephaven.proto.backplane.grpc.ValueOrBuilder getRhsOrBuilder() {
if (rhsBuilder_ != null) {
return rhsBuilder_.getMessageOrBuilder();
} else {
return rhs_ == null ?
io.deephaven.proto.backplane.grpc.Value.getDefaultInstance() : rhs_;
}
}
/**
* .io.deephaven.proto.backplane.grpc.Value rhs = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.grpc.Value, io.deephaven.proto.backplane.grpc.Value.Builder, io.deephaven.proto.backplane.grpc.ValueOrBuilder>
getRhsFieldBuilder() {
if (rhsBuilder_ == null) {
rhsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.grpc.Value, io.deephaven.proto.backplane.grpc.Value.Builder, io.deephaven.proto.backplane.grpc.ValueOrBuilder>(
getRhs(),
getParentForChildren(),
isClean());
rhs_ = null;
}
return rhsBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:io.deephaven.proto.backplane.grpc.CompareCondition)
}
// @@protoc_insertion_point(class_scope:io.deephaven.proto.backplane.grpc.CompareCondition)
private static final io.deephaven.proto.backplane.grpc.CompareCondition DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.deephaven.proto.backplane.grpc.CompareCondition();
}
public static io.deephaven.proto.backplane.grpc.CompareCondition getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CompareCondition parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public io.deephaven.proto.backplane.grpc.CompareCondition getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}