// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: com/tzld/piaoquan/recommend/server/tab.proto

package com.tzld.piaoquan.recommend.server.gen.tab;

/**
 * Protobuf type {@code TabRequest}
 */
public final class TabRequest extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:TabRequest)
    TabRequestOrBuilder {
private static final long serialVersionUID = 0L;
  // Use TabRequest.newBuilder() to construct.
  private TabRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private TabRequest() {
    requestId_ = "";
    mid_ = "";
    uid_ = "";
    unionId_ = "";
    cityCode_ = "";
    provinceCode_ = "";
    city_ = "";
    province_ = "";
    abExpCode_ = com.google.protobuf.LazyStringArrayList.EMPTY;
    rootSessionId_ = "";
  }

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private TabRequest(
      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: {
            java.lang.String s = input.readStringRequireUtf8();

            requestId_ = s;
            break;
          }
          case 18: {
            java.lang.String s = input.readStringRequireUtf8();

            mid_ = s;
            break;
          }
          case 26: {
            java.lang.String s = input.readStringRequireUtf8();

            uid_ = s;
            break;
          }
          case 32: {

            appType_ = input.readInt32();
            break;
          }
          case 42: {
            java.lang.String s = input.readStringRequireUtf8();

            unionId_ = s;
            break;
          }
          case 50: {
            java.lang.String s = input.readStringRequireUtf8();

            cityCode_ = s;
            break;
          }
          case 58: {
            java.lang.String s = input.readStringRequireUtf8();

            provinceCode_ = s;
            break;
          }
          case 66: {
            java.lang.String s = input.readStringRequireUtf8();

            city_ = s;
            break;
          }
          case 74: {
            java.lang.String s = input.readStringRequireUtf8();

            province_ = s;
            break;
          }
          case 82: {
            java.lang.String s = input.readStringRequireUtf8();
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              abExpCode_ = new com.google.protobuf.LazyStringArrayList();
              mutable_bitField0_ |= 0x00000001;
            }
            abExpCode_.add(s);
            break;
          }
          case 90: {
            java.lang.String s = input.readStringRequireUtf8();

            rootSessionId_ = s;
            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)) {
        abExpCode_ = abExpCode_.getUnmodifiableView();
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.tzld.piaoquan.recommend.server.gen.tab.Tab.internal_static_TabRequest_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.tzld.piaoquan.recommend.server.gen.tab.Tab.internal_static_TabRequest_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.tzld.piaoquan.recommend.server.gen.tab.TabRequest.class, com.tzld.piaoquan.recommend.server.gen.tab.TabRequest.Builder.class);
  }

  public static final int REQUEST_ID_FIELD_NUMBER = 1;
  private volatile java.lang.Object requestId_;
  /**
   * <code>string request_id = 1;</code>
   * @return The requestId.
   */
  @java.lang.Override
  public java.lang.String getRequestId() {
    java.lang.Object ref = requestId_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      requestId_ = s;
      return s;
    }
  }
  /**
   * <code>string request_id = 1;</code>
   * @return The bytes for requestId.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getRequestIdBytes() {
    java.lang.Object ref = requestId_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      requestId_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int MID_FIELD_NUMBER = 2;
  private volatile java.lang.Object mid_;
  /**
   * <code>string mid = 2;</code>
   * @return The mid.
   */
  @java.lang.Override
  public java.lang.String getMid() {
    java.lang.Object ref = mid_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      mid_ = s;
      return s;
    }
  }
  /**
   * <code>string mid = 2;</code>
   * @return The bytes for mid.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getMidBytes() {
    java.lang.Object ref = mid_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      mid_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int UID_FIELD_NUMBER = 3;
  private volatile java.lang.Object uid_;
  /**
   * <code>string uid = 3;</code>
   * @return The uid.
   */
  @java.lang.Override
  public java.lang.String getUid() {
    java.lang.Object ref = uid_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      uid_ = s;
      return s;
    }
  }
  /**
   * <code>string uid = 3;</code>
   * @return The bytes for uid.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getUidBytes() {
    java.lang.Object ref = uid_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      uid_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int APP_TYPE_FIELD_NUMBER = 4;
  private int appType_;
  /**
   * <pre>
   * default 4
   * </pre>
   *
   * <code>int32 app_type = 4;</code>
   * @return The appType.
   */
  @java.lang.Override
  public int getAppType() {
    return appType_;
  }

  public static final int UNION_ID_FIELD_NUMBER = 5;
  private volatile java.lang.Object unionId_;
  /**
   * <code>string union_id = 5;</code>
   * @return The unionId.
   */
  @java.lang.Override
  public java.lang.String getUnionId() {
    java.lang.Object ref = unionId_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      unionId_ = s;
      return s;
    }
  }
  /**
   * <code>string union_id = 5;</code>
   * @return The bytes for unionId.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getUnionIdBytes() {
    java.lang.Object ref = unionId_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      unionId_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int CITY_CODE_FIELD_NUMBER = 6;
  private volatile java.lang.Object cityCode_;
  /**
   * <code>string city_code = 6;</code>
   * @return The cityCode.
   */
  @java.lang.Override
  public java.lang.String getCityCode() {
    java.lang.Object ref = cityCode_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      cityCode_ = s;
      return s;
    }
  }
  /**
   * <code>string city_code = 6;</code>
   * @return The bytes for cityCode.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getCityCodeBytes() {
    java.lang.Object ref = cityCode_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      cityCode_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int PROVINCE_CODE_FIELD_NUMBER = 7;
  private volatile java.lang.Object provinceCode_;
  /**
   * <code>string province_code = 7;</code>
   * @return The provinceCode.
   */
  @java.lang.Override
  public java.lang.String getProvinceCode() {
    java.lang.Object ref = provinceCode_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      provinceCode_ = s;
      return s;
    }
  }
  /**
   * <code>string province_code = 7;</code>
   * @return The bytes for provinceCode.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getProvinceCodeBytes() {
    java.lang.Object ref = provinceCode_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      provinceCode_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int CITY_FIELD_NUMBER = 8;
  private volatile java.lang.Object city_;
  /**
   * <code>string city = 8;</code>
   * @return The city.
   */
  @java.lang.Override
  public java.lang.String getCity() {
    java.lang.Object ref = city_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      city_ = s;
      return s;
    }
  }
  /**
   * <code>string city = 8;</code>
   * @return The bytes for city.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getCityBytes() {
    java.lang.Object ref = city_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      city_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int PROVINCE_FIELD_NUMBER = 9;
  private volatile java.lang.Object province_;
  /**
   * <code>string province = 9;</code>
   * @return The province.
   */
  @java.lang.Override
  public java.lang.String getProvince() {
    java.lang.Object ref = province_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      province_ = s;
      return s;
    }
  }
  /**
   * <code>string province = 9;</code>
   * @return The bytes for province.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getProvinceBytes() {
    java.lang.Object ref = province_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      province_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int AB_EXP_CODE_FIELD_NUMBER = 10;
  private com.google.protobuf.LazyStringList abExpCode_;
  /**
   * <code>repeated string ab_exp_code = 10;</code>
   * @return A list containing the abExpCode.
   */
  public com.google.protobuf.ProtocolStringList
      getAbExpCodeList() {
    return abExpCode_;
  }
  /**
   * <code>repeated string ab_exp_code = 10;</code>
   * @return The count of abExpCode.
   */
  public int getAbExpCodeCount() {
    return abExpCode_.size();
  }
  /**
   * <code>repeated string ab_exp_code = 10;</code>
   * @param index The index of the element to return.
   * @return The abExpCode at the given index.
   */
  public java.lang.String getAbExpCode(int index) {
    return abExpCode_.get(index);
  }
  /**
   * <code>repeated string ab_exp_code = 10;</code>
   * @param index The index of the value to return.
   * @return The bytes of the abExpCode at the given index.
   */
  public com.google.protobuf.ByteString
      getAbExpCodeBytes(int index) {
    return abExpCode_.getByteString(index);
  }

  public static final int ROOT_SESSION_ID_FIELD_NUMBER = 11;
  private volatile java.lang.Object rootSessionId_;
  /**
   * <code>string root_session_id = 11;</code>
   * @return The rootSessionId.
   */
  @java.lang.Override
  public java.lang.String getRootSessionId() {
    java.lang.Object ref = rootSessionId_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      rootSessionId_ = s;
      return s;
    }
  }
  /**
   * <code>string root_session_id = 11;</code>
   * @return The bytes for rootSessionId.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getRootSessionIdBytes() {
    java.lang.Object ref = rootSessionId_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      rootSessionId_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  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 (!getRequestIdBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, requestId_);
    }
    if (!getMidBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, mid_);
    }
    if (!getUidBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, uid_);
    }
    if (appType_ != 0) {
      output.writeInt32(4, appType_);
    }
    if (!getUnionIdBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, unionId_);
    }
    if (!getCityCodeBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, cityCode_);
    }
    if (!getProvinceCodeBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 7, provinceCode_);
    }
    if (!getCityBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 8, city_);
    }
    if (!getProvinceBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 9, province_);
    }
    for (int i = 0; i < abExpCode_.size(); i++) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 10, abExpCode_.getRaw(i));
    }
    if (!getRootSessionIdBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 11, rootSessionId_);
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    if (!getRequestIdBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, requestId_);
    }
    if (!getMidBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, mid_);
    }
    if (!getUidBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, uid_);
    }
    if (appType_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(4, appType_);
    }
    if (!getUnionIdBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, unionId_);
    }
    if (!getCityCodeBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, cityCode_);
    }
    if (!getProvinceCodeBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, provinceCode_);
    }
    if (!getCityBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, city_);
    }
    if (!getProvinceBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, province_);
    }
    {
      int dataSize = 0;
      for (int i = 0; i < abExpCode_.size(); i++) {
        dataSize += computeStringSizeNoTag(abExpCode_.getRaw(i));
      }
      size += dataSize;
      size += 1 * getAbExpCodeList().size();
    }
    if (!getRootSessionIdBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, rootSessionId_);
    }
    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 com.tzld.piaoquan.recommend.server.gen.tab.TabRequest)) {
      return super.equals(obj);
    }
    com.tzld.piaoquan.recommend.server.gen.tab.TabRequest other = (com.tzld.piaoquan.recommend.server.gen.tab.TabRequest) obj;

    if (!getRequestId()
        .equals(other.getRequestId())) return false;
    if (!getMid()
        .equals(other.getMid())) return false;
    if (!getUid()
        .equals(other.getUid())) return false;
    if (getAppType()
        != other.getAppType()) return false;
    if (!getUnionId()
        .equals(other.getUnionId())) return false;
    if (!getCityCode()
        .equals(other.getCityCode())) return false;
    if (!getProvinceCode()
        .equals(other.getProvinceCode())) return false;
    if (!getCity()
        .equals(other.getCity())) return false;
    if (!getProvince()
        .equals(other.getProvince())) return false;
    if (!getAbExpCodeList()
        .equals(other.getAbExpCodeList())) return false;
    if (!getRootSessionId()
        .equals(other.getRootSessionId())) 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();
    hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER;
    hash = (53 * hash) + getRequestId().hashCode();
    hash = (37 * hash) + MID_FIELD_NUMBER;
    hash = (53 * hash) + getMid().hashCode();
    hash = (37 * hash) + UID_FIELD_NUMBER;
    hash = (53 * hash) + getUid().hashCode();
    hash = (37 * hash) + APP_TYPE_FIELD_NUMBER;
    hash = (53 * hash) + getAppType();
    hash = (37 * hash) + UNION_ID_FIELD_NUMBER;
    hash = (53 * hash) + getUnionId().hashCode();
    hash = (37 * hash) + CITY_CODE_FIELD_NUMBER;
    hash = (53 * hash) + getCityCode().hashCode();
    hash = (37 * hash) + PROVINCE_CODE_FIELD_NUMBER;
    hash = (53 * hash) + getProvinceCode().hashCode();
    hash = (37 * hash) + CITY_FIELD_NUMBER;
    hash = (53 * hash) + getCity().hashCode();
    hash = (37 * hash) + PROVINCE_FIELD_NUMBER;
    hash = (53 * hash) + getProvince().hashCode();
    if (getAbExpCodeCount() > 0) {
      hash = (37 * hash) + AB_EXP_CODE_FIELD_NUMBER;
      hash = (53 * hash) + getAbExpCodeList().hashCode();
    }
    hash = (37 * hash) + ROOT_SESSION_ID_FIELD_NUMBER;
    hash = (53 * hash) + getRootSessionId().hashCode();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.tzld.piaoquan.recommend.server.gen.tab.TabRequest parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.tzld.piaoquan.recommend.server.gen.tab.TabRequest parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.tzld.piaoquan.recommend.server.gen.tab.TabRequest parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.tzld.piaoquan.recommend.server.gen.tab.TabRequest parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.tzld.piaoquan.recommend.server.gen.tab.TabRequest parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.tzld.piaoquan.recommend.server.gen.tab.TabRequest parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.tzld.piaoquan.recommend.server.gen.tab.TabRequest parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.tzld.piaoquan.recommend.server.gen.tab.TabRequest 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 com.tzld.piaoquan.recommend.server.gen.tab.TabRequest parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static com.tzld.piaoquan.recommend.server.gen.tab.TabRequest 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 com.tzld.piaoquan.recommend.server.gen.tab.TabRequest parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.tzld.piaoquan.recommend.server.gen.tab.TabRequest 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(com.tzld.piaoquan.recommend.server.gen.tab.TabRequest 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 TabRequest}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:TabRequest)
      com.tzld.piaoquan.recommend.server.gen.tab.TabRequestOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.tzld.piaoquan.recommend.server.gen.tab.Tab.internal_static_TabRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.tzld.piaoquan.recommend.server.gen.tab.Tab.internal_static_TabRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.tzld.piaoquan.recommend.server.gen.tab.TabRequest.class, com.tzld.piaoquan.recommend.server.gen.tab.TabRequest.Builder.class);
    }

    // Construct using com.tzld.piaoquan.recommend.server.gen.tab.TabRequest.newBuilder()
    private Builder() {
      maybeForceBuilderInitialization();
    }

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
      }
    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      requestId_ = "";

      mid_ = "";

      uid_ = "";

      appType_ = 0;

      unionId_ = "";

      cityCode_ = "";

      provinceCode_ = "";

      city_ = "";

      province_ = "";

      abExpCode_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      bitField0_ = (bitField0_ & ~0x00000001);
      rootSessionId_ = "";

      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.tzld.piaoquan.recommend.server.gen.tab.Tab.internal_static_TabRequest_descriptor;
    }

    @java.lang.Override
    public com.tzld.piaoquan.recommend.server.gen.tab.TabRequest getDefaultInstanceForType() {
      return com.tzld.piaoquan.recommend.server.gen.tab.TabRequest.getDefaultInstance();
    }

    @java.lang.Override
    public com.tzld.piaoquan.recommend.server.gen.tab.TabRequest build() {
      com.tzld.piaoquan.recommend.server.gen.tab.TabRequest result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public com.tzld.piaoquan.recommend.server.gen.tab.TabRequest buildPartial() {
      com.tzld.piaoquan.recommend.server.gen.tab.TabRequest result = new com.tzld.piaoquan.recommend.server.gen.tab.TabRequest(this);
      int from_bitField0_ = bitField0_;
      result.requestId_ = requestId_;
      result.mid_ = mid_;
      result.uid_ = uid_;
      result.appType_ = appType_;
      result.unionId_ = unionId_;
      result.cityCode_ = cityCode_;
      result.provinceCode_ = provinceCode_;
      result.city_ = city_;
      result.province_ = province_;
      if (((bitField0_ & 0x00000001) != 0)) {
        abExpCode_ = abExpCode_.getUnmodifiableView();
        bitField0_ = (bitField0_ & ~0x00000001);
      }
      result.abExpCode_ = abExpCode_;
      result.rootSessionId_ = rootSessionId_;
      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 com.tzld.piaoquan.recommend.server.gen.tab.TabRequest) {
        return mergeFrom((com.tzld.piaoquan.recommend.server.gen.tab.TabRequest)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.tzld.piaoquan.recommend.server.gen.tab.TabRequest other) {
      if (other == com.tzld.piaoquan.recommend.server.gen.tab.TabRequest.getDefaultInstance()) return this;
      if (!other.getRequestId().isEmpty()) {
        requestId_ = other.requestId_;
        onChanged();
      }
      if (!other.getMid().isEmpty()) {
        mid_ = other.mid_;
        onChanged();
      }
      if (!other.getUid().isEmpty()) {
        uid_ = other.uid_;
        onChanged();
      }
      if (other.getAppType() != 0) {
        setAppType(other.getAppType());
      }
      if (!other.getUnionId().isEmpty()) {
        unionId_ = other.unionId_;
        onChanged();
      }
      if (!other.getCityCode().isEmpty()) {
        cityCode_ = other.cityCode_;
        onChanged();
      }
      if (!other.getProvinceCode().isEmpty()) {
        provinceCode_ = other.provinceCode_;
        onChanged();
      }
      if (!other.getCity().isEmpty()) {
        city_ = other.city_;
        onChanged();
      }
      if (!other.getProvince().isEmpty()) {
        province_ = other.province_;
        onChanged();
      }
      if (!other.abExpCode_.isEmpty()) {
        if (abExpCode_.isEmpty()) {
          abExpCode_ = other.abExpCode_;
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          ensureAbExpCodeIsMutable();
          abExpCode_.addAll(other.abExpCode_);
        }
        onChanged();
      }
      if (!other.getRootSessionId().isEmpty()) {
        rootSessionId_ = other.rootSessionId_;
        onChanged();
      }
      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 {
      com.tzld.piaoquan.recommend.server.gen.tab.TabRequest parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.tzld.piaoquan.recommend.server.gen.tab.TabRequest) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }
    private int bitField0_;

    private java.lang.Object requestId_ = "";
    /**
     * <code>string request_id = 1;</code>
     * @return The requestId.
     */
    public java.lang.String getRequestId() {
      java.lang.Object ref = requestId_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        requestId_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string request_id = 1;</code>
     * @return The bytes for requestId.
     */
    public com.google.protobuf.ByteString
        getRequestIdBytes() {
      java.lang.Object ref = requestId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        requestId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string request_id = 1;</code>
     * @param value The requestId to set.
     * @return This builder for chaining.
     */
    public Builder setRequestId(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      requestId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string request_id = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearRequestId() {
      
      requestId_ = getDefaultInstance().getRequestId();
      onChanged();
      return this;
    }
    /**
     * <code>string request_id = 1;</code>
     * @param value The bytes for requestId to set.
     * @return This builder for chaining.
     */
    public Builder setRequestIdBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      requestId_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object mid_ = "";
    /**
     * <code>string mid = 2;</code>
     * @return The mid.
     */
    public java.lang.String getMid() {
      java.lang.Object ref = mid_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        mid_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string mid = 2;</code>
     * @return The bytes for mid.
     */
    public com.google.protobuf.ByteString
        getMidBytes() {
      java.lang.Object ref = mid_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        mid_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string mid = 2;</code>
     * @param value The mid to set.
     * @return This builder for chaining.
     */
    public Builder setMid(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      mid_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string mid = 2;</code>
     * @return This builder for chaining.
     */
    public Builder clearMid() {
      
      mid_ = getDefaultInstance().getMid();
      onChanged();
      return this;
    }
    /**
     * <code>string mid = 2;</code>
     * @param value The bytes for mid to set.
     * @return This builder for chaining.
     */
    public Builder setMidBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      mid_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object uid_ = "";
    /**
     * <code>string uid = 3;</code>
     * @return The uid.
     */
    public java.lang.String getUid() {
      java.lang.Object ref = uid_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        uid_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string uid = 3;</code>
     * @return The bytes for uid.
     */
    public com.google.protobuf.ByteString
        getUidBytes() {
      java.lang.Object ref = uid_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        uid_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string uid = 3;</code>
     * @param value The uid to set.
     * @return This builder for chaining.
     */
    public Builder setUid(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      uid_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string uid = 3;</code>
     * @return This builder for chaining.
     */
    public Builder clearUid() {
      
      uid_ = getDefaultInstance().getUid();
      onChanged();
      return this;
    }
    /**
     * <code>string uid = 3;</code>
     * @param value The bytes for uid to set.
     * @return This builder for chaining.
     */
    public Builder setUidBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      uid_ = value;
      onChanged();
      return this;
    }

    private int appType_ ;
    /**
     * <pre>
     * default 4
     * </pre>
     *
     * <code>int32 app_type = 4;</code>
     * @return The appType.
     */
    @java.lang.Override
    public int getAppType() {
      return appType_;
    }
    /**
     * <pre>
     * default 4
     * </pre>
     *
     * <code>int32 app_type = 4;</code>
     * @param value The appType to set.
     * @return This builder for chaining.
     */
    public Builder setAppType(int value) {
      
      appType_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     * default 4
     * </pre>
     *
     * <code>int32 app_type = 4;</code>
     * @return This builder for chaining.
     */
    public Builder clearAppType() {
      
      appType_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object unionId_ = "";
    /**
     * <code>string union_id = 5;</code>
     * @return The unionId.
     */
    public java.lang.String getUnionId() {
      java.lang.Object ref = unionId_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        unionId_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string union_id = 5;</code>
     * @return The bytes for unionId.
     */
    public com.google.protobuf.ByteString
        getUnionIdBytes() {
      java.lang.Object ref = unionId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        unionId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string union_id = 5;</code>
     * @param value The unionId to set.
     * @return This builder for chaining.
     */
    public Builder setUnionId(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      unionId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string union_id = 5;</code>
     * @return This builder for chaining.
     */
    public Builder clearUnionId() {
      
      unionId_ = getDefaultInstance().getUnionId();
      onChanged();
      return this;
    }
    /**
     * <code>string union_id = 5;</code>
     * @param value The bytes for unionId to set.
     * @return This builder for chaining.
     */
    public Builder setUnionIdBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      unionId_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object cityCode_ = "";
    /**
     * <code>string city_code = 6;</code>
     * @return The cityCode.
     */
    public java.lang.String getCityCode() {
      java.lang.Object ref = cityCode_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        cityCode_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string city_code = 6;</code>
     * @return The bytes for cityCode.
     */
    public com.google.protobuf.ByteString
        getCityCodeBytes() {
      java.lang.Object ref = cityCode_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        cityCode_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string city_code = 6;</code>
     * @param value The cityCode to set.
     * @return This builder for chaining.
     */
    public Builder setCityCode(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      cityCode_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string city_code = 6;</code>
     * @return This builder for chaining.
     */
    public Builder clearCityCode() {
      
      cityCode_ = getDefaultInstance().getCityCode();
      onChanged();
      return this;
    }
    /**
     * <code>string city_code = 6;</code>
     * @param value The bytes for cityCode to set.
     * @return This builder for chaining.
     */
    public Builder setCityCodeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      cityCode_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object provinceCode_ = "";
    /**
     * <code>string province_code = 7;</code>
     * @return The provinceCode.
     */
    public java.lang.String getProvinceCode() {
      java.lang.Object ref = provinceCode_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        provinceCode_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string province_code = 7;</code>
     * @return The bytes for provinceCode.
     */
    public com.google.protobuf.ByteString
        getProvinceCodeBytes() {
      java.lang.Object ref = provinceCode_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        provinceCode_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string province_code = 7;</code>
     * @param value The provinceCode to set.
     * @return This builder for chaining.
     */
    public Builder setProvinceCode(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      provinceCode_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string province_code = 7;</code>
     * @return This builder for chaining.
     */
    public Builder clearProvinceCode() {
      
      provinceCode_ = getDefaultInstance().getProvinceCode();
      onChanged();
      return this;
    }
    /**
     * <code>string province_code = 7;</code>
     * @param value The bytes for provinceCode to set.
     * @return This builder for chaining.
     */
    public Builder setProvinceCodeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      provinceCode_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object city_ = "";
    /**
     * <code>string city = 8;</code>
     * @return The city.
     */
    public java.lang.String getCity() {
      java.lang.Object ref = city_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        city_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string city = 8;</code>
     * @return The bytes for city.
     */
    public com.google.protobuf.ByteString
        getCityBytes() {
      java.lang.Object ref = city_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        city_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string city = 8;</code>
     * @param value The city to set.
     * @return This builder for chaining.
     */
    public Builder setCity(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      city_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string city = 8;</code>
     * @return This builder for chaining.
     */
    public Builder clearCity() {
      
      city_ = getDefaultInstance().getCity();
      onChanged();
      return this;
    }
    /**
     * <code>string city = 8;</code>
     * @param value The bytes for city to set.
     * @return This builder for chaining.
     */
    public Builder setCityBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      city_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object province_ = "";
    /**
     * <code>string province = 9;</code>
     * @return The province.
     */
    public java.lang.String getProvince() {
      java.lang.Object ref = province_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        province_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string province = 9;</code>
     * @return The bytes for province.
     */
    public com.google.protobuf.ByteString
        getProvinceBytes() {
      java.lang.Object ref = province_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        province_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string province = 9;</code>
     * @param value The province to set.
     * @return This builder for chaining.
     */
    public Builder setProvince(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      province_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string province = 9;</code>
     * @return This builder for chaining.
     */
    public Builder clearProvince() {
      
      province_ = getDefaultInstance().getProvince();
      onChanged();
      return this;
    }
    /**
     * <code>string province = 9;</code>
     * @param value The bytes for province to set.
     * @return This builder for chaining.
     */
    public Builder setProvinceBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      province_ = value;
      onChanged();
      return this;
    }

    private com.google.protobuf.LazyStringList abExpCode_ = com.google.protobuf.LazyStringArrayList.EMPTY;
    private void ensureAbExpCodeIsMutable() {
      if (!((bitField0_ & 0x00000001) != 0)) {
        abExpCode_ = new com.google.protobuf.LazyStringArrayList(abExpCode_);
        bitField0_ |= 0x00000001;
       }
    }
    /**
     * <code>repeated string ab_exp_code = 10;</code>
     * @return A list containing the abExpCode.
     */
    public com.google.protobuf.ProtocolStringList
        getAbExpCodeList() {
      return abExpCode_.getUnmodifiableView();
    }
    /**
     * <code>repeated string ab_exp_code = 10;</code>
     * @return The count of abExpCode.
     */
    public int getAbExpCodeCount() {
      return abExpCode_.size();
    }
    /**
     * <code>repeated string ab_exp_code = 10;</code>
     * @param index The index of the element to return.
     * @return The abExpCode at the given index.
     */
    public java.lang.String getAbExpCode(int index) {
      return abExpCode_.get(index);
    }
    /**
     * <code>repeated string ab_exp_code = 10;</code>
     * @param index The index of the value to return.
     * @return The bytes of the abExpCode at the given index.
     */
    public com.google.protobuf.ByteString
        getAbExpCodeBytes(int index) {
      return abExpCode_.getByteString(index);
    }
    /**
     * <code>repeated string ab_exp_code = 10;</code>
     * @param index The index to set the value at.
     * @param value The abExpCode to set.
     * @return This builder for chaining.
     */
    public Builder setAbExpCode(
        int index, java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  ensureAbExpCodeIsMutable();
      abExpCode_.set(index, value);
      onChanged();
      return this;
    }
    /**
     * <code>repeated string ab_exp_code = 10;</code>
     * @param value The abExpCode to add.
     * @return This builder for chaining.
     */
    public Builder addAbExpCode(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  ensureAbExpCodeIsMutable();
      abExpCode_.add(value);
      onChanged();
      return this;
    }
    /**
     * <code>repeated string ab_exp_code = 10;</code>
     * @param values The abExpCode to add.
     * @return This builder for chaining.
     */
    public Builder addAllAbExpCode(
        java.lang.Iterable<java.lang.String> values) {
      ensureAbExpCodeIsMutable();
      com.google.protobuf.AbstractMessageLite.Builder.addAll(
          values, abExpCode_);
      onChanged();
      return this;
    }
    /**
     * <code>repeated string ab_exp_code = 10;</code>
     * @return This builder for chaining.
     */
    public Builder clearAbExpCode() {
      abExpCode_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      bitField0_ = (bitField0_ & ~0x00000001);
      onChanged();
      return this;
    }
    /**
     * <code>repeated string ab_exp_code = 10;</code>
     * @param value The bytes of the abExpCode to add.
     * @return This builder for chaining.
     */
    public Builder addAbExpCodeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      ensureAbExpCodeIsMutable();
      abExpCode_.add(value);
      onChanged();
      return this;
    }

    private java.lang.Object rootSessionId_ = "";
    /**
     * <code>string root_session_id = 11;</code>
     * @return The rootSessionId.
     */
    public java.lang.String getRootSessionId() {
      java.lang.Object ref = rootSessionId_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        rootSessionId_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string root_session_id = 11;</code>
     * @return The bytes for rootSessionId.
     */
    public com.google.protobuf.ByteString
        getRootSessionIdBytes() {
      java.lang.Object ref = rootSessionId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        rootSessionId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string root_session_id = 11;</code>
     * @param value The rootSessionId to set.
     * @return This builder for chaining.
     */
    public Builder setRootSessionId(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      rootSessionId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string root_session_id = 11;</code>
     * @return This builder for chaining.
     */
    public Builder clearRootSessionId() {
      
      rootSessionId_ = getDefaultInstance().getRootSessionId();
      onChanged();
      return this;
    }
    /**
     * <code>string root_session_id = 11;</code>
     * @param value The bytes for rootSessionId to set.
     * @return This builder for chaining.
     */
    public Builder setRootSessionIdBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      rootSessionId_ = value;
      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:TabRequest)
  }

  // @@protoc_insertion_point(class_scope:TabRequest)
  private static final com.tzld.piaoquan.recommend.server.gen.tab.TabRequest DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new com.tzld.piaoquan.recommend.server.gen.tab.TabRequest();
  }

  public static com.tzld.piaoquan.recommend.server.gen.tab.TabRequest getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

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

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

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

  @java.lang.Override
  public com.tzld.piaoquan.recommend.server.gen.tab.TabRequest getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

