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

cz.proto.ShuffleRead 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.ShuffleRead}
 */
public final class ShuffleRead extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:cz.proto.ShuffleRead)
    ShuffleReadOrBuilder {
private static final long serialVersionUID = 0L;
  // Use ShuffleRead.newBuilder() to construct.
  private ShuffleRead(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private ShuffleRead() {
    orders_ = java.util.Collections.emptyList();
  }

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private ShuffleRead(
      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: {
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              orders_ = new java.util.ArrayList();
              mutable_bitField0_ |= 0x00000001;
            }
            orders_.add(
                input.readMessage(cz.proto.OrderByDesc.parser(), extensionRegistry));
            break;
          }
          case 16: {

            limit_ = input.readUInt32();
            break;
          }
          case 24: {

            offset_ = input.readUInt32();
            break;
          }
          case 34: {
            cz.proto.ShuffleType.Builder subBuilder = null;
            if (shuffleType_ != null) {
              subBuilder = shuffleType_.toBuilder();
            }
            shuffleType_ = input.readMessage(cz.proto.ShuffleType.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(shuffleType_);
              shuffleType_ = subBuilder.buildPartial();
            }

            break;
          }
          case 40: {

            multiAccessed_ = input.readBool();
            break;
          }
          case 56: {

            mergeSort_ = input.readBool();
            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)) {
        orders_ = java.util.Collections.unmodifiableList(orders_);
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return cz.proto.OperatorProto.internal_static_cz_proto_ShuffleRead_descriptor;
  }

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

  public static final int ORDERS_FIELD_NUMBER = 1;
  private java.util.List orders_;
  /**
   * repeated .cz.proto.OrderByDesc orders = 1;
   */
  @java.lang.Override
  public java.util.List getOrdersList() {
    return orders_;
  }
  /**
   * repeated .cz.proto.OrderByDesc orders = 1;
   */
  @java.lang.Override
  public java.util.List 
      getOrdersOrBuilderList() {
    return orders_;
  }
  /**
   * repeated .cz.proto.OrderByDesc orders = 1;
   */
  @java.lang.Override
  public int getOrdersCount() {
    return orders_.size();
  }
  /**
   * repeated .cz.proto.OrderByDesc orders = 1;
   */
  @java.lang.Override
  public cz.proto.OrderByDesc getOrders(int index) {
    return orders_.get(index);
  }
  /**
   * repeated .cz.proto.OrderByDesc orders = 1;
   */
  @java.lang.Override
  public cz.proto.OrderByDescOrBuilder getOrdersOrBuilder(
      int index) {
    return orders_.get(index);
  }

  public static final int LIMIT_FIELD_NUMBER = 2;
  private int limit_;
  /**
   * 
   * 0 means no limit
   * 
* * uint32 limit = 2; * @return The limit. */ @java.lang.Override public int getLimit() { return limit_; } public static final int OFFSET_FIELD_NUMBER = 3; private int offset_; /** * uint32 offset = 3; * @return The offset. */ @java.lang.Override public int getOffset() { return offset_; } public static final int SHUFFLETYPE_FIELD_NUMBER = 4; private cz.proto.ShuffleType shuffleType_; /** * .cz.proto.ShuffleType shuffleType = 4; * @return Whether the shuffleType field is set. */ @java.lang.Override public boolean hasShuffleType() { return shuffleType_ != null; } /** * .cz.proto.ShuffleType shuffleType = 4; * @return The shuffleType. */ @java.lang.Override public cz.proto.ShuffleType getShuffleType() { return shuffleType_ == null ? cz.proto.ShuffleType.getDefaultInstance() : shuffleType_; } /** * .cz.proto.ShuffleType shuffleType = 4; */ @java.lang.Override public cz.proto.ShuffleTypeOrBuilder getShuffleTypeOrBuilder() { return getShuffleType(); } public static final int MULTI_ACCESSED_FIELD_NUMBER = 5; private boolean multiAccessed_; /** * bool multi_accessed = 5; * @return The multiAccessed. */ @java.lang.Override public boolean getMultiAccessed() { return multiAccessed_; } public static final int MERGE_SORT_FIELD_NUMBER = 7; private boolean mergeSort_; /** * bool merge_sort = 7; * @return The mergeSort. */ @java.lang.Override public boolean getMergeSort() { return mergeSort_; } 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 { for (int i = 0; i < orders_.size(); i++) { output.writeMessage(1, orders_.get(i)); } if (limit_ != 0) { output.writeUInt32(2, limit_); } if (offset_ != 0) { output.writeUInt32(3, offset_); } if (shuffleType_ != null) { output.writeMessage(4, getShuffleType()); } if (multiAccessed_ != false) { output.writeBool(5, multiAccessed_); } if (mergeSort_ != false) { output.writeBool(7, mergeSort_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < orders_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, orders_.get(i)); } if (limit_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, limit_); } if (offset_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, offset_); } if (shuffleType_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getShuffleType()); } if (multiAccessed_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(5, multiAccessed_); } if (mergeSort_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(7, mergeSort_); } 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.ShuffleRead)) { return super.equals(obj); } cz.proto.ShuffleRead other = (cz.proto.ShuffleRead) obj; if (!getOrdersList() .equals(other.getOrdersList())) return false; if (getLimit() != other.getLimit()) return false; if (getOffset() != other.getOffset()) return false; if (hasShuffleType() != other.hasShuffleType()) return false; if (hasShuffleType()) { if (!getShuffleType() .equals(other.getShuffleType())) return false; } if (getMultiAccessed() != other.getMultiAccessed()) return false; if (getMergeSort() != other.getMergeSort()) 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 (getOrdersCount() > 0) { hash = (37 * hash) + ORDERS_FIELD_NUMBER; hash = (53 * hash) + getOrdersList().hashCode(); } hash = (37 * hash) + LIMIT_FIELD_NUMBER; hash = (53 * hash) + getLimit(); hash = (37 * hash) + OFFSET_FIELD_NUMBER; hash = (53 * hash) + getOffset(); if (hasShuffleType()) { hash = (37 * hash) + SHUFFLETYPE_FIELD_NUMBER; hash = (53 * hash) + getShuffleType().hashCode(); } hash = (37 * hash) + MULTI_ACCESSED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getMultiAccessed()); hash = (37 * hash) + MERGE_SORT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getMergeSort()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ShuffleRead parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ShuffleRead parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ShuffleRead parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ShuffleRead 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.ShuffleRead parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ShuffleRead parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ShuffleRead parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ShuffleRead 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.ShuffleRead parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ShuffleRead 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.ShuffleRead parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ShuffleRead 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.ShuffleRead 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.ShuffleRead} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ShuffleRead) cz.proto.ShuffleReadOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.OperatorProto.internal_static_cz_proto_ShuffleRead_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.OperatorProto.internal_static_cz_proto_ShuffleRead_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ShuffleRead.class, cz.proto.ShuffleRead.Builder.class); } // Construct using cz.proto.ShuffleRead.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getOrdersFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (ordersBuilder_ == null) { orders_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { ordersBuilder_.clear(); } limit_ = 0; offset_ = 0; if (shuffleTypeBuilder_ == null) { shuffleType_ = null; } else { shuffleType_ = null; shuffleTypeBuilder_ = null; } multiAccessed_ = false; mergeSort_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.OperatorProto.internal_static_cz_proto_ShuffleRead_descriptor; } @java.lang.Override public cz.proto.ShuffleRead getDefaultInstanceForType() { return cz.proto.ShuffleRead.getDefaultInstance(); } @java.lang.Override public cz.proto.ShuffleRead build() { cz.proto.ShuffleRead result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ShuffleRead buildPartial() { cz.proto.ShuffleRead result = new cz.proto.ShuffleRead(this); int from_bitField0_ = bitField0_; if (ordersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { orders_ = java.util.Collections.unmodifiableList(orders_); bitField0_ = (bitField0_ & ~0x00000001); } result.orders_ = orders_; } else { result.orders_ = ordersBuilder_.build(); } result.limit_ = limit_; result.offset_ = offset_; if (shuffleTypeBuilder_ == null) { result.shuffleType_ = shuffleType_; } else { result.shuffleType_ = shuffleTypeBuilder_.build(); } result.multiAccessed_ = multiAccessed_; result.mergeSort_ = mergeSort_; 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.ShuffleRead) { return mergeFrom((cz.proto.ShuffleRead)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ShuffleRead other) { if (other == cz.proto.ShuffleRead.getDefaultInstance()) return this; if (ordersBuilder_ == null) { if (!other.orders_.isEmpty()) { if (orders_.isEmpty()) { orders_ = other.orders_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureOrdersIsMutable(); orders_.addAll(other.orders_); } onChanged(); } } else { if (!other.orders_.isEmpty()) { if (ordersBuilder_.isEmpty()) { ordersBuilder_.dispose(); ordersBuilder_ = null; orders_ = other.orders_; bitField0_ = (bitField0_ & ~0x00000001); ordersBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getOrdersFieldBuilder() : null; } else { ordersBuilder_.addAllMessages(other.orders_); } } } if (other.getLimit() != 0) { setLimit(other.getLimit()); } if (other.getOffset() != 0) { setOffset(other.getOffset()); } if (other.hasShuffleType()) { mergeShuffleType(other.getShuffleType()); } if (other.getMultiAccessed() != false) { setMultiAccessed(other.getMultiAccessed()); } if (other.getMergeSort() != false) { setMergeSort(other.getMergeSort()); } 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.ShuffleRead parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ShuffleRead) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List orders_ = java.util.Collections.emptyList(); private void ensureOrdersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { orders_ = new java.util.ArrayList(orders_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.OrderByDesc, cz.proto.OrderByDesc.Builder, cz.proto.OrderByDescOrBuilder> ordersBuilder_; /** * repeated .cz.proto.OrderByDesc orders = 1; */ public java.util.List getOrdersList() { if (ordersBuilder_ == null) { return java.util.Collections.unmodifiableList(orders_); } else { return ordersBuilder_.getMessageList(); } } /** * repeated .cz.proto.OrderByDesc orders = 1; */ public int getOrdersCount() { if (ordersBuilder_ == null) { return orders_.size(); } else { return ordersBuilder_.getCount(); } } /** * repeated .cz.proto.OrderByDesc orders = 1; */ public cz.proto.OrderByDesc getOrders(int index) { if (ordersBuilder_ == null) { return orders_.get(index); } else { return ordersBuilder_.getMessage(index); } } /** * repeated .cz.proto.OrderByDesc orders = 1; */ public Builder setOrders( int index, cz.proto.OrderByDesc value) { if (ordersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOrdersIsMutable(); orders_.set(index, value); onChanged(); } else { ordersBuilder_.setMessage(index, value); } return this; } /** * repeated .cz.proto.OrderByDesc orders = 1; */ public Builder setOrders( int index, cz.proto.OrderByDesc.Builder builderForValue) { if (ordersBuilder_ == null) { ensureOrdersIsMutable(); orders_.set(index, builderForValue.build()); onChanged(); } else { ordersBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.OrderByDesc orders = 1; */ public Builder addOrders(cz.proto.OrderByDesc value) { if (ordersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOrdersIsMutable(); orders_.add(value); onChanged(); } else { ordersBuilder_.addMessage(value); } return this; } /** * repeated .cz.proto.OrderByDesc orders = 1; */ public Builder addOrders( int index, cz.proto.OrderByDesc value) { if (ordersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOrdersIsMutable(); orders_.add(index, value); onChanged(); } else { ordersBuilder_.addMessage(index, value); } return this; } /** * repeated .cz.proto.OrderByDesc orders = 1; */ public Builder addOrders( cz.proto.OrderByDesc.Builder builderForValue) { if (ordersBuilder_ == null) { ensureOrdersIsMutable(); orders_.add(builderForValue.build()); onChanged(); } else { ordersBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .cz.proto.OrderByDesc orders = 1; */ public Builder addOrders( int index, cz.proto.OrderByDesc.Builder builderForValue) { if (ordersBuilder_ == null) { ensureOrdersIsMutable(); orders_.add(index, builderForValue.build()); onChanged(); } else { ordersBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.OrderByDesc orders = 1; */ public Builder addAllOrders( java.lang.Iterable values) { if (ordersBuilder_ == null) { ensureOrdersIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, orders_); onChanged(); } else { ordersBuilder_.addAllMessages(values); } return this; } /** * repeated .cz.proto.OrderByDesc orders = 1; */ public Builder clearOrders() { if (ordersBuilder_ == null) { orders_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { ordersBuilder_.clear(); } return this; } /** * repeated .cz.proto.OrderByDesc orders = 1; */ public Builder removeOrders(int index) { if (ordersBuilder_ == null) { ensureOrdersIsMutable(); orders_.remove(index); onChanged(); } else { ordersBuilder_.remove(index); } return this; } /** * repeated .cz.proto.OrderByDesc orders = 1; */ public cz.proto.OrderByDesc.Builder getOrdersBuilder( int index) { return getOrdersFieldBuilder().getBuilder(index); } /** * repeated .cz.proto.OrderByDesc orders = 1; */ public cz.proto.OrderByDescOrBuilder getOrdersOrBuilder( int index) { if (ordersBuilder_ == null) { return orders_.get(index); } else { return ordersBuilder_.getMessageOrBuilder(index); } } /** * repeated .cz.proto.OrderByDesc orders = 1; */ public java.util.List getOrdersOrBuilderList() { if (ordersBuilder_ != null) { return ordersBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(orders_); } } /** * repeated .cz.proto.OrderByDesc orders = 1; */ public cz.proto.OrderByDesc.Builder addOrdersBuilder() { return getOrdersFieldBuilder().addBuilder( cz.proto.OrderByDesc.getDefaultInstance()); } /** * repeated .cz.proto.OrderByDesc orders = 1; */ public cz.proto.OrderByDesc.Builder addOrdersBuilder( int index) { return getOrdersFieldBuilder().addBuilder( index, cz.proto.OrderByDesc.getDefaultInstance()); } /** * repeated .cz.proto.OrderByDesc orders = 1; */ public java.util.List getOrdersBuilderList() { return getOrdersFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.OrderByDesc, cz.proto.OrderByDesc.Builder, cz.proto.OrderByDescOrBuilder> getOrdersFieldBuilder() { if (ordersBuilder_ == null) { ordersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.OrderByDesc, cz.proto.OrderByDesc.Builder, cz.proto.OrderByDescOrBuilder>( orders_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); orders_ = null; } return ordersBuilder_; } private int limit_ ; /** *
     * 0 means no limit
     * 
* * uint32 limit = 2; * @return The limit. */ @java.lang.Override public int getLimit() { return limit_; } /** *
     * 0 means no limit
     * 
* * uint32 limit = 2; * @param value The limit to set. * @return This builder for chaining. */ public Builder setLimit(int value) { limit_ = value; onChanged(); return this; } /** *
     * 0 means no limit
     * 
* * uint32 limit = 2; * @return This builder for chaining. */ public Builder clearLimit() { limit_ = 0; onChanged(); return this; } private int offset_ ; /** * uint32 offset = 3; * @return The offset. */ @java.lang.Override public int getOffset() { return offset_; } /** * uint32 offset = 3; * @param value The offset to set. * @return This builder for chaining. */ public Builder setOffset(int value) { offset_ = value; onChanged(); return this; } /** * uint32 offset = 3; * @return This builder for chaining. */ public Builder clearOffset() { offset_ = 0; onChanged(); return this; } private cz.proto.ShuffleType shuffleType_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ShuffleType, cz.proto.ShuffleType.Builder, cz.proto.ShuffleTypeOrBuilder> shuffleTypeBuilder_; /** * .cz.proto.ShuffleType shuffleType = 4; * @return Whether the shuffleType field is set. */ public boolean hasShuffleType() { return shuffleTypeBuilder_ != null || shuffleType_ != null; } /** * .cz.proto.ShuffleType shuffleType = 4; * @return The shuffleType. */ public cz.proto.ShuffleType getShuffleType() { if (shuffleTypeBuilder_ == null) { return shuffleType_ == null ? cz.proto.ShuffleType.getDefaultInstance() : shuffleType_; } else { return shuffleTypeBuilder_.getMessage(); } } /** * .cz.proto.ShuffleType shuffleType = 4; */ public Builder setShuffleType(cz.proto.ShuffleType value) { if (shuffleTypeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } shuffleType_ = value; onChanged(); } else { shuffleTypeBuilder_.setMessage(value); } return this; } /** * .cz.proto.ShuffleType shuffleType = 4; */ public Builder setShuffleType( cz.proto.ShuffleType.Builder builderForValue) { if (shuffleTypeBuilder_ == null) { shuffleType_ = builderForValue.build(); onChanged(); } else { shuffleTypeBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ShuffleType shuffleType = 4; */ public Builder mergeShuffleType(cz.proto.ShuffleType value) { if (shuffleTypeBuilder_ == null) { if (shuffleType_ != null) { shuffleType_ = cz.proto.ShuffleType.newBuilder(shuffleType_).mergeFrom(value).buildPartial(); } else { shuffleType_ = value; } onChanged(); } else { shuffleTypeBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ShuffleType shuffleType = 4; */ public Builder clearShuffleType() { if (shuffleTypeBuilder_ == null) { shuffleType_ = null; onChanged(); } else { shuffleType_ = null; shuffleTypeBuilder_ = null; } return this; } /** * .cz.proto.ShuffleType shuffleType = 4; */ public cz.proto.ShuffleType.Builder getShuffleTypeBuilder() { onChanged(); return getShuffleTypeFieldBuilder().getBuilder(); } /** * .cz.proto.ShuffleType shuffleType = 4; */ public cz.proto.ShuffleTypeOrBuilder getShuffleTypeOrBuilder() { if (shuffleTypeBuilder_ != null) { return shuffleTypeBuilder_.getMessageOrBuilder(); } else { return shuffleType_ == null ? cz.proto.ShuffleType.getDefaultInstance() : shuffleType_; } } /** * .cz.proto.ShuffleType shuffleType = 4; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ShuffleType, cz.proto.ShuffleType.Builder, cz.proto.ShuffleTypeOrBuilder> getShuffleTypeFieldBuilder() { if (shuffleTypeBuilder_ == null) { shuffleTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ShuffleType, cz.proto.ShuffleType.Builder, cz.proto.ShuffleTypeOrBuilder>( getShuffleType(), getParentForChildren(), isClean()); shuffleType_ = null; } return shuffleTypeBuilder_; } private boolean multiAccessed_ ; /** * bool multi_accessed = 5; * @return The multiAccessed. */ @java.lang.Override public boolean getMultiAccessed() { return multiAccessed_; } /** * bool multi_accessed = 5; * @param value The multiAccessed to set. * @return This builder for chaining. */ public Builder setMultiAccessed(boolean value) { multiAccessed_ = value; onChanged(); return this; } /** * bool multi_accessed = 5; * @return This builder for chaining. */ public Builder clearMultiAccessed() { multiAccessed_ = false; onChanged(); return this; } private boolean mergeSort_ ; /** * bool merge_sort = 7; * @return The mergeSort. */ @java.lang.Override public boolean getMergeSort() { return mergeSort_; } /** * bool merge_sort = 7; * @param value The mergeSort to set. * @return This builder for chaining. */ public Builder setMergeSort(boolean value) { mergeSort_ = value; onChanged(); return this; } /** * bool merge_sort = 7; * @return This builder for chaining. */ public Builder clearMergeSort() { mergeSort_ = false; 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:cz.proto.ShuffleRead) } // @@protoc_insertion_point(class_scope:cz.proto.ShuffleRead) private static final cz.proto.ShuffleRead DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ShuffleRead(); } public static cz.proto.ShuffleRead getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ShuffleRead parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ShuffleRead(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.ShuffleRead getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy