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

package com.usoft.credit.rest.api.result.entity;

/**
 * <pre>
 * 企业查询返回信息
 * </pre>
 *
 * Protobuf type {@code EnterpriseJson}
 */
public  final class EnterpriseJson extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:EnterpriseJson)
    EnterpriseJsonOrBuilder {
private static final long serialVersionUID = 0L;
  // Use EnterpriseJson.newBuilder() to construct.
  private EnterpriseJson(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private EnterpriseJson() {
    id_ = 0L;
    code_ = "";
    encredit_ = "";
    endept_ = "";
    enexception_ = "";
    enrisk_ = "";
  }

  @Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private EnterpriseJson(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    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;
          default: {
            if (!parseUnknownFieldProto3(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
          case 8: {

            id_ = input.readInt64();
            break;
          }
          case 18: {
            String s = input.readStringRequireUtf8();

            code_ = s;
            break;
          }
          case 26: {
            String s = input.readStringRequireUtf8();

            encredit_ = s;
            break;
          }
          case 34: {
            String s = input.readStringRequireUtf8();

            endept_ = s;
            break;
          }
          case 42: {
            String s = input.readStringRequireUtf8();

            enexception_ = s;
            break;
          }
          case 50: {
            String s = input.readStringRequireUtf8();

            enrisk_ = s;
            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 {
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.usoft.credit.rest.api.result.entity.GrpcResultEntity.internal_static_EnterpriseJson_descriptor;
  }

  protected FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.usoft.credit.rest.api.result.entity.GrpcResultEntity.internal_static_EnterpriseJson_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            EnterpriseJson.class, Builder.class);
  }

  public static final int ID_FIELD_NUMBER = 1;
  private long id_;
  /**
   * <pre>
   *主键
   * </pre>
   *
   * <code>int64 id = 1;</code>
   */
  public long getId() {
    return id_;
  }

  public static final int CODE_FIELD_NUMBER = 2;
  private volatile Object code_;
  /**
   * <pre>
   *编码
   * </pre>
   *
   * <code>string code = 2;</code>
   */
  public String getCode() {
    Object ref = code_;
    if (ref instanceof String) {
      return (String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      String s = bs.toStringUtf8();
      code_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *编码
   * </pre>
   *
   * <code>string code = 2;</code>
   */
  public com.google.protobuf.ByteString
      getCodeBytes() {
    Object ref = code_;
    if (ref instanceof String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (String) ref);
      code_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ENCREDIT_FIELD_NUMBER = 3;
  private volatile Object encredit_;
  /**
   * <pre>
   *企业信用信息
   * </pre>
   *
   * <code>string encredit = 3;</code>
   */
  public String getEncredit() {
    Object ref = encredit_;
    if (ref instanceof String) {
      return (String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      String s = bs.toStringUtf8();
      encredit_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *企业信用信息
   * </pre>
   *
   * <code>string encredit = 3;</code>
   */
  public com.google.protobuf.ByteString
      getEncreditBytes() {
    Object ref = encredit_;
    if (ref instanceof String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (String) ref);
      encredit_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ENDEPT_FIELD_NUMBER = 4;
  private volatile Object endept_;
  /**
   * <pre>
   *企业债务信息
   * </pre>
   *
   * <code>string endept = 4;</code>
   */
  public String getEndept() {
    Object ref = endept_;
    if (ref instanceof String) {
      return (String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      String s = bs.toStringUtf8();
      endept_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *企业债务信息
   * </pre>
   *
   * <code>string endept = 4;</code>
   */
  public com.google.protobuf.ByteString
      getEndeptBytes() {
    Object ref = endept_;
    if (ref instanceof String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (String) ref);
      endept_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ENEXCEPTION_FIELD_NUMBER = 5;
  private volatile Object enexception_;
  /**
   * <pre>
   *企业经营异常信息
   * </pre>
   *
   * <code>string enexception = 5;</code>
   */
  public String getEnexception() {
    Object ref = enexception_;
    if (ref instanceof String) {
      return (String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      String s = bs.toStringUtf8();
      enexception_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *企业经营异常信息
   * </pre>
   *
   * <code>string enexception = 5;</code>
   */
  public com.google.protobuf.ByteString
      getEnexceptionBytes() {
    Object ref = enexception_;
    if (ref instanceof String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (String) ref);
      enexception_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ENRISK_FIELD_NUMBER = 6;
  private volatile Object enrisk_;
  /**
   * <pre>
   *企业风险信息
   * </pre>
   *
   * <code>string enrisk = 6;</code>
   */
  public String getEnrisk() {
    Object ref = enrisk_;
    if (ref instanceof String) {
      return (String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      String s = bs.toStringUtf8();
      enrisk_ = s;
      return s;
    }
  }
  /**
   * <pre>
   *企业风险信息
   * </pre>
   *
   * <code>string enrisk = 6;</code>
   */
  public com.google.protobuf.ByteString
      getEnriskBytes() {
    Object ref = enrisk_;
    if (ref instanceof String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (String) ref);
      enrisk_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  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 (id_ != 0L) {
      output.writeInt64(1, id_);
    }
    if (!getCodeBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, code_);
    }
    if (!getEncreditBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, encredit_);
    }
    if (!getEndeptBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, endept_);
    }
    if (!getEnexceptionBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, enexception_);
    }
    if (!getEnriskBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, enrisk_);
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    if (id_ != 0L) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt64Size(1, id_);
    }
    if (!getCodeBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, code_);
    }
    if (!getEncreditBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, encredit_);
    }
    if (!getEndeptBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, endept_);
    }
    if (!getEnexceptionBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, enexception_);
    }
    if (!getEnriskBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, enrisk_);
    }
    size += unknownFields.getSerializedSize();
    memoizedSize = size;
    return size;
  }

  @Override
  public boolean equals(final Object obj) {
    if (obj == this) {
     return true;
    }
    if (!(obj instanceof EnterpriseJson)) {
      return super.equals(obj);
    }
    EnterpriseJson other = (EnterpriseJson) obj;

    boolean result = true;
    result = result && (getId()
        == other.getId());
    result = result && getCode()
        .equals(other.getCode());
    result = result && getEncredit()
        .equals(other.getEncredit());
    result = result && getEndept()
        .equals(other.getEndept());
    result = result && getEnexception()
        .equals(other.getEnexception());
    result = result && getEnrisk()
        .equals(other.getEnrisk());
    result = result && unknownFields.equals(other.unknownFields);
    return result;
  }

  @Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + ID_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        getId());
    hash = (37 * hash) + CODE_FIELD_NUMBER;
    hash = (53 * hash) + getCode().hashCode();
    hash = (37 * hash) + ENCREDIT_FIELD_NUMBER;
    hash = (53 * hash) + getEncredit().hashCode();
    hash = (37 * hash) + ENDEPT_FIELD_NUMBER;
    hash = (53 * hash) + getEndept().hashCode();
    hash = (37 * hash) + ENEXCEPTION_FIELD_NUMBER;
    hash = (53 * hash) + getEnexception().hashCode();
    hash = (37 * hash) + ENRISK_FIELD_NUMBER;
    hash = (53 * hash) + getEnrisk().hashCode();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static EnterpriseJson parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static EnterpriseJson parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static EnterpriseJson parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static EnterpriseJson parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static EnterpriseJson parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static EnterpriseJson parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static EnterpriseJson parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static EnterpriseJson 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 EnterpriseJson parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static EnterpriseJson 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 EnterpriseJson parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static EnterpriseJson 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(EnterpriseJson prototype) {
    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  }
  public Builder toBuilder() {
    return this == DEFAULT_INSTANCE
        ? new Builder() : new Builder().mergeFrom(this);
  }

  @Override
  protected Builder newBuilderForType(
      BuilderParent parent) {
    Builder builder = new Builder(parent);
    return builder;
  }
  /**
   * <pre>
   * 企业查询返回信息
   * </pre>
   *
   * Protobuf type {@code EnterpriseJson}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:EnterpriseJson)
      com.usoft.credit.rest.api.result.entity.EnterpriseJsonOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.usoft.credit.rest.api.result.entity.GrpcResultEntity.internal_static_EnterpriseJson_descriptor;
    }

    protected FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.usoft.credit.rest.api.result.entity.GrpcResultEntity.internal_static_EnterpriseJson_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              EnterpriseJson.class, Builder.class);
    }

    // Construct using com.usoft.credit.rest.api.result.entity.EnterpriseJson.newBuilder()
    private Builder() {
      maybeForceBuilderInitialization();
    }

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

      code_ = "";

      encredit_ = "";

      endept_ = "";

      enexception_ = "";

      enrisk_ = "";

      return this;
    }

    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.usoft.credit.rest.api.result.entity.GrpcResultEntity.internal_static_EnterpriseJson_descriptor;
    }

    public EnterpriseJson getDefaultInstanceForType() {
      return EnterpriseJson.getDefaultInstance();
    }

    public EnterpriseJson build() {
      EnterpriseJson result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    public EnterpriseJson buildPartial() {
      EnterpriseJson result = new EnterpriseJson(this);
      result.id_ = id_;
      result.code_ = code_;
      result.encredit_ = encredit_;
      result.endept_ = endept_;
      result.enexception_ = enexception_;
      result.enrisk_ = enrisk_;
      onBuilt();
      return result;
    }

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

    public Builder mergeFrom(EnterpriseJson other) {
      if (other == EnterpriseJson.getDefaultInstance()) return this;
      if (other.getId() != 0L) {
        setId(other.getId());
      }
      if (!other.getCode().isEmpty()) {
        code_ = other.code_;
        onChanged();
      }
      if (!other.getEncredit().isEmpty()) {
        encredit_ = other.encredit_;
        onChanged();
      }
      if (!other.getEndept().isEmpty()) {
        endept_ = other.endept_;
        onChanged();
      }
      if (!other.getEnexception().isEmpty()) {
        enexception_ = other.enexception_;
        onChanged();
      }
      if (!other.getEnrisk().isEmpty()) {
        enrisk_ = other.enrisk_;
        onChanged();
      }
      this.mergeUnknownFields(other.unknownFields);
      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 {
      EnterpriseJson parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (EnterpriseJson) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }

    private long id_ ;
    /**
     * <pre>
     *主键
     * </pre>
     *
     * <code>int64 id = 1;</code>
     */
    public long getId() {
      return id_;
    }
    /**
     * <pre>
     *主键
     * </pre>
     *
     * <code>int64 id = 1;</code>
     */
    public Builder setId(long value) {
      
      id_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *主键
     * </pre>
     *
     * <code>int64 id = 1;</code>
     */
    public Builder clearId() {
      
      id_ = 0L;
      onChanged();
      return this;
    }

    private Object code_ = "";
    /**
     * <pre>
     *编码
     * </pre>
     *
     * <code>string code = 2;</code>
     */
    public String getCode() {
      Object ref = code_;
      if (!(ref instanceof String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        code_ = s;
        return s;
      } else {
        return (String) ref;
      }
    }
    /**
     * <pre>
     *编码
     * </pre>
     *
     * <code>string code = 2;</code>
     */
    public com.google.protobuf.ByteString
        getCodeBytes() {
      Object ref = code_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (String) ref);
        code_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *编码
     * </pre>
     *
     * <code>string code = 2;</code>
     */
    public Builder setCode(
        String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      code_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *编码
     * </pre>
     *
     * <code>string code = 2;</code>
     */
    public Builder clearCode() {
      
      code_ = getDefaultInstance().getCode();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *编码
     * </pre>
     *
     * <code>string code = 2;</code>
     */
    public Builder setCodeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      code_ = value;
      onChanged();
      return this;
    }

    private Object encredit_ = "";
    /**
     * <pre>
     *企业信用信息
     * </pre>
     *
     * <code>string encredit = 3;</code>
     */
    public String getEncredit() {
      Object ref = encredit_;
      if (!(ref instanceof String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        encredit_ = s;
        return s;
      } else {
        return (String) ref;
      }
    }
    /**
     * <pre>
     *企业信用信息
     * </pre>
     *
     * <code>string encredit = 3;</code>
     */
    public com.google.protobuf.ByteString
        getEncreditBytes() {
      Object ref = encredit_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (String) ref);
        encredit_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *企业信用信息
     * </pre>
     *
     * <code>string encredit = 3;</code>
     */
    public Builder setEncredit(
        String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      encredit_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *企业信用信息
     * </pre>
     *
     * <code>string encredit = 3;</code>
     */
    public Builder clearEncredit() {
      
      encredit_ = getDefaultInstance().getEncredit();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *企业信用信息
     * </pre>
     *
     * <code>string encredit = 3;</code>
     */
    public Builder setEncreditBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      encredit_ = value;
      onChanged();
      return this;
    }

    private Object endept_ = "";
    /**
     * <pre>
     *企业债务信息
     * </pre>
     *
     * <code>string endept = 4;</code>
     */
    public String getEndept() {
      Object ref = endept_;
      if (!(ref instanceof String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        endept_ = s;
        return s;
      } else {
        return (String) ref;
      }
    }
    /**
     * <pre>
     *企业债务信息
     * </pre>
     *
     * <code>string endept = 4;</code>
     */
    public com.google.protobuf.ByteString
        getEndeptBytes() {
      Object ref = endept_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (String) ref);
        endept_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *企业债务信息
     * </pre>
     *
     * <code>string endept = 4;</code>
     */
    public Builder setEndept(
        String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      endept_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *企业债务信息
     * </pre>
     *
     * <code>string endept = 4;</code>
     */
    public Builder clearEndept() {
      
      endept_ = getDefaultInstance().getEndept();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *企业债务信息
     * </pre>
     *
     * <code>string endept = 4;</code>
     */
    public Builder setEndeptBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      endept_ = value;
      onChanged();
      return this;
    }

    private Object enexception_ = "";
    /**
     * <pre>
     *企业经营异常信息
     * </pre>
     *
     * <code>string enexception = 5;</code>
     */
    public String getEnexception() {
      Object ref = enexception_;
      if (!(ref instanceof String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        enexception_ = s;
        return s;
      } else {
        return (String) ref;
      }
    }
    /**
     * <pre>
     *企业经营异常信息
     * </pre>
     *
     * <code>string enexception = 5;</code>
     */
    public com.google.protobuf.ByteString
        getEnexceptionBytes() {
      Object ref = enexception_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (String) ref);
        enexception_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *企业经营异常信息
     * </pre>
     *
     * <code>string enexception = 5;</code>
     */
    public Builder setEnexception(
        String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      enexception_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *企业经营异常信息
     * </pre>
     *
     * <code>string enexception = 5;</code>
     */
    public Builder clearEnexception() {
      
      enexception_ = getDefaultInstance().getEnexception();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *企业经营异常信息
     * </pre>
     *
     * <code>string enexception = 5;</code>
     */
    public Builder setEnexceptionBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      enexception_ = value;
      onChanged();
      return this;
    }

    private Object enrisk_ = "";
    /**
     * <pre>
     *企业风险信息
     * </pre>
     *
     * <code>string enrisk = 6;</code>
     */
    public String getEnrisk() {
      Object ref = enrisk_;
      if (!(ref instanceof String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        String s = bs.toStringUtf8();
        enrisk_ = s;
        return s;
      } else {
        return (String) ref;
      }
    }
    /**
     * <pre>
     *企业风险信息
     * </pre>
     *
     * <code>string enrisk = 6;</code>
     */
    public com.google.protobuf.ByteString
        getEnriskBytes() {
      Object ref = enrisk_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (String) ref);
        enrisk_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <pre>
     *企业风险信息
     * </pre>
     *
     * <code>string enrisk = 6;</code>
     */
    public Builder setEnrisk(
        String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      enrisk_ = value;
      onChanged();
      return this;
    }
    /**
     * <pre>
     *企业风险信息
     * </pre>
     *
     * <code>string enrisk = 6;</code>
     */
    public Builder clearEnrisk() {
      
      enrisk_ = getDefaultInstance().getEnrisk();
      onChanged();
      return this;
    }
    /**
     * <pre>
     *企业风险信息
     * </pre>
     *
     * <code>string enrisk = 6;</code>
     */
    public Builder setEnriskBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      enrisk_ = value;
      onChanged();
      return this;
    }
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.setUnknownFieldsProto3(unknownFields);
    }

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


    // @@protoc_insertion_point(builder_scope:EnterpriseJson)
  }

  // @@protoc_insertion_point(class_scope:EnterpriseJson)
  private static final EnterpriseJson DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new EnterpriseJson();
  }

  public static EnterpriseJson getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

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

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

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

  public EnterpriseJson getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

