All Downloads are FREE. Search and download functionalities are using the official Maven repository.

POGOProtos.Data.Friends.FriendshipDataOuterClass Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: POGOProtos/Data/Friends/FriendshipData.proto

package POGOProtos.Data.Friends;

public final class FriendshipDataOuterClass {
  private FriendshipDataOuterClass() {}
  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 FriendshipDataOrBuilder extends
      // @@protoc_insertion_point(interface_extends:POGOProtos.Data.Friends.FriendshipData)
      com.google.protobuf.MessageOrBuilder {

    /**
     * .POGOProtos.Data.Friends.FriendshipLevelData friendship_level_data = 1;
     */
    boolean hasFriendshipLevelData();
    /**
     * .POGOProtos.Data.Friends.FriendshipLevelData friendship_level_data = 1;
     */
    POGOProtos.Data.Friends.FriendshipLevelDataOuterClass.FriendshipLevelData getFriendshipLevelData();
    /**
     * .POGOProtos.Data.Friends.FriendshipLevelData friendship_level_data = 1;
     */
    POGOProtos.Data.Friends.FriendshipLevelDataOuterClass.FriendshipLevelDataOrBuilder getFriendshipLevelDataOrBuilder();

    /**
     * repeated .POGOProtos.Data.Gift.GiftBoxDetails giftbox_details = 2;
     */
    java.util.List 
        getGiftboxDetailsList();
    /**
     * repeated .POGOProtos.Data.Gift.GiftBoxDetails giftbox_details = 2;
     */
    POGOProtos.Data.Gift.GiftBoxDetailsOuterClass.GiftBoxDetails getGiftboxDetails(int index);
    /**
     * repeated .POGOProtos.Data.Gift.GiftBoxDetails giftbox_details = 2;
     */
    int getGiftboxDetailsCount();
    /**
     * repeated .POGOProtos.Data.Gift.GiftBoxDetails giftbox_details = 2;
     */
    java.util.List 
        getGiftboxDetailsOrBuilderList();
    /**
     * repeated .POGOProtos.Data.Gift.GiftBoxDetails giftbox_details = 2;
     */
    POGOProtos.Data.Gift.GiftBoxDetailsOuterClass.GiftBoxDetailsOrBuilder getGiftboxDetailsOrBuilder(
        int index);

    /**
     * string codename = 3;
     */
    java.lang.String getCodename();
    /**
     * string codename = 3;
     */
    com.google.protobuf.ByteString
        getCodenameBytes();

    /**
     * string nickname = 4;
     */
    java.lang.String getNickname();
    /**
     * string nickname = 4;
     */
    com.google.protobuf.ByteString
        getNicknameBytes();

    /**
     * int64 open_trade_expire_ms = 5;
     */
    long getOpenTradeExpireMs();

    /**
     * bool is_lucky = 6;
     */
    boolean getIsLucky();

    /**
     * int32 lucky_count = 7;
     */
    int getLuckyCount();
  }
  /**
   * Protobuf type {@code POGOProtos.Data.Friends.FriendshipData}
   */
  public  static final class FriendshipData extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:POGOProtos.Data.Friends.FriendshipData)
      FriendshipDataOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use FriendshipData.newBuilder() to construct.
    private FriendshipData(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private FriendshipData() {
      giftboxDetails_ = java.util.Collections.emptyList();
      codename_ = "";
      nickname_ = "";
      openTradeExpireMs_ = 0L;
      isLucky_ = false;
      luckyCount_ = 0;
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private FriendshipData(
        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;
            case 10: {
              POGOProtos.Data.Friends.FriendshipLevelDataOuterClass.FriendshipLevelData.Builder subBuilder = null;
              if (friendshipLevelData_ != null) {
                subBuilder = friendshipLevelData_.toBuilder();
              }
              friendshipLevelData_ = input.readMessage(POGOProtos.Data.Friends.FriendshipLevelDataOuterClass.FriendshipLevelData.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(friendshipLevelData_);
                friendshipLevelData_ = subBuilder.buildPartial();
              }

              break;
            }
            case 18: {
              if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
                giftboxDetails_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000002;
              }
              giftboxDetails_.add(
                  input.readMessage(POGOProtos.Data.Gift.GiftBoxDetailsOuterClass.GiftBoxDetails.parser(), extensionRegistry));
              break;
            }
            case 26: {
              java.lang.String s = input.readStringRequireUtf8();

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

              nickname_ = s;
              break;
            }
            case 40: {

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

              isLucky_ = input.readBool();
              break;
            }
            case 56: {

              luckyCount_ = input.readInt32();
              break;
            }
            default: {
              if (!parseUnknownFieldProto3(
                  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 {
        if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
          giftboxDetails_ = java.util.Collections.unmodifiableList(giftboxDetails_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return POGOProtos.Data.Friends.FriendshipDataOuterClass.internal_static_POGOProtos_Data_Friends_FriendshipData_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return POGOProtos.Data.Friends.FriendshipDataOuterClass.internal_static_POGOProtos_Data_Friends_FriendshipData_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              POGOProtos.Data.Friends.FriendshipDataOuterClass.FriendshipData.class, POGOProtos.Data.Friends.FriendshipDataOuterClass.FriendshipData.Builder.class);
    }

    private int bitField0_;
    public static final int FRIENDSHIP_LEVEL_DATA_FIELD_NUMBER = 1;
    private POGOProtos.Data.Friends.FriendshipLevelDataOuterClass.FriendshipLevelData friendshipLevelData_;
    /**
     * .POGOProtos.Data.Friends.FriendshipLevelData friendship_level_data = 1;
     */
    public boolean hasFriendshipLevelData() {
      return friendshipLevelData_ != null;
    }
    /**
     * .POGOProtos.Data.Friends.FriendshipLevelData friendship_level_data = 1;
     */
    public POGOProtos.Data.Friends.FriendshipLevelDataOuterClass.FriendshipLevelData getFriendshipLevelData() {
      return friendshipLevelData_ == null ? POGOProtos.Data.Friends.FriendshipLevelDataOuterClass.FriendshipLevelData.getDefaultInstance() : friendshipLevelData_;
    }
    /**
     * .POGOProtos.Data.Friends.FriendshipLevelData friendship_level_data = 1;
     */
    public POGOProtos.Data.Friends.FriendshipLevelDataOuterClass.FriendshipLevelDataOrBuilder getFriendshipLevelDataOrBuilder() {
      return getFriendshipLevelData();
    }

    public static final int GIFTBOX_DETAILS_FIELD_NUMBER = 2;
    private java.util.List giftboxDetails_;
    /**
     * repeated .POGOProtos.Data.Gift.GiftBoxDetails giftbox_details = 2;
     */
    public java.util.List getGiftboxDetailsList() {
      return giftboxDetails_;
    }
    /**
     * repeated .POGOProtos.Data.Gift.GiftBoxDetails giftbox_details = 2;
     */
    public java.util.List 
        getGiftboxDetailsOrBuilderList() {
      return giftboxDetails_;
    }
    /**
     * repeated .POGOProtos.Data.Gift.GiftBoxDetails giftbox_details = 2;
     */
    public int getGiftboxDetailsCount() {
      return giftboxDetails_.size();
    }
    /**
     * repeated .POGOProtos.Data.Gift.GiftBoxDetails giftbox_details = 2;
     */
    public POGOProtos.Data.Gift.GiftBoxDetailsOuterClass.GiftBoxDetails getGiftboxDetails(int index) {
      return giftboxDetails_.get(index);
    }
    /**
     * repeated .POGOProtos.Data.Gift.GiftBoxDetails giftbox_details = 2;
     */
    public POGOProtos.Data.Gift.GiftBoxDetailsOuterClass.GiftBoxDetailsOrBuilder getGiftboxDetailsOrBuilder(
        int index) {
      return giftboxDetails_.get(index);
    }

    public static final int CODENAME_FIELD_NUMBER = 3;
    private volatile java.lang.Object codename_;
    /**
     * string codename = 3;
     */
    public java.lang.String getCodename() {
      java.lang.Object ref = codename_;
      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();
        codename_ = s;
        return s;
      }
    }
    /**
     * string codename = 3;
     */
    public com.google.protobuf.ByteString
        getCodenameBytes() {
      java.lang.Object ref = codename_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        codename_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int NICKNAME_FIELD_NUMBER = 4;
    private volatile java.lang.Object nickname_;
    /**
     * string nickname = 4;
     */
    public java.lang.String getNickname() {
      java.lang.Object ref = nickname_;
      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();
        nickname_ = s;
        return s;
      }
    }
    /**
     * string nickname = 4;
     */
    public com.google.protobuf.ByteString
        getNicknameBytes() {
      java.lang.Object ref = nickname_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        nickname_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int OPEN_TRADE_EXPIRE_MS_FIELD_NUMBER = 5;
    private long openTradeExpireMs_;
    /**
     * int64 open_trade_expire_ms = 5;
     */
    public long getOpenTradeExpireMs() {
      return openTradeExpireMs_;
    }

    public static final int IS_LUCKY_FIELD_NUMBER = 6;
    private boolean isLucky_;
    /**
     * bool is_lucky = 6;
     */
    public boolean getIsLucky() {
      return isLucky_;
    }

    public static final int LUCKY_COUNT_FIELD_NUMBER = 7;
    private int luckyCount_;
    /**
     * int32 lucky_count = 7;
     */
    public int getLuckyCount() {
      return luckyCount_;
    }

    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 (friendshipLevelData_ != null) {
        output.writeMessage(1, getFriendshipLevelData());
      }
      for (int i = 0; i < giftboxDetails_.size(); i++) {
        output.writeMessage(2, giftboxDetails_.get(i));
      }
      if (!getCodenameBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 3, codename_);
      }
      if (!getNicknameBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 4, nickname_);
      }
      if (openTradeExpireMs_ != 0L) {
        output.writeInt64(5, openTradeExpireMs_);
      }
      if (isLucky_ != false) {
        output.writeBool(6, isLucky_);
      }
      if (luckyCount_ != 0) {
        output.writeInt32(7, luckyCount_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (friendshipLevelData_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getFriendshipLevelData());
      }
      for (int i = 0; i < giftboxDetails_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, giftboxDetails_.get(i));
      }
      if (!getCodenameBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, codename_);
      }
      if (!getNicknameBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, nickname_);
      }
      if (openTradeExpireMs_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(5, openTradeExpireMs_);
      }
      if (isLucky_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(6, isLucky_);
      }
      if (luckyCount_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(7, luckyCount_);
      }
      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 POGOProtos.Data.Friends.FriendshipDataOuterClass.FriendshipData)) {
        return super.equals(obj);
      }
      POGOProtos.Data.Friends.FriendshipDataOuterClass.FriendshipData other = (POGOProtos.Data.Friends.FriendshipDataOuterClass.FriendshipData) obj;

      boolean result = true;
      result = result && (hasFriendshipLevelData() == other.hasFriendshipLevelData());
      if (hasFriendshipLevelData()) {
        result = result && getFriendshipLevelData()
            .equals(other.getFriendshipLevelData());
      }
      result = result && getGiftboxDetailsList()
          .equals(other.getGiftboxDetailsList());
      result = result && getCodename()
          .equals(other.getCodename());
      result = result && getNickname()
          .equals(other.getNickname());
      result = result && (getOpenTradeExpireMs()
          == other.getOpenTradeExpireMs());
      result = result && (getIsLucky()
          == other.getIsLucky());
      result = result && (getLuckyCount()
          == other.getLuckyCount());
      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 (hasFriendshipLevelData()) {
        hash = (37 * hash) + FRIENDSHIP_LEVEL_DATA_FIELD_NUMBER;
        hash = (53 * hash) + getFriendshipLevelData().hashCode();
      }
      if (getGiftboxDetailsCount() > 0) {
        hash = (37 * hash) + GIFTBOX_DETAILS_FIELD_NUMBER;
        hash = (53 * hash) + getGiftboxDetailsList().hashCode();
      }
      hash = (37 * hash) + CODENAME_FIELD_NUMBER;
      hash = (53 * hash) + getCodename().hashCode();
      hash = (37 * hash) + NICKNAME_FIELD_NUMBER;
      hash = (53 * hash) + getNickname().hashCode();
      hash = (37 * hash) + OPEN_TRADE_EXPIRE_MS_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getOpenTradeExpireMs());
      hash = (37 * hash) + IS_LUCKY_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getIsLucky());
      hash = (37 * hash) + LUCKY_COUNT_FIELD_NUMBER;
      hash = (53 * hash) + getLuckyCount();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static POGOProtos.Data.Friends.FriendshipDataOuterClass.FriendshipData parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static POGOProtos.Data.Friends.FriendshipDataOuterClass.FriendshipData parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static POGOProtos.Data.Friends.FriendshipDataOuterClass.FriendshipData parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static POGOProtos.Data.Friends.FriendshipDataOuterClass.FriendshipData parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static POGOProtos.Data.Friends.FriendshipDataOuterClass.FriendshipData parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static POGOProtos.Data.Friends.FriendshipDataOuterClass.FriendshipData parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static POGOProtos.Data.Friends.FriendshipDataOuterClass.FriendshipData parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static POGOProtos.Data.Friends.FriendshipDataOuterClass.FriendshipData 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 POGOProtos.Data.Friends.FriendshipDataOuterClass.FriendshipData parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static POGOProtos.Data.Friends.FriendshipDataOuterClass.FriendshipData 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 POGOProtos.Data.Friends.FriendshipDataOuterClass.FriendshipData parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static POGOProtos.Data.Friends.FriendshipDataOuterClass.FriendshipData 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(POGOProtos.Data.Friends.FriendshipDataOuterClass.FriendshipData 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 POGOProtos.Data.Friends.FriendshipData}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:POGOProtos.Data.Friends.FriendshipData)
        POGOProtos.Data.Friends.FriendshipDataOuterClass.FriendshipDataOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return POGOProtos.Data.Friends.FriendshipDataOuterClass.internal_static_POGOProtos_Data_Friends_FriendshipData_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return POGOProtos.Data.Friends.FriendshipDataOuterClass.internal_static_POGOProtos_Data_Friends_FriendshipData_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                POGOProtos.Data.Friends.FriendshipDataOuterClass.FriendshipData.class, POGOProtos.Data.Friends.FriendshipDataOuterClass.FriendshipData.Builder.class);
      }

      // Construct using POGOProtos.Data.Friends.FriendshipDataOuterClass.FriendshipData.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getGiftboxDetailsFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (friendshipLevelDataBuilder_ == null) {
          friendshipLevelData_ = null;
        } else {
          friendshipLevelData_ = null;
          friendshipLevelDataBuilder_ = null;
        }
        if (giftboxDetailsBuilder_ == null) {
          giftboxDetails_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
        } else {
          giftboxDetailsBuilder_.clear();
        }
        codename_ = "";

        nickname_ = "";

        openTradeExpireMs_ = 0L;

        isLucky_ = false;

        luckyCount_ = 0;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return POGOProtos.Data.Friends.FriendshipDataOuterClass.internal_static_POGOProtos_Data_Friends_FriendshipData_descriptor;
      }

      @java.lang.Override
      public POGOProtos.Data.Friends.FriendshipDataOuterClass.FriendshipData getDefaultInstanceForType() {
        return POGOProtos.Data.Friends.FriendshipDataOuterClass.FriendshipData.getDefaultInstance();
      }

      @java.lang.Override
      public POGOProtos.Data.Friends.FriendshipDataOuterClass.FriendshipData build() {
        POGOProtos.Data.Friends.FriendshipDataOuterClass.FriendshipData result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public POGOProtos.Data.Friends.FriendshipDataOuterClass.FriendshipData buildPartial() {
        POGOProtos.Data.Friends.FriendshipDataOuterClass.FriendshipData result = new POGOProtos.Data.Friends.FriendshipDataOuterClass.FriendshipData(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (friendshipLevelDataBuilder_ == null) {
          result.friendshipLevelData_ = friendshipLevelData_;
        } else {
          result.friendshipLevelData_ = friendshipLevelDataBuilder_.build();
        }
        if (giftboxDetailsBuilder_ == null) {
          if (((bitField0_ & 0x00000002) == 0x00000002)) {
            giftboxDetails_ = java.util.Collections.unmodifiableList(giftboxDetails_);
            bitField0_ = (bitField0_ & ~0x00000002);
          }
          result.giftboxDetails_ = giftboxDetails_;
        } else {
          result.giftboxDetails_ = giftboxDetailsBuilder_.build();
        }
        result.codename_ = codename_;
        result.nickname_ = nickname_;
        result.openTradeExpireMs_ = openTradeExpireMs_;
        result.isLucky_ = isLucky_;
        result.luckyCount_ = luckyCount_;
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return (Builder) super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return (Builder) super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return (Builder) super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return (Builder) super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof POGOProtos.Data.Friends.FriendshipDataOuterClass.FriendshipData) {
          return mergeFrom((POGOProtos.Data.Friends.FriendshipDataOuterClass.FriendshipData)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(POGOProtos.Data.Friends.FriendshipDataOuterClass.FriendshipData other) {
        if (other == POGOProtos.Data.Friends.FriendshipDataOuterClass.FriendshipData.getDefaultInstance()) return this;
        if (other.hasFriendshipLevelData()) {
          mergeFriendshipLevelData(other.getFriendshipLevelData());
        }
        if (giftboxDetailsBuilder_ == null) {
          if (!other.giftboxDetails_.isEmpty()) {
            if (giftboxDetails_.isEmpty()) {
              giftboxDetails_ = other.giftboxDetails_;
              bitField0_ = (bitField0_ & ~0x00000002);
            } else {
              ensureGiftboxDetailsIsMutable();
              giftboxDetails_.addAll(other.giftboxDetails_);
            }
            onChanged();
          }
        } else {
          if (!other.giftboxDetails_.isEmpty()) {
            if (giftboxDetailsBuilder_.isEmpty()) {
              giftboxDetailsBuilder_.dispose();
              giftboxDetailsBuilder_ = null;
              giftboxDetails_ = other.giftboxDetails_;
              bitField0_ = (bitField0_ & ~0x00000002);
              giftboxDetailsBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getGiftboxDetailsFieldBuilder() : null;
            } else {
              giftboxDetailsBuilder_.addAllMessages(other.giftboxDetails_);
            }
          }
        }
        if (!other.getCodename().isEmpty()) {
          codename_ = other.codename_;
          onChanged();
        }
        if (!other.getNickname().isEmpty()) {
          nickname_ = other.nickname_;
          onChanged();
        }
        if (other.getOpenTradeExpireMs() != 0L) {
          setOpenTradeExpireMs(other.getOpenTradeExpireMs());
        }
        if (other.getIsLucky() != false) {
          setIsLucky(other.getIsLucky());
        }
        if (other.getLuckyCount() != 0) {
          setLuckyCount(other.getLuckyCount());
        }
        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 {
        POGOProtos.Data.Friends.FriendshipDataOuterClass.FriendshipData parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (POGOProtos.Data.Friends.FriendshipDataOuterClass.FriendshipData) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private POGOProtos.Data.Friends.FriendshipLevelDataOuterClass.FriendshipLevelData friendshipLevelData_ = null;
      private com.google.protobuf.SingleFieldBuilderV3<
          POGOProtos.Data.Friends.FriendshipLevelDataOuterClass.FriendshipLevelData, POGOProtos.Data.Friends.FriendshipLevelDataOuterClass.FriendshipLevelData.Builder, POGOProtos.Data.Friends.FriendshipLevelDataOuterClass.FriendshipLevelDataOrBuilder> friendshipLevelDataBuilder_;
      /**
       * .POGOProtos.Data.Friends.FriendshipLevelData friendship_level_data = 1;
       */
      public boolean hasFriendshipLevelData() {
        return friendshipLevelDataBuilder_ != null || friendshipLevelData_ != null;
      }
      /**
       * .POGOProtos.Data.Friends.FriendshipLevelData friendship_level_data = 1;
       */
      public POGOProtos.Data.Friends.FriendshipLevelDataOuterClass.FriendshipLevelData getFriendshipLevelData() {
        if (friendshipLevelDataBuilder_ == null) {
          return friendshipLevelData_ == null ? POGOProtos.Data.Friends.FriendshipLevelDataOuterClass.FriendshipLevelData.getDefaultInstance() : friendshipLevelData_;
        } else {
          return friendshipLevelDataBuilder_.getMessage();
        }
      }
      /**
       * .POGOProtos.Data.Friends.FriendshipLevelData friendship_level_data = 1;
       */
      public Builder setFriendshipLevelData(POGOProtos.Data.Friends.FriendshipLevelDataOuterClass.FriendshipLevelData value) {
        if (friendshipLevelDataBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          friendshipLevelData_ = value;
          onChanged();
        } else {
          friendshipLevelDataBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .POGOProtos.Data.Friends.FriendshipLevelData friendship_level_data = 1;
       */
      public Builder setFriendshipLevelData(
          POGOProtos.Data.Friends.FriendshipLevelDataOuterClass.FriendshipLevelData.Builder builderForValue) {
        if (friendshipLevelDataBuilder_ == null) {
          friendshipLevelData_ = builderForValue.build();
          onChanged();
        } else {
          friendshipLevelDataBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .POGOProtos.Data.Friends.FriendshipLevelData friendship_level_data = 1;
       */
      public Builder mergeFriendshipLevelData(POGOProtos.Data.Friends.FriendshipLevelDataOuterClass.FriendshipLevelData value) {
        if (friendshipLevelDataBuilder_ == null) {
          if (friendshipLevelData_ != null) {
            friendshipLevelData_ =
              POGOProtos.Data.Friends.FriendshipLevelDataOuterClass.FriendshipLevelData.newBuilder(friendshipLevelData_).mergeFrom(value).buildPartial();
          } else {
            friendshipLevelData_ = value;
          }
          onChanged();
        } else {
          friendshipLevelDataBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .POGOProtos.Data.Friends.FriendshipLevelData friendship_level_data = 1;
       */
      public Builder clearFriendshipLevelData() {
        if (friendshipLevelDataBuilder_ == null) {
          friendshipLevelData_ = null;
          onChanged();
        } else {
          friendshipLevelData_ = null;
          friendshipLevelDataBuilder_ = null;
        }

        return this;
      }
      /**
       * .POGOProtos.Data.Friends.FriendshipLevelData friendship_level_data = 1;
       */
      public POGOProtos.Data.Friends.FriendshipLevelDataOuterClass.FriendshipLevelData.Builder getFriendshipLevelDataBuilder() {
        
        onChanged();
        return getFriendshipLevelDataFieldBuilder().getBuilder();
      }
      /**
       * .POGOProtos.Data.Friends.FriendshipLevelData friendship_level_data = 1;
       */
      public POGOProtos.Data.Friends.FriendshipLevelDataOuterClass.FriendshipLevelDataOrBuilder getFriendshipLevelDataOrBuilder() {
        if (friendshipLevelDataBuilder_ != null) {
          return friendshipLevelDataBuilder_.getMessageOrBuilder();
        } else {
          return friendshipLevelData_ == null ?
              POGOProtos.Data.Friends.FriendshipLevelDataOuterClass.FriendshipLevelData.getDefaultInstance() : friendshipLevelData_;
        }
      }
      /**
       * .POGOProtos.Data.Friends.FriendshipLevelData friendship_level_data = 1;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          POGOProtos.Data.Friends.FriendshipLevelDataOuterClass.FriendshipLevelData, POGOProtos.Data.Friends.FriendshipLevelDataOuterClass.FriendshipLevelData.Builder, POGOProtos.Data.Friends.FriendshipLevelDataOuterClass.FriendshipLevelDataOrBuilder> 
          getFriendshipLevelDataFieldBuilder() {
        if (friendshipLevelDataBuilder_ == null) {
          friendshipLevelDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              POGOProtos.Data.Friends.FriendshipLevelDataOuterClass.FriendshipLevelData, POGOProtos.Data.Friends.FriendshipLevelDataOuterClass.FriendshipLevelData.Builder, POGOProtos.Data.Friends.FriendshipLevelDataOuterClass.FriendshipLevelDataOrBuilder>(
                  getFriendshipLevelData(),
                  getParentForChildren(),
                  isClean());
          friendshipLevelData_ = null;
        }
        return friendshipLevelDataBuilder_;
      }

      private java.util.List giftboxDetails_ =
        java.util.Collections.emptyList();
      private void ensureGiftboxDetailsIsMutable() {
        if (!((bitField0_ & 0x00000002) == 0x00000002)) {
          giftboxDetails_ = new java.util.ArrayList(giftboxDetails_);
          bitField0_ |= 0x00000002;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          POGOProtos.Data.Gift.GiftBoxDetailsOuterClass.GiftBoxDetails, POGOProtos.Data.Gift.GiftBoxDetailsOuterClass.GiftBoxDetails.Builder, POGOProtos.Data.Gift.GiftBoxDetailsOuterClass.GiftBoxDetailsOrBuilder> giftboxDetailsBuilder_;

      /**
       * repeated .POGOProtos.Data.Gift.GiftBoxDetails giftbox_details = 2;
       */
      public java.util.List getGiftboxDetailsList() {
        if (giftboxDetailsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(giftboxDetails_);
        } else {
          return giftboxDetailsBuilder_.getMessageList();
        }
      }
      /**
       * repeated .POGOProtos.Data.Gift.GiftBoxDetails giftbox_details = 2;
       */
      public int getGiftboxDetailsCount() {
        if (giftboxDetailsBuilder_ == null) {
          return giftboxDetails_.size();
        } else {
          return giftboxDetailsBuilder_.getCount();
        }
      }
      /**
       * repeated .POGOProtos.Data.Gift.GiftBoxDetails giftbox_details = 2;
       */
      public POGOProtos.Data.Gift.GiftBoxDetailsOuterClass.GiftBoxDetails getGiftboxDetails(int index) {
        if (giftboxDetailsBuilder_ == null) {
          return giftboxDetails_.get(index);
        } else {
          return giftboxDetailsBuilder_.getMessage(index);
        }
      }
      /**
       * repeated .POGOProtos.Data.Gift.GiftBoxDetails giftbox_details = 2;
       */
      public Builder setGiftboxDetails(
          int index, POGOProtos.Data.Gift.GiftBoxDetailsOuterClass.GiftBoxDetails value) {
        if (giftboxDetailsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureGiftboxDetailsIsMutable();
          giftboxDetails_.set(index, value);
          onChanged();
        } else {
          giftboxDetailsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Gift.GiftBoxDetails giftbox_details = 2;
       */
      public Builder setGiftboxDetails(
          int index, POGOProtos.Data.Gift.GiftBoxDetailsOuterClass.GiftBoxDetails.Builder builderForValue) {
        if (giftboxDetailsBuilder_ == null) {
          ensureGiftboxDetailsIsMutable();
          giftboxDetails_.set(index, builderForValue.build());
          onChanged();
        } else {
          giftboxDetailsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Gift.GiftBoxDetails giftbox_details = 2;
       */
      public Builder addGiftboxDetails(POGOProtos.Data.Gift.GiftBoxDetailsOuterClass.GiftBoxDetails value) {
        if (giftboxDetailsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureGiftboxDetailsIsMutable();
          giftboxDetails_.add(value);
          onChanged();
        } else {
          giftboxDetailsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Gift.GiftBoxDetails giftbox_details = 2;
       */
      public Builder addGiftboxDetails(
          int index, POGOProtos.Data.Gift.GiftBoxDetailsOuterClass.GiftBoxDetails value) {
        if (giftboxDetailsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureGiftboxDetailsIsMutable();
          giftboxDetails_.add(index, value);
          onChanged();
        } else {
          giftboxDetailsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Gift.GiftBoxDetails giftbox_details = 2;
       */
      public Builder addGiftboxDetails(
          POGOProtos.Data.Gift.GiftBoxDetailsOuterClass.GiftBoxDetails.Builder builderForValue) {
        if (giftboxDetailsBuilder_ == null) {
          ensureGiftboxDetailsIsMutable();
          giftboxDetails_.add(builderForValue.build());
          onChanged();
        } else {
          giftboxDetailsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Gift.GiftBoxDetails giftbox_details = 2;
       */
      public Builder addGiftboxDetails(
          int index, POGOProtos.Data.Gift.GiftBoxDetailsOuterClass.GiftBoxDetails.Builder builderForValue) {
        if (giftboxDetailsBuilder_ == null) {
          ensureGiftboxDetailsIsMutable();
          giftboxDetails_.add(index, builderForValue.build());
          onChanged();
        } else {
          giftboxDetailsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Gift.GiftBoxDetails giftbox_details = 2;
       */
      public Builder addAllGiftboxDetails(
          java.lang.Iterable values) {
        if (giftboxDetailsBuilder_ == null) {
          ensureGiftboxDetailsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, giftboxDetails_);
          onChanged();
        } else {
          giftboxDetailsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Gift.GiftBoxDetails giftbox_details = 2;
       */
      public Builder clearGiftboxDetails() {
        if (giftboxDetailsBuilder_ == null) {
          giftboxDetails_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
          onChanged();
        } else {
          giftboxDetailsBuilder_.clear();
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Gift.GiftBoxDetails giftbox_details = 2;
       */
      public Builder removeGiftboxDetails(int index) {
        if (giftboxDetailsBuilder_ == null) {
          ensureGiftboxDetailsIsMutable();
          giftboxDetails_.remove(index);
          onChanged();
        } else {
          giftboxDetailsBuilder_.remove(index);
        }
        return this;
      }
      /**
       * repeated .POGOProtos.Data.Gift.GiftBoxDetails giftbox_details = 2;
       */
      public POGOProtos.Data.Gift.GiftBoxDetailsOuterClass.GiftBoxDetails.Builder getGiftboxDetailsBuilder(
          int index) {
        return getGiftboxDetailsFieldBuilder().getBuilder(index);
      }
      /**
       * repeated .POGOProtos.Data.Gift.GiftBoxDetails giftbox_details = 2;
       */
      public POGOProtos.Data.Gift.GiftBoxDetailsOuterClass.GiftBoxDetailsOrBuilder getGiftboxDetailsOrBuilder(
          int index) {
        if (giftboxDetailsBuilder_ == null) {
          return giftboxDetails_.get(index);  } else {
          return giftboxDetailsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * repeated .POGOProtos.Data.Gift.GiftBoxDetails giftbox_details = 2;
       */
      public java.util.List 
           getGiftboxDetailsOrBuilderList() {
        if (giftboxDetailsBuilder_ != null) {
          return giftboxDetailsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(giftboxDetails_);
        }
      }
      /**
       * repeated .POGOProtos.Data.Gift.GiftBoxDetails giftbox_details = 2;
       */
      public POGOProtos.Data.Gift.GiftBoxDetailsOuterClass.GiftBoxDetails.Builder addGiftboxDetailsBuilder() {
        return getGiftboxDetailsFieldBuilder().addBuilder(
            POGOProtos.Data.Gift.GiftBoxDetailsOuterClass.GiftBoxDetails.getDefaultInstance());
      }
      /**
       * repeated .POGOProtos.Data.Gift.GiftBoxDetails giftbox_details = 2;
       */
      public POGOProtos.Data.Gift.GiftBoxDetailsOuterClass.GiftBoxDetails.Builder addGiftboxDetailsBuilder(
          int index) {
        return getGiftboxDetailsFieldBuilder().addBuilder(
            index, POGOProtos.Data.Gift.GiftBoxDetailsOuterClass.GiftBoxDetails.getDefaultInstance());
      }
      /**
       * repeated .POGOProtos.Data.Gift.GiftBoxDetails giftbox_details = 2;
       */
      public java.util.List 
           getGiftboxDetailsBuilderList() {
        return getGiftboxDetailsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          POGOProtos.Data.Gift.GiftBoxDetailsOuterClass.GiftBoxDetails, POGOProtos.Data.Gift.GiftBoxDetailsOuterClass.GiftBoxDetails.Builder, POGOProtos.Data.Gift.GiftBoxDetailsOuterClass.GiftBoxDetailsOrBuilder> 
          getGiftboxDetailsFieldBuilder() {
        if (giftboxDetailsBuilder_ == null) {
          giftboxDetailsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              POGOProtos.Data.Gift.GiftBoxDetailsOuterClass.GiftBoxDetails, POGOProtos.Data.Gift.GiftBoxDetailsOuterClass.GiftBoxDetails.Builder, POGOProtos.Data.Gift.GiftBoxDetailsOuterClass.GiftBoxDetailsOrBuilder>(
                  giftboxDetails_,
                  ((bitField0_ & 0x00000002) == 0x00000002),
                  getParentForChildren(),
                  isClean());
          giftboxDetails_ = null;
        }
        return giftboxDetailsBuilder_;
      }

      private java.lang.Object codename_ = "";
      /**
       * string codename = 3;
       */
      public java.lang.String getCodename() {
        java.lang.Object ref = codename_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          codename_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string codename = 3;
       */
      public com.google.protobuf.ByteString
          getCodenameBytes() {
        java.lang.Object ref = codename_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          codename_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string codename = 3;
       */
      public Builder setCodename(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        codename_ = value;
        onChanged();
        return this;
      }
      /**
       * string codename = 3;
       */
      public Builder clearCodename() {
        
        codename_ = getDefaultInstance().getCodename();
        onChanged();
        return this;
      }
      /**
       * string codename = 3;
       */
      public Builder setCodenameBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        codename_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object nickname_ = "";
      /**
       * string nickname = 4;
       */
      public java.lang.String getNickname() {
        java.lang.Object ref = nickname_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          nickname_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string nickname = 4;
       */
      public com.google.protobuf.ByteString
          getNicknameBytes() {
        java.lang.Object ref = nickname_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          nickname_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string nickname = 4;
       */
      public Builder setNickname(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        nickname_ = value;
        onChanged();
        return this;
      }
      /**
       * string nickname = 4;
       */
      public Builder clearNickname() {
        
        nickname_ = getDefaultInstance().getNickname();
        onChanged();
        return this;
      }
      /**
       * string nickname = 4;
       */
      public Builder setNicknameBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        nickname_ = value;
        onChanged();
        return this;
      }

      private long openTradeExpireMs_ ;
      /**
       * int64 open_trade_expire_ms = 5;
       */
      public long getOpenTradeExpireMs() {
        return openTradeExpireMs_;
      }
      /**
       * int64 open_trade_expire_ms = 5;
       */
      public Builder setOpenTradeExpireMs(long value) {
        
        openTradeExpireMs_ = value;
        onChanged();
        return this;
      }
      /**
       * int64 open_trade_expire_ms = 5;
       */
      public Builder clearOpenTradeExpireMs() {
        
        openTradeExpireMs_ = 0L;
        onChanged();
        return this;
      }

      private boolean isLucky_ ;
      /**
       * bool is_lucky = 6;
       */
      public boolean getIsLucky() {
        return isLucky_;
      }
      /**
       * bool is_lucky = 6;
       */
      public Builder setIsLucky(boolean value) {
        
        isLucky_ = value;
        onChanged();
        return this;
      }
      /**
       * bool is_lucky = 6;
       */
      public Builder clearIsLucky() {
        
        isLucky_ = false;
        onChanged();
        return this;
      }

      private int luckyCount_ ;
      /**
       * int32 lucky_count = 7;
       */
      public int getLuckyCount() {
        return luckyCount_;
      }
      /**
       * int32 lucky_count = 7;
       */
      public Builder setLuckyCount(int value) {
        
        luckyCount_ = value;
        onChanged();
        return this;
      }
      /**
       * int32 lucky_count = 7;
       */
      public Builder clearLuckyCount() {
        
        luckyCount_ = 0;
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFieldsProto3(unknownFields);
      }

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


      // @@protoc_insertion_point(builder_scope:POGOProtos.Data.Friends.FriendshipData)
    }

    // @@protoc_insertion_point(class_scope:POGOProtos.Data.Friends.FriendshipData)
    private static final POGOProtos.Data.Friends.FriendshipDataOuterClass.FriendshipData DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new POGOProtos.Data.Friends.FriendshipDataOuterClass.FriendshipData();
    }

    public static POGOProtos.Data.Friends.FriendshipDataOuterClass.FriendshipData getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public POGOProtos.Data.Friends.FriendshipDataOuterClass.FriendshipData getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_POGOProtos_Data_Friends_FriendshipData_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_POGOProtos_Data_Friends_FriendshipData_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,POGOProtos/Data/Friends/FriendshipData" +
      ".proto\022\027POGOProtos.Data.Friends\0321POGOPro" +
      "tos/Data/Friends/FriendshipLevelData.pro" +
      "to\032)POGOProtos/Data/Gift/GiftBoxDetails." +
      "proto\"\205\002\n\016FriendshipData\022K\n\025friendship_l" +
      "evel_data\030\001 \001(\0132,.POGOProtos.Data.Friend" +
      "s.FriendshipLevelData\022=\n\017giftbox_details" +
      "\030\002 \003(\0132$.POGOProtos.Data.Gift.GiftBoxDet" +
      "ails\022\020\n\010codename\030\003 \001(\t\022\020\n\010nickname\030\004 \001(\t" +
      "\022\034\n\024open_trade_expire_ms\030\005 \001(\003\022\020\n\010is_luc" +
      "ky\030\006 \001(\010\022\023\n\013lucky_count\030\007 \001(\005b\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[] {
          POGOProtos.Data.Friends.FriendshipLevelDataOuterClass.getDescriptor(),
          POGOProtos.Data.Gift.GiftBoxDetailsOuterClass.getDescriptor(),
        }, assigner);
    internal_static_POGOProtos_Data_Friends_FriendshipData_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_POGOProtos_Data_Friends_FriendshipData_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_POGOProtos_Data_Friends_FriendshipData_descriptor,
        new java.lang.String[] { "FriendshipLevelData", "GiftboxDetails", "Codename", "Nickname", "OpenTradeExpireMs", "IsLucky", "LuckyCount", });
    POGOProtos.Data.Friends.FriendshipLevelDataOuterClass.getDescriptor();
    POGOProtos.Data.Gift.GiftBoxDetailsOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy