java.io.deephaven.proto.backplane.grpc.ContainsCondition 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
// 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.ContainsCondition}
*/
public final class ContainsCondition extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:io.deephaven.proto.backplane.grpc.ContainsCondition)
ContainsConditionOrBuilder {
private static final long serialVersionUID = 0L;
// Use ContainsCondition.newBuilder() to construct.
private ContainsCondition(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ContainsCondition() {
searchString_ = "";
caseSensitivity_ = 0;
matchType_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ContainsCondition();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_ContainsCondition_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_ContainsCondition_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.deephaven.proto.backplane.grpc.ContainsCondition.class, io.deephaven.proto.backplane.grpc.ContainsCondition.Builder.class);
}
private int bitField0_;
public static final int REFERENCE_FIELD_NUMBER = 1;
private io.deephaven.proto.backplane.grpc.Reference reference_;
/**
* .io.deephaven.proto.backplane.grpc.Reference reference = 1;
* @return Whether the reference field is set.
*/
@java.lang.Override
public boolean hasReference() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .io.deephaven.proto.backplane.grpc.Reference reference = 1;
* @return The reference.
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.Reference getReference() {
return reference_ == null ? io.deephaven.proto.backplane.grpc.Reference.getDefaultInstance() : reference_;
}
/**
* .io.deephaven.proto.backplane.grpc.Reference reference = 1;
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.ReferenceOrBuilder getReferenceOrBuilder() {
return reference_ == null ? io.deephaven.proto.backplane.grpc.Reference.getDefaultInstance() : reference_;
}
public static final int SEARCH_STRING_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object searchString_ = "";
/**
* string search_string = 2;
* @return The searchString.
*/
@java.lang.Override
public java.lang.String getSearchString() {
java.lang.Object ref = searchString_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
searchString_ = s;
return s;
}
}
/**
* string search_string = 2;
* @return The bytes for searchString.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSearchStringBytes() {
java.lang.Object ref = searchString_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
searchString_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CASE_SENSITIVITY_FIELD_NUMBER = 3;
private int caseSensitivity_ = 0;
/**
* .io.deephaven.proto.backplane.grpc.CaseSensitivity case_sensitivity = 3;
* @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 = 3;
* @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 MATCH_TYPE_FIELD_NUMBER = 4;
private int matchType_ = 0;
/**
* .io.deephaven.proto.backplane.grpc.MatchType match_type = 4;
* @return The enum numeric value on the wire for matchType.
*/
@java.lang.Override public int getMatchTypeValue() {
return matchType_;
}
/**
* .io.deephaven.proto.backplane.grpc.MatchType match_type = 4;
* @return The matchType.
*/
@java.lang.Override public io.deephaven.proto.backplane.grpc.MatchType getMatchType() {
io.deephaven.proto.backplane.grpc.MatchType result = io.deephaven.proto.backplane.grpc.MatchType.forNumber(matchType_);
return result == null ? io.deephaven.proto.backplane.grpc.MatchType.UNRECOGNIZED : result;
}
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 (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getReference());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(searchString_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, searchString_);
}
if (caseSensitivity_ != io.deephaven.proto.backplane.grpc.CaseSensitivity.MATCH_CASE.getNumber()) {
output.writeEnum(3, caseSensitivity_);
}
if (matchType_ != io.deephaven.proto.backplane.grpc.MatchType.REGULAR.getNumber()) {
output.writeEnum(4, matchType_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getReference());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(searchString_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, searchString_);
}
if (caseSensitivity_ != io.deephaven.proto.backplane.grpc.CaseSensitivity.MATCH_CASE.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(3, caseSensitivity_);
}
if (matchType_ != io.deephaven.proto.backplane.grpc.MatchType.REGULAR.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(4, matchType_);
}
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.ContainsCondition)) {
return super.equals(obj);
}
io.deephaven.proto.backplane.grpc.ContainsCondition other = (io.deephaven.proto.backplane.grpc.ContainsCondition) obj;
if (hasReference() != other.hasReference()) return false;
if (hasReference()) {
if (!getReference()
.equals(other.getReference())) return false;
}
if (!getSearchString()
.equals(other.getSearchString())) return false;
if (caseSensitivity_ != other.caseSensitivity_) return false;
if (matchType_ != other.matchType_) 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 (hasReference()) {
hash = (37 * hash) + REFERENCE_FIELD_NUMBER;
hash = (53 * hash) + getReference().hashCode();
}
hash = (37 * hash) + SEARCH_STRING_FIELD_NUMBER;
hash = (53 * hash) + getSearchString().hashCode();
hash = (37 * hash) + CASE_SENSITIVITY_FIELD_NUMBER;
hash = (53 * hash) + caseSensitivity_;
hash = (37 * hash) + MATCH_TYPE_FIELD_NUMBER;
hash = (53 * hash) + matchType_;
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.deephaven.proto.backplane.grpc.ContainsCondition parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.grpc.ContainsCondition 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.ContainsCondition parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.grpc.ContainsCondition 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.ContainsCondition parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.grpc.ContainsCondition 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.ContainsCondition parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.deephaven.proto.backplane.grpc.ContainsCondition 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.ContainsCondition parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.deephaven.proto.backplane.grpc.ContainsCondition 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.ContainsCondition 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.ContainsCondition 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.ContainsCondition 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.ContainsCondition}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:io.deephaven.proto.backplane.grpc.ContainsCondition)
io.deephaven.proto.backplane.grpc.ContainsConditionOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_ContainsCondition_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_ContainsCondition_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.deephaven.proto.backplane.grpc.ContainsCondition.class, io.deephaven.proto.backplane.grpc.ContainsCondition.Builder.class);
}
// Construct using io.deephaven.proto.backplane.grpc.ContainsCondition.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getReferenceFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
reference_ = null;
if (referenceBuilder_ != null) {
referenceBuilder_.dispose();
referenceBuilder_ = null;
}
searchString_ = "";
caseSensitivity_ = 0;
matchType_ = 0;
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_ContainsCondition_descriptor;
}
@java.lang.Override
public io.deephaven.proto.backplane.grpc.ContainsCondition getDefaultInstanceForType() {
return io.deephaven.proto.backplane.grpc.ContainsCondition.getDefaultInstance();
}
@java.lang.Override
public io.deephaven.proto.backplane.grpc.ContainsCondition build() {
io.deephaven.proto.backplane.grpc.ContainsCondition result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.deephaven.proto.backplane.grpc.ContainsCondition buildPartial() {
io.deephaven.proto.backplane.grpc.ContainsCondition result = new io.deephaven.proto.backplane.grpc.ContainsCondition(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(io.deephaven.proto.backplane.grpc.ContainsCondition result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.reference_ = referenceBuilder_ == null
? reference_
: referenceBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.searchString_ = searchString_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.caseSensitivity_ = caseSensitivity_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.matchType_ = matchType_;
}
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.ContainsCondition) {
return mergeFrom((io.deephaven.proto.backplane.grpc.ContainsCondition)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.deephaven.proto.backplane.grpc.ContainsCondition other) {
if (other == io.deephaven.proto.backplane.grpc.ContainsCondition.getDefaultInstance()) return this;
if (other.hasReference()) {
mergeReference(other.getReference());
}
if (!other.getSearchString().isEmpty()) {
searchString_ = other.searchString_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.caseSensitivity_ != 0) {
setCaseSensitivityValue(other.getCaseSensitivityValue());
}
if (other.matchType_ != 0) {
setMatchTypeValue(other.getMatchTypeValue());
}
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: {
input.readMessage(
getReferenceFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
searchString_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 24: {
caseSensitivity_ = input.readEnum();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32: {
matchType_ = input.readEnum();
bitField0_ |= 0x00000008;
break;
} // case 32
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 io.deephaven.proto.backplane.grpc.Reference reference_;
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.grpc.Reference, io.deephaven.proto.backplane.grpc.Reference.Builder, io.deephaven.proto.backplane.grpc.ReferenceOrBuilder> referenceBuilder_;
/**
* .io.deephaven.proto.backplane.grpc.Reference reference = 1;
* @return Whether the reference field is set.
*/
public boolean hasReference() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .io.deephaven.proto.backplane.grpc.Reference reference = 1;
* @return The reference.
*/
public io.deephaven.proto.backplane.grpc.Reference getReference() {
if (referenceBuilder_ == null) {
return reference_ == null ? io.deephaven.proto.backplane.grpc.Reference.getDefaultInstance() : reference_;
} else {
return referenceBuilder_.getMessage();
}
}
/**
* .io.deephaven.proto.backplane.grpc.Reference reference = 1;
*/
public Builder setReference(io.deephaven.proto.backplane.grpc.Reference value) {
if (referenceBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
reference_ = value;
} else {
referenceBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.grpc.Reference reference = 1;
*/
public Builder setReference(
io.deephaven.proto.backplane.grpc.Reference.Builder builderForValue) {
if (referenceBuilder_ == null) {
reference_ = builderForValue.build();
} else {
referenceBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.grpc.Reference reference = 1;
*/
public Builder mergeReference(io.deephaven.proto.backplane.grpc.Reference value) {
if (referenceBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
reference_ != null &&
reference_ != io.deephaven.proto.backplane.grpc.Reference.getDefaultInstance()) {
getReferenceBuilder().mergeFrom(value);
} else {
reference_ = value;
}
} else {
referenceBuilder_.mergeFrom(value);
}
if (reference_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* .io.deephaven.proto.backplane.grpc.Reference reference = 1;
*/
public Builder clearReference() {
bitField0_ = (bitField0_ & ~0x00000001);
reference_ = null;
if (referenceBuilder_ != null) {
referenceBuilder_.dispose();
referenceBuilder_ = null;
}
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.grpc.Reference reference = 1;
*/
public io.deephaven.proto.backplane.grpc.Reference.Builder getReferenceBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getReferenceFieldBuilder().getBuilder();
}
/**
* .io.deephaven.proto.backplane.grpc.Reference reference = 1;
*/
public io.deephaven.proto.backplane.grpc.ReferenceOrBuilder getReferenceOrBuilder() {
if (referenceBuilder_ != null) {
return referenceBuilder_.getMessageOrBuilder();
} else {
return reference_ == null ?
io.deephaven.proto.backplane.grpc.Reference.getDefaultInstance() : reference_;
}
}
/**
* .io.deephaven.proto.backplane.grpc.Reference reference = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.grpc.Reference, io.deephaven.proto.backplane.grpc.Reference.Builder, io.deephaven.proto.backplane.grpc.ReferenceOrBuilder>
getReferenceFieldBuilder() {
if (referenceBuilder_ == null) {
referenceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.grpc.Reference, io.deephaven.proto.backplane.grpc.Reference.Builder, io.deephaven.proto.backplane.grpc.ReferenceOrBuilder>(
getReference(),
getParentForChildren(),
isClean());
reference_ = null;
}
return referenceBuilder_;
}
private java.lang.Object searchString_ = "";
/**
* string search_string = 2;
* @return The searchString.
*/
public java.lang.String getSearchString() {
java.lang.Object ref = searchString_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
searchString_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string search_string = 2;
* @return The bytes for searchString.
*/
public com.google.protobuf.ByteString
getSearchStringBytes() {
java.lang.Object ref = searchString_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
searchString_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string search_string = 2;
* @param value The searchString to set.
* @return This builder for chaining.
*/
public Builder setSearchString(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
searchString_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* string search_string = 2;
* @return This builder for chaining.
*/
public Builder clearSearchString() {
searchString_ = getDefaultInstance().getSearchString();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* string search_string = 2;
* @param value The bytes for searchString to set.
* @return This builder for chaining.
*/
public Builder setSearchStringBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
searchString_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private int caseSensitivity_ = 0;
/**
* .io.deephaven.proto.backplane.grpc.CaseSensitivity case_sensitivity = 3;
* @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 = 3;
* @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_ |= 0x00000004;
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.grpc.CaseSensitivity case_sensitivity = 3;
* @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 = 3;
* @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_ |= 0x00000004;
caseSensitivity_ = value.getNumber();
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.grpc.CaseSensitivity case_sensitivity = 3;
* @return This builder for chaining.
*/
public Builder clearCaseSensitivity() {
bitField0_ = (bitField0_ & ~0x00000004);
caseSensitivity_ = 0;
onChanged();
return this;
}
private int matchType_ = 0;
/**
* .io.deephaven.proto.backplane.grpc.MatchType match_type = 4;
* @return The enum numeric value on the wire for matchType.
*/
@java.lang.Override public int getMatchTypeValue() {
return matchType_;
}
/**
* .io.deephaven.proto.backplane.grpc.MatchType match_type = 4;
* @param value The enum numeric value on the wire for matchType to set.
* @return This builder for chaining.
*/
public Builder setMatchTypeValue(int value) {
matchType_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.grpc.MatchType match_type = 4;
* @return The matchType.
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.MatchType getMatchType() {
io.deephaven.proto.backplane.grpc.MatchType result = io.deephaven.proto.backplane.grpc.MatchType.forNumber(matchType_);
return result == null ? io.deephaven.proto.backplane.grpc.MatchType.UNRECOGNIZED : result;
}
/**
* .io.deephaven.proto.backplane.grpc.MatchType match_type = 4;
* @param value The matchType to set.
* @return This builder for chaining.
*/
public Builder setMatchType(io.deephaven.proto.backplane.grpc.MatchType value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
matchType_ = value.getNumber();
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.grpc.MatchType match_type = 4;
* @return This builder for chaining.
*/
public Builder clearMatchType() {
bitField0_ = (bitField0_ & ~0x00000008);
matchType_ = 0;
onChanged();
return this;
}
@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.ContainsCondition)
}
// @@protoc_insertion_point(class_scope:io.deephaven.proto.backplane.grpc.ContainsCondition)
private static final io.deephaven.proto.backplane.grpc.ContainsCondition DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.deephaven.proto.backplane.grpc.ContainsCondition();
}
public static io.deephaven.proto.backplane.grpc.ContainsCondition getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ContainsCondition 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.ContainsCondition getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}