java.io.deephaven.proto.backplane.grpc.SearchCondition 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;
/**
*
* search
*
*
* Protobuf type {@code io.deephaven.proto.backplane.grpc.SearchCondition}
*/
public final class SearchCondition extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:io.deephaven.proto.backplane.grpc.SearchCondition)
SearchConditionOrBuilder {
private static final long serialVersionUID = 0L;
// Use SearchCondition.newBuilder() to construct.
private SearchCondition(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SearchCondition() {
searchString_ = "";
optionalReferences_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SearchCondition();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_SearchCondition_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_SearchCondition_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.deephaven.proto.backplane.grpc.SearchCondition.class, io.deephaven.proto.backplane.grpc.SearchCondition.Builder.class);
}
public static final int SEARCH_STRING_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object searchString_ = "";
/**
* string search_string = 1;
* @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 = 1;
* @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 OPTIONAL_REFERENCES_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private java.util.List optionalReferences_;
/**
* repeated .io.deephaven.proto.backplane.grpc.Reference optional_references = 2;
*/
@java.lang.Override
public java.util.List getOptionalReferencesList() {
return optionalReferences_;
}
/**
* repeated .io.deephaven.proto.backplane.grpc.Reference optional_references = 2;
*/
@java.lang.Override
public java.util.List extends io.deephaven.proto.backplane.grpc.ReferenceOrBuilder>
getOptionalReferencesOrBuilderList() {
return optionalReferences_;
}
/**
* repeated .io.deephaven.proto.backplane.grpc.Reference optional_references = 2;
*/
@java.lang.Override
public int getOptionalReferencesCount() {
return optionalReferences_.size();
}
/**
* repeated .io.deephaven.proto.backplane.grpc.Reference optional_references = 2;
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.Reference getOptionalReferences(int index) {
return optionalReferences_.get(index);
}
/**
* repeated .io.deephaven.proto.backplane.grpc.Reference optional_references = 2;
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.ReferenceOrBuilder getOptionalReferencesOrBuilder(
int index) {
return optionalReferences_.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 {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(searchString_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, searchString_);
}
for (int i = 0; i < optionalReferences_.size(); i++) {
output.writeMessage(2, optionalReferences_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(searchString_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, searchString_);
}
for (int i = 0; i < optionalReferences_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, optionalReferences_.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.deephaven.proto.backplane.grpc.SearchCondition)) {
return super.equals(obj);
}
io.deephaven.proto.backplane.grpc.SearchCondition other = (io.deephaven.proto.backplane.grpc.SearchCondition) obj;
if (!getSearchString()
.equals(other.getSearchString())) return false;
if (!getOptionalReferencesList()
.equals(other.getOptionalReferencesList())) 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) + SEARCH_STRING_FIELD_NUMBER;
hash = (53 * hash) + getSearchString().hashCode();
if (getOptionalReferencesCount() > 0) {
hash = (37 * hash) + OPTIONAL_REFERENCES_FIELD_NUMBER;
hash = (53 * hash) + getOptionalReferencesList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.deephaven.proto.backplane.grpc.SearchCondition parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.grpc.SearchCondition 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.SearchCondition parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.grpc.SearchCondition 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.SearchCondition parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.grpc.SearchCondition 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.SearchCondition parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.deephaven.proto.backplane.grpc.SearchCondition 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.SearchCondition parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.deephaven.proto.backplane.grpc.SearchCondition 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.SearchCondition 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.SearchCondition 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.SearchCondition 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;
}
/**
*
* search
*
*
* Protobuf type {@code io.deephaven.proto.backplane.grpc.SearchCondition}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:io.deephaven.proto.backplane.grpc.SearchCondition)
io.deephaven.proto.backplane.grpc.SearchConditionOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_SearchCondition_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_SearchCondition_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.deephaven.proto.backplane.grpc.SearchCondition.class, io.deephaven.proto.backplane.grpc.SearchCondition.Builder.class);
}
// Construct using io.deephaven.proto.backplane.grpc.SearchCondition.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
searchString_ = "";
if (optionalReferencesBuilder_ == null) {
optionalReferences_ = java.util.Collections.emptyList();
} else {
optionalReferences_ = null;
optionalReferencesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
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_SearchCondition_descriptor;
}
@java.lang.Override
public io.deephaven.proto.backplane.grpc.SearchCondition getDefaultInstanceForType() {
return io.deephaven.proto.backplane.grpc.SearchCondition.getDefaultInstance();
}
@java.lang.Override
public io.deephaven.proto.backplane.grpc.SearchCondition build() {
io.deephaven.proto.backplane.grpc.SearchCondition result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.deephaven.proto.backplane.grpc.SearchCondition buildPartial() {
io.deephaven.proto.backplane.grpc.SearchCondition result = new io.deephaven.proto.backplane.grpc.SearchCondition(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(io.deephaven.proto.backplane.grpc.SearchCondition result) {
if (optionalReferencesBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
optionalReferences_ = java.util.Collections.unmodifiableList(optionalReferences_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.optionalReferences_ = optionalReferences_;
} else {
result.optionalReferences_ = optionalReferencesBuilder_.build();
}
}
private void buildPartial0(io.deephaven.proto.backplane.grpc.SearchCondition result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.searchString_ = searchString_;
}
}
@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.SearchCondition) {
return mergeFrom((io.deephaven.proto.backplane.grpc.SearchCondition)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.deephaven.proto.backplane.grpc.SearchCondition other) {
if (other == io.deephaven.proto.backplane.grpc.SearchCondition.getDefaultInstance()) return this;
if (!other.getSearchString().isEmpty()) {
searchString_ = other.searchString_;
bitField0_ |= 0x00000001;
onChanged();
}
if (optionalReferencesBuilder_ == null) {
if (!other.optionalReferences_.isEmpty()) {
if (optionalReferences_.isEmpty()) {
optionalReferences_ = other.optionalReferences_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureOptionalReferencesIsMutable();
optionalReferences_.addAll(other.optionalReferences_);
}
onChanged();
}
} else {
if (!other.optionalReferences_.isEmpty()) {
if (optionalReferencesBuilder_.isEmpty()) {
optionalReferencesBuilder_.dispose();
optionalReferencesBuilder_ = null;
optionalReferences_ = other.optionalReferences_;
bitField0_ = (bitField0_ & ~0x00000002);
optionalReferencesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getOptionalReferencesFieldBuilder() : null;
} else {
optionalReferencesBuilder_.addAllMessages(other.optionalReferences_);
}
}
}
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: {
searchString_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
io.deephaven.proto.backplane.grpc.Reference m =
input.readMessage(
io.deephaven.proto.backplane.grpc.Reference.parser(),
extensionRegistry);
if (optionalReferencesBuilder_ == null) {
ensureOptionalReferencesIsMutable();
optionalReferences_.add(m);
} else {
optionalReferencesBuilder_.addMessage(m);
}
break;
} // case 18
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.lang.Object searchString_ = "";
/**
* string search_string = 1;
* @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 = 1;
* @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 = 1;
* @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_ |= 0x00000001;
onChanged();
return this;
}
/**
* string search_string = 1;
* @return This builder for chaining.
*/
public Builder clearSearchString() {
searchString_ = getDefaultInstance().getSearchString();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* string search_string = 1;
* @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_ |= 0x00000001;
onChanged();
return this;
}
private java.util.List optionalReferences_ =
java.util.Collections.emptyList();
private void ensureOptionalReferencesIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
optionalReferences_ = new java.util.ArrayList(optionalReferences_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
io.deephaven.proto.backplane.grpc.Reference, io.deephaven.proto.backplane.grpc.Reference.Builder, io.deephaven.proto.backplane.grpc.ReferenceOrBuilder> optionalReferencesBuilder_;
/**
* repeated .io.deephaven.proto.backplane.grpc.Reference optional_references = 2;
*/
public java.util.List getOptionalReferencesList() {
if (optionalReferencesBuilder_ == null) {
return java.util.Collections.unmodifiableList(optionalReferences_);
} else {
return optionalReferencesBuilder_.getMessageList();
}
}
/**
* repeated .io.deephaven.proto.backplane.grpc.Reference optional_references = 2;
*/
public int getOptionalReferencesCount() {
if (optionalReferencesBuilder_ == null) {
return optionalReferences_.size();
} else {
return optionalReferencesBuilder_.getCount();
}
}
/**
* repeated .io.deephaven.proto.backplane.grpc.Reference optional_references = 2;
*/
public io.deephaven.proto.backplane.grpc.Reference getOptionalReferences(int index) {
if (optionalReferencesBuilder_ == null) {
return optionalReferences_.get(index);
} else {
return optionalReferencesBuilder_.getMessage(index);
}
}
/**
* repeated .io.deephaven.proto.backplane.grpc.Reference optional_references = 2;
*/
public Builder setOptionalReferences(
int index, io.deephaven.proto.backplane.grpc.Reference value) {
if (optionalReferencesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOptionalReferencesIsMutable();
optionalReferences_.set(index, value);
onChanged();
} else {
optionalReferencesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .io.deephaven.proto.backplane.grpc.Reference optional_references = 2;
*/
public Builder setOptionalReferences(
int index, io.deephaven.proto.backplane.grpc.Reference.Builder builderForValue) {
if (optionalReferencesBuilder_ == null) {
ensureOptionalReferencesIsMutable();
optionalReferences_.set(index, builderForValue.build());
onChanged();
} else {
optionalReferencesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .io.deephaven.proto.backplane.grpc.Reference optional_references = 2;
*/
public Builder addOptionalReferences(io.deephaven.proto.backplane.grpc.Reference value) {
if (optionalReferencesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOptionalReferencesIsMutable();
optionalReferences_.add(value);
onChanged();
} else {
optionalReferencesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .io.deephaven.proto.backplane.grpc.Reference optional_references = 2;
*/
public Builder addOptionalReferences(
int index, io.deephaven.proto.backplane.grpc.Reference value) {
if (optionalReferencesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOptionalReferencesIsMutable();
optionalReferences_.add(index, value);
onChanged();
} else {
optionalReferencesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .io.deephaven.proto.backplane.grpc.Reference optional_references = 2;
*/
public Builder addOptionalReferences(
io.deephaven.proto.backplane.grpc.Reference.Builder builderForValue) {
if (optionalReferencesBuilder_ == null) {
ensureOptionalReferencesIsMutable();
optionalReferences_.add(builderForValue.build());
onChanged();
} else {
optionalReferencesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .io.deephaven.proto.backplane.grpc.Reference optional_references = 2;
*/
public Builder addOptionalReferences(
int index, io.deephaven.proto.backplane.grpc.Reference.Builder builderForValue) {
if (optionalReferencesBuilder_ == null) {
ensureOptionalReferencesIsMutable();
optionalReferences_.add(index, builderForValue.build());
onChanged();
} else {
optionalReferencesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .io.deephaven.proto.backplane.grpc.Reference optional_references = 2;
*/
public Builder addAllOptionalReferences(
java.lang.Iterable extends io.deephaven.proto.backplane.grpc.Reference> values) {
if (optionalReferencesBuilder_ == null) {
ensureOptionalReferencesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, optionalReferences_);
onChanged();
} else {
optionalReferencesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .io.deephaven.proto.backplane.grpc.Reference optional_references = 2;
*/
public Builder clearOptionalReferences() {
if (optionalReferencesBuilder_ == null) {
optionalReferences_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
optionalReferencesBuilder_.clear();
}
return this;
}
/**
* repeated .io.deephaven.proto.backplane.grpc.Reference optional_references = 2;
*/
public Builder removeOptionalReferences(int index) {
if (optionalReferencesBuilder_ == null) {
ensureOptionalReferencesIsMutable();
optionalReferences_.remove(index);
onChanged();
} else {
optionalReferencesBuilder_.remove(index);
}
return this;
}
/**
* repeated .io.deephaven.proto.backplane.grpc.Reference optional_references = 2;
*/
public io.deephaven.proto.backplane.grpc.Reference.Builder getOptionalReferencesBuilder(
int index) {
return getOptionalReferencesFieldBuilder().getBuilder(index);
}
/**
* repeated .io.deephaven.proto.backplane.grpc.Reference optional_references = 2;
*/
public io.deephaven.proto.backplane.grpc.ReferenceOrBuilder getOptionalReferencesOrBuilder(
int index) {
if (optionalReferencesBuilder_ == null) {
return optionalReferences_.get(index); } else {
return optionalReferencesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .io.deephaven.proto.backplane.grpc.Reference optional_references = 2;
*/
public java.util.List extends io.deephaven.proto.backplane.grpc.ReferenceOrBuilder>
getOptionalReferencesOrBuilderList() {
if (optionalReferencesBuilder_ != null) {
return optionalReferencesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(optionalReferences_);
}
}
/**
* repeated .io.deephaven.proto.backplane.grpc.Reference optional_references = 2;
*/
public io.deephaven.proto.backplane.grpc.Reference.Builder addOptionalReferencesBuilder() {
return getOptionalReferencesFieldBuilder().addBuilder(
io.deephaven.proto.backplane.grpc.Reference.getDefaultInstance());
}
/**
* repeated .io.deephaven.proto.backplane.grpc.Reference optional_references = 2;
*/
public io.deephaven.proto.backplane.grpc.Reference.Builder addOptionalReferencesBuilder(
int index) {
return getOptionalReferencesFieldBuilder().addBuilder(
index, io.deephaven.proto.backplane.grpc.Reference.getDefaultInstance());
}
/**
* repeated .io.deephaven.proto.backplane.grpc.Reference optional_references = 2;
*/
public java.util.List
getOptionalReferencesBuilderList() {
return getOptionalReferencesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
io.deephaven.proto.backplane.grpc.Reference, io.deephaven.proto.backplane.grpc.Reference.Builder, io.deephaven.proto.backplane.grpc.ReferenceOrBuilder>
getOptionalReferencesFieldBuilder() {
if (optionalReferencesBuilder_ == null) {
optionalReferencesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
io.deephaven.proto.backplane.grpc.Reference, io.deephaven.proto.backplane.grpc.Reference.Builder, io.deephaven.proto.backplane.grpc.ReferenceOrBuilder>(
optionalReferences_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
optionalReferences_ = null;
}
return optionalReferencesBuilder_;
}
@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.SearchCondition)
}
// @@protoc_insertion_point(class_scope:io.deephaven.proto.backplane.grpc.SearchCondition)
private static final io.deephaven.proto.backplane.grpc.SearchCondition DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.deephaven.proto.backplane.grpc.SearchCondition();
}
public static io.deephaven.proto.backplane.grpc.SearchCondition getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SearchCondition 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.SearchCondition getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}