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

package com.akaxin.proto.site;

public final class ApiFileUploadProto {
  private ApiFileUploadProto() {}
  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 ApiFileUploadRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:site.ApiFileUploadRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <pre>
     *上传文件资源&lt;图片，语音，视频&gt;
     * </pre>
     *
     * <code>.core.File file = 1;</code>
     */
    boolean hasFile();
    /**
     * <pre>
     *上传文件资源&lt;图片，语音，视频&gt;
     * </pre>
     *
     * <code>.core.File file = 1;</code>
     */
    com.akaxin.proto.core.FileProto.File getFile();
    /**
     * <pre>
     *上传文件资源&lt;图片，语音，视频&gt;
     * </pre>
     *
     * <code>.core.File file = 1;</code>
     */
    com.akaxin.proto.core.FileProto.FileOrBuilder getFileOrBuilder();

    /**
     * <pre>
     *文件资源的描述
     * </pre>
     *
     * <code>.core.FileDesc fileDesc = 2;</code>
     */
    boolean hasFileDesc();
    /**
     * <pre>
     *文件资源的描述
     * </pre>
     *
     * <code>.core.FileDesc fileDesc = 2;</code>
     */
    com.akaxin.proto.core.FileProto.FileDesc getFileDesc();
    /**
     * <pre>
     *文件资源的描述
     * </pre>
     *
     * <code>.core.FileDesc fileDesc = 2;</code>
     */
    com.akaxin.proto.core.FileProto.FileDescOrBuilder getFileDescOrBuilder();
  }
  /**
   * Protobuf type {@code site.ApiFileUploadRequest}
   */
  public  static final class ApiFileUploadRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:site.ApiFileUploadRequest)
      ApiFileUploadRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use ApiFileUploadRequest.newBuilder() to construct.
    private ApiFileUploadRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private ApiFileUploadRequest() {
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private ApiFileUploadRequest(
        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;
            default: {
              if (!parseUnknownFieldProto3(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              com.akaxin.proto.core.FileProto.File.Builder subBuilder = null;
              if (file_ != null) {
                subBuilder = file_.toBuilder();
              }
              file_ = input.readMessage(com.akaxin.proto.core.FileProto.File.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(file_);
                file_ = subBuilder.buildPartial();
              }

              break;
            }
            case 18: {
              com.akaxin.proto.core.FileProto.FileDesc.Builder subBuilder = null;
              if (fileDesc_ != null) {
                subBuilder = fileDesc_.toBuilder();
              }
              fileDesc_ = input.readMessage(com.akaxin.proto.core.FileProto.FileDesc.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(fileDesc_);
                fileDesc_ = subBuilder.buildPartial();
              }

              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.akaxin.proto.site.ApiFileUploadProto.internal_static_site_ApiFileUploadRequest_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.akaxin.proto.site.ApiFileUploadProto.internal_static_site_ApiFileUploadRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.akaxin.proto.site.ApiFileUploadProto.ApiFileUploadRequest.class, com.akaxin.proto.site.ApiFileUploadProto.ApiFileUploadRequest.Builder.class);
    }

    public static final int FILE_FIELD_NUMBER = 1;
    private com.akaxin.proto.core.FileProto.File file_;
    /**
     * <pre>
     *上传文件资源&lt;图片，语音，视频&gt;
     * </pre>
     *
     * <code>.core.File file = 1;</code>
     */
    public boolean hasFile() {
      return file_ != null;
    }
    /**
     * <pre>
     *上传文件资源&lt;图片，语音，视频&gt;
     * </pre>
     *
     * <code>.core.File file = 1;</code>
     */
    public com.akaxin.proto.core.FileProto.File getFile() {
      return file_ == null ? com.akaxin.proto.core.FileProto.File.getDefaultInstance() : file_;
    }
    /**
     * <pre>
     *上传文件资源&lt;图片，语音，视频&gt;
     * </pre>
     *
     * <code>.core.File file = 1;</code>
     */
    public com.akaxin.proto.core.FileProto.FileOrBuilder getFileOrBuilder() {
      return getFile();
    }

    public static final int FILEDESC_FIELD_NUMBER = 2;
    private com.akaxin.proto.core.FileProto.FileDesc fileDesc_;
    /**
     * <pre>
     *文件资源的描述
     * </pre>
     *
     * <code>.core.FileDesc fileDesc = 2;</code>
     */
    public boolean hasFileDesc() {
      return fileDesc_ != null;
    }
    /**
     * <pre>
     *文件资源的描述
     * </pre>
     *
     * <code>.core.FileDesc fileDesc = 2;</code>
     */
    public com.akaxin.proto.core.FileProto.FileDesc getFileDesc() {
      return fileDesc_ == null ? com.akaxin.proto.core.FileProto.FileDesc.getDefaultInstance() : fileDesc_;
    }
    /**
     * <pre>
     *文件资源的描述
     * </pre>
     *
     * <code>.core.FileDesc fileDesc = 2;</code>
     */
    public com.akaxin.proto.core.FileProto.FileDescOrBuilder getFileDescOrBuilder() {
      return getFileDesc();
    }

    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 (file_ != null) {
        output.writeMessage(1, getFile());
      }
      if (fileDesc_ != null) {
        output.writeMessage(2, getFileDesc());
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (file_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getFile());
      }
      if (fileDesc_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, getFileDesc());
      }
      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.akaxin.proto.site.ApiFileUploadProto.ApiFileUploadRequest)) {
        return super.equals(obj);
      }
      com.akaxin.proto.site.ApiFileUploadProto.ApiFileUploadRequest other = (com.akaxin.proto.site.ApiFileUploadProto.ApiFileUploadRequest) obj;

      boolean result = true;
      result = result && (hasFile() == other.hasFile());
      if (hasFile()) {
        result = result && getFile()
            .equals(other.getFile());
      }
      result = result && (hasFileDesc() == other.hasFileDesc());
      if (hasFileDesc()) {
        result = result && getFileDesc()
            .equals(other.getFileDesc());
      }
      result = result && unknownFields.equals(other.unknownFields);
      return result;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasFile()) {
        hash = (37 * hash) + FILE_FIELD_NUMBER;
        hash = (53 * hash) + getFile().hashCode();
      }
      if (hasFileDesc()) {
        hash = (37 * hash) + FILEDESC_FIELD_NUMBER;
        hash = (53 * hash) + getFileDesc().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code site.ApiFileUploadRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:site.ApiFileUploadRequest)
        com.akaxin.proto.site.ApiFileUploadProto.ApiFileUploadRequestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.akaxin.proto.site.ApiFileUploadProto.internal_static_site_ApiFileUploadRequest_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.akaxin.proto.site.ApiFileUploadProto.internal_static_site_ApiFileUploadRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.akaxin.proto.site.ApiFileUploadProto.ApiFileUploadRequest.class, com.akaxin.proto.site.ApiFileUploadProto.ApiFileUploadRequest.Builder.class);
      }

      // Construct using com.akaxin.proto.site.ApiFileUploadProto.ApiFileUploadRequest.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();
        if (fileBuilder_ == null) {
          file_ = null;
        } else {
          file_ = null;
          fileBuilder_ = null;
        }
        if (fileDescBuilder_ == null) {
          fileDesc_ = null;
        } else {
          fileDesc_ = null;
          fileDescBuilder_ = null;
        }
        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.akaxin.proto.site.ApiFileUploadProto.internal_static_site_ApiFileUploadRequest_descriptor;
      }

      public com.akaxin.proto.site.ApiFileUploadProto.ApiFileUploadRequest getDefaultInstanceForType() {
        return com.akaxin.proto.site.ApiFileUploadProto.ApiFileUploadRequest.getDefaultInstance();
      }

      public com.akaxin.proto.site.ApiFileUploadProto.ApiFileUploadRequest build() {
        com.akaxin.proto.site.ApiFileUploadProto.ApiFileUploadRequest result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.akaxin.proto.site.ApiFileUploadProto.ApiFileUploadRequest buildPartial() {
        com.akaxin.proto.site.ApiFileUploadProto.ApiFileUploadRequest result = new com.akaxin.proto.site.ApiFileUploadProto.ApiFileUploadRequest(this);
        if (fileBuilder_ == null) {
          result.file_ = file_;
        } else {
          result.file_ = fileBuilder_.build();
        }
        if (fileDescBuilder_ == null) {
          result.fileDesc_ = fileDesc_;
        } else {
          result.fileDesc_ = fileDescBuilder_.build();
        }
        onBuilt();
        return result;
      }

      public Builder clone() {
        return (Builder) super.clone();
      }
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.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, java.lang.Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.akaxin.proto.site.ApiFileUploadProto.ApiFileUploadRequest) {
          return mergeFrom((com.akaxin.proto.site.ApiFileUploadProto.ApiFileUploadRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.akaxin.proto.site.ApiFileUploadProto.ApiFileUploadRequest other) {
        if (other == com.akaxin.proto.site.ApiFileUploadProto.ApiFileUploadRequest.getDefaultInstance()) return this;
        if (other.hasFile()) {
          mergeFile(other.getFile());
        }
        if (other.hasFileDesc()) {
          mergeFileDesc(other.getFileDesc());
        }
        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 {
        com.akaxin.proto.site.ApiFileUploadProto.ApiFileUploadRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.akaxin.proto.site.ApiFileUploadProto.ApiFileUploadRequest) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private com.akaxin.proto.core.FileProto.File file_ = null;
      private com.google.protobuf.SingleFieldBuilderV3<
          com.akaxin.proto.core.FileProto.File, com.akaxin.proto.core.FileProto.File.Builder, com.akaxin.proto.core.FileProto.FileOrBuilder> fileBuilder_;
      /**
       * <pre>
       *上传文件资源&lt;图片，语音，视频&gt;
       * </pre>
       *
       * <code>.core.File file = 1;</code>
       */
      public boolean hasFile() {
        return fileBuilder_ != null || file_ != null;
      }
      /**
       * <pre>
       *上传文件资源&lt;图片，语音，视频&gt;
       * </pre>
       *
       * <code>.core.File file = 1;</code>
       */
      public com.akaxin.proto.core.FileProto.File getFile() {
        if (fileBuilder_ == null) {
          return file_ == null ? com.akaxin.proto.core.FileProto.File.getDefaultInstance() : file_;
        } else {
          return fileBuilder_.getMessage();
        }
      }
      /**
       * <pre>
       *上传文件资源&lt;图片，语音，视频&gt;
       * </pre>
       *
       * <code>.core.File file = 1;</code>
       */
      public Builder setFile(com.akaxin.proto.core.FileProto.File value) {
        if (fileBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          file_ = value;
          onChanged();
        } else {
          fileBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <pre>
       *上传文件资源&lt;图片，语音，视频&gt;
       * </pre>
       *
       * <code>.core.File file = 1;</code>
       */
      public Builder setFile(
          com.akaxin.proto.core.FileProto.File.Builder builderForValue) {
        if (fileBuilder_ == null) {
          file_ = builderForValue.build();
          onChanged();
        } else {
          fileBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <pre>
       *上传文件资源&lt;图片，语音，视频&gt;
       * </pre>
       *
       * <code>.core.File file = 1;</code>
       */
      public Builder mergeFile(com.akaxin.proto.core.FileProto.File value) {
        if (fileBuilder_ == null) {
          if (file_ != null) {
            file_ =
              com.akaxin.proto.core.FileProto.File.newBuilder(file_).mergeFrom(value).buildPartial();
          } else {
            file_ = value;
          }
          onChanged();
        } else {
          fileBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <pre>
       *上传文件资源&lt;图片，语音，视频&gt;
       * </pre>
       *
       * <code>.core.File file = 1;</code>
       */
      public Builder clearFile() {
        if (fileBuilder_ == null) {
          file_ = null;
          onChanged();
        } else {
          file_ = null;
          fileBuilder_ = null;
        }

        return this;
      }
      /**
       * <pre>
       *上传文件资源&lt;图片，语音，视频&gt;
       * </pre>
       *
       * <code>.core.File file = 1;</code>
       */
      public com.akaxin.proto.core.FileProto.File.Builder getFileBuilder() {
        
        onChanged();
        return getFileFieldBuilder().getBuilder();
      }
      /**
       * <pre>
       *上传文件资源&lt;图片，语音，视频&gt;
       * </pre>
       *
       * <code>.core.File file = 1;</code>
       */
      public com.akaxin.proto.core.FileProto.FileOrBuilder getFileOrBuilder() {
        if (fileBuilder_ != null) {
          return fileBuilder_.getMessageOrBuilder();
        } else {
          return file_ == null ?
              com.akaxin.proto.core.FileProto.File.getDefaultInstance() : file_;
        }
      }
      /**
       * <pre>
       *上传文件资源&lt;图片，语音，视频&gt;
       * </pre>
       *
       * <code>.core.File file = 1;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          com.akaxin.proto.core.FileProto.File, com.akaxin.proto.core.FileProto.File.Builder, com.akaxin.proto.core.FileProto.FileOrBuilder> 
          getFileFieldBuilder() {
        if (fileBuilder_ == null) {
          fileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              com.akaxin.proto.core.FileProto.File, com.akaxin.proto.core.FileProto.File.Builder, com.akaxin.proto.core.FileProto.FileOrBuilder>(
                  getFile(),
                  getParentForChildren(),
                  isClean());
          file_ = null;
        }
        return fileBuilder_;
      }

      private com.akaxin.proto.core.FileProto.FileDesc fileDesc_ = null;
      private com.google.protobuf.SingleFieldBuilderV3<
          com.akaxin.proto.core.FileProto.FileDesc, com.akaxin.proto.core.FileProto.FileDesc.Builder, com.akaxin.proto.core.FileProto.FileDescOrBuilder> fileDescBuilder_;
      /**
       * <pre>
       *文件资源的描述
       * </pre>
       *
       * <code>.core.FileDesc fileDesc = 2;</code>
       */
      public boolean hasFileDesc() {
        return fileDescBuilder_ != null || fileDesc_ != null;
      }
      /**
       * <pre>
       *文件资源的描述
       * </pre>
       *
       * <code>.core.FileDesc fileDesc = 2;</code>
       */
      public com.akaxin.proto.core.FileProto.FileDesc getFileDesc() {
        if (fileDescBuilder_ == null) {
          return fileDesc_ == null ? com.akaxin.proto.core.FileProto.FileDesc.getDefaultInstance() : fileDesc_;
        } else {
          return fileDescBuilder_.getMessage();
        }
      }
      /**
       * <pre>
       *文件资源的描述
       * </pre>
       *
       * <code>.core.FileDesc fileDesc = 2;</code>
       */
      public Builder setFileDesc(com.akaxin.proto.core.FileProto.FileDesc value) {
        if (fileDescBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          fileDesc_ = value;
          onChanged();
        } else {
          fileDescBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <pre>
       *文件资源的描述
       * </pre>
       *
       * <code>.core.FileDesc fileDesc = 2;</code>
       */
      public Builder setFileDesc(
          com.akaxin.proto.core.FileProto.FileDesc.Builder builderForValue) {
        if (fileDescBuilder_ == null) {
          fileDesc_ = builderForValue.build();
          onChanged();
        } else {
          fileDescBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <pre>
       *文件资源的描述
       * </pre>
       *
       * <code>.core.FileDesc fileDesc = 2;</code>
       */
      public Builder mergeFileDesc(com.akaxin.proto.core.FileProto.FileDesc value) {
        if (fileDescBuilder_ == null) {
          if (fileDesc_ != null) {
            fileDesc_ =
              com.akaxin.proto.core.FileProto.FileDesc.newBuilder(fileDesc_).mergeFrom(value).buildPartial();
          } else {
            fileDesc_ = value;
          }
          onChanged();
        } else {
          fileDescBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <pre>
       *文件资源的描述
       * </pre>
       *
       * <code>.core.FileDesc fileDesc = 2;</code>
       */
      public Builder clearFileDesc() {
        if (fileDescBuilder_ == null) {
          fileDesc_ = null;
          onChanged();
        } else {
          fileDesc_ = null;
          fileDescBuilder_ = null;
        }

        return this;
      }
      /**
       * <pre>
       *文件资源的描述
       * </pre>
       *
       * <code>.core.FileDesc fileDesc = 2;</code>
       */
      public com.akaxin.proto.core.FileProto.FileDesc.Builder getFileDescBuilder() {
        
        onChanged();
        return getFileDescFieldBuilder().getBuilder();
      }
      /**
       * <pre>
       *文件资源的描述
       * </pre>
       *
       * <code>.core.FileDesc fileDesc = 2;</code>
       */
      public com.akaxin.proto.core.FileProto.FileDescOrBuilder getFileDescOrBuilder() {
        if (fileDescBuilder_ != null) {
          return fileDescBuilder_.getMessageOrBuilder();
        } else {
          return fileDesc_ == null ?
              com.akaxin.proto.core.FileProto.FileDesc.getDefaultInstance() : fileDesc_;
        }
      }
      /**
       * <pre>
       *文件资源的描述
       * </pre>
       *
       * <code>.core.FileDesc fileDesc = 2;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          com.akaxin.proto.core.FileProto.FileDesc, com.akaxin.proto.core.FileProto.FileDesc.Builder, com.akaxin.proto.core.FileProto.FileDescOrBuilder> 
          getFileDescFieldBuilder() {
        if (fileDescBuilder_ == null) {
          fileDescBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              com.akaxin.proto.core.FileProto.FileDesc, com.akaxin.proto.core.FileProto.FileDesc.Builder, com.akaxin.proto.core.FileProto.FileDescOrBuilder>(
                  getFileDesc(),
                  getParentForChildren(),
                  isClean());
          fileDesc_ = null;
        }
        return fileDescBuilder_;
      }
      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:site.ApiFileUploadRequest)
    }

    // @@protoc_insertion_point(class_scope:site.ApiFileUploadRequest)
    private static final com.akaxin.proto.site.ApiFileUploadProto.ApiFileUploadRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.akaxin.proto.site.ApiFileUploadProto.ApiFileUploadRequest();
    }

    public static com.akaxin.proto.site.ApiFileUploadProto.ApiFileUploadRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public com.akaxin.proto.site.ApiFileUploadProto.ApiFileUploadRequest getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface ApiFileUploadResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:site.ApiFileUploadResponse)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <pre>
     *上传资源标识ID
     * </pre>
     *
     * <code>string file_id = 1;</code>
     */
    java.lang.String getFileId();
    /**
     * <pre>
     *上传资源标识ID
     * </pre>
     *
     * <code>string file_id = 1;</code>
     */
    com.google.protobuf.ByteString
        getFileIdBytes();
  }
  /**
   * Protobuf type {@code site.ApiFileUploadResponse}
   */
  public  static final class ApiFileUploadResponse extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:site.ApiFileUploadResponse)
      ApiFileUploadResponseOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use ApiFileUploadResponse.newBuilder() to construct.
    private ApiFileUploadResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private ApiFileUploadResponse() {
      fileId_ = "";
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private ApiFileUploadResponse(
        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;
            default: {
              if (!parseUnknownFieldProto3(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              java.lang.String s = input.readStringRequireUtf8();

              fileId_ = 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.akaxin.proto.site.ApiFileUploadProto.internal_static_site_ApiFileUploadResponse_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.akaxin.proto.site.ApiFileUploadProto.internal_static_site_ApiFileUploadResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.akaxin.proto.site.ApiFileUploadProto.ApiFileUploadResponse.class, com.akaxin.proto.site.ApiFileUploadProto.ApiFileUploadResponse.Builder.class);
    }

    public static final int FILE_ID_FIELD_NUMBER = 1;
    private volatile java.lang.Object fileId_;
    /**
     * <pre>
     *上传资源标识ID
     * </pre>
     *
     * <code>string file_id = 1;</code>
     */
    public java.lang.String getFileId() {
      java.lang.Object ref = fileId_;
      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();
        fileId_ = s;
        return s;
      }
    }
    /**
     * <pre>
     *上传资源标识ID
     * </pre>
     *
     * <code>string file_id = 1;</code>
     */
    public com.google.protobuf.ByteString
        getFileIdBytes() {
      java.lang.Object ref = fileId_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        fileId_ = 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 (!getFileIdBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fileId_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (!getFileIdBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, fileId_);
      }
      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.akaxin.proto.site.ApiFileUploadProto.ApiFileUploadResponse)) {
        return super.equals(obj);
      }
      com.akaxin.proto.site.ApiFileUploadProto.ApiFileUploadResponse other = (com.akaxin.proto.site.ApiFileUploadProto.ApiFileUploadResponse) obj;

      boolean result = true;
      result = result && getFileId()
          .equals(other.getFileId());
      result = result && unknownFields.equals(other.unknownFields);
      return result;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + FILE_ID_FIELD_NUMBER;
      hash = (53 * hash) + getFileId().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code site.ApiFileUploadResponse}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:site.ApiFileUploadResponse)
        com.akaxin.proto.site.ApiFileUploadProto.ApiFileUploadResponseOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.akaxin.proto.site.ApiFileUploadProto.internal_static_site_ApiFileUploadResponse_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.akaxin.proto.site.ApiFileUploadProto.internal_static_site_ApiFileUploadResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.akaxin.proto.site.ApiFileUploadProto.ApiFileUploadResponse.class, com.akaxin.proto.site.ApiFileUploadProto.ApiFileUploadResponse.Builder.class);
      }

      // Construct using com.akaxin.proto.site.ApiFileUploadProto.ApiFileUploadResponse.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();
        fileId_ = "";

        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.akaxin.proto.site.ApiFileUploadProto.internal_static_site_ApiFileUploadResponse_descriptor;
      }

      public com.akaxin.proto.site.ApiFileUploadProto.ApiFileUploadResponse getDefaultInstanceForType() {
        return com.akaxin.proto.site.ApiFileUploadProto.ApiFileUploadResponse.getDefaultInstance();
      }

      public com.akaxin.proto.site.ApiFileUploadProto.ApiFileUploadResponse build() {
        com.akaxin.proto.site.ApiFileUploadProto.ApiFileUploadResponse result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.akaxin.proto.site.ApiFileUploadProto.ApiFileUploadResponse buildPartial() {
        com.akaxin.proto.site.ApiFileUploadProto.ApiFileUploadResponse result = new com.akaxin.proto.site.ApiFileUploadProto.ApiFileUploadResponse(this);
        result.fileId_ = fileId_;
        onBuilt();
        return result;
      }

      public Builder clone() {
        return (Builder) super.clone();
      }
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.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, java.lang.Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.akaxin.proto.site.ApiFileUploadProto.ApiFileUploadResponse) {
          return mergeFrom((com.akaxin.proto.site.ApiFileUploadProto.ApiFileUploadResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.akaxin.proto.site.ApiFileUploadProto.ApiFileUploadResponse other) {
        if (other == com.akaxin.proto.site.ApiFileUploadProto.ApiFileUploadResponse.getDefaultInstance()) return this;
        if (!other.getFileId().isEmpty()) {
          fileId_ = other.fileId_;
          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 {
        com.akaxin.proto.site.ApiFileUploadProto.ApiFileUploadResponse parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.akaxin.proto.site.ApiFileUploadProto.ApiFileUploadResponse) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private java.lang.Object fileId_ = "";
      /**
       * <pre>
       *上传资源标识ID
       * </pre>
       *
       * <code>string file_id = 1;</code>
       */
      public java.lang.String getFileId() {
        java.lang.Object ref = fileId_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          fileId_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <pre>
       *上传资源标识ID
       * </pre>
       *
       * <code>string file_id = 1;</code>
       */
      public com.google.protobuf.ByteString
          getFileIdBytes() {
        java.lang.Object ref = fileId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          fileId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <pre>
       *上传资源标识ID
       * </pre>
       *
       * <code>string file_id = 1;</code>
       */
      public Builder setFileId(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        fileId_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       *上传资源标识ID
       * </pre>
       *
       * <code>string file_id = 1;</code>
       */
      public Builder clearFileId() {
        
        fileId_ = getDefaultInstance().getFileId();
        onChanged();
        return this;
      }
      /**
       * <pre>
       *上传资源标识ID
       * </pre>
       *
       * <code>string file_id = 1;</code>
       */
      public Builder setFileIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        fileId_ = 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:site.ApiFileUploadResponse)
    }

    // @@protoc_insertion_point(class_scope:site.ApiFileUploadResponse)
    private static final com.akaxin.proto.site.ApiFileUploadProto.ApiFileUploadResponse DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.akaxin.proto.site.ApiFileUploadProto.ApiFileUploadResponse();
    }

    public static com.akaxin.proto.site.ApiFileUploadProto.ApiFileUploadResponse getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public com.akaxin.proto.site.ApiFileUploadProto.ApiFileUploadResponse getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_site_ApiFileUploadRequest_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_site_ApiFileUploadRequest_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_site_ApiFileUploadResponse_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_site_ApiFileUploadResponse_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\032site/api_file_upload.proto\022\004site\032\017core" +
      "/file.proto\"R\n\024ApiFileUploadRequest\022\030\n\004f" +
      "ile\030\001 \001(\0132\n.core.File\022 \n\010fileDesc\030\002 \001(\0132" +
      "\016.core.FileDesc\"(\n\025ApiFileUploadResponse" +
      "\022\017\n\007file_id\030\001 \001(\t2Y\n\024ApiFileUploadServic" +
      "e\022A\n\006upload\022\032.site.ApiFileUploadRequest\032" +
      "\033.site.ApiFileUploadResponseB+\n\025com.akax" +
      "in.proto.siteB\022ApiFileUploadProtob\006proto" +
      "3"
    };
    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[] {
          com.akaxin.proto.core.FileProto.getDescriptor(),
        }, assigner);
    internal_static_site_ApiFileUploadRequest_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_site_ApiFileUploadRequest_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_site_ApiFileUploadRequest_descriptor,
        new java.lang.String[] { "File", "FileDesc", });
    internal_static_site_ApiFileUploadResponse_descriptor =
      getDescriptor().getMessageTypes().get(1);
    internal_static_site_ApiFileUploadResponse_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_site_ApiFileUploadResponse_descriptor,
        new java.lang.String[] { "FileId", });
    com.akaxin.proto.core.FileProto.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
