// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: api_public.proto

package com.kfzs.duanduan.proto;

public final class ApiPublic {
  private ApiPublic() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface ApiPublicRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:protobuf.ApiPublicRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>int64 offset = 1;</code>
     */
    long getOffset();

    /**
     * <code>int64 limit = 2;</code>
     */
    long getLimit();

    /**
     * <code>int64 page = 3;</code>
     */
    long getPage();

    /**
     * <code>int64 platform = 4;</code>
     */
    long getPlatform();
  }
  /**
   * Protobuf type {@code protobuf.ApiPublicRequest}
   */
  public  static final class ApiPublicRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:protobuf.ApiPublicRequest)
      ApiPublicRequestOrBuilder {
    // Use ApiPublicRequest.newBuilder() to construct.
    private ApiPublicRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private ApiPublicRequest() {
      offset_ = 0L;
      limit_ = 0L;
      page_ = 0L;
      platform_ = 0L;
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
    }
    private ApiPublicRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      int mutable_bitField0_ = 0;
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!input.skipField(tag)) {
                done = true;
              }
              break;
            }
            case 8: {

              offset_ = input.readInt64();
              break;
            }
            case 16: {

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

              page_ = input.readInt64();
              break;
            }
            case 32: {

              platform_ = input.readInt64();
              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 {
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.kfzs.duanduan.proto.ApiPublic.internal_static_protobuf_ApiPublicRequest_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.kfzs.duanduan.proto.ApiPublic.internal_static_protobuf_ApiPublicRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.kfzs.duanduan.proto.ApiPublic.ApiPublicRequest.class, com.kfzs.duanduan.proto.ApiPublic.ApiPublicRequest.Builder.class);
    }

    public static final int OFFSET_FIELD_NUMBER = 1;
    private long offset_;
    /**
     * <code>int64 offset = 1;</code>
     */
    public long getOffset() {
      return offset_;
    }

    public static final int LIMIT_FIELD_NUMBER = 2;
    private long limit_;
    /**
     * <code>int64 limit = 2;</code>
     */
    public long getLimit() {
      return limit_;
    }

    public static final int PAGE_FIELD_NUMBER = 3;
    private long page_;
    /**
     * <code>int64 page = 3;</code>
     */
    public long getPage() {
      return page_;
    }

    public static final int PLATFORM_FIELD_NUMBER = 4;
    private long platform_;
    /**
     * <code>int64 platform = 4;</code>
     */
    public long getPlatform() {
      return platform_;
    }

    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (offset_ != 0L) {
        output.writeInt64(1, offset_);
      }
      if (limit_ != 0L) {
        output.writeInt64(2, limit_);
      }
      if (page_ != 0L) {
        output.writeInt64(3, page_);
      }
      if (platform_ != 0L) {
        output.writeInt64(4, platform_);
      }
    }

    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (offset_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(1, offset_);
      }
      if (limit_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(2, limit_);
      }
      if (page_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(3, page_);
      }
      if (platform_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(4, platform_);
      }
      memoizedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.kfzs.duanduan.proto.ApiPublic.ApiPublicRequest)) {
        return super.equals(obj);
      }
      com.kfzs.duanduan.proto.ApiPublic.ApiPublicRequest other = (com.kfzs.duanduan.proto.ApiPublic.ApiPublicRequest) obj;

      boolean result = true;
      result = result && (getOffset()
          == other.getOffset());
      result = result && (getLimit()
          == other.getLimit());
      result = result && (getPage()
          == other.getPage());
      result = result && (getPlatform()
          == other.getPlatform());
      return result;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + OFFSET_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getOffset());
      hash = (37 * hash) + LIMIT_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getLimit());
      hash = (37 * hash) + PAGE_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getPage());
      hash = (37 * hash) + PLATFORM_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getPlatform());
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.kfzs.duanduan.proto.ApiPublic.ApiPublicRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.kfzs.duanduan.proto.ApiPublic.ApiPublicRequest parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.kfzs.duanduan.proto.ApiPublic.ApiPublicRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.kfzs.duanduan.proto.ApiPublic.ApiPublicRequest parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.kfzs.duanduan.proto.ApiPublic.ApiPublicRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.kfzs.duanduan.proto.ApiPublic.ApiPublicRequest 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.kfzs.duanduan.proto.ApiPublic.ApiPublicRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.kfzs.duanduan.proto.ApiPublic.ApiPublicRequest 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.kfzs.duanduan.proto.ApiPublic.ApiPublicRequest parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.kfzs.duanduan.proto.ApiPublic.ApiPublicRequest parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.kfzs.duanduan.proto.ApiPublic.ApiPublicRequest prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    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 protobuf.ApiPublicRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:protobuf.ApiPublicRequest)
        com.kfzs.duanduan.proto.ApiPublic.ApiPublicRequestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.kfzs.duanduan.proto.ApiPublic.internal_static_protobuf_ApiPublicRequest_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.kfzs.duanduan.proto.ApiPublic.internal_static_protobuf_ApiPublicRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.kfzs.duanduan.proto.ApiPublic.ApiPublicRequest.class, com.kfzs.duanduan.proto.ApiPublic.ApiPublicRequest.Builder.class);
      }

      // Construct using com.kfzs.duanduan.proto.ApiPublic.ApiPublicRequest.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      public Builder clear() {
        super.clear();
        offset_ = 0L;

        limit_ = 0L;

        page_ = 0L;

        platform_ = 0L;

        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.kfzs.duanduan.proto.ApiPublic.internal_static_protobuf_ApiPublicRequest_descriptor;
      }

      public com.kfzs.duanduan.proto.ApiPublic.ApiPublicRequest getDefaultInstanceForType() {
        return com.kfzs.duanduan.proto.ApiPublic.ApiPublicRequest.getDefaultInstance();
      }

      public com.kfzs.duanduan.proto.ApiPublic.ApiPublicRequest build() {
        com.kfzs.duanduan.proto.ApiPublic.ApiPublicRequest result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.kfzs.duanduan.proto.ApiPublic.ApiPublicRequest buildPartial() {
        com.kfzs.duanduan.proto.ApiPublic.ApiPublicRequest result = new com.kfzs.duanduan.proto.ApiPublic.ApiPublicRequest(this);
        result.offset_ = offset_;
        result.limit_ = limit_;
        result.page_ = page_;
        result.platform_ = platform_;
        onBuilt();
        return result;
      }

      public Builder clone() {
        return super.clone();
      }
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return super.setField(field, value);
      }
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, Object value) {
        return super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.kfzs.duanduan.proto.ApiPublic.ApiPublicRequest) {
          return mergeFrom((com.kfzs.duanduan.proto.ApiPublic.ApiPublicRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.kfzs.duanduan.proto.ApiPublic.ApiPublicRequest other) {
        if (other == com.kfzs.duanduan.proto.ApiPublic.ApiPublicRequest.getDefaultInstance()) return this;
        if (other.getOffset() != 0L) {
          setOffset(other.getOffset());
        }
        if (other.getLimit() != 0L) {
          setLimit(other.getLimit());
        }
        if (other.getPage() != 0L) {
          setPage(other.getPage());
        }
        if (other.getPlatform() != 0L) {
          setPlatform(other.getPlatform());
        }
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.kfzs.duanduan.proto.ApiPublic.ApiPublicRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.kfzs.duanduan.proto.ApiPublic.ApiPublicRequest) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private long offset_ ;
      /**
       * <code>int64 offset = 1;</code>
       */
      public long getOffset() {
        return offset_;
      }
      /**
       * <code>int64 offset = 1;</code>
       */
      public Builder setOffset(long value) {
        
        offset_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int64 offset = 1;</code>
       */
      public Builder clearOffset() {
        
        offset_ = 0L;
        onChanged();
        return this;
      }

      private long limit_ ;
      /**
       * <code>int64 limit = 2;</code>
       */
      public long getLimit() {
        return limit_;
      }
      /**
       * <code>int64 limit = 2;</code>
       */
      public Builder setLimit(long value) {
        
        limit_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int64 limit = 2;</code>
       */
      public Builder clearLimit() {
        
        limit_ = 0L;
        onChanged();
        return this;
      }

      private long page_ ;
      /**
       * <code>int64 page = 3;</code>
       */
      public long getPage() {
        return page_;
      }
      /**
       * <code>int64 page = 3;</code>
       */
      public Builder setPage(long value) {
        
        page_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int64 page = 3;</code>
       */
      public Builder clearPage() {
        
        page_ = 0L;
        onChanged();
        return this;
      }

      private long platform_ ;
      /**
       * <code>int64 platform = 4;</code>
       */
      public long getPlatform() {
        return platform_;
      }
      /**
       * <code>int64 platform = 4;</code>
       */
      public Builder setPlatform(long value) {
        
        platform_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int64 platform = 4;</code>
       */
      public Builder clearPlatform() {
        
        platform_ = 0L;
        onChanged();
        return this;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return this;
      }

      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return this;
      }


      // @@protoc_insertion_point(builder_scope:protobuf.ApiPublicRequest)
    }

    // @@protoc_insertion_point(class_scope:protobuf.ApiPublicRequest)
    private static final com.kfzs.duanduan.proto.ApiPublic.ApiPublicRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.kfzs.duanduan.proto.ApiPublic.ApiPublicRequest();
    }

    public static com.kfzs.duanduan.proto.ApiPublic.ApiPublicRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public com.kfzs.duanduan.proto.ApiPublic.ApiPublicRequest getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface ApiPublicResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:protobuf.ApiPublicResponse)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>int64 offset = 1;</code>
     */
    long getOffset();

    /**
     * <code>int64 limit = 2;</code>
     */
    long getLimit();

    /**
     * <code>int64 page = 3;</code>
     */
    long getPage();

    /**
     * <code>int64 total = 4;</code>
     */
    long getTotal();
  }
  /**
   * Protobuf type {@code protobuf.ApiPublicResponse}
   */
  public  static final class ApiPublicResponse extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:protobuf.ApiPublicResponse)
      ApiPublicResponseOrBuilder {
    // Use ApiPublicResponse.newBuilder() to construct.
    private ApiPublicResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private ApiPublicResponse() {
      offset_ = 0L;
      limit_ = 0L;
      page_ = 0L;
      total_ = 0L;
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
    }
    private ApiPublicResponse(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      int mutable_bitField0_ = 0;
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!input.skipField(tag)) {
                done = true;
              }
              break;
            }
            case 8: {

              offset_ = input.readInt64();
              break;
            }
            case 16: {

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

              page_ = input.readInt64();
              break;
            }
            case 32: {

              total_ = input.readInt64();
              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 {
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.kfzs.duanduan.proto.ApiPublic.internal_static_protobuf_ApiPublicResponse_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.kfzs.duanduan.proto.ApiPublic.internal_static_protobuf_ApiPublicResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.kfzs.duanduan.proto.ApiPublic.ApiPublicResponse.class, com.kfzs.duanduan.proto.ApiPublic.ApiPublicResponse.Builder.class);
    }

    public static final int OFFSET_FIELD_NUMBER = 1;
    private long offset_;
    /**
     * <code>int64 offset = 1;</code>
     */
    public long getOffset() {
      return offset_;
    }

    public static final int LIMIT_FIELD_NUMBER = 2;
    private long limit_;
    /**
     * <code>int64 limit = 2;</code>
     */
    public long getLimit() {
      return limit_;
    }

    public static final int PAGE_FIELD_NUMBER = 3;
    private long page_;
    /**
     * <code>int64 page = 3;</code>
     */
    public long getPage() {
      return page_;
    }

    public static final int TOTAL_FIELD_NUMBER = 4;
    private long total_;
    /**
     * <code>int64 total = 4;</code>
     */
    public long getTotal() {
      return total_;
    }

    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (offset_ != 0L) {
        output.writeInt64(1, offset_);
      }
      if (limit_ != 0L) {
        output.writeInt64(2, limit_);
      }
      if (page_ != 0L) {
        output.writeInt64(3, page_);
      }
      if (total_ != 0L) {
        output.writeInt64(4, total_);
      }
    }

    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (offset_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(1, offset_);
      }
      if (limit_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(2, limit_);
      }
      if (page_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(3, page_);
      }
      if (total_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(4, total_);
      }
      memoizedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.kfzs.duanduan.proto.ApiPublic.ApiPublicResponse)) {
        return super.equals(obj);
      }
      com.kfzs.duanduan.proto.ApiPublic.ApiPublicResponse other = (com.kfzs.duanduan.proto.ApiPublic.ApiPublicResponse) obj;

      boolean result = true;
      result = result && (getOffset()
          == other.getOffset());
      result = result && (getLimit()
          == other.getLimit());
      result = result && (getPage()
          == other.getPage());
      result = result && (getTotal()
          == other.getTotal());
      return result;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + OFFSET_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getOffset());
      hash = (37 * hash) + LIMIT_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getLimit());
      hash = (37 * hash) + PAGE_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getPage());
      hash = (37 * hash) + TOTAL_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getTotal());
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.kfzs.duanduan.proto.ApiPublic.ApiPublicResponse parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.kfzs.duanduan.proto.ApiPublic.ApiPublicResponse parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.kfzs.duanduan.proto.ApiPublic.ApiPublicResponse parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.kfzs.duanduan.proto.ApiPublic.ApiPublicResponse parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.kfzs.duanduan.proto.ApiPublic.ApiPublicResponse parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.kfzs.duanduan.proto.ApiPublic.ApiPublicResponse 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.kfzs.duanduan.proto.ApiPublic.ApiPublicResponse parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.kfzs.duanduan.proto.ApiPublic.ApiPublicResponse 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.kfzs.duanduan.proto.ApiPublic.ApiPublicResponse parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.kfzs.duanduan.proto.ApiPublic.ApiPublicResponse parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.kfzs.duanduan.proto.ApiPublic.ApiPublicResponse prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    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 protobuf.ApiPublicResponse}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:protobuf.ApiPublicResponse)
        com.kfzs.duanduan.proto.ApiPublic.ApiPublicResponseOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.kfzs.duanduan.proto.ApiPublic.internal_static_protobuf_ApiPublicResponse_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.kfzs.duanduan.proto.ApiPublic.internal_static_protobuf_ApiPublicResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.kfzs.duanduan.proto.ApiPublic.ApiPublicResponse.class, com.kfzs.duanduan.proto.ApiPublic.ApiPublicResponse.Builder.class);
      }

      // Construct using com.kfzs.duanduan.proto.ApiPublic.ApiPublicResponse.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      public Builder clear() {
        super.clear();
        offset_ = 0L;

        limit_ = 0L;

        page_ = 0L;

        total_ = 0L;

        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.kfzs.duanduan.proto.ApiPublic.internal_static_protobuf_ApiPublicResponse_descriptor;
      }

      public com.kfzs.duanduan.proto.ApiPublic.ApiPublicResponse getDefaultInstanceForType() {
        return com.kfzs.duanduan.proto.ApiPublic.ApiPublicResponse.getDefaultInstance();
      }

      public com.kfzs.duanduan.proto.ApiPublic.ApiPublicResponse build() {
        com.kfzs.duanduan.proto.ApiPublic.ApiPublicResponse result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.kfzs.duanduan.proto.ApiPublic.ApiPublicResponse buildPartial() {
        com.kfzs.duanduan.proto.ApiPublic.ApiPublicResponse result = new com.kfzs.duanduan.proto.ApiPublic.ApiPublicResponse(this);
        result.offset_ = offset_;
        result.limit_ = limit_;
        result.page_ = page_;
        result.total_ = total_;
        onBuilt();
        return result;
      }

      public Builder clone() {
        return super.clone();
      }
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return super.setField(field, value);
      }
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, Object value) {
        return super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.kfzs.duanduan.proto.ApiPublic.ApiPublicResponse) {
          return mergeFrom((com.kfzs.duanduan.proto.ApiPublic.ApiPublicResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.kfzs.duanduan.proto.ApiPublic.ApiPublicResponse other) {
        if (other == com.kfzs.duanduan.proto.ApiPublic.ApiPublicResponse.getDefaultInstance()) return this;
        if (other.getOffset() != 0L) {
          setOffset(other.getOffset());
        }
        if (other.getLimit() != 0L) {
          setLimit(other.getLimit());
        }
        if (other.getPage() != 0L) {
          setPage(other.getPage());
        }
        if (other.getTotal() != 0L) {
          setTotal(other.getTotal());
        }
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.kfzs.duanduan.proto.ApiPublic.ApiPublicResponse parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.kfzs.duanduan.proto.ApiPublic.ApiPublicResponse) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private long offset_ ;
      /**
       * <code>int64 offset = 1;</code>
       */
      public long getOffset() {
        return offset_;
      }
      /**
       * <code>int64 offset = 1;</code>
       */
      public Builder setOffset(long value) {
        
        offset_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int64 offset = 1;</code>
       */
      public Builder clearOffset() {
        
        offset_ = 0L;
        onChanged();
        return this;
      }

      private long limit_ ;
      /**
       * <code>int64 limit = 2;</code>
       */
      public long getLimit() {
        return limit_;
      }
      /**
       * <code>int64 limit = 2;</code>
       */
      public Builder setLimit(long value) {
        
        limit_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int64 limit = 2;</code>
       */
      public Builder clearLimit() {
        
        limit_ = 0L;
        onChanged();
        return this;
      }

      private long page_ ;
      /**
       * <code>int64 page = 3;</code>
       */
      public long getPage() {
        return page_;
      }
      /**
       * <code>int64 page = 3;</code>
       */
      public Builder setPage(long value) {
        
        page_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int64 page = 3;</code>
       */
      public Builder clearPage() {
        
        page_ = 0L;
        onChanged();
        return this;
      }

      private long total_ ;
      /**
       * <code>int64 total = 4;</code>
       */
      public long getTotal() {
        return total_;
      }
      /**
       * <code>int64 total = 4;</code>
       */
      public Builder setTotal(long value) {
        
        total_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int64 total = 4;</code>
       */
      public Builder clearTotal() {
        
        total_ = 0L;
        onChanged();
        return this;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return this;
      }

      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return this;
      }


      // @@protoc_insertion_point(builder_scope:protobuf.ApiPublicResponse)
    }

    // @@protoc_insertion_point(class_scope:protobuf.ApiPublicResponse)
    private static final com.kfzs.duanduan.proto.ApiPublic.ApiPublicResponse DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.kfzs.duanduan.proto.ApiPublic.ApiPublicResponse();
    }

    public static com.kfzs.duanduan.proto.ApiPublic.ApiPublicResponse getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public com.kfzs.duanduan.proto.ApiPublic.ApiPublicResponse getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_protobuf_ApiPublicRequest_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_protobuf_ApiPublicRequest_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_protobuf_ApiPublicResponse_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_protobuf_ApiPublicResponse_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n\020api_public.proto\022\010protobuf\"Q\n\020ApiPubli" +
      "cRequest\022\016\n\006offset\030\001 \001(\003\022\r\n\005limit\030\002 \001(\003\022" +
      "\014\n\004page\030\003 \001(\003\022\020\n\010platform\030\004 \001(\003\"O\n\021ApiPu" +
      "blicResponse\022\016\n\006offset\030\001 \001(\003\022\r\n\005limit\030\002 " +
      "\001(\003\022\014\n\004page\030\003 \001(\003\022\r\n\005total\030\004 \001(\003B\031\n\027com." +
      "kfzs.duanduan.protob\006proto3"
    };
    com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
        new com.google.protobuf.Descriptors.FileDescriptor.    InternalDescriptorAssigner() {
          public com.google.protobuf.ExtensionRegistry assignDescriptors(
              com.google.protobuf.Descriptors.FileDescriptor root) {
            descriptor = root;
            return null;
          }
        };
    com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
        }, assigner);
    internal_static_protobuf_ApiPublicRequest_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_protobuf_ApiPublicRequest_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_protobuf_ApiPublicRequest_descriptor,
        new java.lang.String[] { "Offset", "Limit", "Page", "Platform", });
    internal_static_protobuf_ApiPublicResponse_descriptor =
      getDescriptor().getMessageTypes().get(1);
    internal_static_protobuf_ApiPublicResponse_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_protobuf_ApiPublicResponse_descriptor,
        new java.lang.String[] { "Offset", "Limit", "Page", "Total", });
  }

  // @@protoc_insertion_point(outer_class_scope)
}
