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

cz.proto.SortMergeJoin Maven / Gradle / Ivy

There is a newer version: 2.0.0
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: operator.proto

package cz.proto;

/**
 * Protobuf type {@code cz.proto.SortMergeJoin}
 */
public final class SortMergeJoin extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:cz.proto.SortMergeJoin)
    SortMergeJoinOrBuilder {
private static final long serialVersionUID = 0L;
  // Use SortMergeJoin.newBuilder() to construct.
  private SortMergeJoin(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private SortMergeJoin() {
    lhsOrders_ = java.util.Collections.emptyList();
    rhsOrders_ = java.util.Collections.emptyList();
  }

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private SortMergeJoin(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    if (extensionRegistry == null) {
      throw new java.lang.NullPointerException();
    }
    int mutable_bitField0_ = 0;
    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
        com.google.protobuf.UnknownFieldSet.newBuilder();
    try {
      boolean done = false;
      while (!done) {
        int tag = input.readTag();
        switch (tag) {
          case 0:
            done = true;
            break;
          case 10: {
            cz.proto.LogicalJoin.Builder subBuilder = null;
            if (join_ != null) {
              subBuilder = join_.toBuilder();
            }
            join_ = input.readMessage(cz.proto.LogicalJoin.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(join_);
              join_ = subBuilder.buildPartial();
            }

            break;
          }
          case 18: {
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              lhsOrders_ = new java.util.ArrayList();
              mutable_bitField0_ |= 0x00000001;
            }
            lhsOrders_.add(
                input.readMessage(cz.proto.OrderByDesc.parser(), extensionRegistry));
            break;
          }
          case 26: {
            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
              rhsOrders_ = new java.util.ArrayList();
              mutable_bitField0_ |= 0x00000002;
            }
            rhsOrders_.add(
                input.readMessage(cz.proto.OrderByDesc.parser(), extensionRegistry));
            break;
          }
          default: {
            if (!parseUnknownField(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      if (((mutable_bitField0_ & 0x00000001) != 0)) {
        lhsOrders_ = java.util.Collections.unmodifiableList(lhsOrders_);
      }
      if (((mutable_bitField0_ & 0x00000002) != 0)) {
        rhsOrders_ = java.util.Collections.unmodifiableList(rhsOrders_);
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return cz.proto.OperatorProto.internal_static_cz_proto_SortMergeJoin_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return cz.proto.OperatorProto.internal_static_cz_proto_SortMergeJoin_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            cz.proto.SortMergeJoin.class, cz.proto.SortMergeJoin.Builder.class);
  }

  public static final int JOIN_FIELD_NUMBER = 1;
  private cz.proto.LogicalJoin join_;
  /**
   * .cz.proto.LogicalJoin join = 1;
   * @return Whether the join field is set.
   */
  @java.lang.Override
  public boolean hasJoin() {
    return join_ != null;
  }
  /**
   * .cz.proto.LogicalJoin join = 1;
   * @return The join.
   */
  @java.lang.Override
  public cz.proto.LogicalJoin getJoin() {
    return join_ == null ? cz.proto.LogicalJoin.getDefaultInstance() : join_;
  }
  /**
   * .cz.proto.LogicalJoin join = 1;
   */
  @java.lang.Override
  public cz.proto.LogicalJoinOrBuilder getJoinOrBuilder() {
    return getJoin();
  }

  public static final int LHS_ORDERS_FIELD_NUMBER = 2;
  private java.util.List lhsOrders_;
  /**
   * repeated .cz.proto.OrderByDesc lhs_orders = 2;
   */
  @java.lang.Override
  public java.util.List getLhsOrdersList() {
    return lhsOrders_;
  }
  /**
   * repeated .cz.proto.OrderByDesc lhs_orders = 2;
   */
  @java.lang.Override
  public java.util.List 
      getLhsOrdersOrBuilderList() {
    return lhsOrders_;
  }
  /**
   * repeated .cz.proto.OrderByDesc lhs_orders = 2;
   */
  @java.lang.Override
  public int getLhsOrdersCount() {
    return lhsOrders_.size();
  }
  /**
   * repeated .cz.proto.OrderByDesc lhs_orders = 2;
   */
  @java.lang.Override
  public cz.proto.OrderByDesc getLhsOrders(int index) {
    return lhsOrders_.get(index);
  }
  /**
   * repeated .cz.proto.OrderByDesc lhs_orders = 2;
   */
  @java.lang.Override
  public cz.proto.OrderByDescOrBuilder getLhsOrdersOrBuilder(
      int index) {
    return lhsOrders_.get(index);
  }

  public static final int RHS_ORDERS_FIELD_NUMBER = 3;
  private java.util.List rhsOrders_;
  /**
   * repeated .cz.proto.OrderByDesc rhs_orders = 3;
   */
  @java.lang.Override
  public java.util.List getRhsOrdersList() {
    return rhsOrders_;
  }
  /**
   * repeated .cz.proto.OrderByDesc rhs_orders = 3;
   */
  @java.lang.Override
  public java.util.List 
      getRhsOrdersOrBuilderList() {
    return rhsOrders_;
  }
  /**
   * repeated .cz.proto.OrderByDesc rhs_orders = 3;
   */
  @java.lang.Override
  public int getRhsOrdersCount() {
    return rhsOrders_.size();
  }
  /**
   * repeated .cz.proto.OrderByDesc rhs_orders = 3;
   */
  @java.lang.Override
  public cz.proto.OrderByDesc getRhsOrders(int index) {
    return rhsOrders_.get(index);
  }
  /**
   * repeated .cz.proto.OrderByDesc rhs_orders = 3;
   */
  @java.lang.Override
  public cz.proto.OrderByDescOrBuilder getRhsOrdersOrBuilder(
      int index) {
    return rhsOrders_.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 (join_ != null) {
      output.writeMessage(1, getJoin());
    }
    for (int i = 0; i < lhsOrders_.size(); i++) {
      output.writeMessage(2, lhsOrders_.get(i));
    }
    for (int i = 0; i < rhsOrders_.size(); i++) {
      output.writeMessage(3, rhsOrders_.get(i));
    }
    unknownFields.writeTo(output);
  }

  @java.lang.Override
  public int getSerializedSize() {
    int size = memoizedSize;
    if (size != -1) return size;

    size = 0;
    if (join_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(1, getJoin());
    }
    for (int i = 0; i < lhsOrders_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(2, lhsOrders_.get(i));
    }
    for (int i = 0; i < rhsOrders_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(3, rhsOrders_.get(i));
    }
    size += unknownFields.getSerializedSize();
    memoizedSize = size;
    return size;
  }

  @java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
     return true;
    }
    if (!(obj instanceof cz.proto.SortMergeJoin)) {
      return super.equals(obj);
    }
    cz.proto.SortMergeJoin other = (cz.proto.SortMergeJoin) obj;

    if (hasJoin() != other.hasJoin()) return false;
    if (hasJoin()) {
      if (!getJoin()
          .equals(other.getJoin())) return false;
    }
    if (!getLhsOrdersList()
        .equals(other.getLhsOrdersList())) return false;
    if (!getRhsOrdersList()
        .equals(other.getRhsOrdersList())) return false;
    if (!unknownFields.equals(other.unknownFields)) return false;
    return true;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    if (hasJoin()) {
      hash = (37 * hash) + JOIN_FIELD_NUMBER;
      hash = (53 * hash) + getJoin().hashCode();
    }
    if (getLhsOrdersCount() > 0) {
      hash = (37 * hash) + LHS_ORDERS_FIELD_NUMBER;
      hash = (53 * hash) + getLhsOrdersList().hashCode();
    }
    if (getRhsOrdersCount() > 0) {
      hash = (37 * hash) + RHS_ORDERS_FIELD_NUMBER;
      hash = (53 * hash) + getRhsOrdersList().hashCode();
    }
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static cz.proto.SortMergeJoin parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static cz.proto.SortMergeJoin parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static cz.proto.SortMergeJoin parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static cz.proto.SortMergeJoin parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static cz.proto.SortMergeJoin parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static cz.proto.SortMergeJoin parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static cz.proto.SortMergeJoin parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static cz.proto.SortMergeJoin 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 cz.proto.SortMergeJoin parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static cz.proto.SortMergeJoin 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 cz.proto.SortMergeJoin parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static cz.proto.SortMergeJoin 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(cz.proto.SortMergeJoin 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 cz.proto.SortMergeJoin}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder implements
      // @@protoc_insertion_point(builder_implements:cz.proto.SortMergeJoin)
      cz.proto.SortMergeJoinOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return cz.proto.OperatorProto.internal_static_cz_proto_SortMergeJoin_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return cz.proto.OperatorProto.internal_static_cz_proto_SortMergeJoin_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              cz.proto.SortMergeJoin.class, cz.proto.SortMergeJoin.Builder.class);
    }

    // Construct using cz.proto.SortMergeJoin.newBuilder()
    private Builder() {
      maybeForceBuilderInitialization();
    }

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
        getLhsOrdersFieldBuilder();
        getRhsOrdersFieldBuilder();
      }
    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      if (joinBuilder_ == null) {
        join_ = null;
      } else {
        join_ = null;
        joinBuilder_ = null;
      }
      if (lhsOrdersBuilder_ == null) {
        lhsOrders_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
      } else {
        lhsOrdersBuilder_.clear();
      }
      if (rhsOrdersBuilder_ == null) {
        rhsOrders_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000002);
      } else {
        rhsOrdersBuilder_.clear();
      }
      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return cz.proto.OperatorProto.internal_static_cz_proto_SortMergeJoin_descriptor;
    }

    @java.lang.Override
    public cz.proto.SortMergeJoin getDefaultInstanceForType() {
      return cz.proto.SortMergeJoin.getDefaultInstance();
    }

    @java.lang.Override
    public cz.proto.SortMergeJoin build() {
      cz.proto.SortMergeJoin result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public cz.proto.SortMergeJoin buildPartial() {
      cz.proto.SortMergeJoin result = new cz.proto.SortMergeJoin(this);
      int from_bitField0_ = bitField0_;
      if (joinBuilder_ == null) {
        result.join_ = join_;
      } else {
        result.join_ = joinBuilder_.build();
      }
      if (lhsOrdersBuilder_ == null) {
        if (((bitField0_ & 0x00000001) != 0)) {
          lhsOrders_ = java.util.Collections.unmodifiableList(lhsOrders_);
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.lhsOrders_ = lhsOrders_;
      } else {
        result.lhsOrders_ = lhsOrdersBuilder_.build();
      }
      if (rhsOrdersBuilder_ == null) {
        if (((bitField0_ & 0x00000002) != 0)) {
          rhsOrders_ = java.util.Collections.unmodifiableList(rhsOrders_);
          bitField0_ = (bitField0_ & ~0x00000002);
        }
        result.rhsOrders_ = rhsOrders_;
      } else {
        result.rhsOrders_ = rhsOrdersBuilder_.build();
      }
      onBuilt();
      return result;
    }

    @java.lang.Override
    public Builder clone() {
      return super.clone();
    }
    @java.lang.Override
    public Builder setField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        java.lang.Object value) {
      return super.setField(field, value);
    }
    @java.lang.Override
    public Builder clearField(
        com.google.protobuf.Descriptors.FieldDescriptor field) {
      return super.clearField(field);
    }
    @java.lang.Override
    public Builder clearOneof(
        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
      return super.clearOneof(oneof);
    }
    @java.lang.Override
    public Builder setRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        int index, java.lang.Object value) {
      return super.setRepeatedField(field, index, value);
    }
    @java.lang.Override
    public Builder addRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        java.lang.Object value) {
      return super.addRepeatedField(field, value);
    }
    @java.lang.Override
    public Builder mergeFrom(com.google.protobuf.Message other) {
      if (other instanceof cz.proto.SortMergeJoin) {
        return mergeFrom((cz.proto.SortMergeJoin)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(cz.proto.SortMergeJoin other) {
      if (other == cz.proto.SortMergeJoin.getDefaultInstance()) return this;
      if (other.hasJoin()) {
        mergeJoin(other.getJoin());
      }
      if (lhsOrdersBuilder_ == null) {
        if (!other.lhsOrders_.isEmpty()) {
          if (lhsOrders_.isEmpty()) {
            lhsOrders_ = other.lhsOrders_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureLhsOrdersIsMutable();
            lhsOrders_.addAll(other.lhsOrders_);
          }
          onChanged();
        }
      } else {
        if (!other.lhsOrders_.isEmpty()) {
          if (lhsOrdersBuilder_.isEmpty()) {
            lhsOrdersBuilder_.dispose();
            lhsOrdersBuilder_ = null;
            lhsOrders_ = other.lhsOrders_;
            bitField0_ = (bitField0_ & ~0x00000001);
            lhsOrdersBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getLhsOrdersFieldBuilder() : null;
          } else {
            lhsOrdersBuilder_.addAllMessages(other.lhsOrders_);
          }
        }
      }
      if (rhsOrdersBuilder_ == null) {
        if (!other.rhsOrders_.isEmpty()) {
          if (rhsOrders_.isEmpty()) {
            rhsOrders_ = other.rhsOrders_;
            bitField0_ = (bitField0_ & ~0x00000002);
          } else {
            ensureRhsOrdersIsMutable();
            rhsOrders_.addAll(other.rhsOrders_);
          }
          onChanged();
        }
      } else {
        if (!other.rhsOrders_.isEmpty()) {
          if (rhsOrdersBuilder_.isEmpty()) {
            rhsOrdersBuilder_.dispose();
            rhsOrdersBuilder_ = null;
            rhsOrders_ = other.rhsOrders_;
            bitField0_ = (bitField0_ & ~0x00000002);
            rhsOrdersBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getRhsOrdersFieldBuilder() : null;
          } else {
            rhsOrdersBuilder_.addAllMessages(other.rhsOrders_);
          }
        }
      }
      this.mergeUnknownFields(other.unknownFields);
      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 {
      cz.proto.SortMergeJoin parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (cz.proto.SortMergeJoin) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }
    private int bitField0_;

    private cz.proto.LogicalJoin join_;
    private com.google.protobuf.SingleFieldBuilderV3<
        cz.proto.LogicalJoin, cz.proto.LogicalJoin.Builder, cz.proto.LogicalJoinOrBuilder> joinBuilder_;
    /**
     * .cz.proto.LogicalJoin join = 1;
     * @return Whether the join field is set.
     */
    public boolean hasJoin() {
      return joinBuilder_ != null || join_ != null;
    }
    /**
     * .cz.proto.LogicalJoin join = 1;
     * @return The join.
     */
    public cz.proto.LogicalJoin getJoin() {
      if (joinBuilder_ == null) {
        return join_ == null ? cz.proto.LogicalJoin.getDefaultInstance() : join_;
      } else {
        return joinBuilder_.getMessage();
      }
    }
    /**
     * .cz.proto.LogicalJoin join = 1;
     */
    public Builder setJoin(cz.proto.LogicalJoin value) {
      if (joinBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        join_ = value;
        onChanged();
      } else {
        joinBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     * .cz.proto.LogicalJoin join = 1;
     */
    public Builder setJoin(
        cz.proto.LogicalJoin.Builder builderForValue) {
      if (joinBuilder_ == null) {
        join_ = builderForValue.build();
        onChanged();
      } else {
        joinBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     * .cz.proto.LogicalJoin join = 1;
     */
    public Builder mergeJoin(cz.proto.LogicalJoin value) {
      if (joinBuilder_ == null) {
        if (join_ != null) {
          join_ =
            cz.proto.LogicalJoin.newBuilder(join_).mergeFrom(value).buildPartial();
        } else {
          join_ = value;
        }
        onChanged();
      } else {
        joinBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     * .cz.proto.LogicalJoin join = 1;
     */
    public Builder clearJoin() {
      if (joinBuilder_ == null) {
        join_ = null;
        onChanged();
      } else {
        join_ = null;
        joinBuilder_ = null;
      }

      return this;
    }
    /**
     * .cz.proto.LogicalJoin join = 1;
     */
    public cz.proto.LogicalJoin.Builder getJoinBuilder() {
      
      onChanged();
      return getJoinFieldBuilder().getBuilder();
    }
    /**
     * .cz.proto.LogicalJoin join = 1;
     */
    public cz.proto.LogicalJoinOrBuilder getJoinOrBuilder() {
      if (joinBuilder_ != null) {
        return joinBuilder_.getMessageOrBuilder();
      } else {
        return join_ == null ?
            cz.proto.LogicalJoin.getDefaultInstance() : join_;
      }
    }
    /**
     * .cz.proto.LogicalJoin join = 1;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        cz.proto.LogicalJoin, cz.proto.LogicalJoin.Builder, cz.proto.LogicalJoinOrBuilder> 
        getJoinFieldBuilder() {
      if (joinBuilder_ == null) {
        joinBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            cz.proto.LogicalJoin, cz.proto.LogicalJoin.Builder, cz.proto.LogicalJoinOrBuilder>(
                getJoin(),
                getParentForChildren(),
                isClean());
        join_ = null;
      }
      return joinBuilder_;
    }

    private java.util.List lhsOrders_ =
      java.util.Collections.emptyList();
    private void ensureLhsOrdersIsMutable() {
      if (!((bitField0_ & 0x00000001) != 0)) {
        lhsOrders_ = new java.util.ArrayList(lhsOrders_);
        bitField0_ |= 0x00000001;
       }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
        cz.proto.OrderByDesc, cz.proto.OrderByDesc.Builder, cz.proto.OrderByDescOrBuilder> lhsOrdersBuilder_;

    /**
     * repeated .cz.proto.OrderByDesc lhs_orders = 2;
     */
    public java.util.List getLhsOrdersList() {
      if (lhsOrdersBuilder_ == null) {
        return java.util.Collections.unmodifiableList(lhsOrders_);
      } else {
        return lhsOrdersBuilder_.getMessageList();
      }
    }
    /**
     * repeated .cz.proto.OrderByDesc lhs_orders = 2;
     */
    public int getLhsOrdersCount() {
      if (lhsOrdersBuilder_ == null) {
        return lhsOrders_.size();
      } else {
        return lhsOrdersBuilder_.getCount();
      }
    }
    /**
     * repeated .cz.proto.OrderByDesc lhs_orders = 2;
     */
    public cz.proto.OrderByDesc getLhsOrders(int index) {
      if (lhsOrdersBuilder_ == null) {
        return lhsOrders_.get(index);
      } else {
        return lhsOrdersBuilder_.getMessage(index);
      }
    }
    /**
     * repeated .cz.proto.OrderByDesc lhs_orders = 2;
     */
    public Builder setLhsOrders(
        int index, cz.proto.OrderByDesc value) {
      if (lhsOrdersBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureLhsOrdersIsMutable();
        lhsOrders_.set(index, value);
        onChanged();
      } else {
        lhsOrdersBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * repeated .cz.proto.OrderByDesc lhs_orders = 2;
     */
    public Builder setLhsOrders(
        int index, cz.proto.OrderByDesc.Builder builderForValue) {
      if (lhsOrdersBuilder_ == null) {
        ensureLhsOrdersIsMutable();
        lhsOrders_.set(index, builderForValue.build());
        onChanged();
      } else {
        lhsOrdersBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .cz.proto.OrderByDesc lhs_orders = 2;
     */
    public Builder addLhsOrders(cz.proto.OrderByDesc value) {
      if (lhsOrdersBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureLhsOrdersIsMutable();
        lhsOrders_.add(value);
        onChanged();
      } else {
        lhsOrdersBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * repeated .cz.proto.OrderByDesc lhs_orders = 2;
     */
    public Builder addLhsOrders(
        int index, cz.proto.OrderByDesc value) {
      if (lhsOrdersBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureLhsOrdersIsMutable();
        lhsOrders_.add(index, value);
        onChanged();
      } else {
        lhsOrdersBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * repeated .cz.proto.OrderByDesc lhs_orders = 2;
     */
    public Builder addLhsOrders(
        cz.proto.OrderByDesc.Builder builderForValue) {
      if (lhsOrdersBuilder_ == null) {
        ensureLhsOrdersIsMutable();
        lhsOrders_.add(builderForValue.build());
        onChanged();
      } else {
        lhsOrdersBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .cz.proto.OrderByDesc lhs_orders = 2;
     */
    public Builder addLhsOrders(
        int index, cz.proto.OrderByDesc.Builder builderForValue) {
      if (lhsOrdersBuilder_ == null) {
        ensureLhsOrdersIsMutable();
        lhsOrders_.add(index, builderForValue.build());
        onChanged();
      } else {
        lhsOrdersBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .cz.proto.OrderByDesc lhs_orders = 2;
     */
    public Builder addAllLhsOrders(
        java.lang.Iterable values) {
      if (lhsOrdersBuilder_ == null) {
        ensureLhsOrdersIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, lhsOrders_);
        onChanged();
      } else {
        lhsOrdersBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * repeated .cz.proto.OrderByDesc lhs_orders = 2;
     */
    public Builder clearLhsOrders() {
      if (lhsOrdersBuilder_ == null) {
        lhsOrders_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
      } else {
        lhsOrdersBuilder_.clear();
      }
      return this;
    }
    /**
     * repeated .cz.proto.OrderByDesc lhs_orders = 2;
     */
    public Builder removeLhsOrders(int index) {
      if (lhsOrdersBuilder_ == null) {
        ensureLhsOrdersIsMutable();
        lhsOrders_.remove(index);
        onChanged();
      } else {
        lhsOrdersBuilder_.remove(index);
      }
      return this;
    }
    /**
     * repeated .cz.proto.OrderByDesc lhs_orders = 2;
     */
    public cz.proto.OrderByDesc.Builder getLhsOrdersBuilder(
        int index) {
      return getLhsOrdersFieldBuilder().getBuilder(index);
    }
    /**
     * repeated .cz.proto.OrderByDesc lhs_orders = 2;
     */
    public cz.proto.OrderByDescOrBuilder getLhsOrdersOrBuilder(
        int index) {
      if (lhsOrdersBuilder_ == null) {
        return lhsOrders_.get(index);  } else {
        return lhsOrdersBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * repeated .cz.proto.OrderByDesc lhs_orders = 2;
     */
    public java.util.List 
         getLhsOrdersOrBuilderList() {
      if (lhsOrdersBuilder_ != null) {
        return lhsOrdersBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(lhsOrders_);
      }
    }
    /**
     * repeated .cz.proto.OrderByDesc lhs_orders = 2;
     */
    public cz.proto.OrderByDesc.Builder addLhsOrdersBuilder() {
      return getLhsOrdersFieldBuilder().addBuilder(
          cz.proto.OrderByDesc.getDefaultInstance());
    }
    /**
     * repeated .cz.proto.OrderByDesc lhs_orders = 2;
     */
    public cz.proto.OrderByDesc.Builder addLhsOrdersBuilder(
        int index) {
      return getLhsOrdersFieldBuilder().addBuilder(
          index, cz.proto.OrderByDesc.getDefaultInstance());
    }
    /**
     * repeated .cz.proto.OrderByDesc lhs_orders = 2;
     */
    public java.util.List 
         getLhsOrdersBuilderList() {
      return getLhsOrdersFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        cz.proto.OrderByDesc, cz.proto.OrderByDesc.Builder, cz.proto.OrderByDescOrBuilder> 
        getLhsOrdersFieldBuilder() {
      if (lhsOrdersBuilder_ == null) {
        lhsOrdersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            cz.proto.OrderByDesc, cz.proto.OrderByDesc.Builder, cz.proto.OrderByDescOrBuilder>(
                lhsOrders_,
                ((bitField0_ & 0x00000001) != 0),
                getParentForChildren(),
                isClean());
        lhsOrders_ = null;
      }
      return lhsOrdersBuilder_;
    }

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

    private com.google.protobuf.RepeatedFieldBuilderV3<
        cz.proto.OrderByDesc, cz.proto.OrderByDesc.Builder, cz.proto.OrderByDescOrBuilder> rhsOrdersBuilder_;

    /**
     * repeated .cz.proto.OrderByDesc rhs_orders = 3;
     */
    public java.util.List getRhsOrdersList() {
      if (rhsOrdersBuilder_ == null) {
        return java.util.Collections.unmodifiableList(rhsOrders_);
      } else {
        return rhsOrdersBuilder_.getMessageList();
      }
    }
    /**
     * repeated .cz.proto.OrderByDesc rhs_orders = 3;
     */
    public int getRhsOrdersCount() {
      if (rhsOrdersBuilder_ == null) {
        return rhsOrders_.size();
      } else {
        return rhsOrdersBuilder_.getCount();
      }
    }
    /**
     * repeated .cz.proto.OrderByDesc rhs_orders = 3;
     */
    public cz.proto.OrderByDesc getRhsOrders(int index) {
      if (rhsOrdersBuilder_ == null) {
        return rhsOrders_.get(index);
      } else {
        return rhsOrdersBuilder_.getMessage(index);
      }
    }
    /**
     * repeated .cz.proto.OrderByDesc rhs_orders = 3;
     */
    public Builder setRhsOrders(
        int index, cz.proto.OrderByDesc value) {
      if (rhsOrdersBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureRhsOrdersIsMutable();
        rhsOrders_.set(index, value);
        onChanged();
      } else {
        rhsOrdersBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * repeated .cz.proto.OrderByDesc rhs_orders = 3;
     */
    public Builder setRhsOrders(
        int index, cz.proto.OrderByDesc.Builder builderForValue) {
      if (rhsOrdersBuilder_ == null) {
        ensureRhsOrdersIsMutable();
        rhsOrders_.set(index, builderForValue.build());
        onChanged();
      } else {
        rhsOrdersBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .cz.proto.OrderByDesc rhs_orders = 3;
     */
    public Builder addRhsOrders(cz.proto.OrderByDesc value) {
      if (rhsOrdersBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureRhsOrdersIsMutable();
        rhsOrders_.add(value);
        onChanged();
      } else {
        rhsOrdersBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * repeated .cz.proto.OrderByDesc rhs_orders = 3;
     */
    public Builder addRhsOrders(
        int index, cz.proto.OrderByDesc value) {
      if (rhsOrdersBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureRhsOrdersIsMutable();
        rhsOrders_.add(index, value);
        onChanged();
      } else {
        rhsOrdersBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * repeated .cz.proto.OrderByDesc rhs_orders = 3;
     */
    public Builder addRhsOrders(
        cz.proto.OrderByDesc.Builder builderForValue) {
      if (rhsOrdersBuilder_ == null) {
        ensureRhsOrdersIsMutable();
        rhsOrders_.add(builderForValue.build());
        onChanged();
      } else {
        rhsOrdersBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .cz.proto.OrderByDesc rhs_orders = 3;
     */
    public Builder addRhsOrders(
        int index, cz.proto.OrderByDesc.Builder builderForValue) {
      if (rhsOrdersBuilder_ == null) {
        ensureRhsOrdersIsMutable();
        rhsOrders_.add(index, builderForValue.build());
        onChanged();
      } else {
        rhsOrdersBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .cz.proto.OrderByDesc rhs_orders = 3;
     */
    public Builder addAllRhsOrders(
        java.lang.Iterable values) {
      if (rhsOrdersBuilder_ == null) {
        ensureRhsOrdersIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, rhsOrders_);
        onChanged();
      } else {
        rhsOrdersBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * repeated .cz.proto.OrderByDesc rhs_orders = 3;
     */
    public Builder clearRhsOrders() {
      if (rhsOrdersBuilder_ == null) {
        rhsOrders_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000002);
        onChanged();
      } else {
        rhsOrdersBuilder_.clear();
      }
      return this;
    }
    /**
     * repeated .cz.proto.OrderByDesc rhs_orders = 3;
     */
    public Builder removeRhsOrders(int index) {
      if (rhsOrdersBuilder_ == null) {
        ensureRhsOrdersIsMutable();
        rhsOrders_.remove(index);
        onChanged();
      } else {
        rhsOrdersBuilder_.remove(index);
      }
      return this;
    }
    /**
     * repeated .cz.proto.OrderByDesc rhs_orders = 3;
     */
    public cz.proto.OrderByDesc.Builder getRhsOrdersBuilder(
        int index) {
      return getRhsOrdersFieldBuilder().getBuilder(index);
    }
    /**
     * repeated .cz.proto.OrderByDesc rhs_orders = 3;
     */
    public cz.proto.OrderByDescOrBuilder getRhsOrdersOrBuilder(
        int index) {
      if (rhsOrdersBuilder_ == null) {
        return rhsOrders_.get(index);  } else {
        return rhsOrdersBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * repeated .cz.proto.OrderByDesc rhs_orders = 3;
     */
    public java.util.List 
         getRhsOrdersOrBuilderList() {
      if (rhsOrdersBuilder_ != null) {
        return rhsOrdersBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(rhsOrders_);
      }
    }
    /**
     * repeated .cz.proto.OrderByDesc rhs_orders = 3;
     */
    public cz.proto.OrderByDesc.Builder addRhsOrdersBuilder() {
      return getRhsOrdersFieldBuilder().addBuilder(
          cz.proto.OrderByDesc.getDefaultInstance());
    }
    /**
     * repeated .cz.proto.OrderByDesc rhs_orders = 3;
     */
    public cz.proto.OrderByDesc.Builder addRhsOrdersBuilder(
        int index) {
      return getRhsOrdersFieldBuilder().addBuilder(
          index, cz.proto.OrderByDesc.getDefaultInstance());
    }
    /**
     * repeated .cz.proto.OrderByDesc rhs_orders = 3;
     */
    public java.util.List 
         getRhsOrdersBuilderList() {
      return getRhsOrdersFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        cz.proto.OrderByDesc, cz.proto.OrderByDesc.Builder, cz.proto.OrderByDescOrBuilder> 
        getRhsOrdersFieldBuilder() {
      if (rhsOrdersBuilder_ == null) {
        rhsOrdersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            cz.proto.OrderByDesc, cz.proto.OrderByDesc.Builder, cz.proto.OrderByDescOrBuilder>(
                rhsOrders_,
                ((bitField0_ & 0x00000002) != 0),
                getParentForChildren(),
                isClean());
        rhsOrders_ = null;
      }
      return rhsOrdersBuilder_;
    }
    @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:cz.proto.SortMergeJoin)
  }

  // @@protoc_insertion_point(class_scope:cz.proto.SortMergeJoin)
  private static final cz.proto.SortMergeJoin DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new cz.proto.SortMergeJoin();
  }

  public static cz.proto.SortMergeJoin getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static final com.google.protobuf.Parser
      PARSER = new com.google.protobuf.AbstractParser() {
    @java.lang.Override
    public SortMergeJoin parsePartialFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return new SortMergeJoin(input, extensionRegistry);
    }
  };

  public static com.google.protobuf.Parser parser() {
    return PARSER;
  }

  @java.lang.Override
  public com.google.protobuf.Parser getParserForType() {
    return PARSER;
  }

  @java.lang.Override
  public cz.proto.SortMergeJoin getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy