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

package com.ywt.gapi.im;

/**
 * Protobuf type {@code com.ywt.gapi.im.NotifyNewPublishForDocRequest}
 */
public final class NotifyNewPublishForDocRequest extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.ywt.gapi.im.NotifyNewPublishForDocRequest)
    NotifyNewPublishForDocRequestOrBuilder {
private static final long serialVersionUID = 0L;
  // Use NotifyNewPublishForDocRequest.newBuilder() to construct.
  private NotifyNewPublishForDocRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private NotifyNewPublishForDocRequest() {
    toDoctorIds_ = emptyIntList();
  }

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private NotifyNewPublishForDocRequest(
      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 8: {

            articleId_ = input.readInt32();
            break;
          }
          case 16: {
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              toDoctorIds_ = newIntList();
              mutable_bitField0_ |= 0x00000001;
            }
            toDoctorIds_.addInt(input.readInt32());
            break;
          }
          case 18: {
            int length = input.readRawVarint32();
            int limit = input.pushLimit(length);
            if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
              toDoctorIds_ = newIntList();
              mutable_bitField0_ |= 0x00000001;
            }
            while (input.getBytesUntilLimit() > 0) {
              toDoctorIds_.addInt(input.readInt32());
            }
            input.popLimit(limit);
            break;
          }
          case 24: {

            toAllDoctor_ = input.readBool();
            break;
          }
          default: {
            if (!parseUnknownField(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      if (((mutable_bitField0_ & 0x00000001) != 0)) {
        toDoctorIds_.makeImmutable(); // C
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.ywt.gapi.im.ImProto.internal_static_com_ywt_gapi_im_NotifyNewPublishForDocRequest_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.ywt.gapi.im.ImProto.internal_static_com_ywt_gapi_im_NotifyNewPublishForDocRequest_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.ywt.gapi.im.NotifyNewPublishForDocRequest.class, com.ywt.gapi.im.NotifyNewPublishForDocRequest.Builder.class);
  }

  public static final int ARTICLEID_FIELD_NUMBER = 1;
  private int articleId_;
  /**
   * <code>int32 articleId = 1;</code>
   * @return The articleId.
   */
  @java.lang.Override
  public int getArticleId() {
    return articleId_;
  }

  public static final int TODOCTORIDS_FIELD_NUMBER = 2;
  private com.google.protobuf.Internal.IntList toDoctorIds_;
  /**
   * <code>repeated int32 toDoctorIds = 2;</code>
   * @return A list containing the toDoctorIds.
   */
  @java.lang.Override
  public java.util.List<java.lang.Integer>
      getToDoctorIdsList() {
    return toDoctorIds_;
  }
  /**
   * <code>repeated int32 toDoctorIds = 2;</code>
   * @return The count of toDoctorIds.
   */
  public int getToDoctorIdsCount() {
    return toDoctorIds_.size();
  }
  /**
   * <code>repeated int32 toDoctorIds = 2;</code>
   * @param index The index of the element to return.
   * @return The toDoctorIds at the given index.
   */
  public int getToDoctorIds(int index) {
    return toDoctorIds_.getInt(index);
  }
  private int toDoctorIdsMemoizedSerializedSize = -1;

  public static final int TOALLDOCTOR_FIELD_NUMBER = 3;
  private boolean toAllDoctor_;
  /**
   * <code>bool toAllDoctor = 3;</code>
   * @return The toAllDoctor.
   */
  @java.lang.Override
  public boolean getToAllDoctor() {
    return toAllDoctor_;
  }

  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 {
    getSerializedSize();
    if (articleId_ != 0) {
      output.writeInt32(1, articleId_);
    }
    if (getToDoctorIdsList().size() > 0) {
      output.writeUInt32NoTag(18);
      output.writeUInt32NoTag(toDoctorIdsMemoizedSerializedSize);
    }
    for (int i = 0; i < toDoctorIds_.size(); i++) {
      output.writeInt32NoTag(toDoctorIds_.getInt(i));
    }
    if (toAllDoctor_ != false) {
      output.writeBool(3, toAllDoctor_);
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    if (articleId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(1, articleId_);
    }
    {
      int dataSize = 0;
      for (int i = 0; i < toDoctorIds_.size(); i++) {
        dataSize += com.google.protobuf.CodedOutputStream
          .computeInt32SizeNoTag(toDoctorIds_.getInt(i));
      }
      size += dataSize;
      if (!getToDoctorIdsList().isEmpty()) {
        size += 1;
        size += com.google.protobuf.CodedOutputStream
            .computeInt32SizeNoTag(dataSize);
      }
      toDoctorIdsMemoizedSerializedSize = dataSize;
    }
    if (toAllDoctor_ != false) {
      size += com.google.protobuf.CodedOutputStream
        .computeBoolSize(3, toAllDoctor_);
    }
    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.ywt.gapi.im.NotifyNewPublishForDocRequest)) {
      return super.equals(obj);
    }
    com.ywt.gapi.im.NotifyNewPublishForDocRequest other = (com.ywt.gapi.im.NotifyNewPublishForDocRequest) obj;

    if (getArticleId()
        != other.getArticleId()) return false;
    if (!getToDoctorIdsList()
        .equals(other.getToDoctorIdsList())) return false;
    if (getToAllDoctor()
        != other.getToAllDoctor()) 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) + ARTICLEID_FIELD_NUMBER;
    hash = (53 * hash) + getArticleId();
    if (getToDoctorIdsCount() > 0) {
      hash = (37 * hash) + TODOCTORIDS_FIELD_NUMBER;
      hash = (53 * hash) + getToDoctorIdsList().hashCode();
    }
    hash = (37 * hash) + TOALLDOCTOR_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
        getToAllDoctor());
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.ywt.gapi.im.ImProto.internal_static_com_ywt_gapi_im_NotifyNewPublishForDocRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.ywt.gapi.im.NotifyNewPublishForDocRequest.class, com.ywt.gapi.im.NotifyNewPublishForDocRequest.Builder.class);
    }

    // Construct using com.ywt.gapi.im.NotifyNewPublishForDocRequest.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();
      articleId_ = 0;

      toDoctorIds_ = emptyIntList();
      bitField0_ = (bitField0_ & ~0x00000001);
      toAllDoctor_ = false;

      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.ywt.gapi.im.ImProto.internal_static_com_ywt_gapi_im_NotifyNewPublishForDocRequest_descriptor;
    }

    @java.lang.Override
    public com.ywt.gapi.im.NotifyNewPublishForDocRequest getDefaultInstanceForType() {
      return com.ywt.gapi.im.NotifyNewPublishForDocRequest.getDefaultInstance();
    }

    @java.lang.Override
    public com.ywt.gapi.im.NotifyNewPublishForDocRequest build() {
      com.ywt.gapi.im.NotifyNewPublishForDocRequest result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public com.ywt.gapi.im.NotifyNewPublishForDocRequest buildPartial() {
      com.ywt.gapi.im.NotifyNewPublishForDocRequest result = new com.ywt.gapi.im.NotifyNewPublishForDocRequest(this);
      int from_bitField0_ = bitField0_;
      result.articleId_ = articleId_;
      if (((bitField0_ & 0x00000001) != 0)) {
        toDoctorIds_.makeImmutable();
        bitField0_ = (bitField0_ & ~0x00000001);
      }
      result.toDoctorIds_ = toDoctorIds_;
      result.toAllDoctor_ = toAllDoctor_;
      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.ywt.gapi.im.NotifyNewPublishForDocRequest) {
        return mergeFrom((com.ywt.gapi.im.NotifyNewPublishForDocRequest)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.ywt.gapi.im.NotifyNewPublishForDocRequest other) {
      if (other == com.ywt.gapi.im.NotifyNewPublishForDocRequest.getDefaultInstance()) return this;
      if (other.getArticleId() != 0) {
        setArticleId(other.getArticleId());
      }
      if (!other.toDoctorIds_.isEmpty()) {
        if (toDoctorIds_.isEmpty()) {
          toDoctorIds_ = other.toDoctorIds_;
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          ensureToDoctorIdsIsMutable();
          toDoctorIds_.addAll(other.toDoctorIds_);
        }
        onChanged();
      }
      if (other.getToAllDoctor() != false) {
        setToAllDoctor(other.getToAllDoctor());
      }
      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.ywt.gapi.im.NotifyNewPublishForDocRequest parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.ywt.gapi.im.NotifyNewPublishForDocRequest) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }
    private int bitField0_;

    private int articleId_ ;
    /**
     * <code>int32 articleId = 1;</code>
     * @return The articleId.
     */
    @java.lang.Override
    public int getArticleId() {
      return articleId_;
    }
    /**
     * <code>int32 articleId = 1;</code>
     * @param value The articleId to set.
     * @return This builder for chaining.
     */
    public Builder setArticleId(int value) {
      
      articleId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>int32 articleId = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearArticleId() {
      
      articleId_ = 0;
      onChanged();
      return this;
    }

    private com.google.protobuf.Internal.IntList toDoctorIds_ = emptyIntList();
    private void ensureToDoctorIdsIsMutable() {
      if (!((bitField0_ & 0x00000001) != 0)) {
        toDoctorIds_ = mutableCopy(toDoctorIds_);
        bitField0_ |= 0x00000001;
       }
    }
    /**
     * <code>repeated int32 toDoctorIds = 2;</code>
     * @return A list containing the toDoctorIds.
     */
    public java.util.List<java.lang.Integer>
        getToDoctorIdsList() {
      return ((bitField0_ & 0x00000001) != 0) ?
               java.util.Collections.unmodifiableList(toDoctorIds_) : toDoctorIds_;
    }
    /**
     * <code>repeated int32 toDoctorIds = 2;</code>
     * @return The count of toDoctorIds.
     */
    public int getToDoctorIdsCount() {
      return toDoctorIds_.size();
    }
    /**
     * <code>repeated int32 toDoctorIds = 2;</code>
     * @param index The index of the element to return.
     * @return The toDoctorIds at the given index.
     */
    public int getToDoctorIds(int index) {
      return toDoctorIds_.getInt(index);
    }
    /**
     * <code>repeated int32 toDoctorIds = 2;</code>
     * @param index The index to set the value at.
     * @param value The toDoctorIds to set.
     * @return This builder for chaining.
     */
    public Builder setToDoctorIds(
        int index, int value) {
      ensureToDoctorIdsIsMutable();
      toDoctorIds_.setInt(index, value);
      onChanged();
      return this;
    }
    /**
     * <code>repeated int32 toDoctorIds = 2;</code>
     * @param value The toDoctorIds to add.
     * @return This builder for chaining.
     */
    public Builder addToDoctorIds(int value) {
      ensureToDoctorIdsIsMutable();
      toDoctorIds_.addInt(value);
      onChanged();
      return this;
    }
    /**
     * <code>repeated int32 toDoctorIds = 2;</code>
     * @param values The toDoctorIds to add.
     * @return This builder for chaining.
     */
    public Builder addAllToDoctorIds(
        java.lang.Iterable<? extends java.lang.Integer> values) {
      ensureToDoctorIdsIsMutable();
      com.google.protobuf.AbstractMessageLite.Builder.addAll(
          values, toDoctorIds_);
      onChanged();
      return this;
    }
    /**
     * <code>repeated int32 toDoctorIds = 2;</code>
     * @return This builder for chaining.
     */
    public Builder clearToDoctorIds() {
      toDoctorIds_ = emptyIntList();
      bitField0_ = (bitField0_ & ~0x00000001);
      onChanged();
      return this;
    }

    private boolean toAllDoctor_ ;
    /**
     * <code>bool toAllDoctor = 3;</code>
     * @return The toAllDoctor.
     */
    @java.lang.Override
    public boolean getToAllDoctor() {
      return toAllDoctor_;
    }
    /**
     * <code>bool toAllDoctor = 3;</code>
     * @param value The toAllDoctor to set.
     * @return This builder for chaining.
     */
    public Builder setToAllDoctor(boolean value) {
      
      toAllDoctor_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>bool toAllDoctor = 3;</code>
     * @return This builder for chaining.
     */
    public Builder clearToAllDoctor() {
      
      toAllDoctor_ = false;
      onChanged();
      return this;
    }
    @java.lang.Override
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.setUnknownFields(unknownFields);
    }

    @java.lang.Override
    public final Builder mergeUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.mergeUnknownFields(unknownFields);
    }


    // @@protoc_insertion_point(builder_scope:com.ywt.gapi.im.NotifyNewPublishForDocRequest)
  }

  // @@protoc_insertion_point(class_scope:com.ywt.gapi.im.NotifyNewPublishForDocRequest)
  private static final com.ywt.gapi.im.NotifyNewPublishForDocRequest DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new com.ywt.gapi.im.NotifyNewPublishForDocRequest();
  }

  public static com.ywt.gapi.im.NotifyNewPublishForDocRequest getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

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

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

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

  @java.lang.Override
  public com.ywt.gapi.im.NotifyNewPublishForDocRequest getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

