All Downloads are FREE. Search and download functionalities are using the official Maven repository.

java.io.deephaven.proto.backplane.grpc.InCondition Maven / Gradle / Ivy

There is a newer version: 0.36.1
Show 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.InCondition}
 */
public final class InCondition extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:io.deephaven.proto.backplane.grpc.InCondition)
    InConditionOrBuilder {
private static final long serialVersionUID = 0L;
  // Use InCondition.newBuilder() to construct.
  private InCondition(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private InCondition() {
    candidates_ = java.util.Collections.emptyList();
    caseSensitivity_ = 0;
    matchType_ = 0;
  }

  @java.lang.Override
  @SuppressWarnings({"unused"})
  protected java.lang.Object newInstance(
      UnusedPrivateParameter unused) {
    return new InCondition();
  }

  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_InCondition_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_InCondition_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            io.deephaven.proto.backplane.grpc.InCondition.class, io.deephaven.proto.backplane.grpc.InCondition.Builder.class);
  }

  private int bitField0_;
  public static final int TARGET_FIELD_NUMBER = 1;
  private io.deephaven.proto.backplane.grpc.Value target_;
  /**
   * .io.deephaven.proto.backplane.grpc.Value target = 1;
   * @return Whether the target field is set.
   */
  @java.lang.Override
  public boolean hasTarget() {
    return ((bitField0_ & 0x00000001) != 0);
  }
  /**
   * .io.deephaven.proto.backplane.grpc.Value target = 1;
   * @return The target.
   */
  @java.lang.Override
  public io.deephaven.proto.backplane.grpc.Value getTarget() {
    return target_ == null ? io.deephaven.proto.backplane.grpc.Value.getDefaultInstance() : target_;
  }
  /**
   * .io.deephaven.proto.backplane.grpc.Value target = 1;
   */
  @java.lang.Override
  public io.deephaven.proto.backplane.grpc.ValueOrBuilder getTargetOrBuilder() {
    return target_ == null ? io.deephaven.proto.backplane.grpc.Value.getDefaultInstance() : target_;
  }

  public static final int CANDIDATES_FIELD_NUMBER = 2;
  @SuppressWarnings("serial")
  private java.util.List candidates_;
  /**
   * repeated .io.deephaven.proto.backplane.grpc.Value candidates = 2;
   */
  @java.lang.Override
  public java.util.List getCandidatesList() {
    return candidates_;
  }
  /**
   * repeated .io.deephaven.proto.backplane.grpc.Value candidates = 2;
   */
  @java.lang.Override
  public java.util.List 
      getCandidatesOrBuilderList() {
    return candidates_;
  }
  /**
   * repeated .io.deephaven.proto.backplane.grpc.Value candidates = 2;
   */
  @java.lang.Override
  public int getCandidatesCount() {
    return candidates_.size();
  }
  /**
   * repeated .io.deephaven.proto.backplane.grpc.Value candidates = 2;
   */
  @java.lang.Override
  public io.deephaven.proto.backplane.grpc.Value getCandidates(int index) {
    return candidates_.get(index);
  }
  /**
   * repeated .io.deephaven.proto.backplane.grpc.Value candidates = 2;
   */
  @java.lang.Override
  public io.deephaven.proto.backplane.grpc.ValueOrBuilder getCandidatesOrBuilder(
      int index) {
    return candidates_.get(index);
  }

  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, getTarget());
    }
    for (int i = 0; i < candidates_.size(); i++) {
      output.writeMessage(2, candidates_.get(i));
    }
    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, getTarget());
    }
    for (int i = 0; i < candidates_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(2, candidates_.get(i));
    }
    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.InCondition)) {
      return super.equals(obj);
    }
    io.deephaven.proto.backplane.grpc.InCondition other = (io.deephaven.proto.backplane.grpc.InCondition) obj;

    if (hasTarget() != other.hasTarget()) return false;
    if (hasTarget()) {
      if (!getTarget()
          .equals(other.getTarget())) return false;
    }
    if (!getCandidatesList()
        .equals(other.getCandidatesList())) 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 (hasTarget()) {
      hash = (37 * hash) + TARGET_FIELD_NUMBER;
      hash = (53 * hash) + getTarget().hashCode();
    }
    if (getCandidatesCount() > 0) {
      hash = (37 * hash) + CANDIDATES_FIELD_NUMBER;
      hash = (53 * hash) + getCandidatesList().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.InCondition parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static io.deephaven.proto.backplane.grpc.InCondition 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.InCondition parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static io.deephaven.proto.backplane.grpc.InCondition 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.InCondition parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static io.deephaven.proto.backplane.grpc.InCondition 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.InCondition parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static io.deephaven.proto.backplane.grpc.InCondition 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.InCondition parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }

  public static io.deephaven.proto.backplane.grpc.InCondition 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.InCondition 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.InCondition 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.InCondition 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.InCondition}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder implements
      // @@protoc_insertion_point(builder_implements:io.deephaven.proto.backplane.grpc.InCondition)
      io.deephaven.proto.backplane.grpc.InConditionOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_InCondition_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_InCondition_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.deephaven.proto.backplane.grpc.InCondition.class, io.deephaven.proto.backplane.grpc.InCondition.Builder.class);
    }

    // Construct using io.deephaven.proto.backplane.grpc.InCondition.newBuilder()
    private Builder() {
      maybeForceBuilderInitialization();
    }

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
        getTargetFieldBuilder();
        getCandidatesFieldBuilder();
      }
    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      bitField0_ = 0;
      target_ = null;
      if (targetBuilder_ != null) {
        targetBuilder_.dispose();
        targetBuilder_ = null;
      }
      if (candidatesBuilder_ == null) {
        candidates_ = java.util.Collections.emptyList();
      } else {
        candidates_ = null;
        candidatesBuilder_.clear();
      }
      bitField0_ = (bitField0_ & ~0x00000002);
      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_InCondition_descriptor;
    }

    @java.lang.Override
    public io.deephaven.proto.backplane.grpc.InCondition getDefaultInstanceForType() {
      return io.deephaven.proto.backplane.grpc.InCondition.getDefaultInstance();
    }

    @java.lang.Override
    public io.deephaven.proto.backplane.grpc.InCondition build() {
      io.deephaven.proto.backplane.grpc.InCondition result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public io.deephaven.proto.backplane.grpc.InCondition buildPartial() {
      io.deephaven.proto.backplane.grpc.InCondition result = new io.deephaven.proto.backplane.grpc.InCondition(this);
      buildPartialRepeatedFields(result);
      if (bitField0_ != 0) { buildPartial0(result); }
      onBuilt();
      return result;
    }

    private void buildPartialRepeatedFields(io.deephaven.proto.backplane.grpc.InCondition result) {
      if (candidatesBuilder_ == null) {
        if (((bitField0_ & 0x00000002) != 0)) {
          candidates_ = java.util.Collections.unmodifiableList(candidates_);
          bitField0_ = (bitField0_ & ~0x00000002);
        }
        result.candidates_ = candidates_;
      } else {
        result.candidates_ = candidatesBuilder_.build();
      }
    }

    private void buildPartial0(io.deephaven.proto.backplane.grpc.InCondition result) {
      int from_bitField0_ = bitField0_;
      int to_bitField0_ = 0;
      if (((from_bitField0_ & 0x00000001) != 0)) {
        result.target_ = targetBuilder_ == null
            ? target_
            : targetBuilder_.build();
        to_bitField0_ |= 0x00000001;
      }
      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.InCondition) {
        return mergeFrom((io.deephaven.proto.backplane.grpc.InCondition)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(io.deephaven.proto.backplane.grpc.InCondition other) {
      if (other == io.deephaven.proto.backplane.grpc.InCondition.getDefaultInstance()) return this;
      if (other.hasTarget()) {
        mergeTarget(other.getTarget());
      }
      if (candidatesBuilder_ == null) {
        if (!other.candidates_.isEmpty()) {
          if (candidates_.isEmpty()) {
            candidates_ = other.candidates_;
            bitField0_ = (bitField0_ & ~0x00000002);
          } else {
            ensureCandidatesIsMutable();
            candidates_.addAll(other.candidates_);
          }
          onChanged();
        }
      } else {
        if (!other.candidates_.isEmpty()) {
          if (candidatesBuilder_.isEmpty()) {
            candidatesBuilder_.dispose();
            candidatesBuilder_ = null;
            candidates_ = other.candidates_;
            bitField0_ = (bitField0_ & ~0x00000002);
            candidatesBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getCandidatesFieldBuilder() : null;
          } else {
            candidatesBuilder_.addAllMessages(other.candidates_);
          }
        }
      }
      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(
                  getTargetFieldBuilder().getBuilder(),
                  extensionRegistry);
              bitField0_ |= 0x00000001;
              break;
            } // case 10
            case 18: {
              io.deephaven.proto.backplane.grpc.Value m =
                  input.readMessage(
                      io.deephaven.proto.backplane.grpc.Value.parser(),
                      extensionRegistry);
              if (candidatesBuilder_ == null) {
                ensureCandidatesIsMutable();
                candidates_.add(m);
              } else {
                candidatesBuilder_.addMessage(m);
              }
              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.Value target_;
    private com.google.protobuf.SingleFieldBuilderV3<
        io.deephaven.proto.backplane.grpc.Value, io.deephaven.proto.backplane.grpc.Value.Builder, io.deephaven.proto.backplane.grpc.ValueOrBuilder> targetBuilder_;
    /**
     * .io.deephaven.proto.backplane.grpc.Value target = 1;
     * @return Whether the target field is set.
     */
    public boolean hasTarget() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * .io.deephaven.proto.backplane.grpc.Value target = 1;
     * @return The target.
     */
    public io.deephaven.proto.backplane.grpc.Value getTarget() {
      if (targetBuilder_ == null) {
        return target_ == null ? io.deephaven.proto.backplane.grpc.Value.getDefaultInstance() : target_;
      } else {
        return targetBuilder_.getMessage();
      }
    }
    /**
     * .io.deephaven.proto.backplane.grpc.Value target = 1;
     */
    public Builder setTarget(io.deephaven.proto.backplane.grpc.Value value) {
      if (targetBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        target_ = value;
      } else {
        targetBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }
    /**
     * .io.deephaven.proto.backplane.grpc.Value target = 1;
     */
    public Builder setTarget(
        io.deephaven.proto.backplane.grpc.Value.Builder builderForValue) {
      if (targetBuilder_ == null) {
        target_ = builderForValue.build();
      } else {
        targetBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }
    /**
     * .io.deephaven.proto.backplane.grpc.Value target = 1;
     */
    public Builder mergeTarget(io.deephaven.proto.backplane.grpc.Value value) {
      if (targetBuilder_ == null) {
        if (((bitField0_ & 0x00000001) != 0) &&
          target_ != null &&
          target_ != io.deephaven.proto.backplane.grpc.Value.getDefaultInstance()) {
          getTargetBuilder().mergeFrom(value);
        } else {
          target_ = value;
        }
      } else {
        targetBuilder_.mergeFrom(value);
      }
      if (target_ != null) {
        bitField0_ |= 0x00000001;
        onChanged();
      }
      return this;
    }
    /**
     * .io.deephaven.proto.backplane.grpc.Value target = 1;
     */
    public Builder clearTarget() {
      bitField0_ = (bitField0_ & ~0x00000001);
      target_ = null;
      if (targetBuilder_ != null) {
        targetBuilder_.dispose();
        targetBuilder_ = null;
      }
      onChanged();
      return this;
    }
    /**
     * .io.deephaven.proto.backplane.grpc.Value target = 1;
     */
    public io.deephaven.proto.backplane.grpc.Value.Builder getTargetBuilder() {
      bitField0_ |= 0x00000001;
      onChanged();
      return getTargetFieldBuilder().getBuilder();
    }
    /**
     * .io.deephaven.proto.backplane.grpc.Value target = 1;
     */
    public io.deephaven.proto.backplane.grpc.ValueOrBuilder getTargetOrBuilder() {
      if (targetBuilder_ != null) {
        return targetBuilder_.getMessageOrBuilder();
      } else {
        return target_ == null ?
            io.deephaven.proto.backplane.grpc.Value.getDefaultInstance() : target_;
      }
    }
    /**
     * .io.deephaven.proto.backplane.grpc.Value target = 1;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        io.deephaven.proto.backplane.grpc.Value, io.deephaven.proto.backplane.grpc.Value.Builder, io.deephaven.proto.backplane.grpc.ValueOrBuilder> 
        getTargetFieldBuilder() {
      if (targetBuilder_ == null) {
        targetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            io.deephaven.proto.backplane.grpc.Value, io.deephaven.proto.backplane.grpc.Value.Builder, io.deephaven.proto.backplane.grpc.ValueOrBuilder>(
                getTarget(),
                getParentForChildren(),
                isClean());
        target_ = null;
      }
      return targetBuilder_;
    }

    private java.util.List candidates_ =
      java.util.Collections.emptyList();
    private void ensureCandidatesIsMutable() {
      if (!((bitField0_ & 0x00000002) != 0)) {
        candidates_ = new java.util.ArrayList(candidates_);
        bitField0_ |= 0x00000002;
       }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
        io.deephaven.proto.backplane.grpc.Value, io.deephaven.proto.backplane.grpc.Value.Builder, io.deephaven.proto.backplane.grpc.ValueOrBuilder> candidatesBuilder_;

    /**
     * repeated .io.deephaven.proto.backplane.grpc.Value candidates = 2;
     */
    public java.util.List getCandidatesList() {
      if (candidatesBuilder_ == null) {
        return java.util.Collections.unmodifiableList(candidates_);
      } else {
        return candidatesBuilder_.getMessageList();
      }
    }
    /**
     * repeated .io.deephaven.proto.backplane.grpc.Value candidates = 2;
     */
    public int getCandidatesCount() {
      if (candidatesBuilder_ == null) {
        return candidates_.size();
      } else {
        return candidatesBuilder_.getCount();
      }
    }
    /**
     * repeated .io.deephaven.proto.backplane.grpc.Value candidates = 2;
     */
    public io.deephaven.proto.backplane.grpc.Value getCandidates(int index) {
      if (candidatesBuilder_ == null) {
        return candidates_.get(index);
      } else {
        return candidatesBuilder_.getMessage(index);
      }
    }
    /**
     * repeated .io.deephaven.proto.backplane.grpc.Value candidates = 2;
     */
    public Builder setCandidates(
        int index, io.deephaven.proto.backplane.grpc.Value value) {
      if (candidatesBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureCandidatesIsMutable();
        candidates_.set(index, value);
        onChanged();
      } else {
        candidatesBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * repeated .io.deephaven.proto.backplane.grpc.Value candidates = 2;
     */
    public Builder setCandidates(
        int index, io.deephaven.proto.backplane.grpc.Value.Builder builderForValue) {
      if (candidatesBuilder_ == null) {
        ensureCandidatesIsMutable();
        candidates_.set(index, builderForValue.build());
        onChanged();
      } else {
        candidatesBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .io.deephaven.proto.backplane.grpc.Value candidates = 2;
     */
    public Builder addCandidates(io.deephaven.proto.backplane.grpc.Value value) {
      if (candidatesBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureCandidatesIsMutable();
        candidates_.add(value);
        onChanged();
      } else {
        candidatesBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * repeated .io.deephaven.proto.backplane.grpc.Value candidates = 2;
     */
    public Builder addCandidates(
        int index, io.deephaven.proto.backplane.grpc.Value value) {
      if (candidatesBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureCandidatesIsMutable();
        candidates_.add(index, value);
        onChanged();
      } else {
        candidatesBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * repeated .io.deephaven.proto.backplane.grpc.Value candidates = 2;
     */
    public Builder addCandidates(
        io.deephaven.proto.backplane.grpc.Value.Builder builderForValue) {
      if (candidatesBuilder_ == null) {
        ensureCandidatesIsMutable();
        candidates_.add(builderForValue.build());
        onChanged();
      } else {
        candidatesBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .io.deephaven.proto.backplane.grpc.Value candidates = 2;
     */
    public Builder addCandidates(
        int index, io.deephaven.proto.backplane.grpc.Value.Builder builderForValue) {
      if (candidatesBuilder_ == null) {
        ensureCandidatesIsMutable();
        candidates_.add(index, builderForValue.build());
        onChanged();
      } else {
        candidatesBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .io.deephaven.proto.backplane.grpc.Value candidates = 2;
     */
    public Builder addAllCandidates(
        java.lang.Iterable values) {
      if (candidatesBuilder_ == null) {
        ensureCandidatesIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, candidates_);
        onChanged();
      } else {
        candidatesBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * repeated .io.deephaven.proto.backplane.grpc.Value candidates = 2;
     */
    public Builder clearCandidates() {
      if (candidatesBuilder_ == null) {
        candidates_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000002);
        onChanged();
      } else {
        candidatesBuilder_.clear();
      }
      return this;
    }
    /**
     * repeated .io.deephaven.proto.backplane.grpc.Value candidates = 2;
     */
    public Builder removeCandidates(int index) {
      if (candidatesBuilder_ == null) {
        ensureCandidatesIsMutable();
        candidates_.remove(index);
        onChanged();
      } else {
        candidatesBuilder_.remove(index);
      }
      return this;
    }
    /**
     * repeated .io.deephaven.proto.backplane.grpc.Value candidates = 2;
     */
    public io.deephaven.proto.backplane.grpc.Value.Builder getCandidatesBuilder(
        int index) {
      return getCandidatesFieldBuilder().getBuilder(index);
    }
    /**
     * repeated .io.deephaven.proto.backplane.grpc.Value candidates = 2;
     */
    public io.deephaven.proto.backplane.grpc.ValueOrBuilder getCandidatesOrBuilder(
        int index) {
      if (candidatesBuilder_ == null) {
        return candidates_.get(index);  } else {
        return candidatesBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * repeated .io.deephaven.proto.backplane.grpc.Value candidates = 2;
     */
    public java.util.List 
         getCandidatesOrBuilderList() {
      if (candidatesBuilder_ != null) {
        return candidatesBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(candidates_);
      }
    }
    /**
     * repeated .io.deephaven.proto.backplane.grpc.Value candidates = 2;
     */
    public io.deephaven.proto.backplane.grpc.Value.Builder addCandidatesBuilder() {
      return getCandidatesFieldBuilder().addBuilder(
          io.deephaven.proto.backplane.grpc.Value.getDefaultInstance());
    }
    /**
     * repeated .io.deephaven.proto.backplane.grpc.Value candidates = 2;
     */
    public io.deephaven.proto.backplane.grpc.Value.Builder addCandidatesBuilder(
        int index) {
      return getCandidatesFieldBuilder().addBuilder(
          index, io.deephaven.proto.backplane.grpc.Value.getDefaultInstance());
    }
    /**
     * repeated .io.deephaven.proto.backplane.grpc.Value candidates = 2;
     */
    public java.util.List 
         getCandidatesBuilderList() {
      return getCandidatesFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        io.deephaven.proto.backplane.grpc.Value, io.deephaven.proto.backplane.grpc.Value.Builder, io.deephaven.proto.backplane.grpc.ValueOrBuilder> 
        getCandidatesFieldBuilder() {
      if (candidatesBuilder_ == null) {
        candidatesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            io.deephaven.proto.backplane.grpc.Value, io.deephaven.proto.backplane.grpc.Value.Builder, io.deephaven.proto.backplane.grpc.ValueOrBuilder>(
                candidates_,
                ((bitField0_ & 0x00000002) != 0),
                getParentForChildren(),
                isClean());
        candidates_ = null;
      }
      return candidatesBuilder_;
    }

    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.InCondition)
  }

  // @@protoc_insertion_point(class_scope:io.deephaven.proto.backplane.grpc.InCondition)
  private static final io.deephaven.proto.backplane.grpc.InCondition DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new io.deephaven.proto.backplane.grpc.InCondition();
  }

  public static io.deephaven.proto.backplane.grpc.InCondition getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static final com.google.protobuf.Parser
      PARSER = new com.google.protobuf.AbstractParser() {
    @java.lang.Override
    public InCondition 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.InCondition getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy