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

package POGOProtos.Rpc;

/**
 * Protobuf type {@code POGOProtos.Rpc.ReferContactListFriendRequest}
 */
public final class ReferContactListFriendRequest extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:POGOProtos.Rpc.ReferContactListFriendRequest)
    ReferContactListFriendRequestOrBuilder {
private static final long serialVersionUID = 0L;
  // Use ReferContactListFriendRequest.newBuilder() to construct.
  private ReferContactListFriendRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private ReferContactListFriendRequest() {
    contactMethod_ = 0;
    contactInfo_ = "";
    contactId_ = "";
    receiverName_ = "";
    appStoreLink_ = "";
  }

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

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

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

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

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

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

            appStoreLink_ = s;
            break;
          }
          case 50: {
            POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto.Builder subBuilder = null;
            if (referral_ != null) {
              subBuilder = referral_.toBuilder();
            }
            referral_ = input.readMessage(POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(referral_);
              referral_ = subBuilder.buildPartial();
            }

            break;
          }
          default: {
            if (!parseUnknownField(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (com.google.protobuf.UninitializedMessageException e) {
      throw e.asInvalidProtocolBufferException().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.Rpc.POGOProtosRpc.internal_static_POGOProtos_Rpc_ReferContactListFriendRequest_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return POGOProtos.Rpc.POGOProtosRpc.internal_static_POGOProtos_Rpc_ReferContactListFriendRequest_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            POGOProtos.Rpc.ReferContactListFriendRequest.class, POGOProtos.Rpc.ReferContactListFriendRequest.Builder.class);
  }

  public interface ReferralProtoOrBuilder extends
      // @@protoc_insertion_point(interface_extends:POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>string referral_code = 1;</code>
     * @return The referralCode.
     */
    java.lang.String getReferralCode();
    /**
     * <code>string referral_code = 1;</code>
     * @return The bytes for referralCode.
     */
    com.google.protobuf.ByteString
        getReferralCodeBytes();

    /**
     * <code>string referral_link = 2;</code>
     * @return The referralLink.
     */
    java.lang.String getReferralLink();
    /**
     * <code>string referral_link = 2;</code>
     * @return The bytes for referralLink.
     */
    com.google.protobuf.ByteString
        getReferralLinkBytes();
  }
  /**
   * Protobuf type {@code POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto}
   */
  public static final class ReferralProto extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto)
      ReferralProtoOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use ReferralProto.newBuilder() to construct.
    private ReferralProto(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private ReferralProto() {
      referralCode_ = "";
      referralLink_ = "";
    }

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

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

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

              referralLink_ = s;
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (com.google.protobuf.UninitializedMessageException e) {
        throw e.asInvalidProtocolBufferException().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.Rpc.POGOProtosRpc.internal_static_POGOProtos_Rpc_ReferContactListFriendRequest_ReferralProto_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return POGOProtos.Rpc.POGOProtosRpc.internal_static_POGOProtos_Rpc_ReferContactListFriendRequest_ReferralProto_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto.class, POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto.Builder.class);
    }

    public static final int REFERRAL_CODE_FIELD_NUMBER = 1;
    private volatile java.lang.Object referralCode_;
    /**
     * <code>string referral_code = 1;</code>
     * @return The referralCode.
     */
    @java.lang.Override
    public java.lang.String getReferralCode() {
      java.lang.Object ref = referralCode_;
      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();
        referralCode_ = s;
        return s;
      }
    }
    /**
     * <code>string referral_code = 1;</code>
     * @return The bytes for referralCode.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getReferralCodeBytes() {
      java.lang.Object ref = referralCode_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        referralCode_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int REFERRAL_LINK_FIELD_NUMBER = 2;
    private volatile java.lang.Object referralLink_;
    /**
     * <code>string referral_link = 2;</code>
     * @return The referralLink.
     */
    @java.lang.Override
    public java.lang.String getReferralLink() {
      java.lang.Object ref = referralLink_;
      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();
        referralLink_ = s;
        return s;
      }
    }
    /**
     * <code>string referral_link = 2;</code>
     * @return The bytes for referralLink.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getReferralLinkBytes() {
      java.lang.Object ref = referralLink_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        referralLink_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(referralCode_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, referralCode_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(referralLink_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, referralLink_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(referralCode_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, referralCode_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(referralLink_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, referralLink_);
      }
      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.Rpc.ReferContactListFriendRequest.ReferralProto)) {
        return super.equals(obj);
      }
      POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto other = (POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto) obj;

      if (!getReferralCode()
          .equals(other.getReferralCode())) return false;
      if (!getReferralLink()
          .equals(other.getReferralLink())) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

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

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

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return POGOProtos.Rpc.POGOProtosRpc.internal_static_POGOProtos_Rpc_ReferContactListFriendRequest_ReferralProto_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto.class, POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto.Builder.class);
      }

      // Construct using POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto.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();
        referralCode_ = "";

        referralLink_ = "";

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return POGOProtos.Rpc.POGOProtosRpc.internal_static_POGOProtos_Rpc_ReferContactListFriendRequest_ReferralProto_descriptor;
      }

      @java.lang.Override
      public POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto getDefaultInstanceForType() {
        return POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto.getDefaultInstance();
      }

      @java.lang.Override
      public POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto build() {
        POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto buildPartial() {
        POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto result = new POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto(this);
        result.referralCode_ = referralCode_;
        result.referralLink_ = referralLink_;
        onBuilt();
        return result;
      }

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

      public Builder mergeFrom(POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto other) {
        if (other == POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto.getDefaultInstance()) return this;
        if (!other.getReferralCode().isEmpty()) {
          referralCode_ = other.referralCode_;
          onChanged();
        }
        if (!other.getReferralLink().isEmpty()) {
          referralLink_ = other.referralLink_;
          onChanged();
        }
        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.Rpc.ReferContactListFriendRequest.ReferralProto parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private java.lang.Object referralCode_ = "";
      /**
       * <code>string referral_code = 1;</code>
       * @return The referralCode.
       */
      public java.lang.String getReferralCode() {
        java.lang.Object ref = referralCode_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          referralCode_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string referral_code = 1;</code>
       * @return The bytes for referralCode.
       */
      public com.google.protobuf.ByteString
          getReferralCodeBytes() {
        java.lang.Object ref = referralCode_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          referralCode_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string referral_code = 1;</code>
       * @param value The referralCode to set.
       * @return This builder for chaining.
       */
      public Builder setReferralCode(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        referralCode_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string referral_code = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearReferralCode() {
        
        referralCode_ = getDefaultInstance().getReferralCode();
        onChanged();
        return this;
      }
      /**
       * <code>string referral_code = 1;</code>
       * @param value The bytes for referralCode to set.
       * @return This builder for chaining.
       */
      public Builder setReferralCodeBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        referralCode_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object referralLink_ = "";
      /**
       * <code>string referral_link = 2;</code>
       * @return The referralLink.
       */
      public java.lang.String getReferralLink() {
        java.lang.Object ref = referralLink_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          referralLink_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string referral_link = 2;</code>
       * @return The bytes for referralLink.
       */
      public com.google.protobuf.ByteString
          getReferralLinkBytes() {
        java.lang.Object ref = referralLink_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          referralLink_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string referral_link = 2;</code>
       * @param value The referralLink to set.
       * @return This builder for chaining.
       */
      public Builder setReferralLink(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        referralLink_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string referral_link = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearReferralLink() {
        
        referralLink_ = getDefaultInstance().getReferralLink();
        onChanged();
        return this;
      }
      /**
       * <code>string referral_link = 2;</code>
       * @param value The bytes for referralLink to set.
       * @return This builder for chaining.
       */
      public Builder setReferralLinkBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        referralLink_ = value;
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

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


      // @@protoc_insertion_point(builder_scope:POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto)
    }

    // @@protoc_insertion_point(class_scope:POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto)
    private static final POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto();
    }

    public static POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public static final int CONTACT_METHOD_FIELD_NUMBER = 1;
  private int contactMethod_;
  /**
   * <code>.POGOProtos.Rpc.SocialV2Enum.ContactMethod contact_method = 1;</code>
   * @return The enum numeric value on the wire for contactMethod.
   */
  @java.lang.Override public int getContactMethodValue() {
    return contactMethod_;
  }
  /**
   * <code>.POGOProtos.Rpc.SocialV2Enum.ContactMethod contact_method = 1;</code>
   * @return The contactMethod.
   */
  @java.lang.Override public POGOProtos.Rpc.SocialV2Enum.ContactMethod getContactMethod() {
    @SuppressWarnings("deprecation")
    POGOProtos.Rpc.SocialV2Enum.ContactMethod result = POGOProtos.Rpc.SocialV2Enum.ContactMethod.valueOf(contactMethod_);
    return result == null ? POGOProtos.Rpc.SocialV2Enum.ContactMethod.UNRECOGNIZED : result;
  }

  public static final int CONTACT_INFO_FIELD_NUMBER = 2;
  private volatile java.lang.Object contactInfo_;
  /**
   * <code>string contact_info = 2;</code>
   * @return The contactInfo.
   */
  @java.lang.Override
  public java.lang.String getContactInfo() {
    java.lang.Object ref = contactInfo_;
    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();
      contactInfo_ = s;
      return s;
    }
  }
  /**
   * <code>string contact_info = 2;</code>
   * @return The bytes for contactInfo.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getContactInfoBytes() {
    java.lang.Object ref = contactInfo_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      contactInfo_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int CONTACT_ID_FIELD_NUMBER = 3;
  private volatile java.lang.Object contactId_;
  /**
   * <code>string contact_id = 3;</code>
   * @return The contactId.
   */
  @java.lang.Override
  public java.lang.String getContactId() {
    java.lang.Object ref = contactId_;
    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();
      contactId_ = s;
      return s;
    }
  }
  /**
   * <code>string contact_id = 3;</code>
   * @return The bytes for contactId.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getContactIdBytes() {
    java.lang.Object ref = contactId_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      contactId_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int RECEIVER_NAME_FIELD_NUMBER = 4;
  private volatile java.lang.Object receiverName_;
  /**
   * <code>string receiver_name = 4;</code>
   * @return The receiverName.
   */
  @java.lang.Override
  public java.lang.String getReceiverName() {
    java.lang.Object ref = receiverName_;
    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();
      receiverName_ = s;
      return s;
    }
  }
  /**
   * <code>string receiver_name = 4;</code>
   * @return The bytes for receiverName.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getReceiverNameBytes() {
    java.lang.Object ref = receiverName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      receiverName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int APP_STORE_LINK_FIELD_NUMBER = 5;
  private volatile java.lang.Object appStoreLink_;
  /**
   * <code>string app_store_link = 5;</code>
   * @return The appStoreLink.
   */
  @java.lang.Override
  public java.lang.String getAppStoreLink() {
    java.lang.Object ref = appStoreLink_;
    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();
      appStoreLink_ = s;
      return s;
    }
  }
  /**
   * <code>string app_store_link = 5;</code>
   * @return The bytes for appStoreLink.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getAppStoreLinkBytes() {
    java.lang.Object ref = appStoreLink_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      appStoreLink_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int REFERRAL_FIELD_NUMBER = 6;
  private POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto referral_;
  /**
   * <code>.POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto referral = 6;</code>
   * @return Whether the referral field is set.
   */
  @java.lang.Override
  public boolean hasReferral() {
    return referral_ != null;
  }
  /**
   * <code>.POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto referral = 6;</code>
   * @return The referral.
   */
  @java.lang.Override
  public POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto getReferral() {
    return referral_ == null ? POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto.getDefaultInstance() : referral_;
  }
  /**
   * <code>.POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto referral = 6;</code>
   */
  @java.lang.Override
  public POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProtoOrBuilder getReferralOrBuilder() {
    return getReferral();
  }

  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 (contactMethod_ != POGOProtos.Rpc.SocialV2Enum.ContactMethod.CONTACT_METHOD_UNSET.getNumber()) {
      output.writeEnum(1, contactMethod_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(contactInfo_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, contactInfo_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(contactId_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, contactId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(receiverName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, receiverName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(appStoreLink_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, appStoreLink_);
    }
    if (referral_ != null) {
      output.writeMessage(6, getReferral());
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    if (contactMethod_ != POGOProtos.Rpc.SocialV2Enum.ContactMethod.CONTACT_METHOD_UNSET.getNumber()) {
      size += com.google.protobuf.CodedOutputStream
        .computeEnumSize(1, contactMethod_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(contactInfo_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, contactInfo_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(contactId_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, contactId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(receiverName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, receiverName_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(appStoreLink_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, appStoreLink_);
    }
    if (referral_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(6, getReferral());
    }
    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.Rpc.ReferContactListFriendRequest)) {
      return super.equals(obj);
    }
    POGOProtos.Rpc.ReferContactListFriendRequest other = (POGOProtos.Rpc.ReferContactListFriendRequest) obj;

    if (contactMethod_ != other.contactMethod_) return false;
    if (!getContactInfo()
        .equals(other.getContactInfo())) return false;
    if (!getContactId()
        .equals(other.getContactId())) return false;
    if (!getReceiverName()
        .equals(other.getReceiverName())) return false;
    if (!getAppStoreLink()
        .equals(other.getAppStoreLink())) return false;
    if (hasReferral() != other.hasReferral()) return false;
    if (hasReferral()) {
      if (!getReferral()
          .equals(other.getReferral())) return false;
    }
    if (!unknownFields.equals(other.unknownFields)) return false;
    return true;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + CONTACT_METHOD_FIELD_NUMBER;
    hash = (53 * hash) + contactMethod_;
    hash = (37 * hash) + CONTACT_INFO_FIELD_NUMBER;
    hash = (53 * hash) + getContactInfo().hashCode();
    hash = (37 * hash) + CONTACT_ID_FIELD_NUMBER;
    hash = (53 * hash) + getContactId().hashCode();
    hash = (37 * hash) + RECEIVER_NAME_FIELD_NUMBER;
    hash = (53 * hash) + getReceiverName().hashCode();
    hash = (37 * hash) + APP_STORE_LINK_FIELD_NUMBER;
    hash = (53 * hash) + getAppStoreLink().hashCode();
    if (hasReferral()) {
      hash = (37 * hash) + REFERRAL_FIELD_NUMBER;
      hash = (53 * hash) + getReferral().hashCode();
    }
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return POGOProtos.Rpc.POGOProtosRpc.internal_static_POGOProtos_Rpc_ReferContactListFriendRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              POGOProtos.Rpc.ReferContactListFriendRequest.class, POGOProtos.Rpc.ReferContactListFriendRequest.Builder.class);
    }

    // Construct using POGOProtos.Rpc.ReferContactListFriendRequest.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();
      contactMethod_ = 0;

      contactInfo_ = "";

      contactId_ = "";

      receiverName_ = "";

      appStoreLink_ = "";

      if (referralBuilder_ == null) {
        referral_ = null;
      } else {
        referral_ = null;
        referralBuilder_ = null;
      }
      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return POGOProtos.Rpc.POGOProtosRpc.internal_static_POGOProtos_Rpc_ReferContactListFriendRequest_descriptor;
    }

    @java.lang.Override
    public POGOProtos.Rpc.ReferContactListFriendRequest getDefaultInstanceForType() {
      return POGOProtos.Rpc.ReferContactListFriendRequest.getDefaultInstance();
    }

    @java.lang.Override
    public POGOProtos.Rpc.ReferContactListFriendRequest build() {
      POGOProtos.Rpc.ReferContactListFriendRequest result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public POGOProtos.Rpc.ReferContactListFriendRequest buildPartial() {
      POGOProtos.Rpc.ReferContactListFriendRequest result = new POGOProtos.Rpc.ReferContactListFriendRequest(this);
      result.contactMethod_ = contactMethod_;
      result.contactInfo_ = contactInfo_;
      result.contactId_ = contactId_;
      result.receiverName_ = receiverName_;
      result.appStoreLink_ = appStoreLink_;
      if (referralBuilder_ == null) {
        result.referral_ = referral_;
      } else {
        result.referral_ = referralBuilder_.build();
      }
      onBuilt();
      return result;
    }

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

    public Builder mergeFrom(POGOProtos.Rpc.ReferContactListFriendRequest other) {
      if (other == POGOProtos.Rpc.ReferContactListFriendRequest.getDefaultInstance()) return this;
      if (other.contactMethod_ != 0) {
        setContactMethodValue(other.getContactMethodValue());
      }
      if (!other.getContactInfo().isEmpty()) {
        contactInfo_ = other.contactInfo_;
        onChanged();
      }
      if (!other.getContactId().isEmpty()) {
        contactId_ = other.contactId_;
        onChanged();
      }
      if (!other.getReceiverName().isEmpty()) {
        receiverName_ = other.receiverName_;
        onChanged();
      }
      if (!other.getAppStoreLink().isEmpty()) {
        appStoreLink_ = other.appStoreLink_;
        onChanged();
      }
      if (other.hasReferral()) {
        mergeReferral(other.getReferral());
      }
      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.Rpc.ReferContactListFriendRequest parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (POGOProtos.Rpc.ReferContactListFriendRequest) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }

    private int contactMethod_ = 0;
    /**
     * <code>.POGOProtos.Rpc.SocialV2Enum.ContactMethod contact_method = 1;</code>
     * @return The enum numeric value on the wire for contactMethod.
     */
    @java.lang.Override public int getContactMethodValue() {
      return contactMethod_;
    }
    /**
     * <code>.POGOProtos.Rpc.SocialV2Enum.ContactMethod contact_method = 1;</code>
     * @param value The enum numeric value on the wire for contactMethod to set.
     * @return This builder for chaining.
     */
    public Builder setContactMethodValue(int value) {
      
      contactMethod_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>.POGOProtos.Rpc.SocialV2Enum.ContactMethod contact_method = 1;</code>
     * @return The contactMethod.
     */
    @java.lang.Override
    public POGOProtos.Rpc.SocialV2Enum.ContactMethod getContactMethod() {
      @SuppressWarnings("deprecation")
      POGOProtos.Rpc.SocialV2Enum.ContactMethod result = POGOProtos.Rpc.SocialV2Enum.ContactMethod.valueOf(contactMethod_);
      return result == null ? POGOProtos.Rpc.SocialV2Enum.ContactMethod.UNRECOGNIZED : result;
    }
    /**
     * <code>.POGOProtos.Rpc.SocialV2Enum.ContactMethod contact_method = 1;</code>
     * @param value The contactMethod to set.
     * @return This builder for chaining.
     */
    public Builder setContactMethod(POGOProtos.Rpc.SocialV2Enum.ContactMethod value) {
      if (value == null) {
        throw new NullPointerException();
      }
      
      contactMethod_ = value.getNumber();
      onChanged();
      return this;
    }
    /**
     * <code>.POGOProtos.Rpc.SocialV2Enum.ContactMethod contact_method = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearContactMethod() {
      
      contactMethod_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object contactInfo_ = "";
    /**
     * <code>string contact_info = 2;</code>
     * @return The contactInfo.
     */
    public java.lang.String getContactInfo() {
      java.lang.Object ref = contactInfo_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        contactInfo_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string contact_info = 2;</code>
     * @return The bytes for contactInfo.
     */
    public com.google.protobuf.ByteString
        getContactInfoBytes() {
      java.lang.Object ref = contactInfo_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        contactInfo_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string contact_info = 2;</code>
     * @param value The contactInfo to set.
     * @return This builder for chaining.
     */
    public Builder setContactInfo(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      contactInfo_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string contact_info = 2;</code>
     * @return This builder for chaining.
     */
    public Builder clearContactInfo() {
      
      contactInfo_ = getDefaultInstance().getContactInfo();
      onChanged();
      return this;
    }
    /**
     * <code>string contact_info = 2;</code>
     * @param value The bytes for contactInfo to set.
     * @return This builder for chaining.
     */
    public Builder setContactInfoBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      contactInfo_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object contactId_ = "";
    /**
     * <code>string contact_id = 3;</code>
     * @return The contactId.
     */
    public java.lang.String getContactId() {
      java.lang.Object ref = contactId_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        contactId_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string contact_id = 3;</code>
     * @return The bytes for contactId.
     */
    public com.google.protobuf.ByteString
        getContactIdBytes() {
      java.lang.Object ref = contactId_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        contactId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string contact_id = 3;</code>
     * @param value The contactId to set.
     * @return This builder for chaining.
     */
    public Builder setContactId(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      contactId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string contact_id = 3;</code>
     * @return This builder for chaining.
     */
    public Builder clearContactId() {
      
      contactId_ = getDefaultInstance().getContactId();
      onChanged();
      return this;
    }
    /**
     * <code>string contact_id = 3;</code>
     * @param value The bytes for contactId to set.
     * @return This builder for chaining.
     */
    public Builder setContactIdBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      contactId_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object receiverName_ = "";
    /**
     * <code>string receiver_name = 4;</code>
     * @return The receiverName.
     */
    public java.lang.String getReceiverName() {
      java.lang.Object ref = receiverName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        receiverName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string receiver_name = 4;</code>
     * @return The bytes for receiverName.
     */
    public com.google.protobuf.ByteString
        getReceiverNameBytes() {
      java.lang.Object ref = receiverName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        receiverName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string receiver_name = 4;</code>
     * @param value The receiverName to set.
     * @return This builder for chaining.
     */
    public Builder setReceiverName(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      receiverName_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string receiver_name = 4;</code>
     * @return This builder for chaining.
     */
    public Builder clearReceiverName() {
      
      receiverName_ = getDefaultInstance().getReceiverName();
      onChanged();
      return this;
    }
    /**
     * <code>string receiver_name = 4;</code>
     * @param value The bytes for receiverName to set.
     * @return This builder for chaining.
     */
    public Builder setReceiverNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      receiverName_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object appStoreLink_ = "";
    /**
     * <code>string app_store_link = 5;</code>
     * @return The appStoreLink.
     */
    public java.lang.String getAppStoreLink() {
      java.lang.Object ref = appStoreLink_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        appStoreLink_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>string app_store_link = 5;</code>
     * @return The bytes for appStoreLink.
     */
    public com.google.protobuf.ByteString
        getAppStoreLinkBytes() {
      java.lang.Object ref = appStoreLink_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        appStoreLink_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>string app_store_link = 5;</code>
     * @param value The appStoreLink to set.
     * @return This builder for chaining.
     */
    public Builder setAppStoreLink(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      appStoreLink_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>string app_store_link = 5;</code>
     * @return This builder for chaining.
     */
    public Builder clearAppStoreLink() {
      
      appStoreLink_ = getDefaultInstance().getAppStoreLink();
      onChanged();
      return this;
    }
    /**
     * <code>string app_store_link = 5;</code>
     * @param value The bytes for appStoreLink to set.
     * @return This builder for chaining.
     */
    public Builder setAppStoreLinkBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      appStoreLink_ = value;
      onChanged();
      return this;
    }

    private POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto referral_;
    private com.google.protobuf.SingleFieldBuilderV3<
        POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto, POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto.Builder, POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProtoOrBuilder> referralBuilder_;
    /**
     * <code>.POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto referral = 6;</code>
     * @return Whether the referral field is set.
     */
    public boolean hasReferral() {
      return referralBuilder_ != null || referral_ != null;
    }
    /**
     * <code>.POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto referral = 6;</code>
     * @return The referral.
     */
    public POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto getReferral() {
      if (referralBuilder_ == null) {
        return referral_ == null ? POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto.getDefaultInstance() : referral_;
      } else {
        return referralBuilder_.getMessage();
      }
    }
    /**
     * <code>.POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto referral = 6;</code>
     */
    public Builder setReferral(POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto value) {
      if (referralBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        referral_ = value;
        onChanged();
      } else {
        referralBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     * <code>.POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto referral = 6;</code>
     */
    public Builder setReferral(
        POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto.Builder builderForValue) {
      if (referralBuilder_ == null) {
        referral_ = builderForValue.build();
        onChanged();
      } else {
        referralBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     * <code>.POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto referral = 6;</code>
     */
    public Builder mergeReferral(POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto value) {
      if (referralBuilder_ == null) {
        if (referral_ != null) {
          referral_ =
            POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto.newBuilder(referral_).mergeFrom(value).buildPartial();
        } else {
          referral_ = value;
        }
        onChanged();
      } else {
        referralBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     * <code>.POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto referral = 6;</code>
     */
    public Builder clearReferral() {
      if (referralBuilder_ == null) {
        referral_ = null;
        onChanged();
      } else {
        referral_ = null;
        referralBuilder_ = null;
      }

      return this;
    }
    /**
     * <code>.POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto referral = 6;</code>
     */
    public POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto.Builder getReferralBuilder() {
      
      onChanged();
      return getReferralFieldBuilder().getBuilder();
    }
    /**
     * <code>.POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto referral = 6;</code>
     */
    public POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProtoOrBuilder getReferralOrBuilder() {
      if (referralBuilder_ != null) {
        return referralBuilder_.getMessageOrBuilder();
      } else {
        return referral_ == null ?
            POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto.getDefaultInstance() : referral_;
      }
    }
    /**
     * <code>.POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto referral = 6;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto, POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto.Builder, POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProtoOrBuilder> 
        getReferralFieldBuilder() {
      if (referralBuilder_ == null) {
        referralBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto, POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProto.Builder, POGOProtos.Rpc.ReferContactListFriendRequest.ReferralProtoOrBuilder>(
                getReferral(),
                getParentForChildren(),
                isClean());
        referral_ = null;
      }
      return referralBuilder_;
    }
    @java.lang.Override
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.setUnknownFields(unknownFields);
    }

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


    // @@protoc_insertion_point(builder_scope:POGOProtos.Rpc.ReferContactListFriendRequest)
  }

  // @@protoc_insertion_point(class_scope:POGOProtos.Rpc.ReferContactListFriendRequest)
  private static final POGOProtos.Rpc.ReferContactListFriendRequest DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new POGOProtos.Rpc.ReferContactListFriendRequest();
  }

  public static POGOProtos.Rpc.ReferContactListFriendRequest getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

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

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

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

  @java.lang.Override
  public POGOProtos.Rpc.ReferContactListFriendRequest getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

