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

package com.kfzs.duanduan.proto;

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

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

    /**
     * <code>int64 GiftId = 3;</code>
     */
    long getGiftId();

    /**
     * <pre>
     * 礼包码
     * </pre>
     *
     * <code>string GiftCode = 5;</code>
     */
    java.lang.String getGiftCode();
    /**
     * <pre>
     * 礼包码
     * </pre>
     *
     * <code>string GiftCode = 5;</code>
     */
    com.google.protobuf.ByteString
        getGiftCodeBytes();

    /**
     * <pre>
     * </pre>
     *
     * <code>int32 UserId = 6;</code>
     */
    int getUserId();

    /**
     * <pre>
     * 礼包状态
     * </pre>
     *
     * <code>int32 Status = 7;</code>
     */
    int getStatus();
  }
  /**
   * <pre>
   * 礼包码
   * </pre>
   *
   * Protobuf type {@code protobuf.GiftCode}
   */
  public  static final class GiftCode extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:protobuf.GiftCode)
      GiftCodeOrBuilder {
    // Use GiftCode.newBuilder() to construct.
    private GiftCode(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private GiftCode() {
      id_ = 0L;
      giftId_ = 0L;
      giftCode_ = "";
      userId_ = 0;
      status_ = 0;
    }

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

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

              giftCode_ = s;
              break;
            }
            case 48: {

              userId_ = input.readInt32();
              break;
            }
            case 56: {

              status_ = input.readInt32();
              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.GiftCodeOuterClass.internal_static_protobuf_GiftCode_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.kfzs.duanduan.proto.GiftCodeOuterClass.internal_static_protobuf_GiftCode_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.kfzs.duanduan.proto.GiftCodeOuterClass.GiftCode.class, com.kfzs.duanduan.proto.GiftCodeOuterClass.GiftCode.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 GIFTID_FIELD_NUMBER = 3;
    private long giftId_;
    /**
     * <code>int64 GiftId = 3;</code>
     */
    public long getGiftId() {
      return giftId_;
    }

    public static final int GIFTCODE_FIELD_NUMBER = 5;
    private volatile java.lang.Object giftCode_;
    /**
     * <pre>
     * 礼包码
     * </pre>
     *
     * <code>string GiftCode = 5;</code>
     */
    public java.lang.String getGiftCode() {
      java.lang.Object ref = giftCode_;
      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();
        giftCode_ = s;
        return s;
      }
    }
    /**
     * <pre>
     * 礼包码
     * </pre>
     *
     * <code>string GiftCode = 5;</code>
     */
    public com.google.protobuf.ByteString
        getGiftCodeBytes() {
      java.lang.Object ref = giftCode_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        giftCode_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

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

    public static final int STATUS_FIELD_NUMBER = 7;
    private int status_;
    /**
     * <pre>
     * 礼包状态
     * </pre>
     *
     * <code>int32 Status = 7;</code>
     */
    public int getStatus() {
      return status_;
    }

    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 (giftId_ != 0L) {
        output.writeInt64(3, giftId_);
      }
      if (!getGiftCodeBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 5, giftCode_);
      }
      if (userId_ != 0) {
        output.writeInt32(6, userId_);
      }
      if (status_ != 0) {
        output.writeInt32(7, status_);
      }
    }

    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 (giftId_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(3, giftId_);
      }
      if (!getGiftCodeBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, giftCode_);
      }
      if (userId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(6, userId_);
      }
      if (status_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(7, status_);
      }
      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.GiftCodeOuterClass.GiftCode)) {
        return super.equals(obj);
      }
      com.kfzs.duanduan.proto.GiftCodeOuterClass.GiftCode other = (com.kfzs.duanduan.proto.GiftCodeOuterClass.GiftCode) obj;

      boolean result = true;
      result = result && (getId()
          == other.getId());
      result = result && (getGiftId()
          == other.getGiftId());
      result = result && getGiftCode()
          .equals(other.getGiftCode());
      result = result && (getUserId()
          == other.getUserId());
      result = result && (getStatus()
          == other.getStatus());
      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) + GIFTID_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getGiftId());
      hash = (37 * hash) + GIFTCODE_FIELD_NUMBER;
      hash = (53 * hash) + getGiftCode().hashCode();
      hash = (37 * hash) + USERID_FIELD_NUMBER;
      hash = (53 * hash) + getUserId();
      hash = (37 * hash) + STATUS_FIELD_NUMBER;
      hash = (53 * hash) + getStatus();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.kfzs.duanduan.proto.GiftCodeOuterClass.GiftCode parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.kfzs.duanduan.proto.GiftCodeOuterClass.GiftCode 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.GiftCodeOuterClass.GiftCode parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.kfzs.duanduan.proto.GiftCodeOuterClass.GiftCode parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.kfzs.duanduan.proto.GiftCodeOuterClass.GiftCode parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.kfzs.duanduan.proto.GiftCodeOuterClass.GiftCode 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.GiftCodeOuterClass.GiftCode parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.kfzs.duanduan.proto.GiftCodeOuterClass.GiftCode 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.GiftCodeOuterClass.GiftCode parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.kfzs.duanduan.proto.GiftCodeOuterClass.GiftCode 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.GiftCodeOuterClass.GiftCode 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>
     * 礼包码
     * </pre>
     *
     * Protobuf type {@code protobuf.GiftCode}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:protobuf.GiftCode)
        com.kfzs.duanduan.proto.GiftCodeOuterClass.GiftCodeOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.kfzs.duanduan.proto.GiftCodeOuterClass.internal_static_protobuf_GiftCode_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.kfzs.duanduan.proto.GiftCodeOuterClass.internal_static_protobuf_GiftCode_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.kfzs.duanduan.proto.GiftCodeOuterClass.GiftCode.class, com.kfzs.duanduan.proto.GiftCodeOuterClass.GiftCode.Builder.class);
      }

      // Construct using com.kfzs.duanduan.proto.GiftCodeOuterClass.GiftCode.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;

        giftId_ = 0L;

        giftCode_ = "";

        userId_ = 0;

        status_ = 0;

        return this;
      }

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

      public com.kfzs.duanduan.proto.GiftCodeOuterClass.GiftCode getDefaultInstanceForType() {
        return com.kfzs.duanduan.proto.GiftCodeOuterClass.GiftCode.getDefaultInstance();
      }

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

      public com.kfzs.duanduan.proto.GiftCodeOuterClass.GiftCode buildPartial() {
        com.kfzs.duanduan.proto.GiftCodeOuterClass.GiftCode result = new com.kfzs.duanduan.proto.GiftCodeOuterClass.GiftCode(this);
        result.id_ = id_;
        result.giftId_ = giftId_;
        result.giftCode_ = giftCode_;
        result.userId_ = userId_;
        result.status_ = status_;
        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.GiftCodeOuterClass.GiftCode) {
          return mergeFrom((com.kfzs.duanduan.proto.GiftCodeOuterClass.GiftCode)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.kfzs.duanduan.proto.GiftCodeOuterClass.GiftCode other) {
        if (other == com.kfzs.duanduan.proto.GiftCodeOuterClass.GiftCode.getDefaultInstance()) return this;
        if (other.getId() != 0L) {
          setId(other.getId());
        }
        if (other.getGiftId() != 0L) {
          setGiftId(other.getGiftId());
        }
        if (!other.getGiftCode().isEmpty()) {
          giftCode_ = other.giftCode_;
          onChanged();
        }
        if (other.getUserId() != 0) {
          setUserId(other.getUserId());
        }
        if (other.getStatus() != 0) {
          setStatus(other.getStatus());
        }
        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.GiftCodeOuterClass.GiftCode parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.kfzs.duanduan.proto.GiftCodeOuterClass.GiftCode) 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 long giftId_ ;
      /**
       * <code>int64 GiftId = 3;</code>
       */
      public long getGiftId() {
        return giftId_;
      }
      /**
       * <code>int64 GiftId = 3;</code>
       */
      public Builder setGiftId(long value) {
        
        giftId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int64 GiftId = 3;</code>
       */
      public Builder clearGiftId() {
        
        giftId_ = 0L;
        onChanged();
        return this;
      }

      private java.lang.Object giftCode_ = "";
      /**
       * <pre>
       * 礼包码
       * </pre>
       *
       * <code>string GiftCode = 5;</code>
       */
      public java.lang.String getGiftCode() {
        java.lang.Object ref = giftCode_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          giftCode_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <pre>
       * 礼包码
       * </pre>
       *
       * <code>string GiftCode = 5;</code>
       */
      public com.google.protobuf.ByteString
          getGiftCodeBytes() {
        java.lang.Object ref = giftCode_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          giftCode_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <pre>
       * 礼包码
       * </pre>
       *
       * <code>string GiftCode = 5;</code>
       */
      public Builder setGiftCode(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        giftCode_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * 礼包码
       * </pre>
       *
       * <code>string GiftCode = 5;</code>
       */
      public Builder clearGiftCode() {
        
        giftCode_ = getDefaultInstance().getGiftCode();
        onChanged();
        return this;
      }
      /**
       * <pre>
       * 礼包码
       * </pre>
       *
       * <code>string GiftCode = 5;</code>
       */
      public Builder setGiftCodeBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        giftCode_ = value;
        onChanged();
        return this;
      }

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

      private int status_ ;
      /**
       * <pre>
       * 礼包状态
       * </pre>
       *
       * <code>int32 Status = 7;</code>
       */
      public int getStatus() {
        return status_;
      }
      /**
       * <pre>
       * 礼包状态
       * </pre>
       *
       * <code>int32 Status = 7;</code>
       */
      public Builder setStatus(int value) {
        
        status_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * 礼包状态
       * </pre>
       *
       * <code>int32 Status = 7;</code>
       */
      public Builder clearStatus() {
        
        status_ = 0;
        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.GiftCode)
    }

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

    public static com.kfzs.duanduan.proto.GiftCodeOuterClass.GiftCode getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public com.kfzs.duanduan.proto.GiftCodeOuterClass.GiftCode getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_protobuf_GiftCode_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_protobuf_GiftCode_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\017gift_code.proto\022\010protobuf\"X\n\010GiftCode\022" +
      "\n\n\002Id\030\001 \001(\003\022\016\n\006GiftId\030\003 \001(\003\022\020\n\010GiftCode\030" +
      "\005 \001(\t\022\016\n\006UserId\030\006 \001(\005\022\016\n\006Status\030\007 \001(\005B\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_GiftCode_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_protobuf_GiftCode_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_protobuf_GiftCode_descriptor,
        new java.lang.String[] { "Id", "GiftId", "GiftCode", "UserId", "Status", });
  }

  // @@protoc_insertion_point(outer_class_scope)
}
