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

package emu.grasscutter.net.proto;

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

    /**
     * <code>.RecordUsage ugcRecordUsage = 8;</code>
     * @return The enum numeric value on the wire for ugcRecordUsage.
     */
    int getUgcRecordUsageValue();
    /**
     * <code>.RecordUsage ugcRecordUsage = 8;</code>
     * @return The ugcRecordUsage.
     */
    emu.grasscutter.net.proto.RecordUsageOuterClass.RecordUsage getUgcRecordUsage();

    /**
     * <code>.GetUgcType getUgcType = 10;</code>
     * @return The enum numeric value on the wire for getUgcType.
     */
    int getGetUgcTypeValue();
    /**
     * <code>.GetUgcType getUgcType = 10;</code>
     * @return The getUgcType.
     */
    emu.grasscutter.net.proto.GetUgcTypeOuterClass.GetUgcType getGetUgcType();

    /**
     * <code>uint64 ugcGuid = 15;</code>
     * @return The ugcGuid.
     */
    long getUgcGuid();

    /**
     * <code>.UgcType ugcType = 2;</code>
     * @return The enum numeric value on the wire for ugcType.
     */
    int getUgcTypeValue();
    /**
     * <code>.UgcType ugcType = 2;</code>
     * @return The ugcType.
     */
    emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType getUgcType();

    /**
     * <code>bool isRequireBrief = 5;</code>
     * @return The isRequireBrief.
     */
    boolean getIsRequireBrief();
  }
  /**
   * Protobuf type {@code GetUgcReq}
   */
  public static final class GetUgcReq extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:GetUgcReq)
      GetUgcReqOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use GetUgcReq.newBuilder() to construct.
    private GetUgcReq(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private GetUgcReq() {
      ugcRecordUsage_ = 0;
      getUgcType_ = 0;
      ugcType_ = 0;
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private GetUgcReq(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 16: {
              int rawValue = input.readEnum();

              ugcType_ = rawValue;
              break;
            }
            case 40: {

              isRequireBrief_ = input.readBool();
              break;
            }
            case 64: {
              int rawValue = input.readEnum();

              ugcRecordUsage_ = rawValue;
              break;
            }
            case 80: {
              int rawValue = input.readEnum();

              getUgcType_ = rawValue;
              break;
            }
            case 120: {

              ugcGuid_ = input.readUInt64();
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return emu.grasscutter.net.proto.GetUgcReqOuterClass.internal_static_GetUgcReq_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return emu.grasscutter.net.proto.GetUgcReqOuterClass.internal_static_GetUgcReq_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              emu.grasscutter.net.proto.GetUgcReqOuterClass.GetUgcReq.class, emu.grasscutter.net.proto.GetUgcReqOuterClass.GetUgcReq.Builder.class);
    }

    /**
     * Protobuf enum {@code GetUgcReq.POPGKJNIMPG}
     */
    public enum POPGKJNIMPG
        implements com.google.protobuf.ProtocolMessageEnum {
      /**
       * <code>NONE = 0;</code>
       */
      NONE(0, 0),
      /**
       * <code>PEPPOHPHJOJ = 6338;</code>
       */
      PEPPOHPHJOJ(1, 6338),
      /**
       * <code>NNBKOLMPOEA = 1;</code>
       */
      NNBKOLMPOEA(3, 1),
      UNRECOGNIZED(-1, -1),
      ;

      /**
       * <code>DCDNILFDFLB = 0;</code>
       */
      public static final POPGKJNIMPG DCDNILFDFLB = NONE;
      /**
       * <code>EAJIABGAOCI = 1;</code>
       */
      public static final POPGKJNIMPG EAJIABGAOCI = NNBKOLMPOEA;
      /**
       * <code>NONE = 0;</code>
       */
      public static final int NONE_VALUE = 0;
      /**
       * <code>PEPPOHPHJOJ = 6338;</code>
       */
      public static final int PEPPOHPHJOJ_VALUE = 6338;
      /**
       * <code>DCDNILFDFLB = 0;</code>
       */
      public static final int DCDNILFDFLB_VALUE = 0;
      /**
       * <code>NNBKOLMPOEA = 1;</code>
       */
      public static final int NNBKOLMPOEA_VALUE = 1;
      /**
       * <code>EAJIABGAOCI = 1;</code>
       */
      public static final int EAJIABGAOCI_VALUE = 1;


      public final int getNumber() {
        if (index == -1) {
          throw new java.lang.IllegalArgumentException(
              "Can't get the number of an unknown enum value.");
        }
        return value;
      }

      /**
       * @param value The numeric wire value of the corresponding enum entry.
       * @return The enum associated with the given numeric wire value.
       * @deprecated Use {@link #forNumber(int)} instead.
       */
      @java.lang.Deprecated
      public static POPGKJNIMPG valueOf(int value) {
        return forNumber(value);
      }

      /**
       * @param value The numeric wire value of the corresponding enum entry.
       * @return The enum associated with the given numeric wire value.
       */
      public static POPGKJNIMPG forNumber(int value) {
        switch (value) {
          case 0: return NONE;
          case 6338: return PEPPOHPHJOJ;
          case 1: return NNBKOLMPOEA;
          default: return null;
        }
      }

      public static com.google.protobuf.Internal.EnumLiteMap<POPGKJNIMPG>
          internalGetValueMap() {
        return internalValueMap;
      }
      private static final com.google.protobuf.Internal.EnumLiteMap<
          POPGKJNIMPG> internalValueMap =
            new com.google.protobuf.Internal.EnumLiteMap<POPGKJNIMPG>() {
              public POPGKJNIMPG findValueByNumber(int number) {
                return POPGKJNIMPG.forNumber(number);
              }
            };

      public final com.google.protobuf.Descriptors.EnumValueDescriptor
          getValueDescriptor() {
        if (index == -1) {
          throw new java.lang.IllegalStateException(
              "Can't get the descriptor of an unrecognized enum value.");
        }
        return getDescriptor().getValues().get(index);
      }
      public final com.google.protobuf.Descriptors.EnumDescriptor
          getDescriptorForType() {
        return getDescriptor();
      }
      public static final com.google.protobuf.Descriptors.EnumDescriptor
          getDescriptor() {
        return emu.grasscutter.net.proto.GetUgcReqOuterClass.GetUgcReq.getDescriptor().getEnumTypes().get(0);
      }

      private static final POPGKJNIMPG[] VALUES = getStaticValuesArray();
      private static POPGKJNIMPG[] getStaticValuesArray() {
        return new POPGKJNIMPG[] {
          NONE, PEPPOHPHJOJ, DCDNILFDFLB, NNBKOLMPOEA, EAJIABGAOCI, 
        };
      }
      public static POPGKJNIMPG valueOf(
          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
        if (desc.getType() != getDescriptor()) {
          throw new java.lang.IllegalArgumentException(
            "EnumValueDescriptor is not for this type.");
        }
        if (desc.getIndex() == -1) {
          return UNRECOGNIZED;
        }
        return VALUES[desc.getIndex()];
      }

      private final int index;
      private final int value;

      private POPGKJNIMPG(int index, int value) {
        this.index = index;
        this.value = value;
      }

      // @@protoc_insertion_point(enum_scope:GetUgcReq.POPGKJNIMPG)
    }

    public static final int UGCRECORDUSAGE_FIELD_NUMBER = 8;
    private int ugcRecordUsage_;
    /**
     * <code>.RecordUsage ugcRecordUsage = 8;</code>
     * @return The enum numeric value on the wire for ugcRecordUsage.
     */
    @java.lang.Override public int getUgcRecordUsageValue() {
      return ugcRecordUsage_;
    }
    /**
     * <code>.RecordUsage ugcRecordUsage = 8;</code>
     * @return The ugcRecordUsage.
     */
    @java.lang.Override public emu.grasscutter.net.proto.RecordUsageOuterClass.RecordUsage getUgcRecordUsage() {
      @SuppressWarnings("deprecation")
      emu.grasscutter.net.proto.RecordUsageOuterClass.RecordUsage result = emu.grasscutter.net.proto.RecordUsageOuterClass.RecordUsage.valueOf(ugcRecordUsage_);
      return result == null ? emu.grasscutter.net.proto.RecordUsageOuterClass.RecordUsage.UNRECOGNIZED : result;
    }

    public static final int GETUGCTYPE_FIELD_NUMBER = 10;
    private int getUgcType_;
    /**
     * <code>.GetUgcType getUgcType = 10;</code>
     * @return The enum numeric value on the wire for getUgcType.
     */
    @java.lang.Override public int getGetUgcTypeValue() {
      return getUgcType_;
    }
    /**
     * <code>.GetUgcType getUgcType = 10;</code>
     * @return The getUgcType.
     */
    @java.lang.Override public emu.grasscutter.net.proto.GetUgcTypeOuterClass.GetUgcType getGetUgcType() {
      @SuppressWarnings("deprecation")
      emu.grasscutter.net.proto.GetUgcTypeOuterClass.GetUgcType result = emu.grasscutter.net.proto.GetUgcTypeOuterClass.GetUgcType.valueOf(getUgcType_);
      return result == null ? emu.grasscutter.net.proto.GetUgcTypeOuterClass.GetUgcType.UNRECOGNIZED : result;
    }

    public static final int UGCGUID_FIELD_NUMBER = 15;
    private long ugcGuid_;
    /**
     * <code>uint64 ugcGuid = 15;</code>
     * @return The ugcGuid.
     */
    @java.lang.Override
    public long getUgcGuid() {
      return ugcGuid_;
    }

    public static final int UGCTYPE_FIELD_NUMBER = 2;
    private int ugcType_;
    /**
     * <code>.UgcType ugcType = 2;</code>
     * @return The enum numeric value on the wire for ugcType.
     */
    @java.lang.Override public int getUgcTypeValue() {
      return ugcType_;
    }
    /**
     * <code>.UgcType ugcType = 2;</code>
     * @return The ugcType.
     */
    @java.lang.Override public emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType getUgcType() {
      @SuppressWarnings("deprecation")
      emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType result = emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType.valueOf(ugcType_);
      return result == null ? emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType.UNRECOGNIZED : result;
    }

    public static final int ISREQUIREBRIEF_FIELD_NUMBER = 5;
    private boolean isRequireBrief_;
    /**
     * <code>bool isRequireBrief = 5;</code>
     * @return The isRequireBrief.
     */
    @java.lang.Override
    public boolean getIsRequireBrief() {
      return isRequireBrief_;
    }

    private byte memoizedIsInitialized = -1;
    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (ugcType_ != emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType.UGC_TYPE_NONE.getNumber()) {
        output.writeEnum(2, ugcType_);
      }
      if (isRequireBrief_ != false) {
        output.writeBool(5, isRequireBrief_);
      }
      if (ugcRecordUsage_ != emu.grasscutter.net.proto.RecordUsageOuterClass.RecordUsage.RECORD_USAGE_UGC_RECORD_USAGE_NONE.getNumber()) {
        output.writeEnum(8, ugcRecordUsage_);
      }
      if (getUgcType_ != emu.grasscutter.net.proto.GetUgcTypeOuterClass.GetUgcType.GET_UGC_TYPE_NONE.getNumber()) {
        output.writeEnum(10, getUgcType_);
      }
      if (ugcGuid_ != 0L) {
        output.writeUInt64(15, ugcGuid_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (ugcType_ != emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType.UGC_TYPE_NONE.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(2, ugcType_);
      }
      if (isRequireBrief_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(5, isRequireBrief_);
      }
      if (ugcRecordUsage_ != emu.grasscutter.net.proto.RecordUsageOuterClass.RecordUsage.RECORD_USAGE_UGC_RECORD_USAGE_NONE.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(8, ugcRecordUsage_);
      }
      if (getUgcType_ != emu.grasscutter.net.proto.GetUgcTypeOuterClass.GetUgcType.GET_UGC_TYPE_NONE.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(10, getUgcType_);
      }
      if (ugcGuid_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt64Size(15, ugcGuid_);
      }
      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 emu.grasscutter.net.proto.GetUgcReqOuterClass.GetUgcReq)) {
        return super.equals(obj);
      }
      emu.grasscutter.net.proto.GetUgcReqOuterClass.GetUgcReq other = (emu.grasscutter.net.proto.GetUgcReqOuterClass.GetUgcReq) obj;

      if (ugcRecordUsage_ != other.ugcRecordUsage_) return false;
      if (getUgcType_ != other.getUgcType_) return false;
      if (getUgcGuid()
          != other.getUgcGuid()) return false;
      if (ugcType_ != other.ugcType_) return false;
      if (getIsRequireBrief()
          != other.getIsRequireBrief()) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + UGCRECORDUSAGE_FIELD_NUMBER;
      hash = (53 * hash) + ugcRecordUsage_;
      hash = (37 * hash) + GETUGCTYPE_FIELD_NUMBER;
      hash = (53 * hash) + getUgcType_;
      hash = (37 * hash) + UGCGUID_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getUgcGuid());
      hash = (37 * hash) + UGCTYPE_FIELD_NUMBER;
      hash = (53 * hash) + ugcType_;
      hash = (37 * hash) + ISREQUIREBRIEF_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getIsRequireBrief());
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static emu.grasscutter.net.proto.GetUgcReqOuterClass.GetUgcReq parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.GetUgcReqOuterClass.GetUgcReq parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.GetUgcReqOuterClass.GetUgcReq parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.GetUgcReqOuterClass.GetUgcReq parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.GetUgcReqOuterClass.GetUgcReq parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.GetUgcReqOuterClass.GetUgcReq parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.GetUgcReqOuterClass.GetUgcReq parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.GetUgcReqOuterClass.GetUgcReq 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 emu.grasscutter.net.proto.GetUgcReqOuterClass.GetUgcReq parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.GetUgcReqOuterClass.GetUgcReq 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 emu.grasscutter.net.proto.GetUgcReqOuterClass.GetUgcReq parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.GetUgcReqOuterClass.GetUgcReq parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(emu.grasscutter.net.proto.GetUgcReqOuterClass.GetUgcReq prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code GetUgcReq}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:GetUgcReq)
        emu.grasscutter.net.proto.GetUgcReqOuterClass.GetUgcReqOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return emu.grasscutter.net.proto.GetUgcReqOuterClass.internal_static_GetUgcReq_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return emu.grasscutter.net.proto.GetUgcReqOuterClass.internal_static_GetUgcReq_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                emu.grasscutter.net.proto.GetUgcReqOuterClass.GetUgcReq.class, emu.grasscutter.net.proto.GetUgcReqOuterClass.GetUgcReq.Builder.class);
      }

      // Construct using emu.grasscutter.net.proto.GetUgcReqOuterClass.GetUgcReq.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        ugcRecordUsage_ = 0;

        getUgcType_ = 0;

        ugcGuid_ = 0L;

        ugcType_ = 0;

        isRequireBrief_ = false;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return emu.grasscutter.net.proto.GetUgcReqOuterClass.internal_static_GetUgcReq_descriptor;
      }

      @java.lang.Override
      public emu.grasscutter.net.proto.GetUgcReqOuterClass.GetUgcReq getDefaultInstanceForType() {
        return emu.grasscutter.net.proto.GetUgcReqOuterClass.GetUgcReq.getDefaultInstance();
      }

      @java.lang.Override
      public emu.grasscutter.net.proto.GetUgcReqOuterClass.GetUgcReq build() {
        emu.grasscutter.net.proto.GetUgcReqOuterClass.GetUgcReq result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public emu.grasscutter.net.proto.GetUgcReqOuterClass.GetUgcReq buildPartial() {
        emu.grasscutter.net.proto.GetUgcReqOuterClass.GetUgcReq result = new emu.grasscutter.net.proto.GetUgcReqOuterClass.GetUgcReq(this);
        result.ugcRecordUsage_ = ugcRecordUsage_;
        result.getUgcType_ = getUgcType_;
        result.ugcGuid_ = ugcGuid_;
        result.ugcType_ = ugcType_;
        result.isRequireBrief_ = isRequireBrief_;
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof emu.grasscutter.net.proto.GetUgcReqOuterClass.GetUgcReq) {
          return mergeFrom((emu.grasscutter.net.proto.GetUgcReqOuterClass.GetUgcReq)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(emu.grasscutter.net.proto.GetUgcReqOuterClass.GetUgcReq other) {
        if (other == emu.grasscutter.net.proto.GetUgcReqOuterClass.GetUgcReq.getDefaultInstance()) return this;
        if (other.ugcRecordUsage_ != 0) {
          setUgcRecordUsageValue(other.getUgcRecordUsageValue());
        }
        if (other.getUgcType_ != 0) {
          setGetUgcTypeValue(other.getGetUgcTypeValue());
        }
        if (other.getUgcGuid() != 0L) {
          setUgcGuid(other.getUgcGuid());
        }
        if (other.ugcType_ != 0) {
          setUgcTypeValue(other.getUgcTypeValue());
        }
        if (other.getIsRequireBrief() != false) {
          setIsRequireBrief(other.getIsRequireBrief());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        emu.grasscutter.net.proto.GetUgcReqOuterClass.GetUgcReq parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (emu.grasscutter.net.proto.GetUgcReqOuterClass.GetUgcReq) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private int ugcRecordUsage_ = 0;
      /**
       * <code>.RecordUsage ugcRecordUsage = 8;</code>
       * @return The enum numeric value on the wire for ugcRecordUsage.
       */
      @java.lang.Override public int getUgcRecordUsageValue() {
        return ugcRecordUsage_;
      }
      /**
       * <code>.RecordUsage ugcRecordUsage = 8;</code>
       * @param value The enum numeric value on the wire for ugcRecordUsage to set.
       * @return This builder for chaining.
       */
      public Builder setUgcRecordUsageValue(int value) {
        
        ugcRecordUsage_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>.RecordUsage ugcRecordUsage = 8;</code>
       * @return The ugcRecordUsage.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.RecordUsageOuterClass.RecordUsage getUgcRecordUsage() {
        @SuppressWarnings("deprecation")
        emu.grasscutter.net.proto.RecordUsageOuterClass.RecordUsage result = emu.grasscutter.net.proto.RecordUsageOuterClass.RecordUsage.valueOf(ugcRecordUsage_);
        return result == null ? emu.grasscutter.net.proto.RecordUsageOuterClass.RecordUsage.UNRECOGNIZED : result;
      }
      /**
       * <code>.RecordUsage ugcRecordUsage = 8;</code>
       * @param value The ugcRecordUsage to set.
       * @return This builder for chaining.
       */
      public Builder setUgcRecordUsage(emu.grasscutter.net.proto.RecordUsageOuterClass.RecordUsage value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        ugcRecordUsage_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * <code>.RecordUsage ugcRecordUsage = 8;</code>
       * @return This builder for chaining.
       */
      public Builder clearUgcRecordUsage() {
        
        ugcRecordUsage_ = 0;
        onChanged();
        return this;
      }

      private int getUgcType_ = 0;
      /**
       * <code>.GetUgcType getUgcType = 10;</code>
       * @return The enum numeric value on the wire for getUgcType.
       */
      @java.lang.Override public int getGetUgcTypeValue() {
        return getUgcType_;
      }
      /**
       * <code>.GetUgcType getUgcType = 10;</code>
       * @param value The enum numeric value on the wire for getUgcType to set.
       * @return This builder for chaining.
       */
      public Builder setGetUgcTypeValue(int value) {
        
        getUgcType_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>.GetUgcType getUgcType = 10;</code>
       * @return The getUgcType.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.GetUgcTypeOuterClass.GetUgcType getGetUgcType() {
        @SuppressWarnings("deprecation")
        emu.grasscutter.net.proto.GetUgcTypeOuterClass.GetUgcType result = emu.grasscutter.net.proto.GetUgcTypeOuterClass.GetUgcType.valueOf(getUgcType_);
        return result == null ? emu.grasscutter.net.proto.GetUgcTypeOuterClass.GetUgcType.UNRECOGNIZED : result;
      }
      /**
       * <code>.GetUgcType getUgcType = 10;</code>
       * @param value The getUgcType to set.
       * @return This builder for chaining.
       */
      public Builder setGetUgcType(emu.grasscutter.net.proto.GetUgcTypeOuterClass.GetUgcType value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        getUgcType_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * <code>.GetUgcType getUgcType = 10;</code>
       * @return This builder for chaining.
       */
      public Builder clearGetUgcType() {
        
        getUgcType_ = 0;
        onChanged();
        return this;
      }

      private long ugcGuid_ ;
      /**
       * <code>uint64 ugcGuid = 15;</code>
       * @return The ugcGuid.
       */
      @java.lang.Override
      public long getUgcGuid() {
        return ugcGuid_;
      }
      /**
       * <code>uint64 ugcGuid = 15;</code>
       * @param value The ugcGuid to set.
       * @return This builder for chaining.
       */
      public Builder setUgcGuid(long value) {
        
        ugcGuid_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint64 ugcGuid = 15;</code>
       * @return This builder for chaining.
       */
      public Builder clearUgcGuid() {
        
        ugcGuid_ = 0L;
        onChanged();
        return this;
      }

      private int ugcType_ = 0;
      /**
       * <code>.UgcType ugcType = 2;</code>
       * @return The enum numeric value on the wire for ugcType.
       */
      @java.lang.Override public int getUgcTypeValue() {
        return ugcType_;
      }
      /**
       * <code>.UgcType ugcType = 2;</code>
       * @param value The enum numeric value on the wire for ugcType to set.
       * @return This builder for chaining.
       */
      public Builder setUgcTypeValue(int value) {
        
        ugcType_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>.UgcType ugcType = 2;</code>
       * @return The ugcType.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType getUgcType() {
        @SuppressWarnings("deprecation")
        emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType result = emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType.valueOf(ugcType_);
        return result == null ? emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType.UNRECOGNIZED : result;
      }
      /**
       * <code>.UgcType ugcType = 2;</code>
       * @param value The ugcType to set.
       * @return This builder for chaining.
       */
      public Builder setUgcType(emu.grasscutter.net.proto.UgcTypeOuterClass.UgcType value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        ugcType_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * <code>.UgcType ugcType = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearUgcType() {
        
        ugcType_ = 0;
        onChanged();
        return this;
      }

      private boolean isRequireBrief_ ;
      /**
       * <code>bool isRequireBrief = 5;</code>
       * @return The isRequireBrief.
       */
      @java.lang.Override
      public boolean getIsRequireBrief() {
        return isRequireBrief_;
      }
      /**
       * <code>bool isRequireBrief = 5;</code>
       * @param value The isRequireBrief to set.
       * @return This builder for chaining.
       */
      public Builder setIsRequireBrief(boolean value) {
        
        isRequireBrief_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>bool isRequireBrief = 5;</code>
       * @return This builder for chaining.
       */
      public Builder clearIsRequireBrief() {
        
        isRequireBrief_ = false;
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

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


      // @@protoc_insertion_point(builder_scope:GetUgcReq)
    }

    // @@protoc_insertion_point(class_scope:GetUgcReq)
    private static final emu.grasscutter.net.proto.GetUgcReqOuterClass.GetUgcReq DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new emu.grasscutter.net.proto.GetUgcReqOuterClass.GetUgcReq();
    }

    public static emu.grasscutter.net.proto.GetUgcReqOuterClass.GetUgcReq getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public emu.grasscutter.net.proto.GetUgcReqOuterClass.GetUgcReq getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_GetUgcReq_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_GetUgcReq_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\017GetUgcReq.proto\032\021RecordUsage.proto\032\020Ge" +
      "tUgcType.proto\032\rUgcType.proto\"\370\001\n\tGetUgc" +
      "Req\022$\n\016ugcRecordUsage\030\010 \001(\0162\014.RecordUsag" +
      "e\022\037\n\ngetUgcType\030\n \001(\0162\013.GetUgcType\022\017\n\007ug" +
      "cGuid\030\017 \001(\004\022\031\n\007ugcType\030\002 \001(\0162\010.UgcType\022\026" +
      "\n\016isRequireBrief\030\005 \001(\010\"`\n\013POPGKJNIMPG\022\010\n" +
      "\004NONE\020\000\022\020\n\013PEPPOHPHJOJ\020\3021\022\017\n\013DCDNILFDFLB" +
      "\020\000\022\017\n\013NNBKOLMPOEA\020\001\022\017\n\013EAJIABGAOCI\020\001\032\002\020\001" +
      "B\033\n\031emu.grasscutter.net.protob\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          emu.grasscutter.net.proto.RecordUsageOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.GetUgcTypeOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.UgcTypeOuterClass.getDescriptor(),
        });
    internal_static_GetUgcReq_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_GetUgcReq_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_GetUgcReq_descriptor,
        new java.lang.String[] { "UgcRecordUsage", "GetUgcType", "UgcGuid", "UgcType", "IsRequireBrief", });
    emu.grasscutter.net.proto.RecordUsageOuterClass.getDescriptor();
    emu.grasscutter.net.proto.GetUgcTypeOuterClass.getDescriptor();
    emu.grasscutter.net.proto.UgcTypeOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
