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

package com.kfzs.duanduan.proto;

public final class PictureAssetOuterClass {
  private PictureAssetOuterClass() {}
  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 PictureAssetOrBuilder extends
      // @@protoc_insertion_point(interface_extends:protobuf.PictureAsset)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>int64 Id = 1;</code>
     */
    long getId();

    /**
     * <code>string HashStr = 2;</code>
     */
    java.lang.String getHashStr();
    /**
     * <code>string HashStr = 2;</code>
     */
    com.google.protobuf.ByteString
        getHashStrBytes();

    /**
     * <code>string ExtType = 3;</code>
     */
    java.lang.String getExtType();
    /**
     * <code>string ExtType = 3;</code>
     */
    com.google.protobuf.ByteString
        getExtTypeBytes();

    /**
     * <code>string MimeType = 4;</code>
     */
    java.lang.String getMimeType();
    /**
     * <code>string MimeType = 4;</code>
     */
    com.google.protobuf.ByteString
        getMimeTypeBytes();

    /**
     * <code>int64 CreateTime = 5;</code>
     */
    long getCreateTime();

    /**
     * <code>int64 UserId = 6;</code>
     */
    long getUserId();

    /**
     * <code>string Url = 7;</code>
     */
    java.lang.String getUrl();
    /**
     * <code>string Url = 7;</code>
     */
    com.google.protobuf.ByteString
        getUrlBytes();
  }
  /**
   * <pre>
   * option java_outer_classname = "Picture_asset";
   * </pre>
   *
   * Protobuf type {@code protobuf.PictureAsset}
   */
  public  static final class PictureAsset extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:protobuf.PictureAsset)
      PictureAssetOrBuilder {
    // Use PictureAsset.newBuilder() to construct.
    private PictureAsset(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private PictureAsset() {
      id_ = 0L;
      hashStr_ = "";
      extType_ = "";
      mimeType_ = "";
      createTime_ = 0L;
      userId_ = 0L;
      url_ = "";
    }

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

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

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

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

              mimeType_ = s;
              break;
            }
            case 40: {

              createTime_ = input.readInt64();
              break;
            }
            case 48: {

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

              url_ = 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 {
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.kfzs.duanduan.proto.PictureAssetOuterClass.internal_static_protobuf_PictureAsset_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.kfzs.duanduan.proto.PictureAssetOuterClass.internal_static_protobuf_PictureAsset_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.kfzs.duanduan.proto.PictureAssetOuterClass.PictureAsset.class, com.kfzs.duanduan.proto.PictureAssetOuterClass.PictureAsset.Builder.class);
    }

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

    public static final int HASHSTR_FIELD_NUMBER = 2;
    private volatile java.lang.Object hashStr_;
    /**
     * <code>string HashStr = 2;</code>
     */
    public java.lang.String getHashStr() {
      java.lang.Object ref = hashStr_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        hashStr_ = s;
        return s;
      }
    }
    /**
     * <code>string HashStr = 2;</code>
     */
    public com.google.protobuf.ByteString
        getHashStrBytes() {
      java.lang.Object ref = hashStr_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        hashStr_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int EXTTYPE_FIELD_NUMBER = 3;
    private volatile java.lang.Object extType_;
    /**
     * <code>string ExtType = 3;</code>
     */
    public java.lang.String getExtType() {
      java.lang.Object ref = extType_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        extType_ = s;
        return s;
      }
    }
    /**
     * <code>string ExtType = 3;</code>
     */
    public com.google.protobuf.ByteString
        getExtTypeBytes() {
      java.lang.Object ref = extType_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        extType_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int MIMETYPE_FIELD_NUMBER = 4;
    private volatile java.lang.Object mimeType_;
    /**
     * <code>string MimeType = 4;</code>
     */
    public java.lang.String getMimeType() {
      java.lang.Object ref = mimeType_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        mimeType_ = s;
        return s;
      }
    }
    /**
     * <code>string MimeType = 4;</code>
     */
    public com.google.protobuf.ByteString
        getMimeTypeBytes() {
      java.lang.Object ref = mimeType_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        mimeType_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int CREATETIME_FIELD_NUMBER = 5;
    private long createTime_;
    /**
     * <code>int64 CreateTime = 5;</code>
     */
    public long getCreateTime() {
      return createTime_;
    }

    public static final int USERID_FIELD_NUMBER = 6;
    private long userId_;
    /**
     * <code>int64 UserId = 6;</code>
     */
    public long getUserId() {
      return userId_;
    }

    public static final int URL_FIELD_NUMBER = 7;
    private volatile java.lang.Object url_;
    /**
     * <code>string Url = 7;</code>
     */
    public java.lang.String getUrl() {
      java.lang.Object ref = url_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        url_ = s;
        return s;
      }
    }
    /**
     * <code>string Url = 7;</code>
     */
    public com.google.protobuf.ByteString
        getUrlBytes() {
      java.lang.Object ref = url_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        url_ = 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 (!getHashStrBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, hashStr_);
      }
      if (!getExtTypeBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 3, extType_);
      }
      if (!getMimeTypeBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 4, mimeType_);
      }
      if (createTime_ != 0L) {
        output.writeInt64(5, createTime_);
      }
      if (userId_ != 0L) {
        output.writeInt64(6, userId_);
      }
      if (!getUrlBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 7, url_);
      }
    }

    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 (!getHashStrBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, hashStr_);
      }
      if (!getExtTypeBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, extType_);
      }
      if (!getMimeTypeBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, mimeType_);
      }
      if (createTime_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(5, createTime_);
      }
      if (userId_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(6, userId_);
      }
      if (!getUrlBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, url_);
      }
      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.PictureAssetOuterClass.PictureAsset)) {
        return super.equals(obj);
      }
      com.kfzs.duanduan.proto.PictureAssetOuterClass.PictureAsset other = (com.kfzs.duanduan.proto.PictureAssetOuterClass.PictureAsset) obj;

      boolean result = true;
      result = result && (getId()
          == other.getId());
      result = result && getHashStr()
          .equals(other.getHashStr());
      result = result && getExtType()
          .equals(other.getExtType());
      result = result && getMimeType()
          .equals(other.getMimeType());
      result = result && (getCreateTime()
          == other.getCreateTime());
      result = result && (getUserId()
          == other.getUserId());
      result = result && getUrl()
          .equals(other.getUrl());
      return result;
    }

    @java.lang.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) + HASHSTR_FIELD_NUMBER;
      hash = (53 * hash) + getHashStr().hashCode();
      hash = (37 * hash) + EXTTYPE_FIELD_NUMBER;
      hash = (53 * hash) + getExtType().hashCode();
      hash = (37 * hash) + MIMETYPE_FIELD_NUMBER;
      hash = (53 * hash) + getMimeType().hashCode();
      hash = (37 * hash) + CREATETIME_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getCreateTime());
      hash = (37 * hash) + USERID_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getUserId());
      hash = (37 * hash) + URL_FIELD_NUMBER;
      hash = (53 * hash) + getUrl().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.kfzs.duanduan.proto.PictureAssetOuterClass.PictureAsset parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.kfzs.duanduan.proto.PictureAssetOuterClass.PictureAsset 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.PictureAssetOuterClass.PictureAsset parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.kfzs.duanduan.proto.PictureAssetOuterClass.PictureAsset parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.kfzs.duanduan.proto.PictureAssetOuterClass.PictureAsset parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.kfzs.duanduan.proto.PictureAssetOuterClass.PictureAsset 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.PictureAssetOuterClass.PictureAsset parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.kfzs.duanduan.proto.PictureAssetOuterClass.PictureAsset 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.PictureAssetOuterClass.PictureAsset parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.kfzs.duanduan.proto.PictureAssetOuterClass.PictureAsset 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.PictureAssetOuterClass.PictureAsset 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;
    }
    /**
     * <pre>
     * option java_outer_classname = "Picture_asset";
     * </pre>
     *
     * Protobuf type {@code protobuf.PictureAsset}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:protobuf.PictureAsset)
        com.kfzs.duanduan.proto.PictureAssetOuterClass.PictureAssetOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.kfzs.duanduan.proto.PictureAssetOuterClass.internal_static_protobuf_PictureAsset_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.kfzs.duanduan.proto.PictureAssetOuterClass.internal_static_protobuf_PictureAsset_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.kfzs.duanduan.proto.PictureAssetOuterClass.PictureAsset.class, com.kfzs.duanduan.proto.PictureAssetOuterClass.PictureAsset.Builder.class);
      }

      // Construct using com.kfzs.duanduan.proto.PictureAssetOuterClass.PictureAsset.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();
        id_ = 0L;

        hashStr_ = "";

        extType_ = "";

        mimeType_ = "";

        createTime_ = 0L;

        userId_ = 0L;

        url_ = "";

        return this;
      }

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

      public com.kfzs.duanduan.proto.PictureAssetOuterClass.PictureAsset getDefaultInstanceForType() {
        return com.kfzs.duanduan.proto.PictureAssetOuterClass.PictureAsset.getDefaultInstance();
      }

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

      public com.kfzs.duanduan.proto.PictureAssetOuterClass.PictureAsset buildPartial() {
        com.kfzs.duanduan.proto.PictureAssetOuterClass.PictureAsset result = new com.kfzs.duanduan.proto.PictureAssetOuterClass.PictureAsset(this);
        result.id_ = id_;
        result.hashStr_ = hashStr_;
        result.extType_ = extType_;
        result.mimeType_ = mimeType_;
        result.createTime_ = createTime_;
        result.userId_ = userId_;
        result.url_ = url_;
        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.PictureAssetOuterClass.PictureAsset) {
          return mergeFrom((com.kfzs.duanduan.proto.PictureAssetOuterClass.PictureAsset)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.kfzs.duanduan.proto.PictureAssetOuterClass.PictureAsset other) {
        if (other == com.kfzs.duanduan.proto.PictureAssetOuterClass.PictureAsset.getDefaultInstance()) return this;
        if (other.getId() != 0L) {
          setId(other.getId());
        }
        if (!other.getHashStr().isEmpty()) {
          hashStr_ = other.hashStr_;
          onChanged();
        }
        if (!other.getExtType().isEmpty()) {
          extType_ = other.extType_;
          onChanged();
        }
        if (!other.getMimeType().isEmpty()) {
          mimeType_ = other.mimeType_;
          onChanged();
        }
        if (other.getCreateTime() != 0L) {
          setCreateTime(other.getCreateTime());
        }
        if (other.getUserId() != 0L) {
          setUserId(other.getUserId());
        }
        if (!other.getUrl().isEmpty()) {
          url_ = other.url_;
          onChanged();
        }
        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.PictureAssetOuterClass.PictureAsset parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.kfzs.duanduan.proto.PictureAssetOuterClass.PictureAsset) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

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

      private java.lang.Object hashStr_ = "";
      /**
       * <code>string HashStr = 2;</code>
       */
      public java.lang.String getHashStr() {
        java.lang.Object ref = hashStr_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          hashStr_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string HashStr = 2;</code>
       */
      public com.google.protobuf.ByteString
          getHashStrBytes() {
        java.lang.Object ref = hashStr_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          hashStr_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string HashStr = 2;</code>
       */
      public Builder setHashStr(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        hashStr_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string HashStr = 2;</code>
       */
      public Builder clearHashStr() {
        
        hashStr_ = getDefaultInstance().getHashStr();
        onChanged();
        return this;
      }
      /**
       * <code>string HashStr = 2;</code>
       */
      public Builder setHashStrBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        hashStr_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object extType_ = "";
      /**
       * <code>string ExtType = 3;</code>
       */
      public java.lang.String getExtType() {
        java.lang.Object ref = extType_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          extType_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string ExtType = 3;</code>
       */
      public com.google.protobuf.ByteString
          getExtTypeBytes() {
        java.lang.Object ref = extType_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          extType_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string ExtType = 3;</code>
       */
      public Builder setExtType(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        extType_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string ExtType = 3;</code>
       */
      public Builder clearExtType() {
        
        extType_ = getDefaultInstance().getExtType();
        onChanged();
        return this;
      }
      /**
       * <code>string ExtType = 3;</code>
       */
      public Builder setExtTypeBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        extType_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object mimeType_ = "";
      /**
       * <code>string MimeType = 4;</code>
       */
      public java.lang.String getMimeType() {
        java.lang.Object ref = mimeType_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          mimeType_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string MimeType = 4;</code>
       */
      public com.google.protobuf.ByteString
          getMimeTypeBytes() {
        java.lang.Object ref = mimeType_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          mimeType_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string MimeType = 4;</code>
       */
      public Builder setMimeType(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        mimeType_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string MimeType = 4;</code>
       */
      public Builder clearMimeType() {
        
        mimeType_ = getDefaultInstance().getMimeType();
        onChanged();
        return this;
      }
      /**
       * <code>string MimeType = 4;</code>
       */
      public Builder setMimeTypeBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        mimeType_ = value;
        onChanged();
        return this;
      }

      private long createTime_ ;
      /**
       * <code>int64 CreateTime = 5;</code>
       */
      public long getCreateTime() {
        return createTime_;
      }
      /**
       * <code>int64 CreateTime = 5;</code>
       */
      public Builder setCreateTime(long value) {
        
        createTime_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int64 CreateTime = 5;</code>
       */
      public Builder clearCreateTime() {
        
        createTime_ = 0L;
        onChanged();
        return this;
      }

      private long userId_ ;
      /**
       * <code>int64 UserId = 6;</code>
       */
      public long getUserId() {
        return userId_;
      }
      /**
       * <code>int64 UserId = 6;</code>
       */
      public Builder setUserId(long value) {
        
        userId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int64 UserId = 6;</code>
       */
      public Builder clearUserId() {
        
        userId_ = 0L;
        onChanged();
        return this;
      }

      private java.lang.Object url_ = "";
      /**
       * <code>string Url = 7;</code>
       */
      public java.lang.String getUrl() {
        java.lang.Object ref = url_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          url_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string Url = 7;</code>
       */
      public com.google.protobuf.ByteString
          getUrlBytes() {
        java.lang.Object ref = url_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          url_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string Url = 7;</code>
       */
      public Builder setUrl(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        url_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string Url = 7;</code>
       */
      public Builder clearUrl() {
        
        url_ = getDefaultInstance().getUrl();
        onChanged();
        return this;
      }
      /**
       * <code>string Url = 7;</code>
       */
      public Builder setUrlBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        url_ = value;
        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.PictureAsset)
    }

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

    public static com.kfzs.duanduan.proto.PictureAssetOuterClass.PictureAsset getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public com.kfzs.duanduan.proto.PictureAssetOuterClass.PictureAsset getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_protobuf_PictureAsset_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_protobuf_PictureAsset_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\023picture_asset.proto\022\010protobuf\"\177\n\014Pictu" +
      "reAsset\022\n\n\002Id\030\001 \001(\003\022\017\n\007HashStr\030\002 \001(\t\022\017\n\007" +
      "ExtType\030\003 \001(\t\022\020\n\010MimeType\030\004 \001(\t\022\022\n\nCreat" +
      "eTime\030\005 \001(\003\022\016\n\006UserId\030\006 \001(\003\022\013\n\003Url\030\007 \001(\t" +
      "B\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_PictureAsset_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_protobuf_PictureAsset_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_protobuf_PictureAsset_descriptor,
        new java.lang.String[] { "Id", "HashStr", "ExtType", "MimeType", "CreateTime", "UserId", "Url", });
  }

  // @@protoc_insertion_point(outer_class_scope)
}
