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

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

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

package POGOProtos.Data.Friends;

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

    /**
     * string friend_id = 1;
     */
    java.lang.String getFriendId();
    /**
     * string friend_id = 1;
     */
    com.google.protobuf.ByteString
        getFriendIdBytes();

    /**
     * string friend_codename = 2;
     */
    java.lang.String getFriendCodename();
    /**
     * string friend_codename = 2;
     */
    com.google.protobuf.ByteString
        getFriendCodenameBytes();

    /**
     * int32 friendship_milestone_level = 3;
     */
    int getFriendshipMilestoneLevel();

    /**
     * int64 xp_reward = 4;
     */
    long getXpReward();
  }
  /**
   * Protobuf type {@code POGOProtos.Data.Friends.FriendshipMilestoneRewardNotification}
   */
  public  static final class FriendshipMilestoneRewardNotification extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:POGOProtos.Data.Friends.FriendshipMilestoneRewardNotification)
      FriendshipMilestoneRewardNotificationOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use FriendshipMilestoneRewardNotification.newBuilder() to construct.
    private FriendshipMilestoneRewardNotification(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private FriendshipMilestoneRewardNotification() {
      friendId_ = "";
      friendCodename_ = "";
      friendshipMilestoneLevel_ = 0;
      xpReward_ = 0L;
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private FriendshipMilestoneRewardNotification(
        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: {
              java.lang.String s = input.readStringRequireUtf8();

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

              friendCodename_ = s;
              break;
            }
            case 24: {

              friendshipMilestoneLevel_ = input.readInt32();
              break;
            }
            case 32: {

              xpReward_ = input.readInt64();
              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 {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return POGOProtos.Data.Friends.FriendshipMilestoneRewardNotificationOuterClass.internal_static_POGOProtos_Data_Friends_FriendshipMilestoneRewardNotification_descriptor;
    }

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

    public static final int FRIEND_ID_FIELD_NUMBER = 1;
    private volatile java.lang.Object friendId_;
    /**
     * string friend_id = 1;
     */
    public java.lang.String getFriendId() {
      java.lang.Object ref = friendId_;
      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();
        friendId_ = s;
        return s;
      }
    }
    /**
     * string friend_id = 1;
     */
    public com.google.protobuf.ByteString
        getFriendIdBytes() {
      java.lang.Object ref = friendId_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        friendId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int FRIEND_CODENAME_FIELD_NUMBER = 2;
    private volatile java.lang.Object friendCodename_;
    /**
     * string friend_codename = 2;
     */
    public java.lang.String getFriendCodename() {
      java.lang.Object ref = friendCodename_;
      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();
        friendCodename_ = s;
        return s;
      }
    }
    /**
     * string friend_codename = 2;
     */
    public com.google.protobuf.ByteString
        getFriendCodenameBytes() {
      java.lang.Object ref = friendCodename_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        friendCodename_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int FRIENDSHIP_MILESTONE_LEVEL_FIELD_NUMBER = 3;
    private int friendshipMilestoneLevel_;
    /**
     * int32 friendship_milestone_level = 3;
     */
    public int getFriendshipMilestoneLevel() {
      return friendshipMilestoneLevel_;
    }

    public static final int XP_REWARD_FIELD_NUMBER = 4;
    private long xpReward_;
    /**
     * int64 xp_reward = 4;
     */
    public long getXpReward() {
      return xpReward_;
    }

    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 (!getFriendIdBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, friendId_);
      }
      if (!getFriendCodenameBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, friendCodename_);
      }
      if (friendshipMilestoneLevel_ != 0) {
        output.writeInt32(3, friendshipMilestoneLevel_);
      }
      if (xpReward_ != 0L) {
        output.writeInt64(4, xpReward_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (!getFriendIdBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, friendId_);
      }
      if (!getFriendCodenameBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, friendCodename_);
      }
      if (friendshipMilestoneLevel_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(3, friendshipMilestoneLevel_);
      }
      if (xpReward_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(4, xpReward_);
      }
      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.FriendshipMilestoneRewardNotificationOuterClass.FriendshipMilestoneRewardNotification)) {
        return super.equals(obj);
      }
      POGOProtos.Data.Friends.FriendshipMilestoneRewardNotificationOuterClass.FriendshipMilestoneRewardNotification other = (POGOProtos.Data.Friends.FriendshipMilestoneRewardNotificationOuterClass.FriendshipMilestoneRewardNotification) obj;

      boolean result = true;
      result = result && getFriendId()
          .equals(other.getFriendId());
      result = result && getFriendCodename()
          .equals(other.getFriendCodename());
      result = result && (getFriendshipMilestoneLevel()
          == other.getFriendshipMilestoneLevel());
      result = result && (getXpReward()
          == other.getXpReward());
      result = result && unknownFields.equals(other.unknownFields);
      return result;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + FRIEND_ID_FIELD_NUMBER;
      hash = (53 * hash) + getFriendId().hashCode();
      hash = (37 * hash) + FRIEND_CODENAME_FIELD_NUMBER;
      hash = (53 * hash) + getFriendCodename().hashCode();
      hash = (37 * hash) + FRIENDSHIP_MILESTONE_LEVEL_FIELD_NUMBER;
      hash = (53 * hash) + getFriendshipMilestoneLevel();
      hash = (37 * hash) + XP_REWARD_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getXpReward());
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

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

      // Construct using POGOProtos.Data.Friends.FriendshipMilestoneRewardNotificationOuterClass.FriendshipMilestoneRewardNotification.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();
        friendId_ = "";

        friendCodename_ = "";

        friendshipMilestoneLevel_ = 0;

        xpReward_ = 0L;

        return this;
      }

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

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

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

      @java.lang.Override
      public POGOProtos.Data.Friends.FriendshipMilestoneRewardNotificationOuterClass.FriendshipMilestoneRewardNotification buildPartial() {
        POGOProtos.Data.Friends.FriendshipMilestoneRewardNotificationOuterClass.FriendshipMilestoneRewardNotification result = new POGOProtos.Data.Friends.FriendshipMilestoneRewardNotificationOuterClass.FriendshipMilestoneRewardNotification(this);
        result.friendId_ = friendId_;
        result.friendCodename_ = friendCodename_;
        result.friendshipMilestoneLevel_ = friendshipMilestoneLevel_;
        result.xpReward_ = xpReward_;
        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.FriendshipMilestoneRewardNotificationOuterClass.FriendshipMilestoneRewardNotification) {
          return mergeFrom((POGOProtos.Data.Friends.FriendshipMilestoneRewardNotificationOuterClass.FriendshipMilestoneRewardNotification)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(POGOProtos.Data.Friends.FriendshipMilestoneRewardNotificationOuterClass.FriendshipMilestoneRewardNotification other) {
        if (other == POGOProtos.Data.Friends.FriendshipMilestoneRewardNotificationOuterClass.FriendshipMilestoneRewardNotification.getDefaultInstance()) return this;
        if (!other.getFriendId().isEmpty()) {
          friendId_ = other.friendId_;
          onChanged();
        }
        if (!other.getFriendCodename().isEmpty()) {
          friendCodename_ = other.friendCodename_;
          onChanged();
        }
        if (other.getFriendshipMilestoneLevel() != 0) {
          setFriendshipMilestoneLevel(other.getFriendshipMilestoneLevel());
        }
        if (other.getXpReward() != 0L) {
          setXpReward(other.getXpReward());
        }
        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.FriendshipMilestoneRewardNotificationOuterClass.FriendshipMilestoneRewardNotification parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (POGOProtos.Data.Friends.FriendshipMilestoneRewardNotificationOuterClass.FriendshipMilestoneRewardNotification) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private java.lang.Object friendId_ = "";
      /**
       * string friend_id = 1;
       */
      public java.lang.String getFriendId() {
        java.lang.Object ref = friendId_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          friendId_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string friend_id = 1;
       */
      public com.google.protobuf.ByteString
          getFriendIdBytes() {
        java.lang.Object ref = friendId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          friendId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string friend_id = 1;
       */
      public Builder setFriendId(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        friendId_ = value;
        onChanged();
        return this;
      }
      /**
       * string friend_id = 1;
       */
      public Builder clearFriendId() {
        
        friendId_ = getDefaultInstance().getFriendId();
        onChanged();
        return this;
      }
      /**
       * string friend_id = 1;
       */
      public Builder setFriendIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        friendId_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object friendCodename_ = "";
      /**
       * string friend_codename = 2;
       */
      public java.lang.String getFriendCodename() {
        java.lang.Object ref = friendCodename_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          friendCodename_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string friend_codename = 2;
       */
      public com.google.protobuf.ByteString
          getFriendCodenameBytes() {
        java.lang.Object ref = friendCodename_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          friendCodename_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string friend_codename = 2;
       */
      public Builder setFriendCodename(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        friendCodename_ = value;
        onChanged();
        return this;
      }
      /**
       * string friend_codename = 2;
       */
      public Builder clearFriendCodename() {
        
        friendCodename_ = getDefaultInstance().getFriendCodename();
        onChanged();
        return this;
      }
      /**
       * string friend_codename = 2;
       */
      public Builder setFriendCodenameBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        friendCodename_ = value;
        onChanged();
        return this;
      }

      private int friendshipMilestoneLevel_ ;
      /**
       * int32 friendship_milestone_level = 3;
       */
      public int getFriendshipMilestoneLevel() {
        return friendshipMilestoneLevel_;
      }
      /**
       * int32 friendship_milestone_level = 3;
       */
      public Builder setFriendshipMilestoneLevel(int value) {
        
        friendshipMilestoneLevel_ = value;
        onChanged();
        return this;
      }
      /**
       * int32 friendship_milestone_level = 3;
       */
      public Builder clearFriendshipMilestoneLevel() {
        
        friendshipMilestoneLevel_ = 0;
        onChanged();
        return this;
      }

      private long xpReward_ ;
      /**
       * int64 xp_reward = 4;
       */
      public long getXpReward() {
        return xpReward_;
      }
      /**
       * int64 xp_reward = 4;
       */
      public Builder setXpReward(long value) {
        
        xpReward_ = value;
        onChanged();
        return this;
      }
      /**
       * int64 xp_reward = 4;
       */
      public Builder clearXpReward() {
        
        xpReward_ = 0L;
        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.FriendshipMilestoneRewardNotification)
    }

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

    public static POGOProtos.Data.Friends.FriendshipMilestoneRewardNotificationOuterClass.FriendshipMilestoneRewardNotification getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public FriendshipMilestoneRewardNotification parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new FriendshipMilestoneRewardNotification(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.FriendshipMilestoneRewardNotificationOuterClass.FriendshipMilestoneRewardNotification getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_POGOProtos_Data_Friends_FriendshipMilestoneRewardNotification_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_POGOProtos_Data_Friends_FriendshipMilestoneRewardNotification_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\nCPOGOProtos/Data/Friends/FriendshipMile" +
      "stoneRewardNotification.proto\022\027POGOProto" +
      "s.Data.Friends\"\212\001\n%FriendshipMilestoneRe" +
      "wardNotification\022\021\n\tfriend_id\030\001 \001(\t\022\027\n\017f" +
      "riend_codename\030\002 \001(\t\022\"\n\032friendship_miles" +
      "tone_level\030\003 \001(\005\022\021\n\txp_reward\030\004 \001(\003b\006pro" +
      "to3"
    };
    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_POGOProtos_Data_Friends_FriendshipMilestoneRewardNotification_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_POGOProtos_Data_Friends_FriendshipMilestoneRewardNotification_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_POGOProtos_Data_Friends_FriendshipMilestoneRewardNotification_descriptor,
        new java.lang.String[] { "FriendId", "FriendCodename", "FriendshipMilestoneLevel", "XpReward", });
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy